/* =========================================
   FIX FOR STEP 2 CARD IMAGES
========================================= */
.sgc-selected-card-images-wrap {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}


.sgc-progress-steps .sgc-step-item.sgc-step-item-completed {
    color: #E5A93D !important;
    font-weight: 700 !important; 
}


.sgc-progress-steps .sgc-step-item.sgc-step-item-completed::after {
    background-color: #E5A93D !important;
    height: 2px !important; 
}


.sgc-progress-steps .sgc-step-item.active,
.sgc-progress-steps .sgc-step-item.sgc-step-item-active {
    color: #E5A93D !important;
}

.sgc-selected-card-image-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sgc-selected-card-image-label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff !important;
    text-transform: uppercase;
}

.sgc-selected-card-image {
    max-width: 120px !important;
    height: auto !important;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


@media (max-width: 480px) {
    .sgc-selected-card-images-wrap {
        flex-direction: row;
        justify-content: space-between;
    }

    .sgc-selected-card-image {
        max-width: 100px !important;
    }
}







/* =========================================
   UPDATED MOBILE RESPONSIVENESS FOR BOTTOM BAR
========================================= */
@media (max-width: 767px) {
    .sgc-bottom-fixed-bar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
       padding: 10px 12px !important;
       gap: 1px !important;
        /* অটো হাইট দিলে কন্টেন্ট অনুযায়ী বাড়বে */
    }
 /* টেক্সট এবং প্রাইস সেকশনের মাঝখানের গ্যাপ কমানো */
    .sgc-summary-center {
        gap: 10px !important;
        justify-content: center !important;
        width: auto !important;
    }
    .sgc-summary-center,
    .sgc-summary-box-wrap {
        /* কন্টেইনার ফ্লেক্স */
        flex: 0 0 100% !important;
        display: flex !important;
        flex-direction: row !important;
        /* পাশাপাশি আনার জন্য */
        justify-content: space-around !important;
        /* সমান দূরত্বে রাখার জন্য */
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        padding-bottom: 10px !important;
    }

    /* প্রতিটি ডাটা বক্সের জন্য ফিক্স */
    .sgc-summary-box {
        flex: 1 !important;
        /* যেন সবাই সমান জায়গা পায় */
        width: auto !important;
        /* ১০০% থাকলে নিচে নেমে যাবে, তাই অটো */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .sgc-summary-center>div, .sgc-summary-box>div {
  
    font-size: 11px !important;
}

    .sgc-summary-box span {
        font-size: 9px !important;
        white-space: nowrap !important;
    }

    .sgc-summary-box strong {
        font-size: 14px !important;
        margin-top: 2px !important;
    }

    /* বাটনগুলোকে পাশাপাশি রাখা */
    .sgc-bottom-fixed-bar button.sgc-back-btn,
    .sgc-bottom-fixed-bar button.sgc-next-btn {
        flex: 0 0 48% !important;
        width: 48% !important;
    }
}











.sgc-step2-page {
    background: #242323;
    min-height: 100vh;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding-bottom: 110px;
}

.sgc-progress-bar {
    background: #000;
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sgc-order-number {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.sgc-progress-steps {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.sgc-step-item {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    opacity: 0.85;
    padding-bottom: 4px;
}

.sgc-step-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: #fff;
    opacity: 0.55;
}

.sgc-step-item-completed {
    font-weight: 900;
}

.sgc-step-item-completed::after {
    opacity: 1;
    height: 3px;
}

.sgc-step2-inner {
    padding: 16px 18px 0;
}

.sgc-main-title {
    font-size: 44px;
    line-height: 1;
    margin: 0 0 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.sgc-step2-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 22px;
    align-items: start;
}

.sgc-left-column,
.sgc-right-column {
    min-height: 500px;
}

.sgc-search-input {
    width: 100%;
    border: 1px solid #cfcfcf;
    background: #fff;
    padding: 16px 14px;
    font-size: 16px;
    margin-bottom: 12px;
    outline: none;
}





/* =========================================
   FIX FOR NEXT & BACK BUTTONS OVERRIDE
========================================= */
.sgc-bottom-fixed-bar button.sgc-next-btn,
.sgc-bottom-fixed-bar button#sgc-next-btn,
.sgc-bottom-fixed-bar button.sgc-back-btn,
.sgc-bottom-fixed-bar button#sgc-back-btn {
    background-color: #e5a93d !important;
    /* হলুদ রঙ */
    color: #111 !important;
    /* টেক্সট কালার */
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    display: inline-block !important;
    letter-spacing: 1px !important;
}

.sgc-bottom-fixed-bar button.sgc-next-btn:hover,
.sgc-bottom-fixed-bar button#sgc-next-btn:hover,
.sgc-bottom-fixed-bar button.sgc-back-btn:hover,
.sgc-bottom-fixed-bar button#sgc-back-btn:hover {
    background-color: #c99335 !important;
    /* হোভার কালার */
    cursor: pointer !important;
}

/* BACK বাটনের ডিজাইন যদি আলাদা (যেমন সাদা ব্যাকগ্রাউন্ড) রাখতে চান, তাহলে নিচেরটুকু ব্যবহার করুন */
.sgc-bottom-fixed-bar button.sgc-back-btn,
.sgc-bottom-fixed-bar button#sgc-back-btn {
    background-color: transparent !important;
    border: 1px solid #c99335 !important;
    /* বর্ডারের রঙ */
    color: #c99335 !important;
}

.sgc-bottom-fixed-bar button.sgc-back-btn:hover,
.sgc-bottom-fixed-bar button#sgc-back-btn:hover {
    background-color: #c99335 !important;
    color: #fff !important;
}






.sgc-help-text {
    font-size: 17px;
    line-height: 1.58;
    text-transform: lowercase;
    margin-bottom: 12px;
    color: #d6d6d6;

}
.sgc-add-card-inline {
    margin-bottom: 16px;
    font-size: 14px;
}

.sgc-add-card-inline a {
    color: #6f63ff;
    text-decoration: none;
}

.sgc-search-result-card {
    background: #f7f7f7;
    border: 1px solid #d4d4d4;
    padding: 18px 18px 14px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.sgc-search-result-card:hover {
    border-color: #999;
}

.sgc-search-result-title {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.sgc-search-result-type {
    font-size: 14px;
}

.sgc-load-more-wrap {
    margin-top: 10px;
}

.sgc-load-more-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
}

















.sgc-pricing-box {
    margin-bottom: 18px;
}

.sgc-pricing-table {
    width: 100%;
    max-width: 560px;
    border-collapse: collapse;
    background: #373737;
    border: 1px solid #8f8f8f;
}




.sgc-pricing-table th, .sgc-pricing-table td {
    border: 1px solid #8f8f8f;
    text-align: center;
    padding: 10px 12px;
    font-size: 14px;
    color: #dedede;
}

.sgc-pricing-table th {
    font-weight: 900;
    text-transform: uppercase;
    background: #666;
    color: #d4af37;
}

.sgc-pricing-table td strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2px;
}






