:root {
    --black: #070708;
    --surface: #111113;
    --surface-soft: #19191c;
    --white: #fff;
    --muted: rgba(255, 255, 255, 0.7);
    --accent: #d8c09a;
    --accent-strong: #ebd5b2;
    --line: rgba(255, 255, 255, 0.12);
    --line-accent: rgba(216, 192, 154, 0.28);
    --container: 1180px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    min-width: 320px;
    margin: 0;
    background: radial-gradient(circle at 80% 35%, rgba(216, 192, 154, 0.07), transparent 28%), var(--black);
    color: var(--white);
    font-family: "Tajawal", sans-serif;
    line-height: 1.7;
}

    body.modal-open {
        overflow: hidden;
    }

button,
input,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    margin-bottom: 0;
    line-height: 1.18;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 92px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid var(--line-accent);
    border-radius: 999px;
    background: rgba(216, 192, 154, 0.1);
    color: var(--accent-strong);
    font-weight: 800;
    transition: transform 0.22s ease, background 0.22s ease;
}

    .btn:hover,
    .btn:focus-visible {
        transform: translateY(-2px);
        background: rgba(216, 192, 154, 0.18);
    }

.btn-primary {
    background: var(--accent);
    color: #17130e;
}

.page-hero {
    position: relative;
    min-height: 68svh;
    overflow: hidden;
    isolation: isolate;
}

.page-hero-bg,
.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.page-hero-bg {
    background: url("../images/products/product-01.webp") center 42% / cover no-repeat;
    transform: scale(1.035);
}

.page-hero-overlay {
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 5, 6, 0.72) 0%, rgba(5, 5, 6, 0.58) 52%, var(--black) 100%), radial-gradient(circle at center, transparent 0%, rgba(5, 5, 6, 0.34) 72%);
}

.hero-shell {
    position: relative;
    z-index: 1;
    padding-top: 24px;
}

    .hero-shell.container {
        width: min(1220px, calc(100% - 40px));
    }

.topbar {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
}

.brand-wrap {
    display: inline-flex;
    align-items: center;
    justify-self: start;
}

