/*
 * Sanad Gold UI/UX Pro v3.0.0
 * Safe public presentation layer for the existing CodeIgniter 3 application.
 */

:root {
    --sg-pro-focus: #1d70b8;
    --sg-pro-danger: #b42318;
    --sg-pro-success: #067647;
    --sg-pro-surface: rgba(255, 255, 255, .96);
    --sg-pro-ring: 0 0 0 4px rgba(29, 112, 184, .2);
}

html {
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.sg-site {
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.sg-skip-link {
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 99999;
    padding: 11px 16px;
    color: #fff !important;
    border-radius: 10px;
    background: var(--sg-navy-900);
    box-shadow: var(--sg-shadow-sm);
    transform: translateY(-160%);
}

.sg-skip-link:focus { transform: translateY(0); }

body.sg-site :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--sg-pro-focus) !important;
    outline-offset: 3px !important;
    box-shadow: var(--sg-pro-ring) !important;
}

body.sg-site button,
body.sg-site [role="button"],
body.sg-site select,
body.sg-site input[type="submit"],
body.sg-site input[type="button"] { cursor: pointer; }

/* Header layout overhaul v4.0.1
   Fixes:
   1. Eliminates Bootstrap 3 .container:before and :after pseudo-element grid item bug.
   2. Keeps Logo, Navigation, and Action controls strictly on a single horizontal row.
   3. Prevents logo from overlapping or clipping navigation links.
*/
body.sg-site .sg-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(7, 27, 51, 0.08) !important;
    box-shadow: 0 4px 20px rgba(7, 27, 51, 0.06) !important;
    backdrop-filter: blur(16px) !important;
}

body.sg-site .sg-header > .sg-header-inner.container {
    width: min(calc(100% - 32px), 1360px) !important;
    max-width: 1360px !important;
    min-height: 76px !important;
    height: 76px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

body.sg-site .sg-header > .sg-header-inner.container::before,
body.sg-site .sg-header > .sg-header-inner.container::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

body.sg-site .sg-header .sg-logo,
body.sg-site .sg-header .logo {
    flex: 0 0 auto !important;
    width: 185px !important;
    max-width: 185px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: static !important;
    z-index: 10 !important;
}

body.sg-site .sg-header .sg-logo img,
body.sg-site .sg-header .logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
    display: block !important;
}

body.sg-site .sg-header .sg-desktop-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    float: none !important;
    margin: 0 8px !important;
    padding: 0 !important;
}

body.sg-site .sg-header .sg-desktop-nav .theNavbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(4px, 0.7vw, 14px) !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
}

body.sg-site .sg-header .sg-desktop-nav .theNavbar li {
    float: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.sg-site .sg-header .sg-desktop-nav .theNavbar li a {
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    line-height: 1 !important;
    padding: 6px clamp(6px, 0.65vw, 12px) !important;
    font-size: clamp(12.5px, 0.9vw, 14.5px) !important;
    font-weight: 700 !important;
    color: #172235 !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: color 0.2s ease, background 0.2s ease !important;
    float: none !important;
    background: transparent !important;
}

body.sg-site .sg-header .sg-desktop-nav .theNavbar li a:hover,
body.sg-site .sg-header .sg-desktop-nav .theNavbar li a.is-active {
    color: var(--sg-navy-900) !important;
    background: rgba(212, 175, 55, 0.14) !important;
}

body.sg-site .sg-header .sg-desktop-nav .theNavbar li.sg-nav-join a {
    color: var(--sg-gold-700) !important;
    font-weight: 800 !important;
    background: rgba(212, 175, 55, 0.09) !important;
    border: 1px solid rgba(212, 175, 55, 0.32) !important;
    gap: 6px !important;
}
body.sg-site .sg-header .sg-desktop-nav .theNavbar li.sg-nav-join a i {
    color: var(--sg-gold-600) !important;
}
body.sg-site .sg-header .sg-desktop-nav .theNavbar li.sg-nav-join a:hover,
body.sg-site .sg-header .sg-desktop-nav .theNavbar li.sg-nav-join a.is-active {
    background: linear-gradient(135deg, var(--sg-navy-900), #0d284a) !important;
    color: var(--sg-gold-400) !important;
    border-color: var(--sg-navy-900) !important;
}
body.sg-site .sg-header .sg-desktop-nav .theNavbar li.sg-nav-join a:hover i,
body.sg-site .sg-header .sg-desktop-nav .theNavbar li.sg-nav-join a.is-active i {
    color: var(--sg-gold-400) !important;
}

body.sg-site .sg-header .sg-header-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}

body.sg-site .sg-header .sg-header-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 42px !important;
    padding: 0 16px !important;
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-600)) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25) !important;
}

body.sg-site .sg-header .sg-header-cta:hover {
    background: linear-gradient(135deg, var(--sg-gold-600), var(--sg-gold-700)) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Registration layout containment. The intro must stay above the form on
   phones, with its copy and card image fully contained in the viewport. */
body.sg-site #subscription,
body.sg-site #subscription > .container,
body.sg-site #subscription .sg-form-shell,
body.sg-site #subscription .sg-form-intro,
body.sg-site #subscription .sg-form-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

body.sg-site #subscription .sg-form-shell {
    width: 100%;
}

body.sg-site #subscription .sg-form-intro h2,
body.sg-site #subscription .sg-form-intro p,
body.sg-site #subscription .sg-form-intro li {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
}

body.sg-site #subscription .sg-form-intro > img {
    display: block;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
}

/* Translatable inner-page masthead. */
body.sg-site:not(.sg-page-index) #main-content::before {
    content: "بطاقة سند الذهبية";
    min-height: 190px;
    padding: 25px 20px 75px;
    background:
        radial-gradient(circle at 82% 20%, rgba(230, 198, 90, .16), transparent 24%),
        radial-gradient(circle at 12% 85%, rgba(21, 95, 148, .25), transparent 30%),
        linear-gradient(125deg, #04101f, #092c51 66%, #071b33);
    font-size: clamp(16px, 1.6vw, 22px);
    letter-spacing: 0;
}

html[lang="en"] body.sg-site:not(.sg-page-index) #main-content::before { content: "Sanad Gold Card"; }
html[lang="ur"] body.sg-site:not(.sg-page-index) #main-content::before { content: "سند گولڈ کارڈ"; }
html[lang="hi"] body.sg-site:not(.sg-page-index) #main-content::before { content: "सनद गोल्ड कार्ड"; }
html[lang="my"] body.sg-site:not(.sg-page-index) #main-content::before { content: "Sanad Gold ကတ်"; }

body.sg-site:not(.sg-page-index) #main-content > .cardInfo,
body.sg-site:not(.sg-page-index) #main-content > .analytics-dea {
    margin-top: -72px !important;
}

body.sg-site:not(.sg-page-index) #main-content > .cardInfo > .container,
body.sg-site:not(.sg-page-index) #main-content .analytics-dea.Page .nameDea,
body.sg-site:not(.sg-page-index) #main-content .form > .container {
    overflow: hidden;
    border-color: rgba(7, 27, 51, .08);
    background: var(--sg-pro-surface);
    box-shadow: 0 25px 70px rgba(4, 16, 31, .14);
}

body.sg-site #main-content .cardInfo > .container > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.sg-site:not(.sg-page-index) #main-content h2.title,
body.sg-site:not(.sg-page-index) #main-content h2.titleForm,
body.sg-site:not(.sg-page-index) #main-content #thd h2.title {
    position: relative;
    padding-inline-start: 18px !important;
    border-bottom: 0;
}

body.sg-site:not(.sg-page-index) #main-content h2.title::before,
body.sg-site:not(.sg-page-index) #main-content h2.titleForm::before,
body.sg-site:not(.sg-page-index) #main-content #thd h2.title::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    bottom: 24px;
    width: 5px;
    border-radius: 99px;
    background: linear-gradient(var(--sg-gold-400), var(--sg-gold-700));
}

/* Search and back controls used throughout the medical network. */
body.sg-site #main-content .card-body .input-group {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(7, 27, 51, .06);
}

body.sg-site #main-content .card-body .input-group .form-control {
    min-width: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
}

body.sg-site #main-content .card-body .input-group-btn {
    width: 58px;
    display: flex;
}

body.sg-site #main-content .card-body .input-group-btn .btn {
    width: 100%;
    min-height: 52px;
    padding: 0 !important;
    border-radius: 0 !important;
}

.sg-back-link {
    min-height: 44px;
    margin: 16px 0 25px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sg-navy-900) !important;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(7, 27, 51, .06);
    font-weight: 800;
    text-decoration: none !important;
}

.sg-back-link:hover {
    border-color: var(--sg-gold-500);
    background: var(--sg-ivory);
}

.sg-network-hint {
    margin: 20px 0 !important;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sg-navy-900) !important;
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 13px;
    background: var(--sg-ivory);
    font-size: 15px;
    font-weight: 700;
}

/* Network cards. */
body.sg-site #main-content .parent-netblock > a,
body.sg-site #main-content .itemsArea .panel > a { display: block; text-decoration: none; }

body.sg-site #main-content .netblock,
body.sg-site #main-content .item1 {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.sg-site #main-content .netblock:hover,
body.sg-site #main-content .netblock:focus-within { transform: translateY(-4px); box-shadow: var(--sg-shadow); }

.sg-city-card {
    min-height: 100px;
    margin: 8px 0 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: var(--sg-navy-900);
    border: 1px solid var(--sg-border);
    border-inline-start: 5px solid var(--sg-gold-500);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--sg-shadow-sm);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.sg-city-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, .48);
    box-shadow: var(--sg-shadow);
}

.sg-city-card h3 { margin: 0; color: inherit; font-size: 19px; font-weight: 800; }
.sg-city-card i { color: var(--sg-gold-700); }

/* Membership verification. */
.sg-check-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--sg-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--sg-shadow-sm);
}

.sg-check-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-gold-700);
    border-radius: 20px;
    background: var(--sg-sand);
    font-size: 31px;
}

.sg-check-intro { max-width: 590px; margin: 0 auto 25px; color: var(--sg-muted); text-align: center; }
.sg-check-panel .social_links { margin: 22px 0; }
.sg-check-panel .social_links a { margin: 4px; }

.sg-status-message {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff2f0;
    color: var(--sg-pro-danger);
    text-align: center;
    font-weight: 700;
}

/* Join and application forms. */
.sg-join-shell { padding: clamp(22px, 4vw, 44px) !important; }
.sg-join-intro { max-width: 720px; margin: 0 auto 28px; color: var(--sg-muted); text-align: center; }

.sg-join-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sg-join-choice {
    min-height: 230px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    color: var(--sg-navy-900) !important;
    border: 1px solid var(--sg-border);
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #f8fafc);
    box-shadow: var(--sg-shadow-sm);
    text-align: start;
    text-decoration: none !important;
}

.sg-join-choice:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, .55);
    box-shadow: var(--sg-shadow);
}

.sg-join-choice .sg-choice-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-gold-700);
    border-radius: 15px;
    background: var(--sg-sand);
    font-size: 22px;
}

.sg-join-choice h3 { margin: 0; font-size: 22px; font-weight: 800; }
.sg-join-choice p { margin: 0; color: var(--sg-muted); line-height: 1.8; }
.sg-join-choice .sg-choice-action { margin-top: 7px; color: var(--sg-gold-700); font-weight: 800; }

body.sg-site:not(.sg-page-index) #main-content .formCard:not(.sg-premium-form) .row {
    display: flex;
    flex-wrap: wrap;
}

