/**
 * Shaher Setu homepage styles.
 * Page-specific styles stay separate from the shared header/footer theme.
 * Mobile first, no horizontal overflow, and reduced-motion friendly.
 */

.ss-home {
    --home-deep: #07383f;
    --home-deeper: #052c32;
    --home-teal: #0e7773;
    --home-mint: #28c6ae;
    --home-gold: #d6a84f;
    --home-ink: #102f34;
    --home-muted: #607579;
    --home-line: #dde8e8;
    --home-soft: #eef7f6;
    --home-canvas: #f6f8f8;
    --home-white: #ffffff;
    color: var(--home-ink);
    background: var(--home-white);
    overflow: clip;
}

.ss-home *,
.ss-home *::before,
.ss-home *::after {
    box-sizing: border-box;
}

.ss-home img {
    max-width: 100%;
}

.ss-home-container {
    width: min(1420px, calc(100% - 32px));
    margin-inline: auto;
}

.ss-home-section {
    padding-block: clamp(54px, 7vw, 96px);
}

.ss-home-section--compact {
    padding-block: clamp(44px, 5vw, 72px);
}

.ss-home-section--soft {
    background:
        radial-gradient(circle at 8% 5%, rgba(40, 198, 174, 0.09), transparent 31%),
        linear-gradient(180deg, #f8fbfb 0%, var(--home-soft) 100%);
    border-block: 1px solid rgba(221, 232, 232, 0.8);
}

.ss-home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(24px, 4vw, 42px);
}

.ss-home-section-heading--center {
    justify-content: center;
    text-align: center;
}

.ss-home-section-heading h2,
.ss-home-app h2,
.ss-home-safety h2 {
    margin: 8px 0 0;
    color: var(--home-deep);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.ss-home-section-heading p,
.ss-home-app p,
.ss-home-safety p {
    max-width: 690px;
    margin: 12px 0 0;
    color: var(--home-muted);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
}

.ss-home-section-kicker,
.ss-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-teal);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ss-home-section-kicker::before,
.ss-home-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.ss-home-section-kicker--light {
    color: #9df2df;
}

.ss-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: var(--home-deep);
    border-bottom: 1px solid rgba(7, 56, 63, 0.26);
    padding-bottom: 4px;
    font-weight: 850;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ss-home-text-link:hover {
    color: var(--home-teal);
    border-color: var(--home-mint);
    transform: translateX(2px);
}

/* Hero */
.ss-home-hero {
    position: relative;
    isolation: isolate;
    min-height: min(810px, calc(100vh - 72px));
    display: grid;
    align-items: center;
    background-color: var(--home-deeper);
    background-image:
        linear-gradient(90deg, rgba(3, 31, 35, 0.97) 0%, rgba(5, 44, 50, 0.93) 36%, rgba(5, 44, 50, 0.64) 59%, rgba(5, 44, 50, 0.12) 100%),
        url('../../logo/home.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.ss-home-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 18%, rgba(40, 198, 174, 0.2), transparent 30%),
        linear-gradient(180deg, rgba(2, 24, 28, 0.08), rgba(2, 24, 28, 0.34));
}

.ss-home-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.55fr);
    align-items: center;
    gap: clamp(34px, 6vw, 88px);
    padding-block: clamp(72px, 10vw, 118px);
}

.ss-home-hero__content {
    max-width: 790px;
}

.ss-home-eyebrow {
    color: #9df2df;
}

.ss-home-hero h1 {
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(42px, 6.7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 950;
    text-wrap: balance;
}

.ss-home-hero h1 span {
    color: #9df2df;
}

.ss-home-hero__lead {
    max-width: 690px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.ss-home-search {
    margin-top: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(210px, 0.72fr) auto;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.23);
}

.ss-home-search__field {
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    border: 1px solid var(--home-line);
    background: #fff;
    border-radius: 17px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ss-home-search__field:focus-within {
    border-color: rgba(14, 119, 115, 0.7);
    box-shadow: 0 0 0 4px rgba(40, 198, 174, 0.13);
}

.ss-home-search__field label {
    position: absolute;
    left: 48px;
    top: 9px;
    color: var(--home-teal);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ss-home-search__icon {
    width: 22px;
    height: 22px;
    margin-left: 16px;
    color: var(--home-teal);
    flex: 0 0 auto;
}

.ss-home-search__icon svg {
    width: 100%;
    height: 100%;
}

.ss-home-search input {
    width: 100%;
    min-width: 0;
    height: 62px;
    padding: 22px 14px 5px 10px;
    color: var(--home-deep);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 15px;
    font-weight: 750;
}

.ss-home-search input::placeholder {
    color: #8c9d9f;
    font-weight: 600;
}

.ss-home-search__button,
.ss-home-button,
.ss-home-alert button,
.ss-home-empty-state a,
.ss-home-play-button {
    min-height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ss-home-search__button {
    min-width: 160px;
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--home-deep), var(--home-teal));
    border: 0;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(7, 56, 63, 0.22);
}

.ss-home-search__button:hover,
.ss-home-button:hover,
.ss-home-play-button:hover,
.ss-home-alert button:hover,
.ss-home-empty-state a:hover {
    transform: translateY(-2px);
}

.ss-home-search__button[disabled] {
    opacity: 0.8;
    cursor: wait;
    transform: none;
}

.ss-home-button-spinner {
    width: 18px;
    height: 18px;
    display: none;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #fff;
    animation: ss-home-spin 0.75s linear infinite;
}

.ss-home-search__button.is-loading .ss-home-button-spinner {
    display: inline-block;
}

@keyframes ss-home-spin {
    to { transform: rotate(360deg); }
}

.ss-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.ss-home-button {
    padding: 0 22px;
    text-decoration: none;
}

.ss-home-button--primary {
    color: #062f34;
    background: #9df2df;
    box-shadow: 0 13px 30px rgba(40, 198, 174, 0.22);
}

.ss-home-button--light {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.ss-home-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    font-weight: 750;
}

.ss-home-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ss-home-trust-list span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--home-deep);
    background: #9df2df;
    font-size: 12px;
    font-weight: 900;
}