.sgc-toggle-pricing-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}
.sgc-toggle-pricing-link:hover {
    text-decoration: underline;
    color: #fff;

}

.sgc-selected-card-box {
    position: relative;
    background: #f7f7f7;
    border: 1px solid #d4d4d4;
    padding: 14px 16px 16px;
    margin-bottom: 14px;
}

/* =========================================
   UPDATED REMOVE CARD BUTTON
========================================= */
button.sgc-remove-selected-card {
    position: absolute !important;
    right: 15px !important;
    top: 15px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #888 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    font-size: 16px !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}


button.sgc-remove-selected-card:hover,
button.sgc-remove-selected-card:focus {
    background-color: #ffebe9 !important;
    border-color: #ff4d4f !important;
    color: #ff4d4f !important;
    outline: none !important;
}


@media (max-width: 768px) {
    button.sgc-remove-selected-card {
        right: 10px !important;
        top: 10px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
}















/* =========================================
   STEP 2: ADDED CARDS BOX (RESPONSIVE FIX)
========================================= */

/* মেইন কার্ড বক্স */


.sgc-selected-card-box {
    position: relative;
    background: #373737;
    border: 2px solid #4e4e4e;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-sizing: border-box;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}






/* কার্ডের ভেতরের টাইটেল বা মেইন টেক্সট */
.sgc-selected-card-box h3, 
.sgc-selected-card-box .title {
    color: #ffd700; /* উজ্জ্বল গোল্ডেন */
    font-weight: bold;
}

/* কার্ড টাইটেল এবং টাইপ */
.sgc-selected-card-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    padding-right: 40px;
    /* ডিলিট বাটনের জন্য ডানদিকে ফাঁকা জায়গা */
    color:#d4af37 ;
    line-height: 1.2;
}

.sgc-selected-card-type {
    font-size: 14px;
    margin-bottom: 10px;
    color: #d4af37;
}

/* প্লেয়ার নেম, ইয়ার, কার্ড নাম্বার (Custom Meta) */
.sgc-selected-card-custom-meta {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.6;
}

.sgc-selected-card-custom-meta strong {
    color: #ffffff;
    font-weight: 700;
}

/* ফ্রন্ট এবং ব্যাক ছবির অংশ */
.sgc-selected-card-images-wrap {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    /* ছোট স্ক্রিনে জায়গা না পেলে নিচে নামবে */
}

.sgc-selected-card-image-wrap {
    display: flex;
    flex-direction: column;
}

.sgc-selected-card-image-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #ffffff !important;
}

/* পুরো মেটা সেকশনের ভেতরের সব লেখা সাদা করার জন্য */
.sgc-selected-card-custom-meta, 
.sgc-selected-card-custom-meta div, 
.sgc-selected-card-custom-meta strong {
    color: #ffffff !important;
}

/* যদি ইনপুট ভ্যালু বা ভেতরের টেক্সট নোডগুলো আলাদাভাবে ধরতে হয় */
.sgc-selected-card-custom-meta > div {
    color: #ffffff !important;
}


.sgc-selected-card-image {
    max-width: 120px;
    height: auto;
    border: 1px solid #ccc !important;
    border-radius: 4px;
}

/* Declared Value (হলুদ ইনপুট বক্স) */
.sgc-declared-value-input {
    width: 100%;
    border: 1px solid #cfcfcf;
    background: #fff6be;
    /* অরিজিনাল হলুদ কালার */
    padding: 12px 15px;
    font-size: 16px;
    margin-bottom: 10px;
    outline: none;
    box-sizing: border-box;
    color:#c1811c;
}

.sgc-declared-value-input:focus {
    border-color: #111;
}

/* চেকবক্সের লাইন (Encapsulate, Oversized) */
.sgc-checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
    align-items: center;
}

.sgc-checkbox-row label {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    color: #cfcfcf;
}

.sgc-checkbox-row input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
    width: 15px;
    height: 15px;
}

/* সার্ভিস সিলেক্ট করার ড্রপডাউন */
.sgc-service-title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #d4af37;
}

.sgc-card-service-dropdown {
    width: 100%;
    border: 1px solid #cfcfcf;
    background: #fff;
    padding: 12px 15px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    color: #111;
}

.sgc-card-service-dropdown:focus {
    border-color: #111;
}

/* =========================================
   MOBILE RESPONSIVENESS (মোবাইলের জন্য ফিক্স)
========================================= */
@media (max-width: 768px) {
    .sgc-selected-card-box {
        padding: 15px;
        /* মোবাইলে প্যাডিং কমানো হলো */
    }

    .sgc-selected-card-title {
        font-size: 15px;
        padding-right: 35px;
    }

    /* মোবাইলে চেকবক্সগুলো পাশাপাশি গাদাগাদি না করে নিচে নিচে সুন্দরভাবে বসবে */
    .sgc-checkbox-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sgc-declared-value-input,
    .sgc-card-service-dropdown {
        font-size: 14px;
        padding: 10px 12px;
    }

    /* মোবাইলে ছবি আরেকটু ছোট হবে */
    .sgc-selected-card-image {
        max-width: 100px;
    }
}


/* =========================
   BOTTOM FIXED BAR
========================= */
.sgc-bottom-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f2f2f2;
    padding: 14px 20px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

/* =========================================
   MOBILE RESPONSIVENESS FOR BOTTOM FIXED BAR
========================================= */


/* =========================================
   FIXED BAR OVERLAP ISSUE & COMPACT DESIGN (MOBILE)
========================================= */
@media (max-width: 768px) {

    /* ১. পেজের নিচে পর্যাপ্ত খালি জায়গা তৈরি করা (যাতে স্ক্রল করলে কন্টেন্ট ফিক্সড বারের নিচে না হারায়) */
    .sgc-step1-page,
    .sgc-step2-page,
    .sgc-step3-page,
    .sgc-step4-page,
    .sgc-step5-page {
        padding-bottom: 220px !important;
        /* ফিক্সড বারের হাইট অনুযায়ী স্পেস বাড়ানো হলো */
    }

    /* ২. ফিক্সড বারকে স্লিম এবং পাশাপাশি (Compact) করা */
    .sgc-bottom-fixed-bar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
        height: auto !important;
        bottom: 0 !important;
    }

    /* মাঝখানের ডাটাগুলোকে লম্বা লাইনের বদলে পাশাপাশি বসানো */
    .sgc-summary-center,
    .sgc-summary-box {
        flex: 0 0 100% !important;
        order: -1 !important;
        /* বাটনগুলোর উপরে থাকবে */
        display: flex !important;
        flex-direction: row !important;
        /* পাশাপাশি আনবে */
        flex-wrap: wrap !important;
        justify-content: space-around !important;
        /* সমান দূরত্বে ছড়াবে */
        align-items: center !important;
        gap: 5px !important;
        margin-bottom: 12px !important;
        padding-bottom:5px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }


    .sgc-summary-center>div,
    .sgc-summary-box>div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        border: none !important;

        padding: 0 !important;
        margin: 0 !important;
        flex: 1 1 auto !important;
    }

    .sgc-summary-center span,
    .sgc-summary-box span {
        font-size: 10px !important;
        margin-bottom: 4px !important;
        line-height: 1 !important;
        border: none !important;
    }

    .sgc-summary-center strong,
    .sgc-summary-box strong {
        font-size: 15px !important;
        line-height: 1 !important;
    }

    .sgc-bottom-fixed-bar button.sgc-back-btn,
    .sgc-bottom-fixed-bar button.sgc-next-btn {
        flex: 0 0 48% !important;
        width: 48% !important;
        padding: 12px 0 !important;
        font-size: 12px !important;
        margin: 0 !important;
        text-align: center !important;
    }
}