body.sg-site:not(.sg-page-index) #main-content .formCard:not(.sg-premium-form) input[type="file"] {
    padding-top: 13px !important;
}

body.sg-site .sg-field-touched:invalid,
body.sg-site [aria-invalid="true"] {
    border-color: var(--sg-pro-danger) !important;
    background: #fffafa !important;
}

body.sg-site .sg-field-touched:valid { border-color: rgba(6, 118, 71, .42) !important; }

/* Store details and legal content. */
body.sg-site #main-content #mytabs .table td {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .13) !important;
    background: linear-gradient(135deg, var(--sg-navy-900), var(--sg-navy-800)) !important;
}

body.sg-site #main-content #mytabs .tab-pane > h4 {
    margin: 24px 0 14px;
    color: var(--sg-navy-900);
    font-size: 21px;
    font-weight: 800;
}

body.sg-site #main-content .analytics-dea.Page a { color: var(--sg-blue); text-decoration: underline; }

html[dir="ltr"] .sg-skip-link { right: auto; left: 16px; }
html[dir="ltr"] .sg-join-choice { align-items: flex-start; }

@media (max-width: 991px) {
    body.sg-site .sg-header > .sg-header-inner.container {
        width: calc(100% - 24px) !important;
        min-height: 70px !important;
        height: 70px !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
    }

    body.sg-site .sg-header .sg-desktop-nav { display: none !important; }
    body.sg-site .sg-header .sg-header-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
    }

    body.sg-site:not(.sg-page-index) #main-content::before { min-height: 160px; padding-bottom: 58px; }
    body.sg-site:not(.sg-page-index) #main-content > .cardInfo,
    body.sg-site:not(.sg-page-index) #main-content > .analytics-dea { margin-top: -54px !important; }
    .sg-join-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    body.sg-site { overflow-x: hidden !important; overflow-y: visible !important; }

    body.sg-site .sg-header > .sg-header-inner.container {
        min-height: 66px !important;
        height: 66px !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    body.sg-site .sg-header .sg-logo,
    body.sg-site .sg-header .logo {
        width: min(50vw, 175px) !important;
        max-width: 175px !important;
        height: 48px !important;
    }

    body.sg-site #subscription > .container {
        width: calc(100% - 24px) !important;
    }

    body.sg-site #subscription .sg-form-shell {
        grid-template-columns: minmax(0, 1fr) !important;
        overflow: hidden;
        border-radius: 20px;
    }

    body.sg-site #subscription .sg-form-intro {
        width: 100%;
        min-height: 0;
        padding: 30px 20px 26px !important;
        grid-column: 1;
        grid-row: 1;
        overflow: hidden;
    }

    body.sg-site #subscription .sg-form-intro h2 {
        margin: 7px 0 12px;
        font-size: clamp(25px, 7.4vw, 30px) !important;
        line-height: 1.5;
    }

    body.sg-site #subscription .sg-form-intro > p {
        font-size: 15px;
        line-height: 1.9;
    }

    body.sg-site #subscription .sg-form-intro ul {
        margin: 20px 0 16px;
    }

    body.sg-site #subscription .sg-form-intro li {
        margin-bottom: 10px;
        align-items: flex-start;
        font-size: 14px;
        line-height: 1.75;
    }

    body.sg-site #subscription .sg-form-intro > img {
        width: min(100%, 310px) !important;
        margin: 16px auto 0 !important;
        border-radius: 13px;
        transform: none !important;
    }

    body.sg-site #subscription .sg-form-card {
        width: 100%;
        padding: 30px 16px !important;
        grid-column: 1;
        grid-row: 2;
    }

    body.sg-site:not(.sg-page-index) #main-content > .cardInfo > .container,
    body.sg-site:not(.sg-page-index) #main-content .analytics-dea.Page .nameDea,
    body.sg-site:not(.sg-page-index) #main-content .form > .container { padding: 22px 16px !important; border-radius: 18px; }

    body.sg-site:not(.sg-page-index) #main-content h2.title,
    body.sg-site:not(.sg-page-index) #main-content h2.titleForm,
    body.sg-site:not(.sg-page-index) #main-content #thd h2.title { font-size: 25px !important; }

    body.sg-site #main-content #mytabs .nav-pills { display: grid; grid-template-columns: 1fr; }
    body.sg-site #main-content #mytabs .nav-pills > li { width: 100% !important; }
    body.sg-site #main-content #map { height: 330px !important; }
    .sg-join-choice { min-height: 200px; padding: 23px; }
}

@media (max-width: 390px) {
    body.sg-site .sg-header .sg-logo,
    body.sg-site .sg-header .logo {
        width: min(52vw, 178px) !important;
        height: 48px !important;
    }

    body.sg-site #subscription .sg-form-intro { padding-right: 17px !important; padding-left: 17px !important; }
    body.sg-site #subscription .sg-form-intro h2 { font-size: 25px !important; }
    body.sg-site #subscription .sg-form-intro > img { width: min(100%, 280px) !important; }
}

/* ==========================================================================
   SANAD GOLD 4.0 - PUBLIC UI REDESIGN COMPONENT SUITE
   ========================================================================== */

/* 1. Hero visual & interactive details */
.sg-eyebrow {
    margin-bottom: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}
.sg-eyebrow .sg-eyebrow-dot {
    width: 28px !important;
    height: 3px !important;
    border-radius: 99px !important;
    background: var(--sg-gold-400) !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}
.sg-eyebrow .sg-eyebrow-text,
.sg-eyebrow span:not(.sg-eyebrow-dot) {
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    white-space: nowrap !important;
    color: var(--sg-gold-300) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: normal !important;
}
.sg-hero h1 {
    margin: 12px 0 18px 0 !important;
    color: var(--sg-white) !important;
    font-size: clamp(32px, 3.8vw, 54px) !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    clear: both !important;
}
.sg-hero h1 strong {
    display: block !important;
    color: var(--sg-gold-400) !important;
    font-weight: 800 !important;
    margin-top: 6px !important;
}
.sg-hero-copy > p {
    max-width: 600px !important;
    margin: 0 0 24px 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 16.5px !important;
    line-height: 1.85 !important;
}
.sg-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.sg-card-halo {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(7, 27, 51, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: sgHaloPulse 4s ease-in-out infinite alternate;
}
@keyframes sgHaloPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; }
}
.sg-card-wrapper {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}
.sg-card-wrapper:hover {
    transform: rotateY(-6deg) rotateX(4deg) translateY(-8px);
}
.sg-membership-card {
    max-width: min(100%, 420px);
    height: auto;
    filter: drop-shadow(0 25px 35px rgba(4, 16, 31, 0.45));
    border-radius: 20px;
}
.sg-floating-badge {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 12px 28px rgba(7, 27, 51, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: sgBadgeFloat 5s ease-in-out infinite alternate;
}
.sg-floating-badge-one {
    top: 15%;
    right: -10px;
    color: var(--sg-navy-900);
    font-weight: 700;
    font-size: 13px;
}
.sg-floating-badge-one i {
    color: var(--sg-gold-600);
    font-size: 18px;
}
.sg-floating-badge-two {
    bottom: 12%;
    left: -10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation-delay: -2.5s;
}
.sg-floating-badge-two strong {
    color: var(--sg-gold-700);
    font-size: 18px;
    line-height: 1.1;
}
.sg-floating-badge-two span {
    color: var(--sg-muted);
    font-size: 12px;
}
@keyframes sgBadgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}
.sg-hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    transition: all 0.25s ease;
    z-index: 5;
}
.sg-hero-scroll span {
    width: 4px;
    height: 8px;
    background: var(--sg-gold-400);
    border-radius: 2px;
    animation: sgScrollWheel 1.8s infinite;
}
@keyframes sgScrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* 2. Smart Search Box */
.sg-search-section {
    position: relative;
    z-index: 10;
    margin-top: -46px;
    padding-bottom: 20px;
}
.sg-search-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 22px 28px;
    box-shadow: 0 16px 45px rgba(7, 27, 51, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
}
.sg-search-form {
    width: 100%;
}
.sg-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid var(--sg-border);
    border-radius: 18px;
    padding: 6px 8px 6px 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
[dir="rtl"] .sg-search-input-wrap {
    padding: 6px 18px 6px 8px;
}
.sg-search-input-wrap:focus-within {
    border-color: var(--sg-gold-500);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    background: #fff;
}
.sg-search-icon {
    font-size: 18px;
    color: var(--sg-gold-600);
    margin-inline-end: 12px;
}
.sg-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: var(--sg-text);
    padding: 8px 0;
}
.sg-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--sg-navy-900), var(--sg-navy-800));
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
}
.sg-search-btn:hover {
    background: linear-gradient(135deg, var(--sg-gold-600), var(--sg-gold-700));
    color: #fff;
    transform: translateY(-1px);
}
.sg-search-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.sg-chips-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--sg-muted);
}
.sg-chips-label i {
    color: #f97316;
}
.sg-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--sg-text);
    cursor: pointer;
    transition: all 0.2s ease;
}
.sg-chip:hover {
    background: var(--sg-navy-900);
    color: #fff;
    border-color: var(--sg-navy-900);
    transform: translateY(-1px);
}

/* 3. Categories Grid */
.sg-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin-top: 36px;
}
.sg-category-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 18px;
    border: 1px solid var(--sg-border);
    box-shadow: var(--sg-shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.25s ease;
    overflow: hidden;
}
.sg-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(7, 27, 51, 0.12);
    border-color: var(--sg-gold-400);
}
.sg-cat-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(7, 27, 51, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--sg-gold-600);
    margin-bottom: 14px;
    transition: all 0.25s ease;
}
.sg-category-card:hover .sg-cat-icon {
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700));
    color: #ffffff;
    transform: scale(1.08);
}
.sg-category-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sg-navy-900);
    margin: 0 0 6px 0;
}
.sg-cat-badge {
    font-size: 12px;
    color: var(--sg-muted);
    font-weight: 500;
}
.sg-cat-arrow {
    position: absolute;
    bottom: 12px;
    left: 14px;
    font-size: 11px;
    color: var(--sg-gold-600);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
}
[dir="rtl"] .sg-cat-arrow {
    left: 14px;
    right: auto;
}
.sg-category-card:hover .sg-cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* 4. MANDATORY FEATURE: Large Animated Discount Network Cards Carousel */
.sg-featured-network {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}
.sg-large-carousel-stage {
    position: relative;
    margin-top: 36px;
    padding: 10px 0 20px;
}
.sg-large-carousel-track {
    position: relative;
    min-height: 440px;
}
.sg-large-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0) scale(0.86);
    width: min(880px, 94%);
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--sg-border);
    box-shadow: 0 16px 40px rgba(7, 27, 51, 0.08);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: all 500ms cubic-bezier(0.25, 1, 0.5, 1);
}
.sg-large-card.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
    transform: translate(-50%, 0) scale(1);
    box-shadow: 0 25px 60px rgba(7, 27, 51, 0.16), 0 0 0 1px rgba(212, 175, 55, 0.35);
}
[dir="rtl"] .sg-large-card.is-prev {
    opacity: 0.65;
    pointer-events: auto;
    cursor: pointer;
    z-index: 3;
    transform: translate(calc(-50% + 280px), 0) scale(0.88);
    filter: blur(0.5px);
}
[dir="rtl"] .sg-large-card.is-next {
    opacity: 0.65;
    pointer-events: auto;
    cursor: pointer;
    z-index: 3;
    transform: translate(calc(-50% - 280px), 0) scale(0.88);
    filter: blur(0.5px);
}
[dir="ltr"] .sg-large-card.is-prev,
.sg-site-ltr .sg-large-card.is-prev {
    opacity: 0.65;
    pointer-events: auto;
    cursor: pointer;
    z-index: 3;
    transform: translate(calc(-50% - 280px), 0) scale(0.88);
    filter: blur(0.5px);
}
[dir="ltr"] .sg-large-card.is-next,
.sg-site-ltr .sg-large-card.is-next {
    opacity: 0.65;
    pointer-events: auto;
    cursor: pointer;
    z-index: 3;
    transform: translate(calc(-50% + 280px), 0) scale(0.88);
    filter: blur(0.5px);
}
.sg-large-card.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px) scale(0.75);
}
.sg-large-card-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}
.sg-large-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.sg-large-card:hover .sg-large-card-visual img {
    transform: scale(1.05);
}
.sg-large-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 27, 51, 0.7) 0%, rgba(7, 27, 51, 0) 60%);
}
.sg-large-card-badges {
    position: absolute;
    bottom: 18px;
    right: 18px;
    left: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}