.ss-home-hero__summary {
    align-self: end;
}

.ss-home-summary-card {
    padding: 26px;
    border-radius: 28px;
    color: #fff;
    background: rgba(5, 44, 50, 0.77);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.24);
}

.ss-home-summary-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d9fff6;
    font-size: 13px;
}

.ss-home-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #55e7c6;
    box-shadow: 0 0 0 7px rgba(85, 231, 198, 0.13);
}

.ss-home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.ss-home-stats div {
    min-width: 0;
    padding: 14px 10px;
    border-radius: 17px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.ss-home-stats strong {
    display: block;
    font-size: clamp(20px, 2.5vw, 30px);
    letter-spacing: -0.04em;
}

.ss-home-stats span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 800;
}

.ss-home-summary-card > p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.65;
}

/* Error and empty states */
.ss-home-system-message {
    padding-top: 24px;
}

.ss-home-alert,
.ss-home-empty-state {
    border: 1px solid #ead8a8;
    background: #fffaf0;
    border-radius: 20px;
}

.ss-home-alert {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ss-home-alert strong,
.ss-home-empty-state strong {
    color: #62460d;
    font-size: 16px;
}

.ss-home-alert p,
.ss-home-empty-state p {
    margin: 5px 0 0;
    color: #7a6640;
    line-height: 1.55;
}

.ss-home-alert button,
.ss-home-empty-state a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
    color: #fff;
    background: #7a5814;
    border: 0;
    cursor: pointer;
}

.ss-home-empty-state {
    padding: clamp(28px, 6vw, 54px);
    text-align: center;
}

.ss-home-empty-state a {
    margin-top: 18px;
}

/* Categories */
.ss-home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ss-home-category-card {
    min-width: 0;
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 16px;
    min-height: 132px;
    padding: 18px;
    color: var(--home-ink);
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(7, 56, 63, 0.07);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ss-home-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(40, 198, 174, 0.64);
    box-shadow: 0 20px 50px rgba(7, 56, 63, 0.12);
}

.ss-home-category-card__media {
    width: 96px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 19px;
    background: var(--home-soft);
    border: 1px solid rgba(221, 232, 232, 0.9);
}

.ss-home-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-home-category-card__media img.is-placeholder {
    object-fit: contain;
    padding: 14px;
}

.ss-home-category-card__fallback {
    color: var(--home-teal);
    font-size: 24px;
    font-weight: 950;
}

.ss-home-category-card__body {
    min-width: 0;
}

.ss-home-category-card__body strong {
    display: block;
    color: var(--home-deep);
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.ss-home-category-card__body small {
    display: -webkit-box;
    margin-top: 7px;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ss-home-category-card__count {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 8px;
    border-radius: 99px;
    color: var(--home-teal);
    background: var(--home-soft);
    font-size: 10px;
    font-weight: 900;
}

.ss-home-category-card__arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--home-deep);
    background: var(--home-soft);
    font-weight: 900;
}

/* Listing cards */
.ss-home-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ss-home-listing-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(7, 56, 63, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ss-home-listing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(40, 198, 174, 0.58);
    box-shadow: 0 20px 52px rgba(7, 56, 63, 0.12);
}

.ss-home-listing-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--home-soft);
}

.ss-home-listing-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ss-home-listing-card:hover .ss-home-listing-card__media img {
    transform: scale(1.035);
}

.ss-home-listing-card__media img.is-placeholder {
    object-fit: contain;
    padding: 18%;
    background: #fff;
}

