/*
 * SOVA storefront theme — docs/brand.md palette, self-hosted fonts.
 * Loaded after the core shop CSS, so plain selectors override core utilities.
 */

/* Fonts ------------------------------------------------------------------ */

@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cairo-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cairo-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cairo-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cairo-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cairo-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cairo-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700.woff2") format("woff2"); }

/* Tokens ----------------------------------------------------------------- */

:root {
    --sova-blue: #3176A4;
    --sova-deep: #1E4E6E;
    --sova-ink: #17232B;
    --sova-grey: #6B7C86;
    --sova-tint: #BFD8E8;
    --sova-surface: #F4F8FA;
    --sova-accent: #E8B23A;
    --sova-white: #FFFFFF;
    --sova-font: "Montserrat", "Cairo", system-ui, sans-serif;
    --sova-radius: 12px;
}

html[lang="ar"] {
    --sova-font: "Cairo", "Montserrat", system-ui, sans-serif;
}

/* Core overrides ---------------------------------------------------------- */

body,
.font-poppins,
.font-dmserif,
input,
button,
select,
textarea {
    font-family: var(--sova-font) !important;
}

body {
    color: var(--sova-ink);
}

.font-dmserif {
    font-weight: 700 !important;
    font-style: normal !important;
}

.italic {
    font-style: normal;
}

.text-navyBlue { color: var(--sova-ink); }
.bg-navyBlue { background-color: var(--sova-blue); }
.border-navyBlue { border-color: var(--sova-blue); }
.ring-navyBlue { --tw-ring-color: var(--sova-blue); }
.bg-lightOrange { background-color: var(--sova-surface); }

.primary-button {
    background-color: var(--sova-blue);
    border-color: var(--sova-blue);
    color: var(--sova-white);
}

.primary-button:hover {
    background-color: var(--sova-deep);
    border-color: var(--sova-deep);
    opacity: 1;
}

.secondary-button {
    color: var(--sova-blue);
    border-color: var(--sova-blue);
}

.secondary-button:hover {
    background-color: var(--sova-surface);
}

.text-blue-500,
.text-blue-600,
.text-blue-700,
.text-blue-800,
.text-darkBlue,
.text-sky-600 {
    color: var(--sova-blue);
}

.bg-darkBlue,
.bg-blue-400,
.bg-blue-500,
.bg-blue-600,
.bg-blue-700 {
    background-color: var(--sova-blue);
}

main a:not([class]):hover {
    color: var(--sova-blue);
}

/* Control sizes (core buttons 50-58px and inputs 50-58px were too large) --- */

.primary-button,
.secondary-button {
    padding: 10px 22px;
    font-size: 15px;
    line-height: 22px;
    border-radius: 10px;
}

main input:is([type="text"], [type="email"], [type="password"], [type="tel"], [type="number"], [type="date"], [type="search"]),
main select:not([multiple]),
main textarea:not([hidden]) {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-inline-start: 14px;
    font-size: 15px;
    line-height: 22px;
    border-radius: 8px;
}

main textarea:not([hidden]) {
    min-height: 88px;
}

header input[name="query"] {
    font-size: 14px;
}

main .flex.items-center.border-navyBlue.px-7.py-4 {
    padding: 10px 18px;
    border-radius: 10px;
}

/* Buttons ---------------------------------------------------------------- */

.sova-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .15s, color .15s, border-color .15s;
}

.sova-btn--accent {
    background-color: var(--sova-accent);
    color: var(--sova-ink);
}

.sova-btn--accent:hover {
    background-color: var(--sova-white);
}

.sova-btn--ghost {
    border-color: var(--sova-white);
    color: var(--sova-white);
}

.sova-btn--ghost:hover {
    background-color: var(--sova-white);
    color: var(--sova-deep);
}

.sova-btn--small {
    padding: 9px 18px;
    font-size: 14px;
    line-height: 22px;
}