.sg-badge-discount {
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700));
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sg-badge-city {
    background: rgba(255, 255, 255, 0.92);
    color: var(--sg-navy-900);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sg-badge-city i {
    color: var(--sg-gold-600);
}
.sg-large-card-body {
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sg-large-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.sg-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 8px;
}
.sg-network-label {
    font-size: 12px;
    color: var(--sg-gold-700);
    font-weight: 700;
}
.sg-large-card-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--sg-navy-900);
    margin: 0 0 14px 0;
    line-height: 1.4;
}
.sg-large-card-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--sg-muted);
    margin: 0 0 24px 0;
}
.sg-large-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sg-carousel-nav {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--sg-border);
    box-shadow: 0 10px 24px rgba(7, 27, 51, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-navy-900);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}
[dir="rtl"] .sg-carousel-prev { right: 8px; }
[dir="rtl"] .sg-carousel-next { left: 8px; }
[dir="ltr"] .sg-carousel-prev, .sg-site-ltr .sg-carousel-prev { left: 8px; }
[dir="ltr"] .sg-carousel-next, .sg-site-ltr .sg-carousel-next { right: 8px; }
.sg-carousel-nav:hover {
    background: var(--sg-navy-900);
    color: var(--sg-gold-400);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 14px 30px rgba(7, 27, 51, 0.22);
}
.sg-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}
.sg-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sg-dot.is-active {
    width: 34px;
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700));
}

/* 5. Pricing Plans & Grid */
.sg-pricing-section {
    background: #ffffff;
}
.sg-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
    align-items: stretch;
}
.sg-plan-card {
    position: relative;
    border-radius: 24px;
    background: #ffffff;
    border: 1.5px solid var(--sg-border);
    box-shadow: var(--sg-shadow-sm);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.sg-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(7, 27, 51, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
}
.sg-plan-card.is-featured {
    border-color: var(--sg-gold-500);
    box-shadow: 0 24px 55px rgba(212, 175, 55, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    transform: scale(1.03);
}
.sg-plan-card.is-featured:hover {
    transform: scale(1.03) translateY(-6px);
}
.sg-plan-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700));
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    white-space: nowrap;
}
.sg-plan-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(7, 27, 51, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--sg-gold-600);
    margin-bottom: 20px;
}
.sg-plan-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--sg-navy-900);
    margin: 0 0 8px 0;
}
.sg-plan-desc {
    font-size: 14px;
    color: var(--sg-muted);
    margin: 0 0 22px 0;
    line-height: 1.6;
}
.sg-plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.sg-plan-price {
    font-size: 42px;
    font-weight: 900;
    color: var(--sg-navy-900);
    line-height: 1;
}
.sg-plan-currency {
    font-size: 18px;
    font-weight: 700;
    color: var(--sg-gold-700);
}
.sg-plan-duration {
    font-size: 13px;
    color: var(--sg-muted);
}
.sg-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sg-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--sg-text);
}
.sg-plan-features li i {
    color: #059669;
    font-size: 15px;
    flex-shrink: 0;
}
.sg-plan-cta {
    width: 100%;
    justify-content: center;
}

/* 6. How It Works Steps */
.sg-how-section {
    background: #f8fafc;
}
.sg-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.sg-step-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid var(--sg-border);
    box-shadow: var(--sg-shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
}
.sg-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(7, 27, 51, 0.1);
    border-color: var(--sg-gold-400);
}
.sg-step-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--sg-navy-900);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
[dir="ltr"] .sg-step-badge, .sg-site-ltr .sg-step-badge {
    right: auto;
    left: 18px;
}
.sg-step-icon {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(7, 27, 51, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--sg-gold-600);
    margin-bottom: 20px;
}
.sg-step-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--sg-navy-900);
    margin: 0 0 10px 0;
}
.sg-step-card p {
    font-size: 14px;
    color: var(--sg-muted);
    line-height: 1.7;
    margin: 0;
}

/* 7. App & Digital Card Section */
.sg-app-section {
    background: linear-gradient(135deg, var(--sg-navy-950) 0%, var(--sg-navy-900) 100%);
    color: #ffffff;
    overflow: hidden;
}
.sg-app-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}
.sg-app-content h2 {
    color: #ffffff !important;
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 18px;
}
.sg-app-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 24px;
}
.sg-app-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sg-app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #ffffff;
}
.sg-app-features li i {
    color: var(--sg-gold-400);
    font-size: 18px;
}
.sg-app-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.sg-app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 12px 22px;
    color: #ffffff;
    text-decoration: none !important;
    position: relative;
    transition: all 0.25s ease;
}
.sg-app-store-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--sg-gold-400);
    transform: translateY(-2px);
    color: #fff;
}
.sg-app-store-btn i {
    font-size: 28px;
    color: var(--sg-gold-400);
}
.sg-app-btn-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}
[dir="ltr"] .sg-app-btn-text, .sg-site-ltr .sg-app-btn-text {
    text-align: left;
}
.sg-app-btn-text small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
}
.sg-app-btn-text strong {
    font-size: 15px;
    font-weight: 700;
}
.sg-badge-soon {
    position: absolute;
    top: -8px;
    left: -8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
[dir="rtl"] .sg-badge-soon {
    left: -8px;
    right: auto;
}
.sg-app-visual {
    display: flex;
    justify-content: center;
    position: relative;
}
.sg-app-visual img {
    max-width: min(100%, 380px);
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.6));
}

/* 8. Verification CTA Banner & Partners Wall */
.sg-verify-cta-section {
    background: linear-gradient(135deg, #0b2e55 0%, #071b33 100%);
    padding: 60px 0;
    color: #ffffff;
}
.sg-verify-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.sg-verify-info h2 {
    color: #ffffff !important;
    font-size: 28px;
    margin: 0 0 10px 0;
}
.sg-verify-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin: 0;
}
.sg-verify-form {
    display: flex;
    gap: 10px;
    width: min(100%, 460px);
}
.sg-verify-form input {
    flex: 1;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 12px 18px;
    font-size: 15px;
    outline: none;
}
.sg-verify-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.sg-verify-form button {
    white-space: nowrap;
}

/* 9. Subpages Common Layouts */
.sg-subpage-hero {
    background: linear-gradient(135deg, var(--sg-navy-950) 0%, var(--sg-navy-900) 100%);
    color: #ffffff;
    padding: 70px 0 50px;
    position: relative;
    overflow: hidden;
}
.sg-subpage-hero h1 {
    color: #ffffff !important;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin: 0 0 14px 0;
}
.sg-subpage-hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    max-width: 680px;
    line-height: 1.8;
    margin: 0 0 24px 0;
}
.sg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;
}
.sg-breadcrumb a {
    color: var(--sg-gold-400);
    text-decoration: none;
}

/* Providers Grid on Subpages (stores.php, search.php) */
.sg-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.sg-provider-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--sg-border);
    box-shadow: var(--sg-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    text-decoration: none !important;
}
.sg-provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(7, 27, 51, 0.12);
    border-color: var(--sg-gold-400);
}
.sg-provider-card-media {
    position: relative;
    height: 190px;
    overflow: hidden;
}
.sg-provider-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.sg-provider-card:hover .sg-provider-card-media img {
    transform: scale(1.06);
}
.sg-provider-card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.sg-provider-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--sg-navy-900);
    margin: 0 0 8px 0;
}
.sg-provider-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--sg-muted);
    margin-bottom: 14px;
}

/* Store Detail Page (the_store.php) */
.sg-store-detail-header {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--sg-shadow-sm);
    border: 1px solid var(--sg-border);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    align-items: center;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}
.sg-store-logo-wrap {
    width: 100%;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--sg-border);
}
.sg-store-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sg-store-tabs-wrapper {
    margin-top: 36px;
}

/* Verification Result Card (check.php) */
.sg-check-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 0;
}
.sg-check-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: var(--sg-shadow);
    border: 1px solid var(--sg-border);
}

/* Geographic cards (cities.php, region.php, countries.php) */
.sg-geo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 36px;
}
.sg-geo-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    border: 1px solid var(--sg-border);
    box-shadow: var(--sg-shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.sg-geo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(7, 27, 51, 0.12);
    border-color: var(--sg-gold-400);
}
.sg-geo-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(7, 27, 51, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--sg-gold-600);
    margin-bottom: 14px;
}
.sg-geo-card:hover .sg-geo-icon {
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700));
    color: #ffffff;
}

/* Responsive adjustments across mobile sizes */
@media (max-width: 991px) {
    .sg-large-card {
        width: 90%;
        grid-template-columns: 1fr;
    }
    .sg-large-card-visual {
        height: 240px;
        min-height: 240px;
    }
    .sg-large-card-body {
        padding: 26px 20px;
    }
    .sg-large-carousel-track {
        min-height: 520px;
    }
    .sg-app-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sg-app-features li {
        justify-content: center;
    }
    .sg-app-badges {
        justify-content: center;
    }
    .sg-store-detail-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sg-store-logo-wrap {
        max-width: 220px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .sg-large-carousel-track {
        min-height: auto;
    }
    .sg-large-card {
        position: relative;
        left: 0;
        transform: none !important;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
    }
    .sg-large-card.is-active {
        display: grid;
    }
    .sg-carousel-nav {
        display: none;
    }
    .sg-search-box {
        padding: 18px 16px;
    }
    .sg-search-input-wrap {
        padding: 4px 6px 4px 12px;
    }
    [dir="rtl"] .sg-search-input-wrap {
        padding: 4px 12px 4px 6px;
    }
    .sg-search-btn span {
        display: none;
    }
    .sg-search-btn {
        padding: 10px 14px;
    }
    .sg-verify-box {
        flex-direction: column;
        align-items: stretch;
    }
    .sg-verify-form {
        width: 100%;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .sg-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .sg-category-card {
        padding: 18px 12px;
    }
    .sg-cat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .sg-category-card h3 {
        font-size: 14px;
    }
    .sg-geo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .sg-plan-card {
        padding: 28px 18px;
    }
}

/* ==========================================================================
   SANAD GOLD 4.1 — COMPLETE SECTION STYLING & MODERN LUXURY ARCHITECTURE
   ========================================================================== */

/* Hero Trust Strip */
.sg-hero-trust {
    margin-top: 36px !important;
    padding-top: 26px !important;
    display: flex !important;
    gap: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    flex-wrap: wrap !important;
}
.sg-trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.sg-trust-item i {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(212, 175, 55, 0.12) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--sg-gold-400) !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}
.sg-trust-item div {
    display: flex !important;
    flex-direction: column !important;
}
.sg-trust-item strong {
    color: var(--sg-white) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}
.sg-trust-item small {
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 12px !important;
}

/* Section Header Action Link */
.sg-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid var(--sg-border) !important;
    color: var(--sg-navy-900) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(7, 27, 51, 0.04) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}