.ss-home-listing-card__category,
.ss-home-listing-card__condition {
    position: absolute;
    top: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 9px;
    border-radius: 99px;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.ss-home-listing-card__category {
    left: 12px;
    color: #fff;
    background: rgba(5, 44, 50, 0.83);
}

.ss-home-listing-card__condition {
    right: 12px;
    color: var(--home-deep);
    background: rgba(157, 242, 223, 0.94);
}

.ss-home-listing-card__body {
    padding: 16px;
}

.ss-home-listing-card__price {
    margin: 0;
    color: var(--home-teal);
    font-size: 20px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.ss-home-listing-card h3 {
    margin: 10px 0 0;
    min-height: 44px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 850;
}

.ss-home-listing-card h3 a {
    display: -webkit-box;
    color: var(--home-deep);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ss-home-listing-card__location {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin: 12px 0 0;
    color: var(--home-muted);
    font-size: 12px;
}

.ss-home-listing-card__location svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--home-teal);
}

.ss-home-listing-card__location span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ss-home-listing-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--home-line);
    color: #7d8f92;
    font-size: 10px;
    font-weight: 750;
}

.ss-home-listing-card__meta span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ss-home-listing-card__meta time {
    flex: 0 0 auto;
}

/* Popular search */
.ss-home-popular-list {
    display: grid;
    gap: 12px;
}

.ss-home-popular-group {
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(7, 56, 63, 0.05);
}

.ss-home-popular-group summary {
    min-height: 72px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 38px;
    align-items: center;
    gap: 14px;
    color: var(--home-deep);
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 900;
}

.ss-home-popular-group summary::-webkit-details-marker {
    display: none;
}

.ss-home-popular-group summary small {
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 750;
}

.ss-home-popular-group__plus {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--home-teal);
    background: var(--home-soft);
    font-size: 24px;
    transition: transform 0.2s ease;
}

.ss-home-popular-group[open] .ss-home-popular-group__plus {
    transform: rotate(45deg);
}

.ss-home-popular-group__content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0 18px 18px;
}

.ss-home-popular-group__content a {
    min-width: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 13px;
    color: var(--home-deep);
    background: var(--home-soft);
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ss-home-popular-group__content a:hover {
    background: #fff;
    border-color: var(--home-mint);
}

.ss-home-popular-group__content small {
    flex: 0 0 auto;
    color: var(--home-muted);
    font-size: 10px;
}

.ss-home-popular-group__content .ss-home-popular-group__all {
    grid-column: 1 / -1;
    justify-content: center;
    color: #fff;
    background: var(--home-deep);
}

/* Companies */
.ss-home-company-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ss-home-company-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(7, 56, 63, 0.06);
}

.ss-home-company-card__logo {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--home-teal);
    background: var(--home-soft);
    border: 1px solid var(--home-line);
    font-weight: 950;
}

.ss-home-company-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.ss-home-company-card h3 {
    margin: 7px 0 0;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}

.ss-home-company-card h3 a {
    color: var(--home-deep);
}

.ss-home-company-card p,
.ss-home-company-card small {
    display: block;
    margin: 5px 0 0;
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.45;
}

.ss-home-verified-badge {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 99px;
    color: var(--home-teal);
    background: var(--home-soft);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Steps */
.ss-home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ss-home-step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(7, 56, 63, 0.06);
}

.ss-home-step > span {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--home-deep), var(--home-teal));
    font-size: 20px;
    font-weight: 950;
}

.ss-home-step h3 {
    margin: 1px 0 0;
    color: var(--home-deep);
    font-size: 19px;
    font-weight: 900;
}

.ss-home-step p {
    margin: 8px 0 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* App section */
.ss-home-app {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(40, 198, 174, 0.25), transparent 28%),
        linear-gradient(135deg, var(--home-deeper), var(--home-deep) 58%, var(--home-teal));
}

.ss-home-app__layout {
    min-height: 500px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    align-items: center;
    gap: clamp(34px, 8vw, 110px);
    padding-block: clamp(62px, 8vw, 96px);
}

.ss-home-app h2 {
    color: #fff;
    max-width: 720px;
}

.ss-home-app p {
    color: rgba(255, 255, 255, 0.7);
}

.ss-home-app ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 750;
}

.ss-home-app li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ss-home-app li span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--home-deep);
    background: #9df2df;
    font-size: 12px;
}