@media (max-width: 400px) {

    .sgc-bottom-fixed-bar button.sgc-back-btn,
    .sgc-bottom-fixed-bar button.sgc-next-btn {
        width: 100% !important;
        margin-bottom: 5px !important;

    }
}

/* =========================
   BUTTONS
========================= */
.sgc-back-btn,
.sgc-next-btn {
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.sgc-back-btn {
    background: #9e9e9e;
    color: #fff;
}


.sgc-back-btn:hover {
    background: #c1811c !important;
    color: #fff;
}

.sgc-next-btn {
    background: #D4AF37 !important;
    color: #fff;
}



.sgc-next-btn:hover {
    background: #c1811c !important;
    color: #fff;
}

/* =========================
   CENTER SECTION
========================= */
.sgc-summary-center {
    flex: 1;
    display: flex;
    justify-content: center;
    text-align: center;
}

.sgc-summary-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sgc-summary-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.sgc-summary-value {
    font-size: 14px;
    font-weight: 800;
    color: #000;
}

/* =========================
   TABLET (768px - 1024px)
========================= */
@media (max-width: 1024px) {
    .sgc-bottom-fixed-bar {
        padding: 12px 16px;
    }

    .sgc-back-btn,
    .sgc-next-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .sgc-summary-label {
        font-size: 11px;
    }

    .sgc-summary-value {
        font-size: 13px;
    }
}

/* =========================
   MOBILE (<=768px)
========================= */
@media (max-width: 768px) {
    .sgc-bottom-fixed-bar {
        flex-direction: row !important;
        gap: 10px;
        padding: 12px;
    }

    .sgc-summary-center {
        order: 1;
    }

    .sgc-back-btn {
        order: 2;
        width: 100%;
    }

    .sgc-next-btn {
        order: 3;
        width: 100%;
    }

    .sgc-back-btn,
    .sgc-next-btn {
        padding: 12px;
        font-size: 15px;
    }

    .sgc-summary-label {
        font-size: 11px;
    }

    .sgc-summary-value {
        font-size: 14px;
    }
}

/* =========================
   SMALL MOBILE (<=480px)
========================= */
@media (max-width: 480px) {
    .sgc-summary-value {
        font-size: 13px;
    }

    .sgc-back-btn,
    .sgc-next-btn {
        font-size: 14px;
    }
}








/* STEP 1 */
.sgc-step1-page {
    background: #efefef;
    min-height: 100vh;
    color: #111;
    font-family: Arial, sans-serif;
    padding-bottom: 110px;
}

.sgc-step1-inner {
    padding: 24px 18px 0;
}

.sgc-tier-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.sgc-tier-card {
    position: relative;
    background: #111;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 22px 18px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 180px;
}

.sgc-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.sgc-tier-card.is-selected {
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35), 0 14px 30px rgba(212, 175, 55, 0.20);
}

.sgc-tier-card .sgc-tier-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
}

.sgc-tier-name {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 18px;
    margin-bottom: 10px;
    line-height: 1.1;
}

.sgc-tier-sub {
    font-size: 14px;
    opacity: 0.92;
    line-height: 1.5;
}

.sgc-tier-selected-badge {
    position: absolute;
    right: 14px;
    top: 14px;
    background: #d4af37;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    display: none;
}

.sgc-tier-card.is-selected .sgc-tier-selected-badge {
    display: inline-block;
}

.sgc-tier-standard .sgc-tier-accent {
    background: #000000;
}

.sgc-tier-pristine .sgc-tier-accent {
    background: #d4af37;
}

.sgc-tier-elite .sgc-tier-accent {
    background: #d62828;
}

.sgc-tier-vintage .sgc-tier-accent {
    background: #2563eb;
}

.sgc-tier-ultra .sgc-tier-accent {
    background: #7c3aed;
}

.sgc-tier-standard:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.sgc-tier-pristine:hover {
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
}

.sgc-tier-elite:hover {
    box-shadow: 0 10px 24px rgba(214, 40, 40, 0.35);
}

.sgc-tier-vintage:hover {
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.sgc-tier-ultra:hover {
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35);
}

.sgc-tier-card.is-featured {
    background: linear-gradient(180deg, #1b1b1b 0%, #111 100%);
}

@media (max-width: 1200px) {
    .sgc-tier-grid {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}

@media (max-width: 767px) {
    .sgc-tier-grid {
        grid-template-columns: 1fr;
    }

    .sgc-tier-name {
        font-size: 22px;
    }
}


.sgc-tier-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.sgc-tier-card {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* IMAGE FULL STYLE */
.sgc-tier-image-wrap {
    background: transparent;
    padding: 10px;
}

.sgc-tier-image {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* HOVER EFFECT */
.sgc-tier-card:hover .sgc-tier-image {
    transform: scale(1.08);
}

/* LABEL (nicher button style) */
.sgc-tier-label {
    margin-top: 12px;
    padding: 10px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    text-align: center;
}

/* COLOR VARIANTS */
.sgc-tier-standard .sgc-tier-label {
    background: #111;
    color: #fff;
}

.sgc-tier-pristine .sgc-tier-label {
    background: linear-gradient(90deg, #caa74a, #f5d87a);
    color: #111;
}

.sgc-tier-elite .sgc-tier-label {
    background: #8b1d1d;
    color: #fff;
}

.sgc-tier-vintage .sgc-tier-label {
    background: #1e40af;
    color: #fff;
}

.sgc-tier-ultra .sgc-tier-label {
    background: #5b21b6;
    color: #fff;
}

/* SELECTED EFFECT (GOLD GLOW like reference) */
.sgc-tier-card.is-selected .sgc-tier-image {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.7));
}

/* OPTIONAL GLOW FOR EACH TYPE */
.sgc-tier-pristine.is-selected .sgc-tier-image {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.9));
}

.sgc-tier-elite.is-selected .sgc-tier-image {
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.7));
}

.sgc-tier-vintage.is-selected .sgc-tier-image {
    filter: drop-shadow(0 0 20px rgba(0, 100, 255, 0.7));
}

