/* Design tokens are defined in assets/css/design-system.css. */

html { direction: rtl; scroll-behavior: smooth; }
body { color: var(--choobsa-text); }

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
    clip: auto !important;
    width: auto;
    height: auto;
    margin: 10px;
    padding: 10px 14px;
    background: #fff;
    z-index: 100000;
}

.choobsa-container {
    width: min(100% - (2 * var(--choobsa-gutter)), var(--choobsa-content-width));
    margin-inline: auto;
}

.site-main:not(.site-main--elementor) { padding-block: clamp(28px, 5vw, 64px); }
.site-main--elementor { width: 100%; }
.site-main--elementor.choobsa-container { width: 100%; max-width: none; padding: 0; }

.choobsa-fallback-header {
    position: relative;
    z-index: 50;
    background: var(--choobsa-surface);
    border-bottom: 1px solid var(--choobsa-border);
}
.choobsa-fallback-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.choobsa-branding { margin-inline-end: auto; }
.custom-logo { max-height: 56px; width: auto; }
.choobsa-site-title { font-weight: 800; font-size: 1.25rem; }
.choobsa-primary-nav ul { list-style: none; display: flex; align-items: center; gap: 22px; padding: 0; margin: 0; }
.choobsa-primary-nav a { color: inherit; }
.choobsa-nav-toggle { display: none; border-color: var(--choobsa-border); color: inherit; }
.choobsa-header-cart { display: inline-flex; align-items: center; gap: 5px; }
.choobsa-cart-count { min-width: 22px; min-height: 22px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--choobsa-text); color: #fff; font-size: .75rem; }

.choobsa-fallback-footer { margin-top: 48px; padding-block: 36px; background: var(--choobsa-soft); border-top: 1px solid var(--choobsa-border); }
.choobsa-fallback-footer__inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.choobsa-fallback-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 0; margin: 0; }

.choobsa-entry { margin-bottom: 36px; }
.choobsa-entry + .choobsa-entry { padding-top: 36px; border-top: 1px solid var(--choobsa-border); }
.entry-title { overflow-wrap: anywhere; }
.entry-meta { color: var(--choobsa-muted); font-size: .9rem; margin-bottom: 18px; }
.entry-thumbnail { display: block; margin-block: 18px; }
.entry-thumbnail img { width: 100%; border-radius: var(--choobsa-radius); }
.entry-content > * { max-width: 100%; }
.entry-content > :where(p, ul, ol, blockquote) { line-height: 1.9; }

@media (max-width: 860px) {
    .choobsa-nav-toggle { display: inline-flex; order: 2; }
    .choobsa-primary-nav { order: 4; width: 100%; }
    .choobsa-primary-nav ul { display: none; flex-direction: column; align-items: stretch; padding-block: 12px 20px; }
    .choobsa-primary-nav ul.is-open { display: flex; }
    .choobsa-fallback-header__inner { flex-wrap: wrap; }
    .choobsa-header-cart { order: 3; }
}
