/* Shop login — Figma 221:3649, scaled to fit the viewport */

html {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

.shop-login,
.shop-login * {
    box-sizing: border-box;
}

.shop-login {
    --shop-login-panel: #082f33;
    --shop-login-bg: #f3faf9;
    --shop-login-copy: #d5e5e4;
    --shop-login-eyebrow: #ddf6f3;
    --shop-login-secure: #afc8c6;
    --shop-login-ink: #102a2e;
    --shop-login-muted: #4c6265;
    --shop-login-welcome: #0b7f78;
    --shop-login-line: #d8e7e5;
    --shop-login-mark: #18afa5;
    --shop-login-discount: #ff766c;
    --shop-login-card-ink: #202725;
    width: 100%;
    height: 100%;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(300px, 40%) minmax(0, 1fr);
    background: var(--shop-login-bg);
    color: var(--shop-login-ink);
    font-family: var(--brand-font, Cairo, Rubik, sans-serif);
    direction: ltr;
}

.shop-login-panel,
.shop-login-main,
.shop-login-card {
    direction: var(--shop-login-dir, rtl);
}

.shop-login-brand,
.shop-login-bar,
.shop-login-powered {
    direction: ltr;
}

.shop-login-panel {
    background: var(--shop-login-panel);
    color: #fff;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.shop-login-panel::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -80px;
    inset-inline-start: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 175, 165, 0.28) 0%, rgba(39, 175, 165, 0) 70%);
    pointer-events: none;
    animation: shop-login-glow 8s ease-in-out infinite;
}

.shop-login-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    animation: shop-login-fade-up 0.55s ease both;
}

.shop-login-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: transparent;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
    animation: shop-login-pop 0.6s ease both;
}

.shop-login-mark img {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: cover;
}

.shop-login-brand-name {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.shop-login-message {
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    z-index: 1;
}

.shop-login-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: var(--shop-login-eyebrow);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    animation: shop-login-fade-up 0.55s ease 0.08s both;
}

html[lang="en"] .shop-login-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
}

.shop-login-hero {
    flex-shrink: 0;
    animation: shop-login-fade-up 0.6s ease 0.14s both;
}

.shop-login-hero h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    text-wrap: balance;
}

html[lang="en"] .shop-login-hero h1 {
    letter-spacing: -0.04em;
}

.shop-login-hero h1 span {
    display: block;
    color: #7fe7de;
}

.shop-login-hero p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
    color: #c5dbd9;
    max-width: 36em;
}

.shop-login-showcase-title,
.shop-login-cta,
.shop-login-lead,
.shop-login-add,
.shop-login-product-rating,
.shop-login-old-price,
.shop-login-discount,
.shop-login-favorite {
    display: none;
}

.shop-login-showcase {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    animation: shop-login-fade-up 0.65s ease 0.22s both;
}

.shop-login-showcase-title {
    font-size: 14px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.shop-login-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
    min-height: 0;
}

.shop-login-product {
    margin: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    line-height: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.shop-login-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.shop-login-product-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 480 / 274;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f6f3ee;
}

.shop-login-discount {
    position: absolute;
    top: 6px;
    inset-inline-start: 6px;
    background: var(--shop-login-discount);
    color: #fff;
    border-radius: 999px;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.shop-login-favorite {
    position: absolute;
    top: 6px;
    inset-inline-end: 6px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
    display: grid;
    place-items: center;
    padding: 0;
    cursor: default;
    transition: transform 0.25s ease;
}

.shop-login-product:hover .shop-login-favorite {
    transform: scale(1.08);
}

.shop-login-favorite img {
    width: 12px;
    height: 12px;
    display: block;
    object-fit: contain;
}

.shop-login-product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: start;
}