.brand-logo {
    width: auto;
    height: 56px;
    object-fit: contain;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

    .nav a {
        transition: color 0.22s ease, opacity 0.22s ease;
    }

        .nav a:hover,
        .nav a:focus-visible {
            color: var(--white);
        }

.topbar-cta {
    justify-self: end;
    min-height: 46px;
    padding: 0 20px;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

    .topbar-cta:hover,
    .topbar-cta:focus-visible {
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    }

.page-hero-content {
    display: flex;
    min-height: 48svh;
    max-width: 820px;
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 0 48px;
    text-align: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border: 1px solid rgba(216, 192, 154, 0.3);
    border-radius: 999px;
    background: rgba(216, 192, 154, 0.1);
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 900;
}

.page-hero-content h1 {
    max-width: 760px;
    margin-top: 20px;
    font-size: clamp(2.25rem, 5vw, 4.8rem);
    font-weight: 900;
}

.page-hero-content p {
    max-width: 690px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.products-section {
    background: radial-gradient(circle at 78% 18%, rgba(216, 192, 154, 0.08), transparent 24%), linear-gradient(180deg, var(--black), rgba(15, 15, 17, 0.94));
}

    .products-section.section {
        padding-top: 0;
    }

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

    .section-head h2 {
        margin-top: 14px;
        font-size: clamp(2rem, 4vw, 3.7rem);
    }

    .section-head p {
        max-width: 520px;
        margin-bottom: 3px;
        color: var(--muted);
    }

.product-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
    gap: 14px;
    margin-bottom: 30px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.product-search,
.product-filter {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(216, 192, 154, 0.22);
    border-radius: 999px;
    outline: none;
    background: rgba(9, 9, 10, 0.72);
    color: var(--white);
    font-weight: 700;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-search {
    padding-inline: 20px;
}

.product-filter {
    padding-inline: 18px;
    cursor: pointer;
}

    .product-filter option {
        background: #161618;
    }

.product-search::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.product-search:focus,
.product-filter:focus {
    border-color: rgba(216, 192, 154, 0.65);
    box-shadow: 0 0 0 4px rgba(216, 192, 154, 0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        border-color: var(--line-accent);
        background: rgba(255, 255, 255, 0.075);
    }

.product-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--surface-soft);
    color: var(--white);
    cursor: pointer;
}

    .product-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
        opacity: 0;
        transition: opacity 0.26s ease;
    }

    .product-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.55s ease, filter 0.55s ease;
    }

    .product-media:hover img,
    .product-media:focus-visible img {
        transform: scale(1.06);
        filter: brightness(0.82) saturate(0.95);
    }

    .product-media:hover::after,
    .product-media:focus-visible::after {
        opacity: 1;
    }

.product-eye {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(18, 18, 20, 0.6);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    backdrop-filter: blur(14px);
    transition: opacity 0.26s ease, transform 0.26s ease;
}

    .product-eye svg {
        width: 27px;
        height: 27px;
    }

.product-media:hover .product-eye,
.product-media:focus-visible .product-eye {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-content {
    padding: 22px 22px 25px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.product-label {
    display: inline-flex;
    margin-bottom: 0;
    padding: 6px 11px;
    border: 1px solid var(--line-accent);
    border-radius: 999px;
    background: rgba(216, 192, 154, 0.1);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
}

.product-content h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.product-content p,
.product-modal-body p {
    margin: 11px 0 0;
    color: var(--muted);
}

.product-price,
.product-modal-price {
    margin-top: 0;
    color: var(--accent-strong);
    font-weight: 900;
    white-space: nowrap;
}

.products-status {
    padding: 22px;
    border: 1px solid var(--line-accent);
    border-radius: 20px;
    background: rgba(216, 192, 154, 0.08);
    color: var(--muted);
    text-align: center;
    font-weight: 700;
}

.products-error {
    border-color: rgba(255, 110, 110, 0.3);
    color: #ffd4d4;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(2, 2, 3, 0.82);
    backdrop-filter: blur(10px);
    animation: modal-fade 0.24s ease both;
}

.product-modal-dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: 90svh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background: rgba(18, 18, 20, 0.98);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
    animation: modal-rise 0.24s ease both;
}

    .product-modal-dialog::-webkit-scrollbar {
        display: none;
    }

    .product-modal-dialog > img {
        width: 100%;
        max-height: 64svh;
        object-fit: contain;
        background: #09090a;
    }

.product-modal-body {
    padding: 22px 26px 26px;
}

.product-modal-meta {
    margin-bottom: 12px;
}

.product-modal-body h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.product-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.78);
    color: var(--white);
    font-size: 1.7rem;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.footer {
    padding: 34px 0 42px;
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: #25d366;
    color: white;
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.34);
    transition: transform 0.22s ease;
}

    .whatsapp-float:hover {
        transform: translateY(-3px);
    }

    .whatsapp-float svg {
        width: 31px;
        height: 31px;
    }

.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;
}

.not-found {
    min-height: 75svh;
    padding-block: 100px;
    text-align: center;
}

    .not-found p {
        color: var(--muted);
    }

.app-loading {
    display: grid;
    min-height: 100svh;
    place-items: center;
    align-content: center;
    gap: 22px;
}

    .app-loading img {
        width: 110px;
    }

    .app-loading span {
        width: 46px;
        height: 46px;
        border: 3px solid rgba(216, 192, 154, 0.2);
        border-top-color: var(--accent);
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

#blazor-error-ui {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 3000;
    display: none;
    padding: 13px 18px;
    border-radius: 12px;
    background: #fff1d6;
    color: #2c2113;
    box-shadow: var(--shadow);
}

    #blazor-error-ui .reload {
        margin-inline: 10px;
        text-decoration: underline;
    }

    #blazor-error-ui .dismiss {
        border: 0;
        background: transparent;
        cursor: pointer;
    }

.admin-page {
    min-height: 100svh;
    padding: 54px 0 80px;
    background: radial-gradient(circle at 85% 12%, rgba(216, 192, 154, 0.1), transparent 30%), var(--black);
}

.admin-shell {
    max-width: 1320px;
}

