/* =========================================================
   SARVOTY — MONEY BACK GUARANTEE
   WP MAIL SMTP INSPIRED LAYOUT
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

.smb {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #111827;
    font-family: inherit;
    box-sizing: border-box;
}

.smb *,
.smb *::before,
.smb *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.smb-container {
    width: 100%;
    margin: 0 auto;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.smb-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e1e5ea;
    border-radius: 9px;
    background: #ffffff;
}


/* =========================================================
   MAIN GUARANTEE AREA
   ========================================================= */

.smb-main {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 52px 64px 48px;
}


/* =========================================================
   BADGE
   ========================================================= */

.smb-badge {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 150px;
}

.smb-badge img {
    display: block;
    width: 135px;
    height: 135px;
    max-width: 135px;
    max-height: 135px;
    object-fit: contain;
}


/* =========================================================
   CONTENT
   ========================================================= */

.smb-content {
    min-width: 0;
}

.smb-content h2 {
    max-width: 980px;
    margin: 0;
    color: #111827;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.smb-content h2 span {
    color: #111827;
}


.smb-description {
    max-width: 980px;
    margin: 16px 0 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
}

.smb-description em {
    color: #374151;
}


/* =========================================================
   SIGNATURE
   ========================================================= */

.smb-signature {
    margin-top: 22px;
}

.smb-signature img {
    display: block;
    width: 150px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.smb-founder {
    display: flex;
    flex-direction: column;
    margin-top: 7px;
}

.smb-founder strong {
    color: #111827;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.smb-founder span {
    margin-top: 1px;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}


/* =========================================================
   LOWER INFORMATION BAR
   ========================================================= */

.smb-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 32px;
    min-height: 104px;
    padding: 22px 42px;
    border-top: 1px solid #e1e5ea;
    background: #ffffff;
}


/* =========================================================
   BOTTOM COPY
   ========================================================= */

.smb-bottom-copy {
    max-width: 700px;
}

.smb-bottom-copy p {
    margin: 0;
    color: #374151;
    font-size: 13px;
    line-height: 1.6;
}

.smb-bottom-copy strong {
    color: #111827;
    font-weight: 700;
}


/* =========================================================
   THIRD PARTY
   ========================================================= */

.smb-third-party {
    display: flex;
    flex-direction: column;
    min-width: 190px;
    padding-left: 26px;
    border-left: 1px solid #e5e7eb;
}

.smb-third-party strong {
    color: #111827;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.smb-third-party span {
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   POLICY BUTTON
   ========================================================= */

.smb-policy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.smb-policy-link span {
    font-size: 16px;
    line-height: 1;
}

.smb-policy-link:hover {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}


/* =========================================================
   DETAILS
   ========================================================= */

.smb-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.smb-detail {
    min-width: 0;
    padding: 26px 24px;
}

.smb-detail + .smb-detail {
    border-left: 1px solid #e5e7eb;
}

.smb-detail-number {
    display: block;
    margin-bottom: 10px;
    color: #9ca3af;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.smb-detail strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.smb-detail p {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   THIRD PARTY EXCLUSION
   ========================================================= */

.smb-exclusion {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 42px 34px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    background: #f9fafb;
}

.smb-exclusion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 1px solid #9ca3af;
    border-radius: 50%;
    color: #4b5563;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.smb-exclusion strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.smb-exclusion p {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.65;
}

.smb-exclusion a {
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.smb-exclusion a:hover {
    color: #4b5563;
}


/* =========================================================
   WORDPRESS SAFETY
   ========================================================= */

.smb a {
    box-shadow: none;
}

.smb img {
    max-width: 100%;
}

.smb p:last-child {
    margin-bottom: 0;
}

.smb h1,
.smb h2,
.smb h3,
.smb h4,
.smb p {
    overflow-wrap: break-word;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .smb-main {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 30px;
        padding: 44px;
    }

    .smb-badge {
        width: 125px;
    }

    .smb-badge img {
        width: 120px;
        height: 120px;
        max-width: 120px;
        max-height: 120px;
    }

    .smb-content h2 {
        font-size: 34px;
    }

    .smb-bottom {
        grid-template-columns: 1fr auto;
        gap: 20px;
        padding: 22px 32px;
    }

    .smb-third-party {
        display: none;
    }

    .smb-policy-link {
        grid-column: 2;
        grid-row: 1;
    }

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

    .smb-detail:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }

    .smb-detail:nth-child(4) {
        border-top: 1px solid #e5e7eb;
    }
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 760px) {

    .smb-container {
        width: 100%;
    }

    .smb-main {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 36px 28px;
    }

    .smb-badge {
        width: 100%;
        justify-content: flex-start;
    }

    .smb-badge img {
        width: 110px;
        height: 110px;
        max-width: 110px;
        max-height: 110px;
    }

    .smb-content h2 {
        font-size: 31px;
    }

    .smb-description {
        font-size: 15px;
    }

    .smb-signature img {
        width: 185px;
    }

    .smb-bottom {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 28px;
    }

    .smb-policy-link {
        grid-column: auto;
        grid-row: auto;
        width: fit-content;
    }

    .smb-details {
        grid-template-columns: 1fr;
    }

    .smb-detail {
        padding: 22px 28px;
    }

    .smb-detail + .smb-detail {
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }

    .smb-exclusion {
        margin: 20px 28px 28px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .smb-container {
        width: 100%;
    }

    .smb-card {
        border-radius: 8px;
    }

    .smb-main {
        gap: 18px;
        padding: 28px 20px;
    }

    .smb-badge img {
        width: 95px;
        height: 95px;
        max-width: 95px;
        max-height: 95px;
    }

    .smb-content h2 {
        font-size: 27px;
        line-height: 1.18;
    }

    .smb-description {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.65;
    }

    .smb-signature {
        margin-top: 20px;
    }

    .smb-signature img {
        width: 165px;
    }

    .smb-founder strong {
        font-size: 14px;
    }

    .smb-founder span {
        font-size: 13px;
    }

    .smb-bottom {
        padding: 20px;
    }

    .smb-bottom-copy p {
        font-size: 12px;
    }

    .smb-policy-link {
        width: 100%;
    }

    .smb-detail {
        padding: 20px;
    }

    .smb-exclusion {
        margin: 18px 20px 24px;
        padding: 14px;
    }

    .smb-exclusion p {
        font-size: 11px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .smb-main {
        padding: 24px 17px;
    }

    .smb-badge img {
        width: 85px;
        height: 85px;
        max-width: 85px;
        max-height: 85px;
    }

    .smb-content h2 {
        font-size: 24px;
    }

    .smb-description {
        font-size: 13px;
    }

    .smb-signature img {
        width: 145px;
    }

    .smb-bottom {
        padding: 18px;
    }

    .smb-detail {
        padding: 18px;
    }

    .smb-exclusion {
        margin-right: 18px;
        margin-left: 18px;
    }
}