.sgc-tier-ultra.is-selected .sgc-tier-image {
    filter: drop-shadow(0 0 20px rgba(140, 0, 255, 0.7));
}

/* =========================
   STEP 1 PAGE
========================= */
.sgc-step1-page {
    background: #242323;
    min-height: 100vh;
    color: #111;
    font-family: Arial, sans-serif;
    padding-bottom: 100px;
    overflow-x: hidden;
}

.sgc-step1-inner {
    padding: 24px 18px 0;
    max-width: 1920px;
    margin: 0 auto;
}

.sgc-main-title {
    font-size: 64px;
    line-height: 1;
    margin: 0 0 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================
   TIER GRID
========================= */
.sgc-tier-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.sgc-tier-card {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #0c0d0e69;
    border-radius: 22px;
    padding: 18px 16px 20px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 2px solid transparent;
    overflow: hidden;
}

.sgc-tier-card:hover {
    transform: translateY(-4px);
}

.sgc-tier-card.is-selected {
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.28), 0 14px 30px rgba(212, 175, 55, 0.18);
}

/* =========================
   IMAGE AREA
========================= */
.sgc-tier-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    margin-bottom: 14px;
    background: transparent;
}

.sgc-tier-image {
    width: 100%;
    max-width: 210px;
    max-height: 250px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.sgc-tier-card:hover .sgc-tier-image {
    transform: scale(1.05);
}

/* =========================
   META AREA
========================= */
.sgc-tier-meta {
    text-align: center;
    margin-top: 6px;
    margin-bottom: 16px;
    padding: 0 10px;
}

.sgc-tier-price {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 5px;
}
.sgc-tier-days {
    font-size: 15px;
    font-weight: 600;
    color: #d4af37;
    line-height: 1.65;
}

/* =========================
   LABEL
========================= */
.sgc-tier-label {
    margin-top: auto;
    padding: 14px 12px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 6px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.25;
}

/* =========================
   COLOR VARIANTS
========================= */
.sgc-tier-standard .sgc-tier-label {
    background: #4b4848;
    color: #fff;
}

.sgc-tier-pristine .sgc-tier-label {
    background: linear-gradient(90deg, #caa74a, #f5d87a);
    color: #111;
}

.sgc-tier-elite .sgc-tier-label {
    background: #8b1d1d;
    color: #fff;
}

.sgc-tier-vintage .sgc-tier-label {
    background: #1e40af;
    color: #fff;
}

.sgc-tier-ultra .sgc-tier-label {
    background: #5b21b6;
    color: #fff;
}

/* =========================
   SELECTED GLOW
========================= */
.sgc-tier-card.is-selected .sgc-tier-image {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.55));
}

.sgc-tier-pristine.is-selected .sgc-tier-image {
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.85));
}

.sgc-tier-elite.is-selected .sgc-tier-image {
    filter: drop-shadow(0 0 18px rgba(255, 0, 0, 0.55));
}

.sgc-tier-vintage.is-selected .sgc-tier-image {
    filter: drop-shadow(0 0 18px rgba(37, 99, 235, 0.55));
}

.sgc-tier-ultra.is-selected .sgc-tier-image {
    filter: drop-shadow(0 0 18px rgba(124, 58, 237, 0.65));
}



/* =========================
   BOTTOM BAR
========================= */
.sgc-bottom-fixed-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    border-top: 1px solid #d8d8d8;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 999;
}

.sgc-back-btn,
.sgc-next-btn {
    border: none;
    padding: 14px 18px;
    font-weight: 700;
    cursor: pointer;
    min-width: 96px;
    border-radius: 4px;
}

.sgc-back-btn {
    background: #888;
    color: #fff;
}

.sgc-next-btn {
    background: #917cff;
    color: #fff;
}










.sgc-summary-center {
    display: flex;
    gap: 34px;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.sgc-summary-label {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.sgc-summary-value {
    font-size: 15px;
    font-weight: 700;
    margin-top: 4px;
}

/* =========================
   LARGE DESKTOP
========================= */
@media (min-width: 1600px) {
    .sgc-step1-inner {
        padding: 28px 24px 0;
    }

    .sgc-main-title {
        font-size: 72px;
        margin-bottom: 30px;
    }

    .sgc-tier-grid {
        grid-template-columns: repeat(5, minmax(250px, 1fr));
        gap: 24px;
    }

    .sgc-tier-card {
        min-height: 460px;
        padding: 20px 18px 22px;
    }

    .sgc-tier-image-wrap {
        min-height: 270px;
    }

    .sgc-tier-image {
        max-width: 225px;
        max-height: 270px;
    }

    .sgc-tier-label {
        font-size: 16px;
    }
}

/* =========================
   LAPTOP
========================= */
@media (max-width: 1440px) {
    .sgc-main-title {
        font-size: 56px;
        margin-bottom: 24px;
    }

    .sgc-tier-grid {
        grid-template-columns: repeat(5, minmax(190px, 1fr));
        gap: 18px;
    }

    .sgc-tier-card {
        min-height: 405px;
        padding: 16px 14px 18px;
    }

    .sgc-tier-image-wrap {
        min-height: 225px;
    }

    .sgc-tier-image {
        max-width: 190px;
        max-height: 225px;
    }

    .sgc-tier-label {
        font-size: 14px;
        padding: 13px 10px;
    }
}

/* =========================
   SMALL LAPTOP / LARGE TABLET
========================= */
@media (max-width: 1199px) {
    .sgc-step1-inner {
        padding: 22px 16px 0;
    }

    .sgc-main-title {
        font-size: 46px;
        margin-bottom: 22px;
    }

    .sgc-tier-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        gap: 18px;
    }

    .sgc-tier-card {
        min-height: 410px;
    }

    .sgc-tier-image-wrap {
        min-height: 235px;
    }

    .sgc-tier-image {
        max-width: 190px;
        max-height: 230px;
    }
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px) {
    .sgc-step1-page {
        padding-bottom: 145px;
    }

    .sgc-step1-inner {
        padding: 20px 14px 0;
    }

    .sgc-main-title {
        font-size: 38px;
        line-height: 1.05;
        margin-bottom: 20px;
    }

    .sgc-tier-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 16px;
    }

    .sgc-tier-card {
        min-height: 395px;
        border-radius: 18px;
    }

    .sgc-tier-image-wrap {
        min-height: 220px;
        margin-bottom: 12px;
    }

    .sgc-tier-image {
        max-width: 180px;
        max-height: 215px;
    }

    .sgc-tier-price {
        font-size: 14px;
    }

    .sgc-tier-days {
        font-size: 12px;
    }

    .sgc-tier-label {
        font-size: 14px;
        padding: 12px 10px;
    }

    .sgc-bottom-fixed-bar {
        padding: 12px 14px;
        gap: 14px;
    }

    .sgc-summary-center {
        gap: 18px;
    }

    .sgc-summary-label {
        font-size: 13px;
    }

    .sgc-summary-value {
        font-size: 14px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px) {
    .sgc-step1-page {
        padding-bottom: 175px;
    }

    .sgc-step1-inner {
        padding: 18px 12px 0;
    }

    .sgc-main-title {
        font-size: 30px;
        line-height: 1.08;
        margin-bottom: 18px;
    }

    .sgc-tier-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sgc-tier-card {
        min-height: auto;
        padding: 14px 14px 16px;
        border-radius: 16px;
    }

    .sgc-tier-image-wrap {
        min-height: 185px;
        margin-bottom: 10px;
    }

    .sgc-tier-image {
        max-width: 160px;
        max-height: 180px;
    }

    .sgc-tier-meta {
        margin-bottom: 12px;
    }

    .sgc-tier-price {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .sgc-tier-days {
        font-size: 12px;
        line-height: 1.35;
    }

    .sgc-tier-label {
        font-size: 13px;
        letter-spacing: 0.6px;
        padding: 11px 10px;
    }

    .sgc-bottom-fixed-bar {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px;
        gap: 12px;
    }

    .sgc-back-btn,
    .sgc-next-btn {
        width: 100%;
        max-width: 140px;
        padding: 13px 16px;
    }

    .sgc-summary-center {
        order: 3;
        width: 100%;
        gap: 12px;
        flex-wrap: wrap;
    }

    .sgc-summary-box {
        width: 100%;
    }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
    .sgc-main-title {
        font-size: 26px;
    }

    .sgc-tier-card {
        padding: 12px 12px 14px;
    }

    .sgc-tier-image-wrap {
        min-height: 165px;
    }

    .sgc-tier-image {
        max-width: 145px;
        max-height: 165px;
    }

    .sgc-tier-price {
        font-size: 13px;
    }

    .sgc-tier-days {
        font-size: 11px;
    }

    .sgc-tier-label {
        font-size: 12px;
        padding: 10px 8px;
    }

}


/* =========================
   CUSTOM CARD MODAL
========================= */
.sgc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10000;
    display: none;
    padding: 20px;
    overflow-y: auto;
}

.sgc-modal-dialog {
    width: 100%;
    max-width: 730px;
    background: #272727;
    margin: 30px auto;
    padding: 22px;
    border-radius: 10px;
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
}

/* Keep submit button padding */
#sgc-custom-card-modal .sgc-modal-submit-btn {
    padding: 10px 25px !important;
}