.admin-header,
.admin-panel-title,
.admin-key-row,
.admin-toolbar-actions,
.admin-product-meta,
.admin-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-header {
    margin-bottom: 28px;
}

    .admin-header h1 {
        margin-top: 12px;
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    .admin-header p,
    .admin-empty,
    .admin-product-info p {
        color: var(--muted);
    }

.admin-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
}

.admin-login {
    max-width: 620px;
    margin-inline: auto;
}

.admin-login-fields label,
.admin-product-form label {
    display: grid;
    gap: 7px;
    color: var(--accent-strong);
    font-weight: 700;
}

.admin-key-row {
    margin-top: 8px;
}

.admin-login-fields {
    display: grid;
    gap: 15px;
}

.admin-login-button {
    width: 100%;
    margin-top: 18px;
    border: 0;
    cursor: pointer;
}

.admin-login-fields input,
.admin-product-form input:not([type="checkbox"]),
.admin-product-form select,
.admin-product-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--line-accent);
    border-radius: 13px;
    outline: none;
    background: #0d0d0f;
    color: var(--white);
}

    .admin-login-fields input:focus,
    .admin-product-form input:focus,
    .admin-product-form select:focus,
    .admin-product-form textarea:focus {
        border-color: var(--accent);
    }

.admin-message {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid;
    border-radius: 14px;
}

.admin-message-error,
.validation-message,
.validation-errors {
    border-color: rgba(255, 110, 110, 0.3);
    color: #ffd4d4;
}

.admin-message-success {
    border-color: rgba(92, 211, 138, 0.32);
    color: #b8f4cf;
}

.admin-panel-title {
    margin-bottom: 20px;
}

    .admin-panel-title h2 {
        font-size: 1.4rem;
    }

.admin-link-button,
.admin-actions button {
    border: 0;
    background: transparent;
    color: var(--accent-strong);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.admin-toolbar-actions {
    justify-content: flex-start;
}

.admin-add-button {
    min-height: 44px;
    border: 0;
    cursor: pointer;
}

.admin-categories-button {
    min-height: 44px;
    cursor: pointer;
}

.admin-add-button span {
    margin-inline-end: 7px;
    font-size: 1.35rem;
    line-height: 1;
}

.admin-product-form {
    display: grid;
    gap: 16px;
    padding: 0 26px 26px;
}

    .admin-product-form textarea {
        resize: vertical;
    }

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-form-options {
    align-items: end;
}

.admin-check {
    display: flex !important;
    align-items: center;
    grid-template-columns: auto 1fr;
}

    .admin-check input {
        width: 19px;
        height: 19px;
        accent-color: var(--accent);
    }

.admin-image-preview {
    width: 100%;
    max-height: 320px;
    border: 1px solid var(--line);
    border-radius: 18px;
    object-fit: contain;
    background: #09090a;
}

.admin-submit,
.admin-cancel-button {
    border: 0;
    cursor: pointer;
}

.admin-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.admin-product {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

    .admin-product:hover {
        transform: translateY(-4px);
        border-color: var(--line-accent);
    }

.admin-product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #09090a;
}

    .admin-product-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .admin-product-media .admin-visibility {
        position: absolute;
        top: 14px;
        right: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(12px);
    }

.admin-product-info {
    display: flex;
    min-height: 230px;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.admin-product-meta {
    margin-bottom: 12px;
}

.admin-product-info h3 {
    font-size: 1.2rem;
}

.admin-product-info p {
    display: -webkit-box;
    margin: 10px 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.admin-visibility {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

    .admin-visibility.is-visible {
        background: rgba(92, 211, 138, 0.12);
        color: #b8f4cf;
    }

.admin-actions {
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

    .admin-actions .danger {
        color: #ffaaaa;
    }

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(2, 2, 3, 0.84);
    backdrop-filter: blur(10px);
    animation: modal-fade 0.24s ease both;
}

.admin-modal-dialog {
    width: min(780px, 100%);
    max-height: 92svh;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: rgba(18, 18, 20, 0.99);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
    animation: modal-rise 0.24s ease both;
}

.admin-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 26px;
}

    .admin-modal-header h2 {
        margin-top: 10px;
        font-size: 1.65rem;
    }

.admin-modal-close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 1.65rem;
    cursor: pointer;
}

.admin-modal-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 4px;
}

.admin-category-dialog {
    width: min(720px, 100%);
}

.admin-category-content {
    display: grid;
    gap: 22px;
    padding: 0 26px 26px;
}

    .admin-category-content .admin-message {
        margin-bottom: 0;
    }

.admin-category-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.2);
}

    .admin-category-form label {
        display: grid;
        gap: 7px;
        color: var(--accent-strong);
        font-weight: 700;
    }

    .admin-category-form input {
        width: 100%;
        min-height: 48px;
        padding: 10px 14px;
        border: 1px solid var(--line-accent);
        border-radius: 13px;
        outline: none;
        background: #0d0d0f;
        color: var(--white);
    }