.sg-link-btn:hover {
    background: var(--sg-navy-900) !important;
    color: var(--sg-gold-400) !important;
    border-color: var(--sg-navy-900) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(7, 27, 51, 0.12) !important;
}
.sg-link-btn i {
    transition: transform 0.25s ease !important;
    font-size: 12px !important;
}
[dir="rtl"] .sg-link-btn:hover i {
    transform: translateX(-4px) !important;
}
[dir="ltr"] .sg-link-btn:hover i {
    transform: translateX(4px) !important;
}

/* Section 5: Featured Offers Carousel */
.sg-offers {
    background: #f8fafc !important;
}
.sg-offer-card-wrap {
    padding: 10px 4px 20px !important;
}
.sg-offer-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 10px 28px rgba(7, 27, 51, 0.06) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    height: 100% !important;
}
.sg-offer-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(7, 27, 51, 0.12) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-offer-card-media {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #0d1b2a 0%, #1e293b 100%) !important;
}
.sg-offer-card-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}
.sg-offer-card:hover .sg-offer-card-media img {
    transform: scale(1.06) !important;
}
.sg-offer-tag {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    z-index: 2 !important;
}
[dir="ltr"] .sg-offer-tag {
    right: auto !important;
    left: 14px !important;
}
.sg-offer-card-info {
    padding: 22px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
    background: #ffffff !important;
}
.sg-offer-store-name {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--sg-gold-700) !important;
    margin-bottom: 8px !important;
}
.sg-offer-card-info h3 {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.45 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.sg-offer-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: var(--sg-navy-900) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    transition: color 0.2s ease !important;
}
.sg-offer-card:hover .sg-offer-cta {
    color: var(--sg-gold-600) !important;
}
.sg-offer-cta i {
    transition: transform 0.2s ease !important;
}
[dir="rtl"] .sg-offer-card:hover .sg-offer-cta i {
    transform: translateX(-4px) !important;
}
[dir="ltr"] .sg-offer-card:hover .sg-offer-cta i {
    transform: translateX(4px) !important;
}

/* Section 6: Discount Network Directory Grid */
.sg-network-showcase {
    background: #ffffff !important;
    padding: 80px 0 !important;
}
.sg-network-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
    gap: 26px !important;
    margin-top: 36px !important;
}
.sg-provider-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 8px 24px rgba(7, 27, 51, 0.05) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
}
.sg-provider-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 42px rgba(7, 27, 51, 0.12) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-provider-media {
    position: relative !important;
    width: 100% !important;
    height: 190px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
}
.sg-provider-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}
.sg-provider-card:hover .sg-provider-media img {
    transform: scale(1.06) !important;
}
.sg-provider-media img.is-placeholder {
    object-fit: contain !important;
    padding: 24px !important;
    background: #fafbfc !important;
}
.sg-provider-discount {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700)) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    z-index: 2 !important;
}
[dir="ltr"] .sg-provider-discount {
    right: auto !important;
    left: 14px !important;
}
.sg-provider-details {
    padding: 20px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
    background: #ffffff !important;
}
.sg-provider-city {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--sg-gold-700) !important;
    margin-bottom: 6px !important;
}
.sg-provider-name {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.sg-provider-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: var(--sg-navy-900) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding-top: 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    transition: color 0.2s ease !important;
}
.sg-provider-card:hover .sg-provider-link {
    color: var(--sg-gold-600) !important;
}
.sg-provider-link i {
    transition: transform 0.2s ease !important;
}
[dir="rtl"] .sg-provider-card:hover .sg-provider-link i {
    transform: translateX(-4px) !important;
}
[dir="ltr"] .sg-provider-card:hover .sg-provider-link i {
    transform: translateX(4px) !important;
}

/* Section 7: Nearby Discounts Banner */
.sg-nearby-section {
    padding: 50px 0 !important;
    background: #f8fafc !important;
}
.sg-nearby-banner {
    background: linear-gradient(135deg, #071b33 0%, #0b2e55 100%) !important;
    border-radius: 28px !important;
    padding: 56px 50px !important;
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 40px !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 24px 60px rgba(7, 27, 51, 0.18) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
}
.sg-nearby-banner::before {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    left: -20% !important;
    width: 500px !important;
    height: 500px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%) !important;
    pointer-events: none !important;
}
.sg-nearby-content {
    position: relative !important;
    z-index: 2 !important;
}
.sg-nearby-content .sg-section-kicker {
    color: var(--sg-gold-400) !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.sg-nearby-content h2 {
    color: #ffffff !important;
    font-size: clamp(26px, 3.2vw, 38px) !important;
    font-weight: 800 !important;
    margin: 8px 0 16px 0 !important;
    line-height: 1.35 !important;
}
.sg-nearby-content p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    margin: 0 0 28px 0 !important;
    max-width: 580px !important;
}
.sg-nearby-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}
.sg-nearby-art {
    position: relative !important;
    width: 100% !important;
    height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
}
.sg-radar-circle {
    position: absolute !important;
    width: 240px !important;
    height: 240px !important;
    border-radius: 50% !important;
    border: 2px dashed rgba(212, 175, 55, 0.35) !important;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%) !important;
    animation: sgRadarPulse 4s ease-in-out infinite !important;
}
@keyframes sgRadarPulse {
    0% { transform: scale(0.92); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.92); opacity: 0.6; }
}
.sg-radar-pin {
    position: absolute !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: var(--sg-navy-900) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28) !important;
    border: 2px solid var(--sg-gold-400) !important;
    transition: transform 0.3s ease !important;
}
.sg-radar-pin:hover {
    transform: scale(1.15) !important;
    color: var(--sg-gold-600) !important;
}
.sg-pin-center {
    width: 62px !important;
    height: 62px !important;
    background: linear-gradient(135deg, var(--sg-gold-400), var(--sg-gold-600)) !important;
    color: #ffffff !important;
    font-size: 24px !important;
    z-index: 5 !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.4) !important;
}
.sg-pin-1 { top: 20px !important; right: 28px !important; animation: sgPinFloat 5s ease-in-out infinite alternate !important; }
.sg-pin-2 { bottom: 25px !important; right: 40px !important; animation: sgPinFloat 4.5s ease-in-out infinite alternate-reverse !important; }
.sg-pin-3 { top: 35px !important; left: 30px !important; animation: sgPinFloat 5.5s ease-in-out infinite alternate !important; }
@keyframes sgPinFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* Section 8: Interactive Map Showcase */
.sg-map-preview-section {
    padding: 60px 0 80px !important;
    background: #ffffff !important;
}
.sg-map-preview-card {
    background: #ffffff !important;
    border-radius: 28px !important;
    padding: 50px 48px !important;
    border: 1.5px solid var(--sg-border) !important;
    box-shadow: 0 18px 50px rgba(7, 27, 51, 0.07) !important;
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 40px !important;
    align-items: center !important;
}
.sg-map-preview-info h2 {
    color: var(--sg-navy-900) !important;
    font-size: clamp(26px, 3.2vw, 36px) !important;
    font-weight: 800 !important;
    margin: 8px 0 16px 0 !important;
    line-height: 1.35 !important;
}
.sg-map-preview-info p {
    color: var(--sg-muted) !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    margin: 0 !important;
}
.sg-map-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 24px 0 30px !important;
}
.sg-map-features > div {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--sg-navy-900) !important;
}
.sg-map-features i {
    color: #059669 !important;
    font-size: 17px !important;
}
.sg-map-preview-graphic {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.sg-map-graphic-box {
    width: 100% !important;
    max-width: 360px !important;
    height: 250px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(7, 27, 51, 0.03) 0%, rgba(212, 175, 55, 0.08) 100%) !important;
    border: 2px dashed rgba(212, 175, 55, 0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}
.sg-map-big-icon {
    font-size: 80px !important;
    color: rgba(7, 27, 51, 0.1) !important;
    margin-bottom: 14px !important;
}
.sg-map-stat-badge {
    background: linear-gradient(135deg, var(--sg-navy-900), var(--sg-navy-800)) !important;
    color: #ffffff !important;
    padding: 12px 26px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(7, 27, 51, 0.2) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}
.sg-map-stat-badge strong {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: var(--sg-gold-400) !important;
    line-height: 1.1 !important;
}
.sg-map-stat-badge span {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Section 9: Pricing Plans Elements */
.sg-plan-badge {
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700)) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 6px 20px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
    white-space: nowrap !important;
}
.sg-plan-header {
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.sg-plan-type {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--sg-gold-700) !important;
    margin-bottom: 8px !important;
}
.sg-plan-validity {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    color: var(--sg-muted) !important;
    margin-top: 10px !important;
}
.sg-feature-highlight {
    background: rgba(212, 175, 55, 0.1) !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    border-right: 3px solid var(--sg-gold-500) !important;
}
[dir="ltr"] .sg-feature-highlight {
    border-right: none !important;
    border-left: 3px solid var(--sg-gold-500) !important;
}
.sg-plan-footer {
    margin-top: auto !important;
    padding-top: 24px !important;
}

/* Section 10: How It Works 4-Steps */
.sg-steps-four {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin-top: 44px !important;
    position: relative !important;
}
.sg-step-item {
    background: #ffffff !important;
    border-radius: 22px !important;
    padding: 34px 22px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 8px 24px rgba(7, 27, 51, 0.05) !important;
    text-align: center !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.sg-step-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 40px rgba(7, 27, 51, 0.1) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-step-number {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    color: rgba(212, 175, 55, 0.25) !important;
    line-height: 1 !important;
}
[dir="ltr"] .sg-step-number {
    right: auto !important;
    left: 18px !important;
}
.sg-step-item .sg-step-icon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(7, 27, 51, 0.05)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    color: var(--sg-gold-600) !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
}
.sg-step-item:hover .sg-step-icon {
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700)) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}
.sg-step-item h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 10px 0 !important;
}
.sg-step-item p {
    font-size: 14px !important;
    color: var(--sg-muted) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* Section 11: Digital Card & Mobile App Promo */
.sg-app-promo {
    background: linear-gradient(145deg, #071b33 0%, #04101f 100%) !important;
    color: #ffffff !important;
    padding: 90px 0 !important;
    overflow: hidden !important;
    position: relative !important;
}
.sg-app-shell {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 48px !important;
    align-items: center !important;
}
.sg-app-copy .sg-section-kicker {
    color: var(--sg-gold-400) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
}
.sg-app-copy h2 {
    color: #ffffff !important;
    font-size: clamp(28px, 3.5vw, 42px) !important;
    font-weight: 800 !important;
    margin: 8px 0 16px 0 !important;
    line-height: 1.35 !important;
}
.sg-app-copy p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 16.5px !important;
    line-height: 1.85 !important;
    margin: 0 0 28px 0 !important;
}
.sg-app-features-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-bottom: 34px !important;
}
.sg-app-feat {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}
.sg-app-feat i {
    color: var(--sg-gold-400) !important;
    font-size: 18px !important;
    width: 28px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}