.shop-login-product-cat {
    margin: 0;
    color: var(--brand, #27afa5);
    font-size: 10px;
    font-weight: 500;
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-login-product-name {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: var(--shop-login-card-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-login-product-rating {
    margin: 0;
    color: #68716f;
    font-size: 10px;
}

.shop-login-product-prices {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px;
}

.shop-login-old-price {
    color: #68716f;
    font-size: 10px;
    text-decoration: line-through;
}

.shop-login-price {
    color: var(--brand, #27afa5);
    font-size: 13px;
    font-weight: 700;
}

.shop-login-add {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 100%;
    margin-top: 4px;
    border: 0;
    border-radius: 7px;
    background: var(--brand, #27afa5);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.shop-login-add:hover {
    background: #1f8c84;
}

.shop-login-cta {
    flex-shrink: 0;
    animation: shop-login-fade-up 0.65s ease 0.3s both;
}

.shop-login-cta-title {
    font-size: 15px;
    margin-bottom: 8px;
}

.shop-login-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.shop-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.shop-login-btn:hover {
    transform: translateY(-1px);
}

.shop-login-btn:active {
    transform: translateY(0);
}

.shop-login-btn-primary {
    background: var(--brand, #27afa5);
    color: #fff;
}

.shop-login-btn-primary:hover {
    background: #1f8c84;
    box-shadow: 0 8px 18px rgba(39, 175, 165, 0.28);
}

.shop-login-btn-outline {
    background: #fff;
    color: var(--brand, #27afa5);
    border-color: var(--brand, #27afa5);
}

.shop-login-btn-outline:hover {
    background: rgba(39, 175, 165, 0.08);
}

.shop-login-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--shop-login-secure);
    font-size: 12px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    animation: shop-login-fade-up 0.6s ease 0.38s both;
}

.shop-login-secure img {
    width: 8px;
    height: 8px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    animation: shop-login-pulse 2s ease-in-out infinite;
}

.shop-login-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 32px 56px;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 12px;
}

.shop-login-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-shrink: 0;
    animation: shop-login-fade-in 0.5s ease both;
}

.shop-login-version,
.shop-login-powered {
    margin: 0;
    color: var(--shop-login-muted);
    font-size: 12px;
    flex-shrink: 0;
}

.shop-login-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    position: relative;
    z-index: 1;
    animation: shop-login-fade-in 0.6s ease 0.2s both;
}

.shop-login-powered-logo {
    display: block;
    width: 96px;
    height: 27px;
    max-width: 96px;
    max-height: 27px;
    object-fit: contain;
    flex: 0 0 96px;
}

.shop-login-langs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-login-langs a {
    color: var(--shop-login-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.shop-login-langs a:hover {
    color: var(--shop-login-mark);
}

.shop-login-langs a.is-active {
    color: var(--shop-login-mark);
    font-weight: 700;
}

.shop-login-langs span {
    width: 1px;
    height: 16px;
    background: var(--shop-login-line);
}

.shop-login-card {
    width: min(400px, 100%);
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(10, 77, 72, 0.12);
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
    animation: shop-login-card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-login-intro {
    text-align: start;
}

.shop-login-welcome {
    margin: 0;
    color: var(--shop-login-welcome);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.shop-login-title {
    margin: 8px 0 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--shop-login-ink);
}

html[lang="en"] .shop-login-title {
    letter-spacing: -0.04em;
}

.shop-login-lead {
    margin: 8px 0 0;
    color: var(--shop-login-muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
}

.shop-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.shop-login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-login-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--shop-login-ink);
    letter-spacing: -0.01em;
}

.shop-login-control {
    position: relative;
}

.shop-login-field input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--shop-login-line);
    border-radius: 10px;
    background: #fff;
    color: var(--shop-login-ink);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-login-field input::placeholder {
    color: var(--shop-login-muted);
}

.shop-login-field input:focus {
    border-color: var(--brand, #27afa5);
    box-shadow: 0 0 0 4px rgba(39, 175, 165, 0.12);
}

.shop-login-field.is-password input {
    padding-inline-end: 44px;
}

.shop-login-eye {
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.shop-login-eye:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.shop-login-eye img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

.shop-login-error {
    color: var(--brand-danger, #ff7a7a);
    font-size: 12px;
}

.shop-login-forgot {
    margin: 0;
    color: var(--shop-login-welcome);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s ease;
}

.shop-login-forgot:hover {
    color: var(--brand, #27afa5);
}

.shop-login-submit {
    width: 100%;
}

.shop-login-alert {
    background: #fff4f4;
    color: var(--brand-danger, #ff7a7a);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
}

.shop-login-credentials {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-login-credentials .item {
    border: 1px solid var(--shop-login-line);
    border-radius: 8px;
    background: #fcfcfc;
}

.shop-login-credentials .header {
    padding: 6px 10px;
    border-bottom: 1px solid var(--shop-login-line);
    font-size: 11px;
    font-weight: 600;
    text-align: start;
}

.shop-login-credentials .content {
    padding: 8px 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.shop-login-credentials .credentials {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
    text-align: start;
    color: var(--shop-login-muted);
}

.shop-login-credentials .copyBtn {
    cursor: pointer;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 4px;
    background: var(--brand, #27afa5);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.shop-login-credentials .copyBtn:hover {
    transform: scale(1.06);
    background: #1f8c84;
}

@media (max-width: 1100px) {
    .shop-login-hero h1 {
        font-size: 24px;
    }

    .shop-login-main {
        padding: 24px 28px;
    }

    .shop-login-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .shop-login {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .shop-login-panel {
        height: auto;
        padding: 16px 20px;
        gap: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .shop-login-message {
        flex: 0 1 auto;
    }

    .shop-login-hero h1 {
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 48vw;
    }

    .shop-login-eyebrow,
    .shop-login-hero p,
    .shop-login-showcase,
    .shop-login-cta,
    .shop-login-secure {
        display: none;
    }

    .shop-login-main {
        padding: 16px;
        gap: 10px;
    }

    .shop-login-card {
        width: 100%;
        max-width: 460px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .shop-login-hero {
        display: none;
    }
}

@keyframes shop-login-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes shop-login-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shop-login-card-in {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes shop-login-pop {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shop-login-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
}

@keyframes shop-login-glow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
    50% { transform: translate(24px, 18px) scale(1.12); opacity: 1; }
}

@keyframes shop-login-text-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.shop-login-products .shop-login-product:nth-child(1) {
    animation: shop-login-fade-up 0.55s ease 0.28s both;
}

.shop-login-products .shop-login-product:nth-child(2) {
    animation: shop-login-fade-up 0.55s ease 0.38s both;
}

@media (prefers-reduced-motion: reduce) {
    .shop-login-panel::before,
    .shop-login-mark,
    .shop-login-brand,
    .shop-login-eyebrow,
    .shop-login-hero,
    .shop-login-showcase,
    .shop-login-cta,
    .shop-login-secure,
    .shop-login-bar,
    .shop-login-powered,
    .shop-login-card,
    .shop-login-products .shop-login-product,
    .shop-login-secure img,
    .shop-login-hero h1 span {
        animation: none !important;
    }

    .shop-login-hero h1 span {
        color: #7fe7de;
        background: none;
    }

    .shop-login-product:hover,
    .shop-login-btn:hover {
        transform: none;
    }
}