.admin-category-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .admin-category-form-actions .btn {
        border: 0;
        cursor: pointer;
    }

.admin-category-list {
    display: grid;
    gap: 10px;
}

.admin-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 17px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

    .admin-category-item > div:first-child {
        display: grid;
        gap: 2px;
    }

    .admin-category-item span {
        color: var(--muted);
        font-size: 0.88rem;
    }

    .admin-category-item .admin-actions {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

.admin-cancel-button {
    min-width: 110px;
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes modal-fade {
    from {
        opacity: 0;
    }
}

@keyframes modal-rise {
    from {
        transform: translateY(18px) scale(0.97);
    }
}

@media (max-width: 900px) {
    .topbar {
        grid-template-columns: 1fr auto;
    }

    .nav {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .section {
        padding: 68px 0;
    }

    .page-hero {
        min-height: 62svh;
    }

    .page-hero-content {
        min-height: 44svh;
        padding-top: 52px;
    }

    .section-head {
        display: block;
    }

        .section-head p {
            margin-top: 18px;
        }

    .product-toolbar {
        grid-template-columns: 1fr;
        padding: 12px;
        border-radius: 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-card,
    .product-modal-dialog {
        border-radius: 24px;
    }

    .product-eye {
        width: 52px;
        height: 52px;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .product-modal {
        padding: 12px;
    }

    .product-modal-dialog > img {
        max-height: 58svh;
    }

    .product-modal-body {
        padding: 18px 18px 21px;
    }

    .admin-page {
        padding-top: 28px;
    }

    .admin-header,
    .admin-key-row,
    .admin-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-panel {
        padding: 18px;
        border-radius: 20px;
    }

    .admin-toolbar-actions {
        justify-content: space-between;
    }

    .admin-products,
    .admin-form-grid,
    .admin-modal-actions,
    .admin-category-form {
        grid-template-columns: 1fr;
    }

    .admin-product-info {
        min-height: 210px;
    }

    .admin-modal {
        padding: 10px;
    }

    .admin-modal-dialog {
        max-height: 94svh;
        border-radius: 22px;
    }

    .admin-modal-header,
    .admin-product-form,
    .admin-category-content {
        padding-inline: 18px;
    }

    .admin-category-item {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-submit,
    .admin-cancel-button {
        width: 100%;
    }
}

h1[tabindex="-1"]:focus {
    outline: none;
}

@media (max-width: 640px) {
    .container,
    .hero-shell.container {
        width: min(var(--container), calc(100% - 22px));
    }

    .hero-shell {
        padding-top: 18px;
    }

    .topbar {
        padding: 14px;
        border-radius: 20px;
    }

    .brand-logo {
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *:not(.pop-button),
    *:not(.pop-button)::before,
    *:not(.pop-button)::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Animated CTA: موقع الأفراد */
.pop-button {
    position: relative;
    z-index: 1;
    animation-name: attentionPulse;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    transform-origin: center;
    will-change: transform, box-shadow;
}

@keyframes attentionPulse {
    0%, 62%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(216, 192, 154, 0);
    }

    70% {
        transform: scale(1.07);
        box-shadow: 0 8px 22px rgba(216, 192, 154, 0.28);
    }

    78% {
        transform: scale(1);
    }

    86% {
        transform: scale(1.045);
    }

    94% {
        transform: scale(1);
    }
}

.pop-button:hover,
.pop-button:focus-visible {
    animation-play-state: paused;
    transform: scale(1.04);
    box-shadow: 0 8px 22px rgba(216, 192, 154, 0.28);
}