/* Only close button fix */
#sgc-close-custom-card-modal {
    padding: 0 !important;
    background: transparent;
    border: none;
}


.sgc-modal-close {
    position: absolute !important;
    right: 12px !important;
    top: 12px!important;
    width: 34px !important;
    height: 34px;
    border: none !important;
    background: #111 !important;
    color: #d4af37 !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

.sgc-modal-title {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    padding-right: 42px;
    color:#BC8A34;

}

.sgc-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sgc-modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sgc-modal-field-full {
    grid-column: 1 / -1;
}

.sgc-modal-field label {
    font-size: 14px;
    font-weight: 500;
    color: #ededed;
}

.sgc-modal-input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #666;
    background: #333;
    font-size: 14px;
    box-sizing: border-box;
}


.sgc-modal-error {
    color: #d40000;
    font-size: 12px;
    font-weight: 700;
}

/* front/back side by side */
.sgc-modal-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 4px;
}

.sgc-modal-preview-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sgc-modal-image-preview-wrap {
    min-height: 180px;
    height: 180px;
    border: 1px dashed #cfcfcf;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    overflow: hidden;
    border-radius: 6px;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.sgc-modal-field input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
border: 1px solid #666;
border-radius: 3px;
padding: .5rem 1rem;
transition: all .3s;
width: 100%;
background: #333;
color: white;

}



#sgc_custom_image_preview_front,
#sgc_custom_image_preview_back {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.sgc-modal-preview-placeholder {
    font-size: 13px;
    font-weight: 600;
    color: #8a8a8a;
    text-align: center;
}

.sgc-modal-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: row;
}

.sgc-modal-submit-btn {
    min-width: 140px !important;
    padding: 12px 18px !important;
    background: #c99335eb !important;
    color: #111827 !important;
    border: none !important;
    font-weight: 600 !important;
    cursor: pointer!important;
    border-radius: 5px !important;
    font-size: 18px !important;
}
/* selected card image blocks */
.sgc-selected-card-images-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 14px;
}

