/* Explain: Base reset, typography, focus, and desktop-only text enhancements. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% -10%, rgba(201, 162, 39, 0.16), transparent 28rem),
        radial-gradient(circle at 90% 0%, rgba(18, 48, 122, 0.1), transparent 30rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.3;
    color: var(--primary-color);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

summary {
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

input,
select,
textarea,
button {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold-color);
    outline-offset: 3px;
}

::selection {
    background: var(--gold-soft-color);
    color: var(--royal-dark);
}

.page-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    text-align: center;
}

.line-through {
    text-decoration: line-through;
}

/* تحسين قراءة النصوص على شاشات الحاسوب فقط: تكبير مناسب للخطوط ووزن أوضح، مع إبقاء شكل الجوال كما هو دون أي تغيير. */
@media (min-width: 1024px) {
    main,
    .site-footer {
        font-weight: 500;
        line-height: 1.9;
    }

    main h1 {
        font-size: 2.6rem;
    }

    main h2 {
        font-size: 2rem;
    }

    main .page-title {
        font-size: 2.5rem;
    }

    main .section-title-bar h2 {
        font-size: 1.75rem;
    }

    main .showcase-heading {
        font-size: 1.5rem;
    }

    main .showcase-title {
        font-size: 1.5rem;
    }

    main .showcase-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    main .showcase-kicker {
        font-size: 0.78rem;
    }

    main p.text-sm,
    main li.text-sm,
    main figcaption.text-sm,
    .site-footer p.text-sm,
    .site-footer li.text-sm {
        font-size: 1rem;
        line-height: 1.85;
    }

    main p.text-base,
    .site-footer p.text-base {
        font-size: 1.0625rem;
    }

    main p.text-xs,
    .site-footer p.text-xs {
        font-size: 0.875rem;
    }

    main p.text-\[0\.72rem\] {
        font-size: 0.86rem;
    }

    main .product-card h3 {
        font-size: 1rem;
    }

    main .product-card p {
        font-size: 0.82rem;
    }

    main .product-card [data-mc-price] {
        font-size: 1rem;
    }
}

/* تكبير إضافي لنصوص الواجهة وعناصرها على شاشات الحاسوب: خطوط أوضح، أوزان أقوى، وتباين أعلى — دون أي تأثير على الجوال أو التابلت. */
@media (min-width: 1024px) {
    :root {
        --text-muted: #4a463d;
        --border-color: #d8c9a8;
    }

    main,
    .site-footer {
        font-size: 1.0625rem;
        font-weight: 600;
        line-height: 1.9;
    }

    main h1 {
        font-size: 3rem;
    }

    main h2 {
        font-size: 2.3rem;
    }

    main .page-title {
        font-size: 2.9rem;
    }

    main .section-title-bar h2 {
        font-size: 2rem;
    }

    main .showcase-heading {
        font-size: 1.7rem;
    }

    main .showcase-title {
        font-size: 1.7rem;
    }

    main .showcase-text {
        font-size: 1.08rem;
        line-height: 1.75;
    }

    main .showcase-kicker {
        font-size: 0.82rem;
    }

    main p.text-sm,
    main li.text-sm,
    main figcaption.text-sm,
    .site-footer p.text-sm,
    .site-footer li.text-sm {
        font-size: 1.06rem;
        line-height: 1.85;
    }

    main p.text-base,
    .site-footer p.text-base {
        font-size: 1.14rem;
    }

    main p.text-xs,
    .site-footer p.text-xs {
        font-size: 0.95rem;
    }

    main p.text-\[0\.72rem\] {
        font-size: 0.92rem;
    }

    main p.text-\[0\.68rem\] {
        font-size: 0.82rem;
    }

    main .product-card h3 {
        font-size: 1.05rem;
    }

    main .product-card p {
        font-size: 0.9rem;
    }

    main .product-card [data-mc-price] {
        font-size: 1.1rem;
    }

    main .product-card .line-through {
        font-size: 0.82rem;
    }

    main .badge-gold {
        font-size: 0.78rem;
    }

    main .category-card {
        min-height: 5.6rem;
    }

    main .category-card .cat-media {
        height: 4.1rem;
        width: 4.1rem;
    }

    main .category-card .cat-name {
        font-size: 1.35rem;
    }

    .marquee-group .product-card {
        width: 11rem;
    }

    .marquee-group .product-card h3 {
        font-size: 0.92rem;
    }

    .marquee-group .product-card p {
        font-size: 0.8rem;
    }

    .marquee-group .product-card [data-mc-price] {
        font-size: 0.98rem;
    }

    .marquee-group .product-card .line-through {
        font-size: 0.76rem;
    }
}