.ss-home-play-button {
    width: fit-content;
    margin-top: 28px;
    min-height: 62px;
    padding: 0 20px;
    color: var(--home-deep);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.ss-home-play-button svg {
    width: 28px;
    height: 28px;
}

.ss-home-play-button small,
.ss-home-play-button strong {
    display: block;
    line-height: 1.05;
}

.ss-home-play-button small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ss-home-play-button strong {
    margin-top: 3px;
    font-size: 18px;
}

.ss-home-app__visual {
    display: grid;
    place-items: center;
}

.ss-home-phone-card {
    width: min(300px, 78vw);
    aspect-ratio: 0.64;
    padding: 42px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 42px;
    background: #fff;
    border: 9px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
    transform: rotate(4deg);
}

.ss-home-phone-card img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.ss-home-phone-card strong {
    margin-top: 12px;
    color: var(--home-deep);
    font-size: 25px;
    font-weight: 950;
}

.ss-home-phone-card > span {
    margin-top: 5px;
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 800;
}

.ss-home-phone-card__rows {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.ss-home-phone-card__rows i {
    aspect-ratio: 1.1;
    border-radius: 15px;
    background: linear-gradient(145deg, var(--home-soft), #dbeeed);
}

/* Districts and safety */
.ss-home-district-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ss-home-district-list a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    color: var(--home-deep);
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 15px;
    font-weight: 850;
    box-shadow: 0 8px 24px rgba(7, 56, 63, 0.05);
}

.ss-home-district-list a:hover {
    border-color: var(--home-mint);
}

.ss-home-district-list small {
    color: var(--home-muted);
    font-size: 10px;
}

.ss-home-safety {
    padding-bottom: clamp(54px, 7vw, 96px);
}

.ss-home-safety__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(26px, 4vw, 46px);
    border-radius: 28px;
    background: #fffaf0;
    border: 1px solid #ead8a8;
}

.ss-home-safety h2 {
    font-size: clamp(24px, 3vw, 38px);
}

.ss-home-safety p {
    max-width: 830px;
    font-size: 15px;
}

.ss-home-safety__card > a {
    flex: 0 0 auto;
    color: #fff;
    background: #7a5814;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 900;
}

/* Category modal */
html.ss-home-modal-open,
html.ss-home-modal-open body {
    overflow: hidden;
}

.ss-home-modal[hidden] {
    display: none !important;
}

.ss-home-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 18px;
}

.ss-home-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 24, 28, 0.7);
    backdrop-filter: blur(7px);
}

.ss-home-modal__dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
    outline: 0;
    animation: ss-home-modal-in 0.2s ease-out;
}

@keyframes ss-home-modal-in {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ss-home-modal__dialog > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--home-line);
}

.ss-home-modal__dialog > header span {
    color: var(--home-teal);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ss-home-modal__dialog > header h2 {
    margin: 4px 0 0;
    color: var(--home-deep);
    font-size: 25px;
    line-height: 1.1;
    font-weight: 950;
}

.ss-home-modal__dialog > header button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--home-deep);
    background: var(--home-soft);
    border: 1px solid var(--home-line);
    font-size: 27px;
    cursor: pointer;
}

.ss-home-modal__body {
    min-height: 0;
    padding: 18px;
    overflow: auto;
}

.ss-home-modal__panel[hidden] {
    display: none;
}

.ss-home-modal__all {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--home-deep), var(--home-teal));
    border-radius: 15px;
    font-weight: 900;
}

.ss-home-modal__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin-top: 12px;
}

.ss-home-modal__grid > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 10px;
    color: var(--home-deep);
    background: var(--home-soft);
    border: 1px solid transparent;
    border-radius: 17px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ss-home-modal__grid > a:hover {
    background: #fff;
    border-color: var(--home-mint);
}

.ss-home-modal__item-image {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--home-teal);
    background: #fff;
    font-weight: 950;
}

.ss-home-modal__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-home-modal__item-image img.is-placeholder {
    object-fit: contain;
    padding: 10px;
}

.ss-home-modal__grid strong,
.ss-home-modal__grid small {
    display: block;
}

.ss-home-modal__grid strong {
    font-size: 13px;
    line-height: 1.3;
}

.ss-home-modal__grid small {
    margin-top: 5px;
    color: var(--home-muted);
    font-size: 10px;
}