.sgc-selected-card-image-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sgc-selected-card-image-label {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.sgc-selected-card-image {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    background: #fff;
}

/* =========================
   LAPTOP
========================= */
@media (max-width: 1366px) {
    .sgc-modal-dialog {
        max-width: 700px;
        padding: 20px;
    }

    .sgc-modal-image-preview-wrap {
        min-height: 165px;
        height: 165px;
    }
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px) {
    .sgc-modal-overlay {
        padding: 16px;
    }

    .sgc-modal-dialog {
        max-width: 100%;
        margin: 10px auto;
        padding: 18px;
        max-height: calc(100vh - 20px);
    }

    .sgc-modal-title {
        font-size: 21px;
        margin-bottom: 16px;
    }

    .sgc-modal-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sgc-modal-preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sgc-modal-image-preview-wrap {
        min-height: 150px;
        height: 150px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px) {
    .sgc-modal-overlay {
        padding: 10px;
    }

    .sgc-modal-dialog {
        max-width: 100%;
        margin: 0 auto;
        padding: 16px 14px;
        border-radius: 8px;
        max-height: calc(100vh - 20px);
    }

    .sgc-modal-close {
        width: 30px;
        height: 30px;
        right: 10px;
        top: 10px;
        font-size: 18px;
    }

    .sgc-modal-title {
        font-size: 20px;
        margin-bottom: 14px;
        padding-right: 36px;
    }

    .sgc-modal-field label {
        font-size: 13px;
    }

    .sgc-modal-input {
        min-height: 40px;
        padding: 9px 10px;
        font-size: 14px;
    }

    .sgc-modal-preview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sgc-modal-image-preview-wrap {
        min-height: 130px;
        height: 130px;
        padding: 8px;
    }

    .sgc-modal-actions {
        margin-top: 14px;
    }

    .sgc-modal-submit-btn {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
    .sgc-modal-dialog {
        padding: 14px 12px;
    }

    .sgc-modal-title {
        font-size: 18px;
    }

    .sgc-modal-image-preview-wrap {
        min-height: 115px;
        height: 115px;
    }
}


















/* প্যারেন্ট ক্লাস ধরে স্পেসিফিক সিলেকশন যেন এলিমেন্টর ওভাররাইড করতে না পারে */
#sgc-custom-card-modal .sgc-modal-dialog .sgc-modal-close,
.sgc-modal-dialog .sgc-modal-close {
    /* পজিশনিং */
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    
    /* সাইজ এবং শেপ - গোল করার জন্য মাস্ট */
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    border-radius: 50% !important;
    
    /* কালার এবং লুক */
    background-color: #d4af37 !important; /* গোল্ডেন */
    color: #000000 !important; /* ভেতরের X কালো */
    border: 2px solid #ffffff !important; /* হাইলাইট করার জন্য সাদা বর্ডার */
    
    /* কন্টেন্ট এলাইনমেন্ট */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    
    /* এক্সট্রা ইফেক্ট */
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    z-index: 999 !important;
    transition: all 0.3s ease !important;
}

/* হোভার ইফেক্ট */
#sgc-custom-card-modal .sgc-modal-dialog .sgc-modal-close:hover {
    background-color: #000000 !important;
    color: #d4af37 !important;
    border-color: #d4af37 !important;
    transform: scale(1.1) rotate(90deg) !important;
}

/* ভেতরের টেক্সট বা আইকন সাইজ */
#sgc-custom-card-modal .sgc-modal-dialog .sgc-modal-close::before,
#sgc-custom-card-modal .sgc-modal-dialog .sgc-modal-close::after {
    font-size: 18px !important;
    font-weight: 900 !important;
}


/* ১. ফুটার বাটন কন্টেইনার (প্যাডিং এবং এলাইনমেন্ট) */
#sgc-address-modal .sgc-modal-actions,
.sgc-address-modal-actions {
    display: flex !important;
    justify-content: space-between !important; /* ক্যানসেল বামে, সেভ ডানে */
    gap: 15px !important;
    margin-top: 25px !important;
    padding-top: 15px !important;
    border-top: 1px solid #eee !important; /* হালকা বর্ডার লাইন */
}

/* ২. বাটনগুলোর কমন স্টাইল (বর্ডার রেডিয়াস এবং প্যাডিং) */
#sgc-address-modal .sgc-modal-actions button,
.sgc-address-modal-actions .sgc-modal-submit-btn,
.sgc-address-modal-actions .sgc-modal-cancel-btn {
    padding: 12px 25px !important;
    border-radius: 50px !important; /* রাউন্ডেড পিল শেপ */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    outline: none !important;
}

/* ৩. সেভ (SAVE) বাটন কালার */
#sgc-address-modal .sgc-modal-actions .sgc-modal-submit-btn,
#sgc-address-modal .sgc-modal-actions button:not(.sgc-modal-cancel-btn) {
    background: #d4af37 !important; /* আপনার লোগোর গোল্ডেন কালার */
    color: #000 !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3) !important;
}

/* ৪. ক্যানসেল (CANCEL) বাটন কালার */
#sgc-address-modal .sgc-modal-actions .sgc-modal-cancel-btn,
#sgc-address-modal .sgc-modal-actions button.cancel {
    background: #f1f1f1 !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
}

/* হোভার ইফেক্ট */
#sgc-address-modal .sgc-modal-actions .sgc-modal-submit-btn:hover {
    background: #000 !important;
    color: #d4af37 !important;
    transform: translateY(-2px) !important;
}

















/* Right side selected custom card extra */
.sgc-selected-card-custom-meta {
    margin: 8px 0 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #222;
}

.sgc-selected-card-image-wrap {
    margin: 0 0 14px;
}

.sgc-selected-card-image {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    background: #fff;
}

/* responsive */
@media (max-width: 767px) {
    .sgc-modal-dialog {
        max-width: calc(100% - 24px);
        margin: 24px auto;
        padding: 20px 16px;
    }

    .sgc-modal-grid {
        grid-template-columns: 1fr;
    }
}


.sgc-selected-card-images-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 14px;
}

.sgc-selected-card-image-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sgc-selected-card-image-label {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.sgc-selected-card-image {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    background: #fff;
}




/* =========================
   STEP 3 REVIEW
========================= */
.sgc-step3-page {
    background: #242323;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    padding-bottom: 110px;
    color: #E5A93D;
}

.sgc-step3-inner {
    padding: 24px 18px 0;
}

.sgc-step3-inner .sgc-main-title {
    font-size: 42px;
}
.sgc-step3-top-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.sgc-step3-summary-card {
    background: #545454;
    border: 1px solid #acacac;
    padding: 18px;
    border-radius: 10px;
}

.sgc-step3-summary-label {
    font-size: 15px;
    font-weight: 800;
    color: #E5A93D !important;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sgc-step3-summary-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.sgc-step3-cards-wrap {
    display: block;
}

.sgc-step3-card {
    background: #333333;
    border: 1px solid #7d7d7d;
    border-radius: 10px;
    margin-bottom: 18px;
    overflow: hidden;
    color: white;
}

.sgc-step3-card-head {
    padding: 16px 18px;
    border-bottom: 1px solid #919191;
    background: #545454;
}

.sgc-step3-card-number {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: #E5A93D;
}

.sgc-step3-card-title {
    font-size: 22px;
    font-weight: 900;
    color: #dddddd;
    line-height: 1.3;
}

.sgc-step3-card-body {
    padding: 18px;
}

.sgc-step3-card-info {
    font-size: 14px;
    line-height: 1.9;
    color: #ffffff;
    margin-bottom: 16px !important;
}
.sgc-step3-card-meta {
    margin-top: 10px;
}


/* =========================================
   STEP 3: REVIEW ORDER IMAGES FIX
========================================= */
.sgc-step3-card-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.sgc-step3-card-image-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sgc-step3-card-image-label {
    font-size: 12px;
    font-weight: 800;
    color: #c1811c;
    text-transform: uppercase;
}

.sgc-step3-card-image {
    max-width: 140px !important;
    /* ডেস্কটপে সাইজ কমিয়ে আনা হলো */
    height: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
    /* হালকা রাউন্ড শেপ */
    background: #fff;
    display: block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* প্রিমিয়াম লুকের জন্য শ্যাডো */
}

/* =========================================
   RESPONSIVE (Tablet & Mobile)
========================================= */
@media (max-width: 991px) {
    .sgc-step3-top-summary {
        grid-template-columns: 1fr;
    }

    .sgc-step3-summary-value {
        font-size: 20px;
    }

    .sgc-step3-card-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .sgc-step3-inner {
        padding: 20px 14px 0;
    }

    .sgc-step3-summary-card,
    .sgc-step3-card-head,
    .sgc-step3-card-body {
        padding: 14px;
    }

    .sgc-step3-card-title {
        font-size: 14px;
    }

    .sgc-main-title {
        font-size: 23px !important;
    }

    .sgc-step3-card-images {
        flex-direction: row !important;
        /* মোবাইলেও ছবিগুলো পাশাপাশি থাকবে */
        justify-content: flex-start;
        gap: 15px;
    }

    .sgc-step3-card-image {
        max-width: 100px !important;
        /* মোবাইলে 100% এর বদলে নির্দিষ্ট ছোট সাইজ দেওয়া হলো */
    }
}













/* STEP 4 ADDRESS */
.sgc-step4-page,
.sgc-step5-page {
    background: #242323;
    min-height: 100vh;
    padding-bottom: 110px;
}

.sgc-step4-inner,
.sgc-step5-inner {
    padding: 24px 18px 0;
}

.sgc-step4-address-list {
    max-width: 620px;
    margin-bottom: 18px;
}

.sgc-step4-address-card {
    border: 1px solid #646363 !important;
    background: #545454;
    padding: 16px 18px;
    margin-bottom: 14px;
    transition: 0.2s ease;
}

.sgc-step4-address-card.is-selected {
    border-color: #6e63ff;
    box-shadow: 0 0 0 2px rgba(110, 99, 255, 0.12);
}

.sgc-step4-address-main {
    cursor: pointer;
}

.sgc-step4-address-title {
    font-size: 18px;
    font-weight: 700;
    color: #E5A93D;
    margin-bottom: 6px;
}

.sgc-step4-address-line, .sgc-step4-address-phone {
    font-size: 17px;
    color: #e8e8e8;
    line-height: 1.4;
}

.sgc-step4-address-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.sgc-step4-address-edit-btn,
.sgc-step4-address-delete-btn {
    padding: 8px 14px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.sgc-step4-address-delete-btn {
    border-color: #d66;
    color: #b22;
}




/* =========================================
   FIX FOR SHIPPING ADDRESS BUTTONS
========================================= */

/* Add New Shipping Address Button Fix */
.sgc-step4-page button.sgc-add-address-btn,
.sgc-step4-page button#sgc-open-address-modal {
    background-color: #fff !important;
    border: 1px dashed #E5A93D !important;
    color: #E5A93D !important;
    padding: 15px 20px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
        font-size: 18px !important;
    font-weight: 400 !important;
}

.sgc-step4-page button.sgc-add-address-btn:hover,
.sgc-step4-page button#sgc-open-address-modal:hover {
    background-color: #fcfcfc !important;
}

