@font-face {
    font-family: "Shabnam";
    src: url("../fonts/shabnam.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Shabnam";
    src: url("../fonts/shabnam-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.alogh-section {
    --alogh-radius: 12px;
    --alogh-border: #e6e6e6;
    --alogh-surface: #fff;
    --alogh-text: #1f2328;
    --alogh-muted: #6b7280;
    --alogh-accent: #d32f2f;
    --alogh-font: "Shabnam", system-ui, -apple-system, "Segoe UI", sans-serif;

    margin-block: 2.5rem;
    font-family: var(--alogh-font);
    color: var(--alogh-text);
}

.alogh-section h1,
.alogh-section h2,
.alogh-section h3,
.alogh-section h4,
.alogh-section p,
.alogh-section span,
.alogh-section a,
.alogh-section li,
.alogh-section label,
.alogh-section legend,
.alogh-section input,
.alogh-section select,
.alogh-section textarea,
.alogh-section button {
    font-family: var(--alogh-font);
}

.alogh-form {
    display: grid;
    gap: 1rem;
    max-width: 32rem;
    padding: 1.5rem;
    background: var(--alogh-surface);
    border: 1px solid var(--alogh-border);
    border-radius: var(--alogh-radius);
}

.alogh-field {
    display: grid;
    gap: 0.4rem;
}

.alogh-section fieldset.alogh-field {
    display: block;
    min-inline-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.alogh-section .alogh-field__label,
.alogh-section legend.alogh-field__label {
    display: block;
    float: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: var(--alogh-font);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: normal;
    text-transform: none;
}

.alogh-field__required {
    color: var(--alogh-accent);
}

.alogh-section .alogh-field__control {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.65rem 0.8rem;
    font-family: var(--alogh-font);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    color: inherit;
    background: #fff;
    border: 1px solid var(--alogh-border);
    border-radius: 8px;
    box-shadow: none;
}

.alogh-field__control:focus-visible {
    outline: 2px solid var(--alogh-accent);
    outline-offset: 1px;
}

.alogh-section .alogh-form__submit {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-family: var(--alogh-font);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: normal;
    text-transform: none;
    color: #fff;
    background: var(--alogh-accent);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.alogh-form__submit[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.alogh-form__hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.alogh-form__message {
    margin: 0;
    font-size: 0.9rem;
}

.alogh-form__message.is-error {
    color: var(--alogh-accent);
}

.alogh-form__message.is-success {
    color: #1b7f4d;
}

.alogh-notice,
.alogh-notice p,
.alogh-notice strong {
    font-family: var(--alogh-font, "Shabnam", system-ui, sans-serif);
}

.alogh-notice {
    --alogh-font: "Shabnam", system-ui, -apple-system, "Segoe UI", sans-serif;
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
}

.alogh-notice--error {
    color: #7a1c1c;
    background: #fdeaea;
    border: 1px solid #f5c2c2;
}

.alogh-notice__detail {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

.alogh-request {
    --alogh-req-card: #1b1f27;
    --alogh-req-field: #232833;
    --alogh-req-line: #2e3542;
    --alogh-req-text: #f4f6fa;
    --alogh-req-muted: #9aa3b2;
    --alogh-req-pink: #d81b60;
    --alogh-req-pink-hover: #c0164f;
}

.alogh-request__inner {
    max-width: 34rem;
    margin-inline: auto;
}

.alogh-form--card {
    max-width: none;
    gap: 1.1rem;
    padding: 1.75rem;
    color: var(--alogh-req-text);
    background: var(--alogh-req-card);
    border: 1px solid var(--alogh-req-line);
    border-radius: 16px;
}

.alogh-form--card .alogh-form__header {
    margin-bottom: 0.25rem;
}

.alogh-form--card .alogh-form__title {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.alogh-form--card .alogh-form__note {
    margin: 0;
    color: var(--alogh-req-muted);
    font-size: 0.82rem;
}


.alogh-form--card .alogh-field__control {
    padding: 0.8rem 0.9rem;
    color: var(--alogh-req-text);
    background: var(--alogh-req-field);
    border: 1px solid var(--alogh-req-line);
    border-radius: 10px;
}

.alogh-form--card .alogh-field__control::placeholder {
    color: var(--alogh-req-muted);
    opacity: 1;
}

.alogh-form--card .alogh-field__control:focus-visible {
    outline: 2px solid var(--alogh-req-pink);
    outline-offset: 1px;
}

.alogh-field--choices {
    margin: 0;
    padding: 0;
    border: 0;
}

.alogh-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.5rem;
}

@media (max-width: 420px) {
    .alogh-choices {
        grid-template-columns: 1fr;
    }
}

.alogh-choice {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    background: var(--alogh-req-field);
    border: 1px solid var(--alogh-req-line);
    border-radius: 10px;
    cursor: pointer;
}

.alogh-section .alogh-choice__label {
    font-family: var(--alogh-font);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.7;
    color: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.alogh-choice__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.alogh-choice__box {
    display: inline-flex;
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    background: transparent;
    border: 1.5px solid var(--alogh-req-muted);
    border-radius: 50%;
}

.alogh-choice__input:checked + .alogh-choice__box {
    background: var(--alogh-req-pink);
    border-color: var(--alogh-req-pink);
    box-shadow: inset 0 0 0 3px var(--alogh-req-field);
}

.alogh-choice__input:focus-visible + .alogh-choice__box {
    outline: 2px solid var(--alogh-req-pink);
    outline-offset: 2px;
}

.alogh-choice:has(.alogh-choice__input:checked) {
    border-color: var(--alogh-req-pink);
}

.alogh-form--card .alogh-form__submit {
    margin-top: 0.4rem;
    padding: 0.9rem 1.25rem;
    background: var(--alogh-req-pink);
    border-radius: 10px;
}

.alogh-form--card .alogh-form__submit:hover:not([disabled]) {
    background: var(--alogh-req-pink-hover);
}

.alogh-form__terms {
    margin: 0;
    color: var(--alogh-req-muted);
    font-size: 0.75rem;
    text-align: center;
}

.alogh-form--card .alogh-form__message:empty {
    display: none;
}

.alogh-form--card .alogh-form__message.is-error {
    color: #ff8a9b;
}

.alogh-form--card .alogh-form__message.is-success {
    color: #6ee7a8;
}

body.alogh-modal-open {
    overflow: hidden;
}

.alogh-success-modal[hidden] {
    display: none;
}

.alogh-success-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 180ms ease;
}

.alogh-success-modal.is-visible {
    opacity: 1;
}

.alogh-success-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, 0.76);
    backdrop-filter: blur(4px);
}

.alogh-success-modal__dialog {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 25rem);
    max-height: calc(100vh - 2.5rem);
    max-height: calc(100dvh - 2.5rem);
    overflow-y: auto;
    padding: 2rem 1.5rem 1.5rem;
    color: var(--alogh-req-text);
    text-align: center;
    background: var(--alogh-req-card);
    border: 1px solid var(--alogh-req-line);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    transform: translateY(12px) scale(0.97);
    transition: transform 180ms ease;
}

.alogh-success-modal.is-visible .alogh-success-modal__dialog {
    transform: translateY(0) scale(1);
}

.alogh-success-modal__dialog:focus {
    outline: none;
}

.alogh-section .alogh-success-modal__close {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--alogh-req-muted);
    font-size: 1.55rem;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    place-items: center;
}

.alogh-section .alogh-success-modal__close:hover {
    color: var(--alogh-req-text);
    background: var(--alogh-req-field);
}

.alogh-success-modal__icon {
    display: grid;
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 1.15rem;
    color: #fff;
    background: var(--alogh-req-pink);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(216, 27, 96, 0.13);
    place-items: center;
}

.alogh-success-modal__icon svg {
    width: 2.15rem;
    height: 2.15rem;
}

.alogh-section .alogh-success-modal__title {
    margin: 0 0 0.65rem;
    color: var(--alogh-req-text);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.8;
}

.alogh-section .alogh-success-modal__description {
    margin: 0 0 1.4rem;
    color: var(--alogh-req-muted);
    font-size: 0.88rem;
    line-height: 1.9;
}

.alogh-section .alogh-success-modal__confirm {
    width: 100%;
    padding: 0.8rem 1.25rem;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.6;
    background: var(--alogh-req-pink);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.alogh-section .alogh-success-modal__confirm:hover {
    background: var(--alogh-req-pink-hover);
}

.alogh-section .alogh-success-modal__close:focus-visible,
.alogh-section .alogh-success-modal__confirm:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .alogh-success-modal,
    .alogh-success-modal__dialog {
        transition: none;
    }
}

.alogh-otp-modal__phone {
    font-weight: 700;
    unicode-bidi: isolate;
}

.alogh-otp-modal__input {
    margin: 0 0 0.9rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    text-align: center;
}

.alogh-otp-modal .alogh-form__message {
    margin-bottom: 0.9rem;
}

.alogh-otp-modal .alogh-form__message:empty {
    display: none;
}

.alogh-otp-modal__resend {
    width: 100%;
    padding: 0.6rem 1.25rem;
    margin-top: 0.6rem;
    color: var(--alogh-req-muted);
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.alogh-otp-modal__resend:not([disabled]):hover {
    color: var(--alogh-req-text);
}

.alogh-otp-modal__resend[disabled] {
    cursor: default;
    opacity: 0.6;
}

.alogh-articles {
    background: var(--alogh-art-bg, transparent);
    --alogh-art-pink: #d81b60;
    --alogh-art-tint: #fdeaf1;
    --alogh-art-line: #f3c9d9;
    --alogh-art-text: #1f2328;
}

.alogh-articles__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.alogh-section .alogh-articles__badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
    background: #2b2f38;
    border-radius: 999px;
}

.alogh-section .alogh-articles__title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--alogh-art-text);
}