.sg-app-feat strong {
    color: var(--sg-white) !important;
    font-weight: 800 !important;
}
.sg-app-badges {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}
.sg-app-badge-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    padding: 10px 20px !important;
    color: #ffffff !important;
    position: relative !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.25s ease !important;
    cursor: default !important;
}
.sg-app-badge-btn:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-app-badge-btn i {
    font-size: 26px !important;
    color: var(--sg-gold-400) !important;
}
.sg-app-badge-btn small {
    display: block !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.2 !important;
}
.sg-app-badge-btn strong {
    display: block !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
.sg-soon-tag {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    margin-inline-start: 6px !important;
}
.sg-app-visual {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.sg-phone-mockup {
    width: 320px !important;
    height: 540px !important;
    max-width: 90vw !important;
    background: #000000 !important;
    border-radius: 44px !important;
    padding: 12px !important;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 3px #333333, 0 0 0 2px rgba(212, 175, 55, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}
.sg-phone-screen {
    background: linear-gradient(180deg, #071b33 0%, #092440 100%) !important;
    border-radius: 34px !important;
    padding: 20px 16px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
}
.sg-screen-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12px !important;
    color: var(--sg-gold-400) !important;
    font-weight: 800 !important;
}
.sg-screen-card-preview {
    margin: 16px 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4) !important;
}
.sg-screen-card-preview img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 220px !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    display: block !important;
}
.sg-screen-quick-row {
    display: flex !important;
    justify-content: space-around !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    padding: 12px 6px !important;
    text-align: center !important;
}
.sg-screen-quick-row > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
}
.sg-screen-quick-row i {
    color: var(--sg-gold-400) !important;
    font-size: 16px !important;
}
.sg-screen-quick-row small {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 11px !important;
}

/* Section 13: Partners Wall */
.sg-partners-wall {
    padding: 50px 0 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--sg-border) !important;
    border-bottom: 1px solid var(--sg-border) !important;
}
.sg-partners-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
}
.sg-partners-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--sg-muted) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: 0.5px !important;
}
.sg-partners-title i {
    color: var(--sg-gold-600) !important;
}
.sg-partners-track {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}
.sg-partner-logo {
    width: 140px !important;
    height: 75px !important;
    padding: 10px 16px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    overflow: hidden !important;
}
.sg-partner-logo:hover {
    border-color: var(--sg-gold-400) !important;
    background: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(7, 27, 51, 0.08) !important;
}
.sg-partner-logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    transition: filter 0.25s ease !important;
}

/* Section 14: Membership Verification Promo */
.sg-verify-cta-card {
    background: linear-gradient(135deg, #071b33 0%, #0f3d6e 100%) !important;
    border-radius: 24px !important;
    padding: 44px 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    box-shadow: 0 20px 50px rgba(7, 27, 51, 0.18) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    flex-wrap: wrap !important;
}
.sg-verify-cta-copy .sg-section-kicker {
    color: var(--sg-gold-400) !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.sg-verify-cta-copy h2 {
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    margin: 8px 0 10px 0 !important;
}
.sg-verify-cta-copy p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px !important;
    margin: 0 !important;
    max-width: 600px !important;
    line-height: 1.75 !important;
}
.sg-verify-cta-action {
    flex-shrink: 0 !important;
}

/* Section 15: Pre-Footer CTA */
.sg-prefooter-cta {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%) !important;
    padding: 75px 0 !important;
    text-align: center !important;
    border-top: 1px solid var(--sg-border) !important;
}
.sg-prefooter-inner {
    max-width: 680px !important;
    margin: 0 auto !important;
}
.sg-prefooter-inner h2 {
    font-size: clamp(26px, 3.2vw, 36px) !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 14px 0 !important;
}
.sg-prefooter-inner p {
    font-size: 16.5px !important;
    color: var(--sg-muted) !important;
    margin: 0 0 28px 0 !important;
    line-height: 1.8 !important;
}
.sg-prefooter-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

/* Subscription Form Intro Details */
.sg-form-intro-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 24px 0 28px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.sg-form-intro-list li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
}
.sg-form-intro-list li i {
    color: var(--sg-gold-400) !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}
.sg-form-intro-card-wrap {
    width: 100% !important;
    max-width: 320px !important;
    margin: 18px auto 0 !important;
    text-align: center !important;
}
.sg-form-intro-card-wrap img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35)) !important;
    border-radius: 16px !important;
    display: block !important;
}

/* Responsive Overrides across all screen sizes */
@media (max-width: 991px) {
    .sg-nearby-banner {
        grid-template-columns: 1fr !important;
        padding: 40px 28px !important;
        text-align: center !important;
    }
    .sg-nearby-actions {
        justify-content: center !important;
    }
    .sg-map-preview-card {
        grid-template-columns: 1fr !important;
        padding: 40px 28px !important;
        text-align: center !important;
    }
    .sg-map-features {
        align-items: center !important;
    }
    .sg-app-shell {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .sg-app-features-list {
        align-items: center !important;
    }
    .sg-app-feat {
        justify-content: center !important;
    }
    .sg-app-badges {
        justify-content: center !important;
    }
    .sg-steps-four {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .sg-verify-cta-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 36px 24px !important;
    }
    .sg-heading-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
}

@media (max-width: 767px) {
    .sg-network-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 16px !important;
    }
    .sg-provider-media {
        height: 170px !important;
    }
    .sg-nearby-banner {
        padding: 32px 20px !important;
    }
    .sg-nearby-actions {
        flex-direction: column !important;
        width: 100% !important;
    }
    .sg-nearby-actions .sg-btn {
        width: 100% !important;
    }
    .sg-map-preview-card {
        padding: 32px 20px !important;
    }
    .sg-phone-mockup {
        width: 280px !important;
        height: 480px !important;
    }
}

@media (max-width: 480px) {
    .sg-network-grid {
        grid-template-columns: 1fr !important;
    }
    .sg-steps-four {
        grid-template-columns: 1fr !important;
    }
    .sg-partner-logo {
        width: 120px !important;
        height: 65px !important;
    }
    .sg-hero-trust {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
}

.sg-categories-section {
    background: #ffffff !important;
}
.sg-why {
    background: #f8fafc !important;
}
.sg-screen-brand {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--sg-gold-400) !important;
    letter-spacing: 0.5px !important;
}
.sg-screen-status {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.sg-app-badge-btn div {
    display: flex !important;
    flex-direction: column !important;
    text-align: right !important;
}
[dir="ltr"] .sg-app-badge-btn div {
    text-align: left !important;
}

/* ==========================================================================
   SANAD GOLD 4.2 — SUBPAGE & COMPONENT SUITE ARCHITECTURE
   ========================================================================== */

/* Subpage Hero & Layout Shell */
.sg-subpage-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    position: relative !important;
    z-index: 2 !important;
}
.sg-subpage-body {
    padding: 60px 0 90px !important;
    background: var(--sg-bg) !important;
    min-height: 50vh !important;
}
.sg-subpage-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-bottom: 32px !important;
}
.sg-subpage-search {
    width: min(100%, 460px) !important;
}
.sg-subpage-input-wrap {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1.5px solid var(--sg-border) !important;
    border-radius: 16px !important;
    padding: 4px 14px !important;
    box-shadow: 0 4px 14px rgba(7, 27, 51, 0.04) !important;
    transition: all 0.2s ease !important;
}
.sg-subpage-input-wrap:focus-within {
    border-color: var(--sg-gold-500) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}
.sg-subpage-input-wrap i {
    color: var(--sg-gold-600) !important;
    font-size: 16px !important;
    margin-inline-end: 10px !important;
}
.sg-subpage-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 8px 0 !important;
    font-size: 15px !important;
    width: 100% !important;
    color: var(--sg-text) !important;
}
.sg-results-counter {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--sg-muted) !important;
}
.sg-empty-state,
.sg-empty-state-sm {
    text-align: center !important;
    padding: 60px 24px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1.5px dashed var(--sg-border) !important;
    margin: 30px auto !important;
    max-width: 600px !important;
}
.sg-empty-state i,
.sg-empty-state-sm i {
    font-size: 48px !important;
    color: var(--sg-gold-400) !important;
    margin-bottom: 16px !important;
    display: block !important;
}
.sg-empty-state h3,
.sg-empty-state-sm h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 8px 0 !important;
}
.sg-empty-state p,
.sg-empty-state-sm p {
    color: var(--sg-muted) !important;
    font-size: 15px !important;
    margin: 0 !important;
}
.sg-subpage-cta-box {
    background: linear-gradient(135deg, var(--sg-navy-900), var(--sg-navy-800)) !important;
    border-radius: 24px !important;
    padding: 44px 36px !important;
    color: #ffffff !important;
    margin-top: 50px !important;
    text-align: center !important;
    box-shadow: 0 20px 50px rgba(7, 27, 51, 0.15) !important;
}
.sg-subpage-cta-box h3 {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
}
.sg-subpage-cta-box p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px !important;
    margin: 0 0 24px 0 !important;
}

/* Provider Full Card (stores.php, search.php) */
.sg-provider-card-full {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 8px 24px rgba(7, 27, 51, 0.05) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    height: 100% !important;
}
.sg-provider-card-full:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 42px rgba(7, 27, 51, 0.12) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-provider-card-header {
    position: relative !important;
    width: 100% !important;
    height: 190px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
}
.sg-provider-card-header img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}
.sg-provider-card-full:hover .sg-provider-card-header img {
    transform: scale(1.06) !important;
}
.sg-provider-city-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--sg-gold-700) !important;
    margin-bottom: 6px !important;
}
.sg-provider-badge {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700)) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
    z-index: 2 !important;
}
[dir="ltr"] .sg-provider-badge {
    right: auto !important;
    left: 14px !important;
}
.sg-provider-card-content {
    padding: 22px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
    background: #ffffff !important;
}
.sg-provider-card-content h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
}
.sg-provider-card-content p {
    font-size: 14px !important;
    color: var(--sg-muted) !important;
    line-height: 1.7 !important;
    margin: 0 0 16px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.sg-provider-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
}
.sg-pagination-wrap {
    display: flex !important;
    justify-content: center !important;
    margin-top: 48px !important;
}
.sg-pagination {
    display: flex !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sg-pagination li a,
.sg-pagination li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid var(--sg-border) !important;
    color: var(--sg-navy-900) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.sg-pagination li.active a,
.sg-pagination li.active span {
    background: var(--sg-navy-900) !important;
    color: var(--sg-gold-400) !important;
    border-color: var(--sg-navy-900) !important;
}
.sg-pagination li a:hover:not(.active) {
    background: #f1f5f9 !important;
    border-color: var(--sg-gold-400) !important;
}

/* Store Detail Page (the_store.php) */
.sg-store-hero {
    background: linear-gradient(135deg, var(--sg-navy-950) 0%, var(--sg-navy-900) 100%) !important;
    padding: 60px 0 50px !important;
    color: #ffffff !important;
    position: relative !important;
}
.sg-store-hero-card {
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px !important;
    padding: 32px 36px !important;
    display: grid !important;
    grid-template-columns: 160px 1fr auto !important;
    gap: 30px !important;
    align-items: center !important;
    margin-top: 20px !important;
}
.sg-store-hero-img {
    width: 160px !important;
    height: 160px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 2px solid rgba(212, 175, 55, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.sg-store-hero-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    padding: 12px !important;
}
.sg-store-hero-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.sg-store-hero-text h1 {
    color: #ffffff !important;
    font-size: clamp(24px, 3vw, 34px) !important;
    font-weight: 800 !important;
    margin: 0 !important;
}
.sg-store-hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(212, 175, 55, 0.18) !important;
    color: var(--sg-gold-300) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    padding: 5px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    width: fit-content !important;
}
.sg-store-hero-action {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.sg-store-nav-pills {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px 0 !important;
    border-bottom: 2px solid var(--sg-border) !important;
    padding-bottom: 12px !important;
    overflow-x: auto !important;
}
.sg-store-nav-pills li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid var(--sg-border) !important;
    color: var(--sg-navy-900) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.sg-store-nav-pills li.active a,
.sg-store-nav-pills li a:hover {
    background: var(--sg-navy-900) !important;
    color: var(--sg-gold-400) !important;
    border-color: var(--sg-navy-900) !important;
}
.sg-store-tab-content {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 36px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 8px 30px rgba(7, 27, 51, 0.05) !important;
}
.sg-tab-header {
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.sg-tab-header h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 6px 0 !important;
}
.sg-discount-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}
.sg-discount-card {
    background: #f8fafc !important;
    border-radius: 18px !important;
    padding: 22px 20px !important;
    border: 1px solid var(--sg-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    transition: all 0.25s ease !important;
}
.sg-discount-card:hover {
    background: #ffffff !important;
    border-color: var(--sg-gold-400) !important;
    box-shadow: 0 10px 24px rgba(7, 27, 51, 0.08) !important;
}
.sg-discount-service {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
}
.sg-discount-rate {
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700)) !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    padding: 8px 18px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}
.sg-contact-box,
.sg-map-container-box {
    margin-top: 20px !important;
}
.sg-contact-body p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: var(--sg-text) !important;
}
.sg-google-map {
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid var(--sg-border) !important;
    height: 380px !important;
    width: 100% !important;
}
.sg-store-offers-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 24px !important;
}
.sg-gallery-item {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid var(--sg-border) !important;
    height: 220px !important;
    background: #f1f5f9 !important;
}
.sg-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}
.sg-gallery-item:hover img {
    transform: scale(1.05) !important;
}
.sg-offer-editorial {
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: var(--sg-text) !important;
    margin-bottom: 24px !important;
}