/* Edit & Delete Button Fix */
.sgc-step4-address-actions button.sgc-step4-address-edit-btn, .sgc-step4-address-actions button.sgc-step4-address-delete-btn {
    background-color: #ffffff !important;
    border: 1px solid #d6d6d6 !important;
    color: #111 !important;
    padding: 5px 15px !important;
    border-radius: 3px !important;
    cursor: pointer !important;
}

.sgc-step4-address-actions button.sgc-step4-address-edit-btn:hover,
.sgc-step4-address-actions button.sgc-step4-address-delete-btn:hover {
    background-color: #efefef !important;
    border-color: #333 !important;
}








.sgc-add-address-btn {
    width: 100%;
  
    border: 1px dashed #bbb;
    background: transparent;
    font-size: 25px;
    font-weight: 900;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
}

.sgc-add-address-plus {
    font-size: 25px;
   
    color: #6E63FF !important;
}

.sgc-step4-empty-address {
    padding: 18px;
    border: 1px dashed #ccc;
    background: #fff;
    font-size: 14px;
}

.sgc-address-modal-dialog {
    max-width: 520px;
}

.sgc-address-default-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.sgc-address-modal-actions {
    justify-content: space-between;
}

/* STEP 5 */
.sgc-step5-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sgc-step5-panel {
    background: #545454;
    border: 1px solid #818181;
    border-radius: 10px;
    padding: 20px;
}



.sgc-step5-panel-title {
    font-size: 18px;
    font-weight: 800;
    color: #E5A93D;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sgc-step5-address-card {
    border: 1px solid #6b6b6b;
    padding: 16px;
    background: #fafafa;
}

.sgc-step5-address-title {
    font-size: 20px;
    font-weight: 700;
    color: #101011;
    margin-bottom: 6px;
}
.sgc-step5-address-line, .sgc-step5-address-phone {
    font-size: 15px;
    color: #000000;
    line-height: 1.4;
}


.sgc-step5-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #dadada;
}


.sgc-step5-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.sgc-step5-summary-total {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
    font-size: 16px;
}

.sgc-step5-empty-address {
    padding: 16px;
    border: 1px dashed #ccc;
    background: #fafafa;
    font-size: 14px;
}

@media (max-width: 767px) {

    .sgc-step4-inner,
    .sgc-step5-inner {
        padding: 20px 14px 0;
    }

    .sgc-step4-address-card {
        padding: 14px;
    }

    .sgc-step4-address-title,
    .sgc-step5-address-title {
        font-size: 14px;
    }

    .sgc-step4-address-actions {
        flex-wrap: wrap;
    }

    .sgc-add-address-btn {
        min-height: 70px;
        font-size: 20px;
    }

    .sgc-add-address-plus {
        font-size: 28px;
    }

    .sgc-step5-grid {
        grid-template-columns: 1fr;
    }

.sgc-step4-address-line, .sgc-step4-address-phone {
    font-size: 14px;
}


}
















.sgc-step5-shipping-methods-wrap {
    margin-top: 24px;
}

.sgc-step5-method-card {
    display: flex;
    gap: 16px;
    border: 1px solid #cfcfcf;
    background: #545454;
    padding: 18px 30px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}
.sgc-step5-method-card.is-selected {
    border-color: #ffc933c9;
    box-shadow: 0 0 0 2px rgba(143, 135, 255, 0.12);
}