/* Responsive */
@media (max-width: 1180px) {
    .ss-home-category-grid,
    .ss-home-listing-grid,
    .ss-home-company-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ss-home-popular-group__content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ss-home-hero {
        min-height: auto;
        background-image:
            linear-gradient(180deg, rgba(3, 31, 35, 0.9) 0%, rgba(5, 44, 50, 0.92) 58%, rgba(5, 44, 50, 0.98) 100%),
            url('../../logo/home.png');
        background-position: 62% center;
    }

    .ss-home-hero__layout,
    .ss-home-app__layout {
        grid-template-columns: 1fr;
    }

    .ss-home-hero__summary {
        align-self: auto;
    }

    .ss-home-summary-card {
        max-width: 640px;
    }

    .ss-home-search {
        grid-template-columns: 1fr 1fr;
    }

    .ss-home-search__field--wide {
        grid-column: 1 / -1;
    }

    .ss-home-search__button {
        min-height: 62px;
    }

    .ss-home-steps {
        grid-template-columns: 1fr;
    }

    .ss-home-app__visual {
        display: none;
    }

    .ss-home-modal__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ss-home-container {
        width: min(100% - 24px, 1420px);
    }

    .ss-home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .ss-home-hero__layout {
        padding-block: 62px 52px;
    }

    .ss-home-hero h1 {
        font-size: clamp(39px, 12vw, 58px);
    }

    .ss-home-search {
        grid-template-columns: 1fr;
        padding: 8px;
        border-radius: 20px;
    }

    .ss-home-search__field--wide {
        grid-column: auto;
    }

    .ss-home-search__button {
        width: 100%;
    }

    .ss-home-hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ss-home-button {
        padding-inline: 14px;
        text-align: center;
    }

    .ss-home-trust-list {
        gap: 10px 14px;
        font-size: 12px;
    }

    .ss-home-summary-card {
        padding: 20px;
    }

    .ss-home-stats {
        gap: 7px;
    }

    .ss-home-stats div {
        padding: 12px 5px;
    }

    .ss-home-alert {
        align-items: stretch;
        flex-direction: column;
    }

    .ss-home-alert button {
        width: 100%;
    }

    .ss-home-category-grid,
    .ss-home-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ss-home-category-card {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: 0;
        padding: 10px;
        border-radius: 18px;
    }

    .ss-home-category-card__media {
        width: 100%;
        aspect-ratio: 1.32;
        border-radius: 14px;
    }

    .ss-home-category-card__body strong {
        font-size: 15px;
    }

    .ss-home-category-card__body small {
        min-height: 34px;
        font-size: 10px;
    }

    .ss-home-category-card__count {
        font-size: 9px;
        margin-top: 7px;
    }

    .ss-home-category-card__arrow {
        display: none;
    }

    .ss-home-listing-card {
        border-radius: 17px;
    }

    .ss-home-listing-card__body {
        padding: 12px;
    }

    .ss-home-listing-card__price {
        font-size: 17px;
    }

    .ss-home-listing-card h3 {
        min-height: 38px;
        font-size: 13px;
    }

    .ss-home-listing-card__location {
        font-size: 10px;
    }

    .ss-home-listing-card__meta {
        font-size: 9px;
    }

    .ss-home-listing-card__category,
    .ss-home-listing-card__condition {
        top: 8px;
        padding: 5px 7px;
        font-size: 8px;
    }

    .ss-home-listing-card__category { left: 8px; }
    .ss-home-listing-card__condition { right: 8px; }

    .ss-home-popular-group summary {
        grid-template-columns: minmax(0, 1fr) 34px;
        min-height: 62px;
        padding: 13px 15px;
        font-size: 15px;
    }

    .ss-home-popular-group summary small {
        display: none;
    }

    .ss-home-popular-group__plus {
        width: 34px;
        height: 34px;
    }

    .ss-home-popular-group__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 12px 12px;
    }

    .ss-home-popular-group__content a {
        min-height: 48px;
        padding: 9px 10px;
        font-size: 11px;
    }

    .ss-home-popular-group__content small {
        display: none;
    }

    .ss-home-company-grid {
        grid-template-columns: 1fr;
    }

    .ss-home-step {
        padding: 18px;
    }

    .ss-home-app__layout {
        min-height: 0;
    }

    .ss-home-safety__card {
        align-items: stretch;
        flex-direction: column;
    }

    .ss-home-safety__card > a {
        text-align: center;
    }

    .ss-home-modal {
        place-items: end center;
        padding: 0;
    }

    .ss-home-modal__dialog {
        width: 100%;
        max-height: 88vh;
        border-radius: 24px 24px 0 0;
    }

    .ss-home-modal__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .ss-home-container {
        width: min(100% - 18px, 1420px);
    }

    .ss-home-hero__actions {
        grid-template-columns: 1fr;
    }

    .ss-home-category-grid,
    .ss-home-listing-grid {
        gap: 8px;
    }

    .ss-home-category-card,
    .ss-home-listing-card__body {
        padding: 9px;
    }

    .ss-home-category-card__body strong {
        font-size: 14px;
    }

    .ss-home-listing-card h3 {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ss-home *,
    .ss-home *::before,
    .ss-home *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.ss-home-company-card__logo img.is-placeholder {
    object-fit: contain;
    padding: 13px;
    background: #fff;
}

/* ========================================================================== 
   Homepage refinement v2 — slider, network-aware video, image search cards,
   clearer Play Store section and stronger spacing at every viewport.
   ========================================================================== */

.ss-home-hero {
    min-height: clamp(620px, calc(100svh - 72px), 820px);
    display: grid;
    align-items: center;
    background: var(--home-deeper);
    overflow: hidden;
}

.ss-home-hero__slides,
.ss-home-hero__shade {
    position: absolute;
    inset: 0;
}

.ss-home-hero__slides {
    z-index: -3;
    background: var(--home-deeper);
}

.ss-home-hero__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition: opacity 0.9s ease, visibility 0.9s ease, transform 7s ease;
}