/* Membership Verification Page (check.php) */
.sg-check-card-header {
    text-align: center !important;
    margin-bottom: 28px !important;
}
.sg-check-header-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(7, 27, 51, 0.05)) !important;
    color: var(--sg-gold-600) !important;
    font-size: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
}
.sg-check-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.sg-check-input {
    width: 100% !important;
    border: 1.5px solid var(--sg-border) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}
.sg-check-input:focus {
    border-color: var(--sg-gold-500) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}
.sg-alert {
    padding: 16px 20px !important;
    border-radius: 14px !important;
    margin: 20px 0 !important;
    font-size: 14.5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.sg-alert-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #991b1b !important;
}
.sg-alert-warning {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #92400e !important;
}
.sg-card-result-box {
    margin-top: 30px !important;
    padding-top: 24px !important;
    border-top: 1px solid #f1f5f9 !important;
}
.sg-result-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
}
.sg-active-badge,
.sg-status-badge {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    padding: 5px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.sg-digital-card-preview {
    max-width: 480px !important;
    margin: 24px auto !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(7, 27, 51, 0.25) !important;
}
.sg-result-card-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}
.sg-qr-download-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 20px !important;
    margin-top: 24px !important;
    flex-wrap: wrap !important;
}
.sg-qr-box {
    text-align: center !important;
}
.sg-qr-img {
    width: 140px !important;
    height: 140px !important;
    border-radius: 12px !important;
    border: 1px solid var(--sg-border) !important;
    padding: 8px !important;
    background: #ffffff !important;
}
.sg-check-footer-links {
    margin-top: 24px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
}

/* Geographic Cards (cities.php, countries.php, region.php) */
.sg-cities-grid,
.sg-countries-grid,
.sg-regions-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 22px !important;
}
.sg-city-card-modern {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 26px 20px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 6px 20px rgba(7, 27, 51, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}
.sg-city-card-modern:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 36px rgba(7, 27, 51, 0.1) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-city-card-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(7, 27, 51, 0.05)) !important;
    color: var(--sg-gold-600) !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    transition: all 0.25s ease !important;
}
.sg-city-card-modern:hover .sg-city-card-icon {
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700)) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}
.sg-city-card-text h3 {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 6px 0 !important;
}
.sg-city-card-text span {
    font-size: 13px !important;
    color: var(--sg-muted) !important;
}
.sg-city-card-arrow {
    margin-top: 14px !important;
    font-size: 12px !important;
    color: var(--sg-gold-600) !important;
    transition: transform 0.25s ease !important;
}
.sg-city-card-modern:hover .sg-city-card-arrow {
    transform: translateX(-4px) !important;
}
[dir="ltr"] .sg-city-card-modern:hover .sg-city-card-arrow {
    transform: translateX(4px) !important;
}
/* Geographic Cards (Countries & Regions) */
.sg-countries-grid,
.sg-regions-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 28px !important;
}
.sg-geo-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1.5px solid var(--sg-border) !important;
    box-shadow: 0 8px 24px rgba(7, 27, 51, 0.05) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
}
.sg-geo-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 42px rgba(7, 27, 51, 0.12) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-geo-media {
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
.sg-geo-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}
.sg-geo-card:hover .sg-geo-media img {
    transform: scale(1.06) !important;
}
.sg-geo-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: rgba(7, 27, 51, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    color: var(--sg-gold-400) !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    z-index: 2 !important;
}
[dir="ltr"] .sg-geo-badge {
    right: auto !important;
    left: 12px !important;
}
.sg-geo-caption {
    position: static !important;
    padding: 20px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    text-align: right !important;
}
.sg-geo-name,
.sg-geo-caption h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4 !important;
    display: block !important;
}
.sg-geo-action {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: var(--sg-gold-700) !important;
    padding-top: 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    transition: color 0.2s ease !important;
}
.sg-geo-card:hover .sg-geo-action {
    color: var(--sg-navy-900) !important;
}
.sg-geo-action i {
    transition: transform 0.2s ease !important;
    color: var(--sg-gold-600) !important;
}
[dir="rtl"] .sg-geo-card:hover .sg-geo-action i {
    transform: translateX(-4px) !important;
}
[dir="ltr"] .sg-geo-card:hover .sg-geo-action i {
    transform: translateX(4px) !important;
}

/* City Cards (cities.php) */
.sg-cities-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 28px !important;
}
.sg-city-card-modern {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 26px 20px !important;
    border: 1.5px solid var(--sg-border) !important;
    box-shadow: 0 6px 20px rgba(7, 27, 51, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}
.sg-city-card-modern:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 36px rgba(7, 27, 51, 0.1) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-city-card-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(7, 27, 51, 0.05)) !important;
    color: var(--sg-gold-600) !important;
    font-size: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    transition: all 0.25s ease !important;
}
.sg-city-card-modern:hover .sg-city-card-icon {
    background: linear-gradient(135deg, var(--sg-gold-500), var(--sg-gold-700)) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}
.sg-city-name,
.sg-city-card-text h3 {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 6px 0 !important;
    display: block !important;
}
.sg-city-sub,
.sg-city-card-text span {
    font-size: 13px !important;
    color: var(--sg-muted) !important;
    display: block !important;
}
.sg-city-card-arrow {
    margin-top: 14px !important;
    font-size: 13px !important;
    color: var(--sg-gold-600) !important;
    transition: transform 0.25s ease !important;
}
.sg-city-card-modern:hover .sg-city-card-arrow {
    transform: translateX(-4px) !important;
}

/* Homepage City Filter Chips */
.sg-city-chips-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 24px 0 28px 0 !important;
    flex-wrap: wrap !important;
    padding: 16px 20px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 4px 16px rgba(7, 27, 51, 0.03) !important;
}
.sg-city-chips-label {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.sg-city-chips-label i {
    color: var(--sg-gold-600) !important;
}
.sg-city-chips {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    flex: 1 !important;
}
.sg-city-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 16px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid var(--sg-border) !important;
    color: var(--sg-navy-900) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.sg-city-chip:hover {
    background: var(--sg-navy-900) !important;
    color: var(--sg-gold-400) !important;
    border-color: var(--sg-navy-900) !important;
    transform: translateY(-2px) !important;
}
.sg-city-chip small {
    color: var(--sg-gold-700) !important;
    font-weight: 800 !important;
}
.sg-city-chip:hover small {
    color: var(--sg-gold-300) !important;
}

.sg-nearby-entry-card {
    background: linear-gradient(135deg, var(--sg-navy-900), var(--sg-navy-800)) !important;
    border-radius: 20px !important;
    padding: 24px 28px !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 28px !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 12px 30px rgba(7, 27, 51, 0.12) !important;
}
.sg-nearby-entry-icon {
    font-size: 32px !important;
    color: var(--sg-gold-400) !important;
}
.sg-nearby-entry-copy h3 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin: 0 0 4px 0 !important;
}
.sg-nearby-entry-copy p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px !important;
    margin: 0 !important;
}

/* Contact Us Page (contactus.php) */
.sg-contact-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
}
.sg-contact-channel-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 36px 28px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 10px 28px rgba(7, 27, 51, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}
.sg-contact-channel-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 42px rgba(7, 27, 51, 0.12) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-channel-icon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    margin-bottom: 20px !important;
}
.sg-icon-whatsapp {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}
.sg-icon-email {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
}
.sg-icon-card {
    background: #fffbeb !important;
    color: #d97706 !important;
    border: 1px solid #fde68a !important;
}
.sg-contact-channel-card h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 8px 0 !important;
}
.sg-contact-channel-card p {
    font-size: 14px !important;
    color: var(--sg-muted) !important;
    line-height: 1.7 !important;
    margin: 0 0 24px 0 !important;
}
.sg-channel-buttons {
    width: 100% !important;
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.sg-btn-whatsapp {
    background: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28) !important;
}
.sg-btn-whatsapp:hover {
    background: #1eb956 !important;
    color: #ffffff !important;
}

/* Join & Form Containers (join.php, join_mandob.php, join_moasasa.php) */
.sg-join-choice-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 36px 28px !important;
    border: 1.5px solid var(--sg-border) !important;
    box-shadow: 0 10px 30px rgba(7, 27, 51, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}
.sg-join-choice-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 22px 48px rgba(7, 27, 51, 0.12) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-choice-icon-wrap {
    width: 76px !important;
    height: 76px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(7, 27, 51, 0.05)) !important;
    color: var(--sg-gold-600) !important;
    font-size: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
}
.sg-choice-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 28px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    text-align: right !important;
}
[dir="ltr"] .sg-choice-features {
    text-align: left !important;
}
.sg-choice-features li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    color: var(--sg-text) !important;
}
.sg-choice-features li i {
    color: #059669 !important;
}
.sg-form-container-box {
    background: #ffffff !important;
    border-radius: 28px !important;
    padding: 44px 38px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 16px 45px rgba(7, 27, 51, 0.07) !important;
    max-width: 820px !important;
    margin: 0 auto !important;
}
.sg-form-box-header {
    text-align: center !important;
    margin-bottom: 32px !important;
}
.sg-form-icon-wrap {
    width: 68px !important;
    height: 68px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(7, 27, 51, 0.05)) !important;
    color: var(--sg-gold-600) !important;
    font-size: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
}