/* Sections --------------------------------------------------------------- */

.sova-section {
    max-width: 1240px;
    margin: 72px auto 0;
    padding: 0 24px;
}

.sova-section__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--sova-ink);
    text-align: center;
}

.sova-section__subtitle {
    margin-top: 8px;
    text-align: center;
    color: var(--sova-grey);
    font-size: 18px;
}

/* Hero */

.sova-hero {
    position: relative;
    overflow: hidden;
    color: var(--sova-ink);
    background:
        radial-gradient(120% 90% at 85% 30%, var(--sova-white) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(160deg, var(--sova-surface) 0%, #E3EEF6 55%, var(--sova-tint) 100%);
}

.sova-hero__bg {
    position: absolute;
    inset: -40px;
    z-index: 0;
    pointer-events: none;
    transition: transform .4s ease-out;
}

.sova-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: .55;
    animation: sova-float 18s ease-in-out infinite alternate;
}

.sova-hero__blob--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    inset-inline-start: -80px;
    background: radial-gradient(circle, rgba(49, 118, 164, .35), rgba(49, 118, 164, 0) 70%);
}

.sova-hero__blob--2 {
    width: 520px;
    height: 520px;
    bottom: -200px;
    inset-inline-end: 8%;
    background: radial-gradient(circle, rgba(191, 216, 232, .9), rgba(191, 216, 232, 0) 70%);
    animation-duration: 22s;
}

.sova-hero__blob--3 {
    width: 260px;
    height: 260px;
    top: 30%;
    inset-inline-start: 38%;
    background: radial-gradient(circle, rgba(232, 178, 58, .22), rgba(232, 178, 58, 0) 70%);
    animation-duration: 26s;
}

@keyframes sova-float {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, 24px, 0) scale(1.08); }
    100% { transform: translate3d(-24px, 40px, 0) scale(.96); }
}

.sova-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.sova-hero__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 72px 8px 64px;
    text-align: center;
}

.sova-hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--sova-deep);
}

.sova-hero__rule {
    display: block;
    width: 96px;
    height: 4px;
    margin: 24px auto;
    border-radius: 2px;
    background-color: var(--sova-accent);
}

.sova-hero__subtitle {
    font-size: 22px;
    color: var(--sova-grey);
}

.sova-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.sova-btn--outline {
    border-color: var(--sova-blue);
    color: var(--sova-blue);
    background-color: rgba(255, 255, 255, .6);
}

.sova-btn--outline:hover {
    background-color: var(--sova-blue);
    color: var(--sova-white);
}

/* Hero slider */

.sova-slider {
    position: relative;
    height: 460px;
    user-select: none;
    touch-action: pan-y;
}

.sova-slider__track {
    position: absolute;
    inset: 0;
}

.sova-slider__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(.96);
    transition: opacity .7s ease, transform .9s ease;
}

.sova-slider__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.sova-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(30, 78, 110, .18));
    animation: sova-bob 6s ease-in-out infinite alternate;
}

@keyframes sova-bob {
    from { transform: translateY(-6px); }
    to { transform: translateY(6px); }
}

.sova-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid var(--sova-tint);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .85);
    color: var(--sova-deep);
    font-size: 28px;
    line-height: 40px;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.sova-slider__arrow:hover,
.sova-slider__arrow:focus-visible {
    background-color: var(--sova-blue);
    color: var(--sova-white);
}

.sova-slider__arrow--prev {
    inset-inline-start: 0;
}

.sova-slider__arrow--next {
    inset-inline-end: 0;
}

/* ‹ › are bidi-mirrored characters: in Arabic the browser flips them, so the
   same content points the right way in both directions. */
.sova-slider__arrow--prev::before {
    content: "‹";
}

.sova-slider__arrow--next::before {
    content: "›";
}

.sova-slider__dots {
    position: absolute;
    bottom: 8px;
    inset-inline: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.sova-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background-color: var(--sova-tint);
    cursor: pointer;
    transition: width .3s, background-color .3s;
}