.ss-home-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.ss-home-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ss-home-hero__slide:first-child img {
    object-position: 52% center;
}

.ss-home-hero__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 28, 32, 0.98) 0%, rgba(3, 35, 40, 0.94) 34%, rgba(3, 35, 40, 0.72) 58%, rgba(3, 35, 40, 0.2) 100%),
        linear-gradient(180deg, rgba(2, 25, 29, 0.04) 0%, rgba(2, 25, 29, 0.25) 72%, rgba(2, 25, 29, 0.58) 100%);
    pointer-events: none;
}

.ss-home-hero__layout {
    display: block;
    padding-block: clamp(86px, 10vw, 128px) clamp(104px, 12vw, 142px);
}

.ss-home-hero__content {
    width: min(820px, 64vw);
    max-width: 820px;
    position: relative;
    z-index: 2;
}

.ss-home-hero h1 {
    max-width: 820px;
    margin-top: 20px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.01;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.ss-home-hero__lead {
    max-width: 660px;
    margin-top: 26px;
    font-size: clamp(17px, 1.65vw, 21px);
    line-height: 1.68;
}

.ss-home-hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ss-home-hero__actions .ss-home-button {
    min-width: 168px;
    min-height: 54px;
    justify-content: center;
}

.ss-home-trust-list {
    margin-top: 28px;
    gap: 14px 24px;
}

.ss-home-trust-list li {
    white-space: nowrap;
}

.ss-home-hero__controls {
    position: absolute;
    z-index: 4;
    right: max(24px, calc((100vw - 1420px) / 2 + 16px));
    bottom: 34px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(2, 35, 40, 0.68);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.ss-home-hero__arrow {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ss-home-hero__arrow:hover,
.ss-home-hero__arrow:focus-visible {
    background: rgba(157, 242, 223, 0.25);
    transform: translateY(-1px);
    outline: none;
}

.ss-home-hero__dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ss-home-hero__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.ss-home-hero__dots button.is-active {
    width: 28px;
    background: #9df2df;
}

/* Video story — the video is loaded by JS only when the connection allows it. */
.ss-home-video {
    padding-block: clamp(46px, 6vw, 84px);
    background: #fff;
}

.ss-home-video__card {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(26px, 5vw, 72px);
    padding: clamp(20px, 3.4vw, 48px);
    border: 1px solid var(--home-line);
    border-radius: clamp(24px, 3vw, 38px);
    background:
        radial-gradient(circle at 0 0, rgba(40, 198, 174, 0.1), transparent 34%),
        linear-gradient(145deg, #fff 0%, #f7fbfa 100%);
    box-shadow: 0 28px 72px rgba(7, 56, 63, 0.09);
}

.ss-home-video__copy h2 {
    margin: 10px 0 0;
    color: var(--home-deep);
    font-size: clamp(28px, 3.7vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 900;
    text-wrap: balance;
}

.ss-home-video__copy p {
    margin: 16px 0 22px;
    color: var(--home-muted);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.75;
}

.ss-home-video__media {
    position: relative;
    aspect-ratio: 16 / 9;
    min-width: 0;
    overflow: hidden;
    border-radius: clamp(20px, 2.6vw, 30px);
    background: var(--home-deeper);
    box-shadow: 0 26px 62px rgba(5, 44, 50, 0.22);
}

.ss-home-video__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(1, 28, 32, 0.42));
}

.ss-home-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ss-home-video__play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-height: 56px;
    padding: 8px 18px 8px 9px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    background: rgba(3, 44, 50, 0.84);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ss-home-video__play span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--home-deep);
    background: #9df2df;
}

.ss-home-video__play svg {
    width: 19px;
    height: 19px;
}

.ss-home-video__play:hover,
.ss-home-video__play:focus-visible {
    transform: translate(-50%, -50%) scale(1.035);
    background: rgba(3, 44, 50, 0.95);
    outline: none;
}

.ss-home-video__media.is-playing .ss-home-video__play {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ss-home-video__status {
    position: absolute;
    z-index: 4;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
    border-radius: 14px;
    color: #fff;
    background: rgba(3, 44, 50, 0.88);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Popular product image cards */
.ss-home-popular-group__content {
    display: block;
    padding: 0 16px 16px;
}

.ss-home-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ss-home-popular-card {
    min-height: 112px;
    padding: 10px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 12px;
    border: 1px solid #dfebea;
    border-radius: 18px;
    color: var(--home-deep);
    background: linear-gradient(145deg, #fff 0%, #f2f8f7 100%);
    box-shadow: 0 12px 28px rgba(7, 56, 63, 0.055);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ss-home-popular-card:hover,
.ss-home-popular-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(14, 119, 115, 0.34);
    box-shadow: 0 18px 38px rgba(7, 56, 63, 0.11);
    outline: none;
}

.ss-home-popular-card__media {
    width: 72px;
    height: 72px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--home-teal);
    background: #e9f5f3;
    font-size: 18px;
    font-weight: 900;
}

.ss-home-popular-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-home-popular-card__media img.is-placeholder {
    object-fit: contain;
    padding: 12px;
    background: #fff;
}

.ss-home-popular-card__body {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.ss-home-popular-card__body strong {
    overflow: hidden;
    color: var(--home-deep);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-home-popular-card__body small {
    display: block;
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 750;
}

.ss-home-popular-card__arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--home-teal);
    background: rgba(40, 198, 174, 0.12);
    font-size: 14px;
    font-weight: 900;
}

.ss-home-popular-group__content .ss-home-popular-group__all {
    min-height: 50px;
    margin-top: 12px;
}

/* Clear Google Play download section */
.ss-home-app {
    padding-block: clamp(62px, 8vw, 104px);
}

.ss-home-app__layout {
    min-height: 0;
    gap: clamp(46px, 7vw, 96px);
}

.ss-home-app__content {
    max-width: 680px;
}

.ss-home-app h2 {
    max-width: 650px;
    margin-top: 14px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.04;
    text-wrap: balance;
}

.ss-home-app__content > p {
    max-width: 620px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.76);
}

.ss-home-app ul {
    margin-top: 28px;
    gap: 12px;
}

.ss-home-play-button {
    width: min(100%, 520px);
    min-height: 92px;
    margin-top: 34px;
    padding: 14px 17px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 14px;
    color: var(--home-deeper);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.ss-home-play-button:hover,
.ss-home-play-button:focus-visible {
    color: var(--home-deeper);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 30px 74px rgba(0, 0, 0, 0.3);
    outline: none;
}

.ss-home-google-play-mark {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #f4f7f7;
    box-shadow: inset 0 0 0 1px rgba(7, 56, 63, 0.08);
}

.ss-home-google-play-mark svg {
    width: 36px;
    height: 36px;
}

.ss-home-play-button__text {
    min-width: 0;
    display: grid;
    gap: 2px;
    text-align: left;
}

.ss-home-play-button__text small {
    color: var(--home-teal);
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0.12em;
    font-weight: 900;
}

.ss-home-play-button__text strong {
    color: var(--home-deeper);
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.15;
    font-weight: 950;
}

.ss-home-play-button__text em {
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.35;
    font-style: normal;
    font-weight: 700;
}

.ss-home-play-button__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--home-teal);
    font-size: 18px;
    font-weight: 900;
}

.ss-home-app__download-note {
    margin-top: 14px !important;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.ss-home-app__download-note span {
    color: #9df2df;
    font-size: 10px;
}

.ss-home-app__visual {
    display: grid;
    place-items: center;
}

.ss-home-app-card {
    width: min(100%, 390px);
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 38px;
    color: var(--home-deeper);
    background: linear-gradient(155deg, #fff 0%, #eff8f6 100%);
    box-shadow: 0 34px 84px rgba(0, 0, 0, 0.28);
    transform: rotate(2deg);
}

.ss-home-app-card__top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ss-home-app-card__icon {
    width: 68px;
    height: 68px;
    flex: 0 0 auto;
    border-radius: 20px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 28px rgba(7, 56, 63, 0.14);
}

.ss-home-app-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.ss-home-app-card__top > span:last-child {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.ss-home-app-card__top strong {
    color: var(--home-deeper);
    font-size: 25px;
    line-height: 1.1;
    font-weight: 950;
}

.ss-home-app-card__top small {
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 800;
}

.ss-home-app-card__screen {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ss-home-app-card__screen i {
    aspect-ratio: 1.1;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(40, 198, 174, 0.2), rgba(7, 56, 63, 0.07));
}

.ss-home-app-card__store {
    margin-top: 22px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    color: #fff;
    background: var(--home-deeper);
}

.ss-home-google-play-mark--small {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.ss-home-google-play-mark--small svg {
    width: 27px;
    height: 27px;
}

.ss-home-app-card__store > span:last-child {
    display: grid;
    gap: 1px;
}

.ss-home-app-card__store small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 750;
}

.ss-home-app-card__store strong {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .ss-home-hero__content {
        width: min(760px, 72vw);
    }

    .ss-home-video__card {
        grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    }

    .ss-home-popular-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ss-home-hero {
        min-height: 690px;
    }

    .ss-home-hero__shade {
        background:
            linear-gradient(90deg, rgba(2, 28, 32, 0.96) 0%, rgba(3, 35, 40, 0.86) 57%, rgba(3, 35, 40, 0.42) 100%),
            linear-gradient(180deg, rgba(2, 25, 29, 0.05), rgba(2, 25, 29, 0.58));
    }

    .ss-home-hero__content {
        width: min(690px, 88vw);
    }

    .ss-home-video__card {
        grid-template-columns: 1fr;
    }

    .ss-home-video__copy {
        max-width: 720px;
    }

    .ss-home-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ss-home-app-card {
        transform: none;
    }
}

@media (max-width: 640px) {
    .ss-home-hero {
        min-height: 660px;
        align-items: end;
    }

    .ss-home-hero__slide img,
    .ss-home-hero__slide:first-child img {
        object-position: 68% center;
    }

    .ss-home-hero__shade {
        background:
            linear-gradient(180deg, rgba(2, 28, 32, 0.42) 0%, rgba(2, 28, 32, 0.78) 40%, rgba(2, 28, 32, 0.98) 100%);
    }

    .ss-home-hero__layout {
        padding-block: 96px 108px;
    }

    .ss-home-hero__content {
        width: 100%;
    }

    .ss-home-hero h1 {
        max-width: 560px;
        margin-top: 16px;
        font-size: clamp(38px, 12.5vw, 56px);
        line-height: 1.03;
        letter-spacing: -0.045em;
    }

    .ss-home-hero__lead {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.62;
    }

    .ss-home-hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 26px;
    }

    .ss-home-hero__actions .ss-home-button {
        min-width: 0;
        min-height: 50px;
        padding-inline: 12px;
        font-size: 13px;
    }

    .ss-home-trust-list {
        margin-top: 22px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .ss-home-trust-list li {
        justify-content: center;
        white-space: normal;
        text-align: center;
        font-size: 10px;
        line-height: 1.25;
    }

    .ss-home-trust-list li span {
        width: 24px;
        height: 24px;
    }

    .ss-home-hero__controls {
        right: 50%;
        bottom: 24px;
        transform: translateX(50%);
    }

    .ss-home-video {
        padding-block: 38px 54px;
    }

    .ss-home-video__card {
        gap: 24px;
        padding: 16px;
        border-radius: 24px;
    }

    .ss-home-video__copy {
        padding: 8px 6px 0;
    }

    .ss-home-video__copy h2 {
        font-size: clamp(27px, 9vw, 38px);
    }

    .ss-home-video__copy p {
        margin-top: 13px;
        font-size: 14px;
        line-height: 1.68;
    }

    .ss-home-video__media {
        border-radius: 19px;
    }

    .ss-home-popular-group__content {
        padding: 0 11px 11px;
    }

    .ss-home-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .ss-home-popular-card {
        min-height: 0;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 8px;
        padding: 8px;
        border-radius: 15px;
    }

    .ss-home-popular-card__media {
        width: 100%;
        height: auto;
        aspect-ratio: 1.5;
        border-radius: 12px;
    }

    .ss-home-popular-card__body {
        padding: 2px 3px 5px;
    }

    .ss-home-popular-card__body strong {
        font-size: 12px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .ss-home-popular-card__body small {
        display: block;
        font-size: 9px;
    }

    .ss-home-popular-card__arrow {
        display: none;
    }

    .ss-home-app {
        padding-block: 56px 64px;
    }

    .ss-home-app h2 {
        font-size: clamp(34px, 10vw, 47px);
    }

    .ss-home-play-button {
        min-height: 84px;
        grid-template-columns: 50px minmax(0, 1fr) 32px;
        gap: 11px;
        padding: 12px;
        border-radius: 19px;
    }

    .ss-home-google-play-mark {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .ss-home-google-play-mark svg {
        width: 31px;
        height: 31px;
    }

    .ss-home-play-button__text strong {
        font-size: 18px;
    }

    .ss-home-play-button__text em {
        font-size: 9px;
    }

    .ss-home-play-button__arrow {
        width: 32px;
        height: 32px;
    }

    .ss-home-app-card {
        width: min(100%, 350px);
        padding: 22px;
        border-radius: 28px;
    }
}

@media (max-width: 380px) {
    .ss-home-hero__actions {
        grid-template-columns: 1fr;
    }

    .ss-home-trust-list {
        grid-template-columns: 1fr 1fr;
    }

    .ss-home-trust-list li:last-child {
        grid-column: 1 / -1;
    }

    .ss-home-popular-grid {
        gap: 7px;
    }

    .ss-home-play-button {
        grid-template-columns: 45px minmax(0, 1fr);
    }

    .ss-home-play-button__arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ss-home-hero__slide {
        transform: none !important;
    }
}