/* Advantages & Benefits Grid (advantages.php, benefits.php) */
.sg-advantages-grid,
.sg-benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 24px !important;
}
.sg-advantage-card,
.sg-benefit-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 30px 24px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 8px 24px rgba(7, 27, 51, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    transition: all 0.3s ease !important;
}
.sg-advantage-card:hover,
.sg-benefit-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 40px rgba(7, 27, 51, 0.1) !important;
    border-color: var(--sg-gold-400) !important;
}
.sg-advantage-icon,
.sg-benefit-icon {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(7, 27, 51, 0.05)) !important;
    color: var(--sg-gold-600) !important;
    font-size: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 18px !important;
}
.sg-advantage-text h3,
.sg-benefit-text h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 8px 0 !important;
}
.sg-advantage-text p,
.sg-benefit-text p {
    font-size: 14.5px !important;
    color: var(--sg-muted) !important;
    line-height: 1.75 !important;
    margin: 0 !important;
}

/* Legal & Policy Cards (cond.php, privacy.php) */
.sg-policy-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 44px 38px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 10px 30px rgba(7, 27, 51, 0.05) !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}
.sg-policy-body {
    font-size: 15.5px !important;
    line-height: 1.95 !important;
    color: var(--sg-text) !important;
}
.sg-policy-body h2,
.sg-policy-body h3,
.sg-policy-body h4 {
    color: var(--sg-navy-900) !important;
    font-weight: 800 !important;
    margin: 28px 0 12px 0 !important;
}

/* Status Cards (already.php, success.php) */
.sg-status-card {
    background: #ffffff !important;
    border-radius: 28px !important;
    padding: 50px 36px !important;
    border: 1px solid var(--sg-border) !important;
    box-shadow: 0 20px 50px rgba(7, 27, 51, 0.08) !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    text-align: center !important;
}
.sg-status-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    margin-bottom: 22px !important;
}
.sg-status-warning .sg-status-icon {
    background: #fffbeb !important;
    color: #d97706 !important;
    border: 2px solid #fde68a !important;
}
.sg-status-success .sg-status-icon {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 2px solid #a7f3d0 !important;
}
.sg-status-card h2 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--sg-navy-900) !important;
    margin: 0 0 12px 0 !important;
}
.sg-status-card p {
    font-size: 16px !important;
    color: var(--sg-muted) !important;
    line-height: 1.8 !important;
    margin: 0 0 28px 0 !important;
}
.sg-status-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

/* General Button Utilities */
.sg-btn-sm {
    min-height: 40px !important;
    padding: 8px 16px !important;
    font-size: 13.5px !important;
    border-radius: 11px !important;
}
.sg-btn-navy {
    background: var(--sg-navy-900) !important;
    color: #ffffff !important;
    border: 1px solid var(--sg-navy-900) !important;
}
.sg-btn-navy:hover {
    background: var(--sg-navy-800) !important;
    color: var(--sg-gold-400) !important;
    transform: translateY(-2px) !important;
}
.sg-btn-block {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}
.sg-btn-outline {
    background: transparent !important;
    color: var(--sg-navy-900) !important;
    border: 1.5px solid var(--sg-border) !important;
}
.sg-btn-outline:hover {
    background: #f8fafc !important;
    color: var(--sg-navy-900) !important;
    border-color: var(--sg-navy-900) !important;
    transform: translateY(-2px) !important;
}

/* Guard: Ensure .sg-btn-ghost never becomes white-on-white inside cards */
.sg-check-card .sg-btn-ghost,
.sg-status-card .sg-btn-ghost,
.sg-contact-side-card .sg-btn-ghost,
.sg-card .sg-btn-ghost,
.sg-subpage-body .sg-btn-ghost {
    background: rgba(7, 27, 51, 0.06) !important;
    color: var(--sg-navy-900) !important;
    border: 1px solid rgba(7, 27, 51, 0.15) !important;
}
.sg-check-card .sg-btn-ghost:hover,
.sg-status-card .sg-btn-ghost:hover,
.sg-contact-side-card .sg-btn-ghost:hover,
.sg-card .sg-btn-ghost:hover,
.sg-subpage-body .sg-btn-ghost:hover {
    background: var(--sg-navy-900) !important;
    color: #ffffff !important;
    border-color: var(--sg-navy-900) !important;
}

/* Subpage Responsive Overrides */
@media (max-width: 991px) {
    .sg-store-hero-card {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        padding: 28px 20px !important;
    }
    .sg-store-hero-img {
        margin: 0 auto !important;
    }
    .sg-store-hero-badge {
        margin: 0 auto !important;
    }
    .sg-store-hero-action {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}
@media (max-width: 767px) {
    .sg-subpage-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .sg-subpage-search {
        width: 100% !important;
    }
    .sg-nearby-entry-card {
        flex-direction: column !important;
        text-align: center !important;
    }
}

.sg-download-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}
.sg-nearby-entry-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--sg-gold-400) !important;
    white-space: nowrap !important;
}
.sg-choice-action-btn {
    margin-top: auto !important;
}
.sg-icon-alt {
    color: var(--sg-gold-600) !important;
}
.sg-application-form-modern {
    margin-top: 24px !important;
}
.sg-map-box-header {
    margin-bottom: 16px !important;
}

/* Network Geographic Tabs & Fast Navigation */
.sg-geo-tabs-nav {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 24px 0 36px 0 !important;
    flex-wrap: wrap !important;
}
.sg-geo-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 11px 22px !important;
    background: #ffffff !important;
    border: 1.5px solid var(--sg-border) !important;
    border-radius: 999px !important;
    color: var(--sg-navy-900) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(7, 27, 51, 0.05) !important;
}
.sg-geo-tab i {
    color: var(--sg-gold-600) !important;
    transition: transform 0.2s ease !important;
}
.sg-geo-tab:hover,
.sg-geo-tab.active {
    background: linear-gradient(135deg, var(--sg-navy-900), #0d284a) !important;
    color: #ffffff !important;
    border-color: var(--sg-navy-900) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(7, 27, 51, 0.15) !important;
}
.sg-geo-tab:hover i,
.sg-geo-tab.active i {
    color: var(--sg-gold-400) !important;
}

/* ==========================================================================
   SANAD GOLD — PARTNER PROGRAM (برنامج شركاء سند)
   ========================================================================== */

/* Hero adjustments */
.sg-partner-hero {
    text-align: center !important;
    position: relative !important;
    padding-top: 50px !important;
    padding-bottom: 60px !important;
}
.sg-partner-hero .sg-subpage-hero-inner {
    max-width: 860px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.sg-partner-hero .sg-breadcrumb {
    margin-bottom: 20px !important;
    justify-content: center !important;
}
.sg-partner-hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(197, 155, 39, 0.15) !important;
    border: 1px solid rgba(197, 155, 39, 0.35) !important;
    color: #e5b93b !important;
    padding: 6px 18px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
}
.sg-partner-hero h1 {
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
}
.sg-partner-hero-lead {
    font-size: clamp(16px, 2vw, 19px) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
}
.sg-partner-hero-sublead {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    margin-bottom: 28px !important;
    line-height: 1.6 !important;
}
.sg-partner-hero-actions {
    display: flex !important;
    gap: 14px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-bottom: 36px !important;
}
.sg-partner-hero-actions .sg-btn {
    min-width: 180px !important;
}

/* Stats Pill Bar */
.sg-partner-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}
.sg-partner-stat-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 16px !important;
    padding: 16px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transition: transform 0.25s ease, background 0.25s ease !important;
}
.sg-partner-stat-card:hover {
    transform: translateY(-3px) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}
.sg-partner-stat-num {
    font-size: clamp(20px, 3vw, 26px) !important;
    font-weight: 900 !important;
    color: #e5b93b !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
}
.sg-partner-stat-label {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
}

/* Body container & general partner sections */
.sg-partner-body {
    padding: 40px 0 80px 0 !important;
    background: #f8fafc !important;
}
.sg-partner-section {
    margin-bottom: 60px !important;
}

/* Introduction Box */
.sg-partner-intro-box {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(7, 27, 51, 0.08) !important;
    box-shadow: 0 10px 30px rgba(7, 27, 51, 0.04) !important;
    padding: 36px 32px !important;
    margin-bottom: 50px !important;
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 32px !important;
    align-items: center !important;
}
.sg-partner-intro-text h2 {
    font-size: clamp(22px, 3vw, 28px) !important;
    font-weight: 800 !important;
    color: #071b33 !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}
.sg-partner-intro-text p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
    margin-bottom: 12px !important;
}
.sg-intro-highlight-text {
    font-weight: 700 !important;
    color: #071b33 !important;
}
.sg-partner-intro-highlights {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    background: #fdfbf5 !important;
    border: 1px solid rgba(197, 155, 39, 0.2) !important;
    border-radius: 16px !important;
    padding: 24px !important;
}
.sg-intro-check-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #071b33 !important;
    line-height: 1.5 !important;
}
.sg-intro-check-item i {
    color: #c59b27 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    margin-top: 3px !important;
}

/* Commission Cards Grid (2 Columns) */
.sg-commission-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}
.sg-commission-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1.5px solid rgba(7, 27, 51, 0.08) !important;
    box-shadow: 0 10px 28px rgba(7, 27, 51, 0.04) !important;
    padding: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.sg-commission-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(7, 27, 51, 0.08) !important;
}
.sg-commission-card-featured {
    border-color: #c59b27 !important;
    box-shadow: 0 12px 32px rgba(197, 155, 39, 0.12) !important;
}
.sg-commission-card-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 18px !important;
}
.sg-commission-pill {
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
}
.sg-pill-gold {
    background: linear-gradient(135deg, #c59b27, #e0be53) !important;
    color: #071b33 !important;
    font-weight: 800 !important;
}
.sg-commission-duration {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.sg-commission-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 22px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.sg-card-type-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    background: rgba(7, 27, 51, 0.06) !important;
    color: #071b33 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
}
.sg-icon-gold {
    background: rgba(197, 155, 39, 0.12) !important;
    color: #c59b27 !important;
}
.sg-commission-card-header h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #071b33 !important;
    margin: 0 !important;
}
.sg-commission-breakdown {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
    flex-grow: 1 !important;
}
.sg-breakdown-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #4b5563 !important;
    padding: 6px 0 !important;
}
.sg-breakdown-label {
    font-weight: 600 !important;
}
.sg-breakdown-val {
    font-weight: 700 !important;
    color: #071b33 !important;
}
.sg-breakdown-bold {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #071b33 !important;
}
.sg-badge-rate {
    background: #eef2ff !important;
    color: #2563eb !important;
    padding: 2px 10px !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
}
.sg-commission-earning-highlight {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    text-align: center !important;
}
.sg-earning-featured {
    background: #fcf9ef !important;
    border-color: rgba(197, 155, 39, 0.35) !important;
}
.sg-earning-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-bottom: 4px !important;
}
.sg-earning-amount {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #071b33 !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
}
.sg-commission-card-featured .sg-earning-amount {
    color: #b8860b !important;
}
.sg-earning-desc {
    font-size: 12px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Earnings Examples Grid */
.sg-disclaimer-subtext {
    font-size: 13px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 6px !important;
}
.sg-examples-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}
.sg-example-box {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(7, 27, 51, 0.08) !important;
    box-shadow: 0 10px 28px rgba(7, 27, 51, 0.04) !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
}
.sg-example-box-featured {
    border-color: rgba(197, 155, 39, 0.3) !important;
}
.sg-example-box-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    margin-bottom: 14px !important;
}
.sg-example-box-header i {
    font-size: 18px !important;
    color: #071b33 !important;
}
.sg-header-gold i {
    color: #c59b27 !important;
}
.sg-example-box-header h3 {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #071b33 !important;
    margin: 0 !important;
}
.sg-example-rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
}
.sg-example-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 14px !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    font-size: 14px !important;
}
.sg-ex-sales {
    font-weight: 700 !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.sg-ex-sales i {
    color: #94a3b8 !important;
    font-size: 12px !important;
}
.sg-ex-calc {
    font-weight: 800 !important;
    color: #071b33 !important;
    font-family: inherit !important;
}
.sg-example-bonus-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 14px !important;
    background: #fdf8e6 !important;
    border: 1px dashed #d4af37 !important;
    border-radius: 10px !important;
    margin-bottom: 14px !important;
}
.sg-bonus-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 800 !important;
    color: #926600 !important;
    font-size: 13px !important;
}
.sg-bonus-label i {
    color: #d4af37 !important;
    font-size: 15px !important;
}
.sg-bonus-value {
    font-weight: 900 !important;
    color: #926600 !important;
    font-size: 14px !important;
}
.sg-example-total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 16px !important;
    background: linear-gradient(135deg, #071b33, #0d284a) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    margin-top: auto !important;
}
.sg-total-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}
.sg-total-value {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #f3e5ab !important;
}