.sova-slider__dot.is-active {
    width: 28px;
    background-color: var(--sova-blue);
}

@media (prefers-reduced-motion: reduce) {
    .sova-hero__blob,
    .sova-slider__slide img {
        animation: none;
    }

    .sova-slider__slide {
        transition: none;
    }
}

.sova-trust {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: var(--sova-deep);
    list-style: none;
    margin: 0;
    padding: 0;
}

.sova-trust li {
    padding: 18px 24px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--sova-white);
    border-inline-start: 1px solid rgba(191, 216, 232, .25);
}

.sova-trust li:first-child {
    border-inline-start: 0;
}

/* Store lines */

.sova-lines__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.sova-line-card {
    display: grid;
    gap: 10px;
    align-content: end;
    min-height: 220px;
    padding: 32px;
    border-radius: var(--sova-radius);
    background: linear-gradient(135deg, var(--sova-blue), var(--sova-deep));
    color: var(--sova-white);
    text-decoration: none;
    transition: transform .15s;
}

.sova-line-card:hover {
    transform: translateY(-3px);
}

.sova-line-card--light {
    background: var(--sova-surface) url("../images/section-background.svg") center / cover no-repeat;
    color: var(--sova-ink);
    border: 1px solid var(--sova-tint);
}

.sova-line-card__name {
    font-size: 26px;
    font-weight: 700;
}

.sova-line-card__text {
    font-size: 16px;
    opacity: .9;
}

.sova-line-card__cta {
    margin-top: 8px;
    font-weight: 700;
    color: var(--sova-accent);
}

.sova-line-card--light .sova-line-card__cta {
    color: var(--sova-blue);
}

/* Why SOVA */

.sova-why__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: var(--sova-radius);
    background-color: var(--sova-surface);
    border-inline-start: 4px solid var(--sova-accent);
}

.sova-why .sova-section__title {
    text-align: start;
    margin-bottom: 16px;
}

.sova-why p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--sova-ink);
}

.sova-why p + p {
    margin-top: 12px;
}

/* Sample offer */

.sova-sample {
    margin-bottom: 24px;
}

.sova-sample__inner {
    padding: 56px 24px;
    border-radius: var(--sova-radius);
    background: var(--sova-deep) url("../images/hero-band-dark.svg") center / cover no-repeat;
    color: var(--sova-white);
    text-align: center;
}

.sova-sample__title {
    font-size: 32px;
    font-weight: 700;
}

.sova-sample__body {
    margin: 12px auto 28px;
    max-width: 560px;
    font-size: 18px;
    color: var(--sova-tint);
}

/* CMS pages */

.sova-page {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.9;
}

.sova-page__heading {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

.sova-page h3 {
    margin-top: 28px;
    font-size: 20px;
    font-weight: 700;
}

.sova-page ul {
    margin-top: 12px;
    padding-inline-start: 22px;
    list-style: disc;
}

.sova-page ul li::marker {
    color: var(--sova-blue);
}

.sova-page h1,
.sova-page h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--sova-deep);
}

.sova-page p {
    margin-top: 10px;
}

.sova-page ol {
    margin-top: 12px;
    padding-inline-start: 22px;
    list-style: decimal;
}

.sova-page a {
    color: var(--sova-blue);
    text-decoration: underline;
}

.sova-page__updated {
    font-size: 14px;
    color: var(--sova-grey);
}

/* Account-type cards on the sign-up page (B2B suite) ---------------------- */

html .b2b-account-card:hover {
    border-color: var(--sova-blue);
}

html .b2b-account-card.b2b-tab-active {
    border-color: var(--sova-blue);
    background-color: var(--sova-surface);
    box-shadow: inset 0 0 0 1px var(--sova-blue);
}

html .b2b-icon-badge {
    color: var(--sova-blue);
}

/* Tier table (company accounts) ------------------------------------------ */