.sgc-step5-method-left {
    width: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sgc-step5-method-logo {
    max-width: 100%;
    max-height: 34px;
    object-fit: contain;
    display: block;
}

.sgc-step5-method-logo-placeholder {
    min-width: 52px;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    color: #444;
    background: #f3f3f3;
    border: 1px solid #ddd;
}

.sgc-step5-method-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sgc-step5-method-title {
    font-size: 19px;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
    text-transform: uppercase;
}

.sgc-step5-method-price {
    font-size: 16px;
    font-weight: 500;
    color: #f3f3f3;
}

@media (max-width: 767px) {
    .sgc-step5-method-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .sgc-step5-method-title {
        font-size: 16px;
    }

    .sgc-step5-method-price {
        font-size: 14px;
    }

    .sgc-step5-method-left {
        width: 42px;
        flex: 0 0 42px;
    }
}

/* =========================
   STEP 7 PAYMENT REDESIGN
========================= */
.sgc-step7-page {
    background: #242323;
    min-height: 100vh;
    padding-bottom: 110px;
}

.sgc-step7-container {
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.sgc-step7-card, .sgc-summary-card {
    background: #545454;
  
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.sgc-step7-card {
    padding: 22px;
}

.sgc-summary-card {
    padding: 28px;
    position: sticky;
    top: 24px;
}

.sgc-step7-header {
    margin-bottom: 28px;
}

.sgc-main-title {
    font-size: 50px;
    line-height: 1;
    font-weight: 700;
    margin: 0 0 14px;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0px;
}

.sgc-step7-subtitle {
    margin: 0;
    font-size: 17px;
    color: #fcbc25d9;
}
.sgc-payment-section+.sgc-payment-section {
    margin-top: 28px;
}

.sgc-payment-section-title {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #E5A93D;
}

.sgc-express-box {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    background: #fafafa;
}

.sgc-or-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.sgc-or-divider::before,
.sgc-or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.sgc-card-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sgc-card-element-wrap {
    border: 1px solid #d9dce3;
    border-radius: 16px;
    background: #fff;
    padding: 18px 16px;
    min-height: 60px;
    transition: all 0.2s ease;
}

.sgc-card-element-wrap:focus-within {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

#sgc-card-element {
    width: 100%;
    min-height: 24px;
}
.sgc-step7-right {
    background-color: #545454;
}
.sgc-payment-error {
    color: #d92d20;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.sgc-pay-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    border: none !important;
  
    background: #E5A93D !important;
    color: #f1f1f1;
    font-size: 20px;
    font-weight:800;
    padding: 0 22px;
    cursor: pointer;
    transition: 0.25s ease;
}

.sgc-pay-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.sgc-summary-card-header h3 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #E5A93D;
}

.sgc-summary-order {
    font-size: 16px;
    color: #edebeb;
}




.sgc-summary-total-wrap {
    margin: 24px 0 20px;
    padding: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7cc, #ffe58a);
    border: 1px solid #f4d03f;
}

.sgc-summary-total-wrap .sgc-summary-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 8px;
}

.sgc-summary-total {
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
    color: #111827;
}

.sgc-summary-note {
    font-size: 16px;
    line-height: 1.3;
    color: #e3e7f3;
    margin-bottom: 22px;
}

.sgc-summary-btn {
    width: 100% !important;
    min-height: 52px;
    border: none;
    border-radius: 10px;
    background: #d4af37;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    opacity: 1;
    padding: 15px;
}








.sgc-summary-card .sgc-summary-btn {
    width: 100% !important;
    min-height: 56px !important;
    background-color: #d4af37 !important; 
    color: #ffffff !important; 
    border: none !important;
    border-radius: 10px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2) !important;
}


.sgc-summary-card .sgc-summary-btn:hover {
    background-color: #000000 !important; 
    color: #d4af37 !important; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-2px); 
}


.sgc-summary-card .sgc-summary-btn:disabled {
    background-color: #cccccc !important;
    color: #020202 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    transform: none !important;
}






.sgc-bottom-fixed-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 50;
    background: #000000;
    backdrop-filter: blur(10px);
    border-top: 1px solid #0b0c0c;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sgc-back-btn,
.sgc-next-btn {
    min-width: 130px;
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.sgc-back-btn {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #111827;
}

.sgc-next-btn {
    border: none;
    background: #d4af37;
    color: #111827;
}

.sgc-summary-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.sgc-summary-box {
    text-align: center;
}

.sgc-summary-box .sgc-summary-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;

}

.sgc-summary-box .sgc-summary-value {
    font-size: 28px;
    font-weight: 900;
    color: #E5A93D;
    margin-top: 4px;
}

/* Hide mobile bottom IDs on desktop if right summary exists */
#sgc-step7-total-mobile {
    display: none;
}

/* Better express checkout buttons spacing */
#sgc-express-checkout-element iframe,
#sgc-express-checkout-element {
    width: 100% !important;
}

/* Stripe card field visual breathing */
.StripeElement {
    width: 100%;
    background: transparent;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 991px) {
    .sgc-step7-container {
        grid-template-columns: 1fr;
    }

    .sgc-summary-card {
        position: static;
    }

    .sgc-main-title {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .sgc-step7-container {
        margin: 18px auto;
        padding: 0 14px;
    }

    .sgc-step7-card,
    .sgc-summary-card {
        padding: 15px !important;
        border-radius: 12px !important;
    }

    .sgc-main-title {
        font-size: 34px;
    }

    .sgc-step7-subtitle {
        font-size: 15px;
    }

    .sgc-summary-total {
        font-size: 32px;
    }

    .sgc-bottom-fixed-bar {
        padding: 12px 14px;
        gap: 10px;
    }

    .sgc-back-btn,
    .sgc-next-btn {
        min-width: 110px;
        min-height: 44px;
        font-size: 14px;
    }
}


/* =========================
   STEP 8 CONFIRM PAGE
========================= */
.sgc-step8-page {
    background: #f5f6fa;
    min-height: 100vh;
    padding: 30px 20px 60px;
}

.sgc-step8-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.sgc-step8-header-card,
.sgc-step8-section-card,
.sgc-step8-summary-card {
    background: #fff;
    border: 1px solid #e7e7ec;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.sgc-step8-header-card {
    padding: 28px;
    margin-bottom: 24px;
}

.sgc-step8-header-card h1 {
    margin: 12px 0 10px;
    font-size: 40px;
    line-height: 1.1;
    color: #111827;
}

.sgc-step8-header-card p {
    margin: 0;
    color: #667085;
    font-size: 16px;
}

.sgc-step8-success-badge {
    display: inline-block;
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
}

.sgc-step8-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 24px;
}

.sgc-step8-main,
.sgc-step8-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sgc-step8-section-card,
.sgc-step8-summary-card {
    padding: 24px;
}

.sgc-step8-section-card h3,
.sgc-step8-summary-card h3 {
    margin: 0 0 18px;
    font-size: 24px;
    color: #111827;
}

.sgc-step8-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    color: #475467;
    font-size: 15px;
}

.sgc-step8-address {
    color: #475467;
    font-size: 15px;
    line-height: 1.7;
}

.sgc-step8-cards-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sgc-step8-card-item {
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 18px;
    background: #fafafa;
}

.sgc-step8-card-top h4 {
    margin: 0 0 5px;
    font-size: 20px;
    color: #111827;
}

.sgc-step8-card-type {
    color: #667085;
    font-size: 14px;
}

.sgc-step8-card-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    margin-top: 16px;
}

.sgc-step8-card-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sgc-step8-image-box {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 10px;
}

.sgc-step8-image-label {
    font-size: 12px;
    font-weight: 700;
    color: #667085;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sgc-step8-image-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.sgc-step8-card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    font-size: 14px;
    color: #475467;
}

.sgc-step8-summary-row,
.sgc-step8-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sgc-step8-summary-row {
    padding: 12px 0;
    border-bottom: 1px solid #eaecf0;
    color: #475467;
}

.sgc-step8-summary-total {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7cc, #ffe58a);
    border: 1px solid #f4d03f;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
}

.sgc-step8-empty {
    max-width: 700px;
    margin: 70px auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e7e7ec;
    padding: 40px;
    text-align: center;
}

@media (max-width: 991px) {
    .sgc-step8-grid {
        grid-template-columns: 1fr;
    }

    .sgc-step8-card-content {
        grid-template-columns: 1fr;
    }

    .sgc-step8-detail-grid,
    .sgc-step8-card-meta {
        grid-template-columns: 1fr;
    }
}