.alogh-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alogh-slider__track {
    display: flex;
    flex: 1 1 auto;
    gap: 1rem;
    margin: 0;
    padding: 0.25rem;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.alogh-slider__track::-webkit-scrollbar {
    display: none;
}

.alogh-slider__slide {
    flex: 0 0 calc((100% - (var(--alogh-per-view, 3) - 1) * 1rem) / var(--alogh-per-view, 3));
    min-width: 0;
    scroll-snap-align: start;
}

@media (max-width: 900px) {
    .alogh-slider__slide {
        flex-basis: calc((100% - 1rem) / 2);
    }
}

@media (max-width: 560px) {
    .alogh-slider__slide {
        flex-basis: 82%;
    }
}

.alogh-slider__nav {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--alogh-art-pink);
    background: #fff;
    border: 1px solid var(--alogh-art-line);
    border-radius: 50%;
    cursor: pointer;
}

.alogh-slider__nav:hover:not([disabled]) {
    color: #fff;
    background: var(--alogh-art-pink);
    border-color: var(--alogh-art-pink);
}

.alogh-slider__nav[disabled] {
    opacity: 0.35;
    cursor: default;
}

.alogh-article {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--alogh-art-line);
    border-radius: 14px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.alogh-article:hover {
    box-shadow: 0 8px 20px rgb(216 27 96 / 12%);
    transform: translateY(-2px);
}