.grid.gap-1\.5:has(+ .sova-tier-table) {
    display: none;
}

.sova-tier-table {
    margin-top: 16px;
    max-width: 420px;
    padding: 16px;
    border-radius: var(--sova-radius);
    border: 1px solid var(--sova-tint);
    background-color: var(--sova-surface);
}

.sova-tier-table__bulk {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
}

.sova-tier-table__bulk img {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--sova-tint);
    background-color: var(--sova-white);
}

.sova-tier-table__bulk figcaption {
    font-size: 14px;
    font-weight: 600;
    color: var(--sova-deep);
}

.sova-tier-table__title {
    font-weight: 700;
    color: var(--sova-ink);
}

.sova-tier-table__group {
    font-size: 14px;
    color: var(--sova-grey);
}

.sova-tier-table table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    font-size: 15px;
}

.sova-tier-table th,
.sova-tier-table td {
    padding: 8px 10px;
    text-align: start;
    border-bottom: 1px solid var(--sova-tint);
}

.sova-tier-table th {
    font-weight: 600;
    color: var(--sova-grey);
}

.sova-tier-table td:last-child {
    font-weight: 700;
    color: var(--sova-blue);
}

.sova-tier-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Order via WhatsApp (product page) --------------------------------------- */

.sova-whatsapp-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 470px;
    margin-top: 12px;
    padding: 10px 22px;
    border: 1px solid var(--sova-blue);
    border-radius: 10px;
    color: var(--sova-blue);
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    transition: background-color .15s;
}

.sova-whatsapp-order:hover {
    background-color: var(--sova-surface);
}

/* Bosta tracking (customer order page) ----------------------------------- */

.sova-tracking {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: var(--sova-radius);
    border: 1px solid var(--sova-tint);
    background-color: var(--sova-surface);
}

.sova-tracking__title {
    font-weight: 700;
    color: var(--sova-ink);
}

.sova-tracking a {
    font-weight: 700;
    color: var(--sova-blue);
}

/* Footer ----------------------------------------------------------------- */

.sova-footer {
    margin-top: 72px;
    background-color: var(--sova-deep);
    color: var(--sova-tint);
}

.sova-footer__main {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 24px;
}

.sova-footer__brand img {
    height: auto;
    margin-bottom: 16px;
}

.sova-footer__brand p {
    font-size: 15px;
    line-height: 1.8;
}

.sova-footer__made {
    margin-top: 12px;
    font-weight: 700;
    color: var(--sova-accent);
}

.sova-footer__heading {
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--sova-white);
}

.sova-footer ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.sova-footer__contact li {
    display: grid;
    gap: 2px;
}

.sova-footer__contact span {
    font-size: 13px;
    color: var(--sova-tint);
    opacity: .8;
}

.sova-footer__contact a {
    justify-self: start;
    unicode-bidi: isolate;
}


.sova-footer a {
    color: var(--sova-white);
    text-decoration: none;
}

.sova-footer a:hover {
    color: var(--sova-accent);
}

.sova-footer__links {
    display: grid;
    gap: 10px;
    align-content: start;
}

.sova-footer__newsletter p {
    margin-bottom: 12px;
    font-size: 15px;
}

.sova-footer__newsletter-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.sova-footer__input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-size: 15px;
    line-height: 22px;
    border-radius: var(--sova-radius);
    border: 1px solid var(--sova-tint);
    background-color: var(--sova-white);
    color: var(--sova-ink);
}

.sova-footer__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 24px;
    border-top: 1px solid rgba(191, 216, 232, .25);
    font-size: 13px;
}

/* WhatsApp button -------------------------------------------------------- */

.sova-whatsapp {
    position: fixed;
    inset-inline-end: 20px;
    bottom: 20px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--sova-blue);
    color: var(--sova-white);
    box-shadow: 0 6px 18px rgba(23, 35, 43, .25);
    transition: background-color .15s, transform .15s;
}