/* Journey Timeline */
.sg-journey-timeline {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
}
.sg-journey-step {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid rgba(7, 27, 51, 0.08) !important;
    box-shadow: 0 8px 24px rgba(7, 27, 51, 0.04) !important;
    padding: 26px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: transform 0.25s ease !important;
}
.sg-journey-step:hover {
    transform: translateY(-3px) !important;
}
.sg-step-highlight {
    border-color: #c59b27 !important;
    background: #ffffff !important;
}
.sg-step-badge {
    position: absolute !important;
    top: -12px !important;
    right: 20px !important;
    background: #071b33 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 12px !important;
    border-radius: 999px !important;
    letter-spacing: 0.5px !important;
}
[dir="ltr"] .sg-step-badge {
    right: auto !important;
    left: 20px !important;
}
.sg-badge-gold {
    background: linear-gradient(135deg, #c59b27, #e0be53) !important;
    color: #071b33 !important;
}
.sg-step-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}
.sg-step-header i {
    font-size: 22px !important;
    color: #c59b27 !important;
}
.sg-step-header h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #071b33 !important;
    margin: 0 !important;
}
.sg-step-lead {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
}
.sg-step-desc {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Tools & Benefits Grid (6 Cards) */
.sg-tools-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
}
.sg-tool-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(7, 27, 51, 0.08) !important;
    box-shadow: 0 6px 20px rgba(7, 27, 51, 0.03) !important;
    padding: 24px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.sg-tool-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(7, 27, 51, 0.06) !important;
}
.sg-tool-card-gold {
    border-color: rgba(197, 155, 39, 0.35) !important;
    background: #fffdf9 !important;
}
.sg-tool-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(7, 27, 51, 0.06) !important;
    color: #071b33 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    margin-bottom: 14px !important;
}
.sg-tool-card h3 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #071b33 !important;
    margin-bottom: 8px !important;
}
.sg-tool-card p {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Form Container Box */
.sg-partner-form-section {
    margin-bottom: 50px !important;
}
.sg-form-container-box {
    max-width: 760px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid rgba(7, 27, 51, 0.09) !important;
    box-shadow: 0 16px 40px rgba(7, 27, 51, 0.06) !important;
    padding: 40px 36px !important;
}
.sg-form-box-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}
.sg-form-icon-wrap {
    width: 56px !important;
    height: 56px !important;
    margin: 0 auto 14px !important;
    background: linear-gradient(135deg, #071b33, #0d284a) !important;
    color: #e5b93b !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    box-shadow: 0 8px 20px rgba(7, 27, 51, 0.15) !important;
}
.sg-form-box-header h2 {
    font-size: clamp(20px, 3vw, 26px) !important;
    font-weight: 900 !important;
    color: #071b33 !important;
    margin-bottom: 8px !important;
}
.sg-form-box-header p {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 !important;
}
.sg-required-notice {
    font-size: 12px !important;
    color: #64748b !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Commercial Disclaimer Box */
.sg-partner-disclaimer-box {
    max-width: 860px !important;
    margin: 0 auto !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 22px 26px !important;
    display: flex !important;
    gap: 18px !important;
    align-items: flex-start !important;
}
.sg-disclaimer-icon-wrap {
    font-size: 24px !important;
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}
.sg-disclaimer-content h3 {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}
.sg-disclaimer-content p {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .sg-partner-intro-box {
        grid-template-columns: 1fr !important;
    }
    .sg-journey-timeline {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .sg-tools-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .sg-partner-hero {
        padding-top: 36px !important;
        padding-bottom: 44px !important;
    }
    .sg-partner-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .sg-commission-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .sg-examples-grid {
        grid-template-columns: 1fr !important;
    }
    .sg-tools-grid {
        grid-template-columns: 1fr !important;
    }
    .sg-form-container-box {
        padding: 28px 20px !important;
    }
    .sg-partner-disclaimer-box {
        flex-direction: column !important;
        gap: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    body.sg-site *,
    body.sg-site *::before,
    body.sg-site *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* ==========================================================================
   SANAD GOLD — GOLDEN GUARANTEE (الضمان الذهبي)
   ========================================================================== */

/* Golden Guarantee Pill Button */
.sg-golden-guarantee-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #fffdf2 !important;
    border: 1.5px solid #eed07a !important;
    border-radius: 999px !important;
    padding: 7px 18px 7px 14px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(197, 155, 39, 0.12) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    font-family: inherit !important;
}
.sg-golden-guarantee-pill:hover {
    transform: translateY(-2px) !important;
    background: #fffcf0 !important;
    border-color: #d4a017 !important;
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.22) !important;
}
.sg-golden-guarantee-pill:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(197, 155, 39, 0.15) !important;
}
.sg-golden-guarantee-pill .sg-pill-text {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #8c6407 !important;
    line-height: 1 !important;
    letter-spacing: -0.2px !important;
}
.sg-golden-guarantee-pill .sg-pill-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 13px !important;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.35) !important;
    flex-shrink: 0 !important;
}
[dir="ltr"] .sg-golden-guarantee-pill {
    flex-direction: row-reverse !important;
    padding: 7px 14px 7px 18px !important;
}

/* Modal Overlay & Card */
.sg-guarantee-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}
.sg-guarantee-modal.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}
.sg-guarantee-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(7, 27, 51, 0.72) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    cursor: pointer !important;
}
.sg-guarantee-modal-card {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 490px !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    transform: scale(0.92) translateY(12px) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.sg-guarantee-modal.is-active .sg-guarantee-modal-card {
    transform: scale(1) translateY(0) !important;
}

/* Modal Header */
.sg-guarantee-modal-header {
    background: linear-gradient(145deg, #d4a017 0%, #c59b27 45%, #a87900 100%) !important;
    position: relative !important;
    padding: 32px 24px 26px !important;
    text-align: center !important;
    color: #ffffff !important;
}
.sg-guarantee-modal-close {
    position: absolute !important;
    top: 16px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
}
[dir="rtl"] .sg-guarantee-modal-close {
    left: 18px !important;
}
[dir="ltr"] .sg-guarantee-modal-close {
    right: 18px !important;
}
.sg-guarantee-modal-close:hover {
    background: rgba(255, 255, 255, 0.42) !important;
    transform: scale(1.06) !important;
}
.sg-guarantee-header-icon {
    width: 62px !important;
    height: 62px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    margin: 0 auto 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    font-size: 28px !important;
    color: #ffffff !important;
}
.sg-guarantee-modal-header h3 {
    font-size: 24px !important;
    font-weight: 900 !important;
    margin: 0 0 6px 0 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;
}
.sg-guarantee-subtitle {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.4 !important;
}

/* Modal Body */
.sg-guarantee-modal-body {
    padding: 26px 26px 20px !important;
    overflow-y: auto !important;
    font-size: 14.5px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    text-align: right !important;
}
[dir="ltr"] .sg-guarantee-modal-body {
    text-align: left !important;
}
.sg-guarantee-intro {
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}
.sg-guarantee-desc {
    font-size: 14px !important;
    color: #475569 !important;
    margin-bottom: 20px !important;
    line-height: 1.75 !important;
}
.sg-guarantee-steps-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #b8860b !important;
    margin: 22px 0 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.sg-guarantee-steps-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.sg-guarantee-steps-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
}
.sg-step-check {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #fef9e7 !important;
    border: 1.5px solid #f6c84c !important;
    color: #b8860b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}
.sg-guarantee-alert {
    background: #fdfbf5 !important;
    border: 1px solid rgba(197, 155, 39, 0.35) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #785400 !important;
    line-height: 1.6 !important;
    margin-top: 6px !important;
}
.sg-guarantee-alert i {
    font-size: 18px !important;
    color: #b8860b !important;
    flex-shrink: 0 !important;
}

/* Modal Footer */
.sg-guarantee-modal-footer {
    padding: 0 26px 24px !important;
}
.sg-guarantee-close-btn {
    width: 100% !important;
    height: 48px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #b8860b 0%, #996e05 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.25) !important;
    font-family: inherit !important;
}
.sg-guarantee-close-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.35) !important;
    background: linear-gradient(135deg, #c59b27 0%, #a67705 100%) !important;
}
.sg-guarantee-close-btn:active {
    transform: translateY(0) !important;
}
body.sg-modal-open {
    overflow: hidden !important;
}

/* Guard: Partner Hero Outline Button visibility on dark background */
.sg-partner-hero .sg-btn-outline,
.sg-partner-hero-btn-outline {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    font-weight: 700 !important;
}
.sg-partner-hero .sg-btn-outline span,
.sg-partner-hero-btn-outline span {
    color: #ffffff !important;
}
.sg-partner-hero .sg-btn-outline i,
.sg-partner-hero-btn-outline i {
    color: #f7df79 !important;
}
.sg-partner-hero .sg-btn-outline:hover,
.sg-partner-hero-btn-outline:hover {
    background: #ffffff !important;
    color: #0d284a !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
}
.sg-partner-hero .sg-btn-outline:hover span,
.sg-partner-hero-btn-outline:hover span,
.sg-partner-hero .sg-btn-outline:hover i,
.sg-partner-hero-btn-outline:hover i {
    color: #0d284a !important;
}

/* Guard: Carousel card secondary buttons on white card background */
.sg-large-card-actions .sg-btn-ghost,
.sg-large-card-actions .sg-btn-card-secondary {
    background: #f1f5f9 !important;
    color: #0d284a !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.sg-large-card-actions .sg-btn-ghost span,
.sg-large-card-actions .sg-btn-card-secondary span {
    color: #0d284a !important;
}
.sg-large-card-actions .sg-btn-ghost i,
.sg-large-card-actions .sg-btn-card-secondary i {
    color: #b38e28 !important;
}
.sg-large-card-actions .sg-btn-ghost:hover,
.sg-large-card-actions .sg-btn-card-secondary:hover {
    background: #0d284a !important;
    color: #ffffff !important;
    border-color: #0d284a !important;
    transform: translateY(-2px) !important;
}
.sg-large-card-actions .sg-btn-ghost:hover span,
.sg-large-card-actions .sg-btn-card-secondary:hover span,
.sg-large-card-actions .sg-btn-ghost:hover i,
.sg-large-card-actions .sg-btn-card-secondary:hover i {
    color: #ffffff !important;
}