.alogh-article__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--alogh-art-tint);
}

.alogh-article__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alogh-article__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--alogh-art-tint);
}

.alogh-section .alogh-article__title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.9;
    color: var(--alogh-art-text);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.alogh-section .alogh-article__more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--alogh-art-pink);
}

@media (prefers-reduced-motion: reduce) {
    .alogh-slider__track {
        scroll-behavior: auto;
    }

    .alogh-article {
        transition: none;
    }

    .alogh-article:hover {
        transform: none;
    }
}

.alogh-deals {
    --alogh-per-view: 4;
    --alogh-deal-pink: #d81b60;
    --alogh-deal-tint: #fdeaf1;
    --alogh-deal-line: #f3c9d9;
    --alogh-deal-text: #1f2328;
    --alogh-deal-muted: #6b7280;
}

.alogh-deals .alogh-slider {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.alogh-deals .alogh-slider__track {
    order: 1;
    flex: 1 0 100%;
}

.alogh-deals .alogh-slider__nav {
    order: 2;
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
    color: var(--alogh-deal-pink);
    border-color: var(--alogh-deal-line);
}

.alogh-deals .alogh-slider__nav:hover:not([disabled]) {
    color: #fff;
    background: var(--alogh-deal-pink);
    border-color: var(--alogh-deal-pink);
}

.alogh-deals .alogh-product__media {
    aspect-ratio: 4 / 3;
}

.alogh-deals__inner {
    padding: 0;
}

.alogh-deals__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.alogh-section .alogh-deals__badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
    background: var(--alogh-deal-pink);
    border-radius: 999px;
}

.alogh-section .alogh-deals__title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--alogh-deal-text);
}

.alogh-section .alogh-deals__subtitle {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--alogh-deal-muted);
}

.alogh-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--alogh-deal-line);
    border-radius: 14px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.alogh-product:hover {
    box-shadow: 0 8px 20px rgb(216 27 96 / 12%);
    transform: translateY(-2px);
}

.alogh-product.is-unavailable {
    opacity: 0.65;
}

.alogh-product__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 1rem;
    overflow: hidden;
    background: #fff;
}

.alogh-product__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.alogh-product__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    background: var(--alogh-deal-tint);
}

.alogh-section .alogh-product__title {
    display: -webkit-box;
    overflow: hidden;
    font-size: var(--alogh-title-size, 0.85rem);
    font-weight: var(--alogh-title-weight, 700);
    line-height: 1.9;
    color: var(--alogh-deal-text);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.alogh-product__price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: auto;
}

.alogh-section .alogh-product__amount {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.7;
    color: var(--alogh-deal-pink);
}

.alogh-section .alogh-product__amount--empty {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--alogh-deal-muted);
}

.alogh-section .alogh-product__meta {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.9;
    color: var(--alogh-deal-muted);
}

.alogh-section .alogh-product__cta {
    display: block;
    padding: 0.6rem 0.75rem;
    font-size: var(--alogh-btn-size, 0.75rem);
    font-weight: var(--alogh-btn-weight, 600);
    line-height: 1.8;
    color: var(--alogh-btn-color, var(--alogh-deal-text));
    text-align: center;
    background: var(--alogh-btn-bg, #fff);
    border: 1px solid var(--alogh-deal-line);
    border-radius: 10px;
}

.alogh-product:hover .alogh-product__cta {
    color: var(--alogh-btn-color, var(--alogh-deal-pink));
    border-color: var(--alogh-deal-pink);
}

.alogh-product {
    position: relative;
}

.alogh-section .alogh-product__badge {
    position: absolute;
    top: 0.6rem;
    inset-inline-end: 0.6rem;
    z-index: 1;
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.7;
    color: #fff;
    background: var(--alogh-deal-pink);
    border-radius: 999px;
}

.alogh-section .alogh-product__was {
    align-self: flex-start;
    font-size: 0.72rem;
    color: var(--alogh-deal-muted);
    text-decoration: line-through;
}