.sova-whatsapp:hover {
    background-color: var(--sova-deep);
    transform: scale(1.05);
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
    .sova-footer__main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .primary-button,
    .secondary-button,
    .sova-btn {
        padding: 9px 18px;
        font-size: 14px;
        line-height: 20px;
    }

    main input:is([type="text"], [type="email"], [type="password"], [type="tel"], [type="number"], [type="date"], [type="search"]),
    main select:not([multiple]),
    main textarea:not([hidden]) {
        padding-top: 9px;
        padding-bottom: 9px;
        padding-inline-start: 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .sova-hero__grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 16px;
    }

    .sova-hero__inner {
        padding: 40px 0 8px;
    }

    .sova-slider {
        height: 320px;
        margin-bottom: 16px;
    }

    .sova-slider__arrow {
        width: 38px;
        height: 38px;
        margin-top: -19px;
        font-size: 24px;
        line-height: 34px;
    }

    .sova-hero__title {
        font-size: 30px;
    }

    .sova-hero__subtitle {
        font-size: 18px;
    }

    .sova-trust {
        grid-template-columns: 1fr;
    }

    .sova-trust li {
        padding: 12px 16px;
        border-inline-start: 0;
        border-top: 1px solid rgba(191, 216, 232, .25);
    }

    .sova-section {
        margin-top: 48px;
        padding: 0 16px;
    }

    .sova-section__title,
    .sova-sample__title {
        font-size: 24px;
    }

    .sova-lines__grid {
        grid-template-columns: 1fr;
    }

    .sova-line-card {
        min-height: 160px;
        padding: 24px;
    }

    .sova-why__inner {
        padding: 28px 20px;
    }

    .sova-why p,
    .sova-page {
        font-size: 16px;
    }

    .sova-footer__main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 16px;
    }

    .sova-footer__bar {
        justify-content: center;
        text-align: center;
    }

    .sova-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 84px;
        inset-inline-end: 16px;
    }
}

/* Buy again (account → orders) ------------------------------------------- */
.sova-buy-again {
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--sova-tint);
    border-radius: var(--sova-radius);
    background: var(--sova-surface);
}

.sova-buy-again__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sova-buy-again__head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--sova-deep);
}

.sova-buy-again__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sova-buy-again__item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--sova-white);
}

.sova-buy-again__name {
    font-weight: 600;
    color: var(--sova-ink);
}

.sova-buy-again__name:hover {
    color: var(--sova-blue);
}

.sova-buy-again__meta {
    grid-column: 1;
    font-size: 13px;
    color: var(--sova-grey);
}

.sova-buy-again__item .sova-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    white-space: nowrap;
}

.sova-buy-again__status {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--sova-deep);
}

.sova-buy-again__status:empty {
    display: none;
}

@media (max-width: 480px) {
    .sova-buy-again__item {
        grid-template-columns: 1fr;
    }

    .sova-buy-again__item .sova-btn {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }
}

.sova-buy-again .sova-btn {
    border-color: var(--sova-blue);
    background-color: var(--sova-white);
    color: var(--sova-blue);
    cursor: pointer;
}

.sova-buy-again .sova-btn:hover {
    background-color: var(--sova-blue);
    color: var(--sova-white);
}

.sova-buy-again .sova-btn.sova-btn--accent {
    border-color: var(--sova-accent);
    background-color: var(--sova-accent);
    color: var(--sova-ink);
}

.sova-buy-again .sova-btn.sova-btn--accent:hover {
    border-color: var(--sova-deep);
    background-color: var(--sova-deep);
    color: var(--sova-white);
}

.sova-buy-again .sova-btn:disabled {
    opacity: .6;
    cursor: wait;
}

.sova-buy-again__status[data-state="error"] {
    color: var(--sova-ink);
    font-weight: 600;
}

/* Delivery estimate (product page) --------------------------------------- */
.sova-delivery {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid var(--sova-tint);
    border-radius: var(--sova-radius);
    background: var(--sova-surface);
}

.sova-delivery__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sova-deep);
}

main .sova-delivery__select {
    width: 100%;
    max-width: 320px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--sova-tint);
    border-radius: 10px;
    background-color: var(--sova-white);
    font-size: 15px;
    color: var(--sova-ink);
}

.sova-delivery__result {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--sova-ink);
}

.sova-delivery__result:empty {
    display: none;
}

.sova-delivery__free {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--sova-grey);
}

/* Payment receipt upload (success page, account order, receipt page) ----- */
.sova-receipt {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid var(--sova-tint);
    border-radius: var(--sova-radius);
    background: var(--sova-surface);
    text-align: start;
}

.sova-receipt__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--sova-deep);
}

.sova-receipt__amount {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--sova-ink);
}

.sova-receipt__details {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--sova-white);
    line-height: 1.8;
}

.sova-receipt__details p {
    margin: 4px 0 0;
}

.sova-receipt__hint,
.sova-receipt__small {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--sova-grey);
}

.sova-receipt__list {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.sova-receipt__list li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--sova-white);
}

.sova-receipt__status {
    font-weight: 700;
}

.sova-receipt__status--approved {
    color: var(--sova-blue);
}

.sova-receipt__status--rejected {
    color: var(--sova-deep);
}

.sova-receipt__note {
    flex-basis: 100%;
    color: var(--sova-grey);
}

.sova-receipt__form {
    display: grid;
    gap: 6px;
    max-width: 440px;
}

.sova-receipt__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--sova-ink);
}

.sova-receipt__form input[type="text"],
.sova-receipt__form input[type="file"] {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--sova-tint);
    border-radius: 10px;
    background: var(--sova-white);
    font-size: 15px;
}

.sova-receipt__error {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--sova-ink);
}

.sova-receipt .sova-btn.sova-btn--accent {
    justify-self: start;
    margin-top: 6px;
    border-color: var(--sova-accent);
    background-color: var(--sova-accent);
    color: var(--sova-ink);
    cursor: pointer;
}

.sova-receipt .sova-btn.sova-btn--accent:hover {
    border-color: var(--sova-deep);
    background-color: var(--sova-deep);
    color: var(--sova-white);
}

/* Phone sign-in link (login page) ---------------------------------------- */
.sova-phone-login-link {
    margin-top: 16px;
    text-align: center;
    font-size: 15px;
}

.sova-phone-login-link a {
    font-weight: 600;
    color: var(--sova-blue);
    text-decoration: underline;
}

[dir="rtl"] .sova-page ol {
    list-style: arabic-indic;
}

/* Category banner (core markup: lazy image with aspect-[4/1]) -------------
 * Core gives the <img> a fixed 4:1 box without object-fit, which stretches
 * photos. Cover-crop at render time instead, and use a taller box so a
 * square-ish photo keeps its subject. */
.container > img.rounded-xl[class*="aspect-[4/1]"],
.container > .shimmer.rounded-xl[class*="aspect-[4/1]"] {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    .container > img.rounded-xl[class*="aspect-[4/1]"],
    .container > .shimmer.rounded-xl[class*="aspect-[4/1]"] {
        aspect-ratio: 16 / 9;
    }
}

/* Product gallery (desktop) ------------------------------------------------
 * Core sets width="560" height="610" on the main image, which stretches
 * square photos ~9% vertically. Keep the photo's own proportions. */
.max-h-\[610px\].max-w-\[560px\] > img {
    height: auto;
    object-fit: contain;
    background-color: var(--sova-white);
}

/* Category page heading (core has no <h1> on category pages) ------------- */
.sova-category-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--sova-deep);
}

@media (max-width: 767px) {
    .sova-category-title {
        font-size: 22px;
    }
}

/* Visually hidden, still read by screen readers and agents */
.sova-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
