/* Parseh System — content, authentication and customer account */

/* About */
.about-hero-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 70px; min-height: 470px; }
.about-hero h1 { max-width: 760px; margin: 7px 0 18px; font-size: clamp(2.5rem,5vw,4.55rem); letter-spacing: -.06em; line-height: 1.2; }
.about-hero p { max-width: 720px; color: var(--muted); font-size: 1rem; }
.about-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.about-visual::before { content: ""; position: absolute; width: 350px; height: 350px; border-radius: 50%; background: var(--primary-soft); box-shadow: 0 0 0 55px color-mix(in srgb,var(--primary) 4%,transparent); }
.about-visual-main { position: relative; z-index: 2; width: 270px; height: 270px; display: grid; place-items: center; align-content: center; gap: 5px; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#0c2245,#1769e0); box-shadow: var(--shadow-lg); }
.about-visual-main i { margin-bottom: 14px; font-size: 4.4rem; color: #a8caff; }
.about-visual-main strong { font-size: 1.3rem; }
.about-visual-main small { color: #c7d6eb; font-size: .68rem; }
.about-mini { position: absolute; z-index: 3; min-width: 145px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 10px; padding: 13px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-raised); box-shadow: var(--shadow-md); }
.about-mini i { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.about-mini strong { font-size: .82rem; }
.about-mini small { color: var(--muted); font-size: .58rem; }
.about-mini-1 { inset-block-start: 48px; inset-inline-start: 0; }
.about-mini-2 { inset-block-end: 48px; inset-inline-end: 0; }
.values-section { background: var(--surface); }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.value-grid article { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); }
.value-grid article > span { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 16px; color: var(--primary); background: var(--primary-soft); font-size: 1.3rem; }
.value-grid h3 { margin-bottom: 7px; font-size: 1.05rem; }
.value-grid p { margin: 0; color: var(--muted); font-size: .78rem; }
.process-grid { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 70px; }
.process-grid > div:first-child { position: sticky; inset-block-start: 140px; }
.process-grid h2 { font-size: clamp(1.8rem,3vw,2.7rem); }
.process-grid > div:first-child p { color: var(--muted); }
.process-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.process-list li { display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-raised); }
.process-list li > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: var(--primary-strong); background: var(--primary-soft); font-weight: 900; }
.process-list h3 { margin-bottom: 2px; font-size: .9rem; }
.process-list p { margin: 0; color: var(--muted); font-size: .72rem; }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: clamp(25px,4vw,42px); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg,#0a1c37,#174f9f); }
.cta-card > span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: #9dc5ff; background: rgba(255,255,255,.09); font-size: 1.5rem; }
.cta-card h2 { margin-bottom: 2px; }
.cta-card p { margin: 0; color: #b8c8df; }

/* Contact */
.contact-hero-inner { padding-block: 28px 42px; text-align: center; }
.contact-hero h1 { margin: 6px 0; font-size: clamp(2.2rem,4vw,3.5rem); }
.contact-hero-inner > p { color: var(--muted); }
.contact-channels { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-top: 30px; text-align: right; }
.contact-channels > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 18px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-raised); box-shadow: var(--shadow-xs); transition: transform .22s var(--ease),box-shadow .22s var(--ease),border-color .2s ease; }
.contact-channels > a:hover { border-color: color-mix(in srgb,var(--primary) 35%,var(--border)); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.contact-channels > a > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: var(--primary-soft); font-size: 1.2rem; }
.contact-channels div { display: grid; }
.contact-channels small { color: var(--muted); font-size: .6rem; }
.contact-channels strong { font-size: .82rem; }
.contact-channels em { color: var(--muted); font-size: .58rem; font-style: normal; }
.contact-channels > a > i { color: var(--muted-light); }
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: 20px; }
.contact-form { padding: clamp(22px,3vw,32px); }
.contact-form .btn { margin-top: 20px; }
.contact-side { display: grid; gap: 15px; }
.map-card,
.hours-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); overflow: hidden; }
.map-pattern { height: 190px; display: grid; place-items: center; color: var(--primary); background-color: var(--primary-faint); background-image: linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px); background-size: 26px 26px; }
.map-pattern i { width: 62px; height: 62px; display: grid; place-items: center; border: 8px solid var(--surface); border-radius: 22px 22px 22px 4px; color: #fff; background: var(--primary); box-shadow: var(--shadow-md); font-size: 1.5rem; transform: rotate(-45deg); }
.map-pattern i::before { transform: rotate(45deg); }
.map-card > div:last-child { padding: 20px; }
.map-card span { color: var(--primary); font-size: .65rem; font-weight: 800; }
.map-card h2 { margin: 3px 0 6px; font-size: 1rem; }
.map-card p { color: var(--muted); font-size: .7rem; }
.hours-card { padding: 21px; }
.hours-card h2 { margin-bottom: 14px; font-size: .95rem; }
.hours-card h2 i { margin-inline-end: 7px; color: var(--primary); }
.hours-card dl { display: grid; gap: 9px; margin: 0; }
.hours-card dl > div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .68rem; }
.hours-card dd { margin: 0; color: var(--ink-soft); }
.hours-card > p { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid var(--border); color: var(--muted); font-size: .6rem; }
.hours-card > p i { color: var(--primary); }
.faq-preview { background: var(--surface); }
.mini-faq-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.mini-faq-grid > a { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-raised); }
.mini-faq-grid > a > i { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; color: var(--primary); background: var(--primary-soft); }
.mini-faq-grid strong { font-size: .84rem; }
.mini-faq-grid span { color: var(--primary-strong); font-size: .66rem; }

/* FAQ */
.faq-hero { text-align: center; }
.faq-hero h1 { margin: 5px 0; font-size: clamp(2.1rem,4vw,3.4rem); }
.faq-hero > .container > p { color: var(--muted); }
.faq-search { max-width: 680px; min-height: 56px; display: flex; align-items: center; gap: 11px; margin: 24px auto 0; padding-inline: 17px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.faq-search i { color: var(--muted); }
.faq-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.faq-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); align-items: start; gap: 26px; }
.faq-nav { position: sticky; inset-block-start: 140px; display: grid; gap: 5px; padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-raised); }
.faq-nav a { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 11px; border-radius: 9px; color: var(--muted); font-size: .7rem; }
.faq-nav a.is-active,
.faq-nav a:hover { color: var(--primary-strong); background: var(--primary-soft); }
.faq-nav i { width: 20px; }
.faq-content { display: grid; gap: 35px; }
.faq-content section { scroll-margin-top: 150px; }
.faq-content section > h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; font-size: 1.15rem; }
.faq-content section > h2 i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); font-size: .95rem; }
.accordion { display: grid; gap: 8px; }
.accordion article { border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); overflow: hidden; }
.accordion article > button { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; color: var(--ink); background: transparent; text-align: right; font-size: .76rem; font-weight: 750; }
.accordion article > button i { color: var(--muted); transition: transform .2s ease; }
.accordion article > button[aria-expanded="true"] { color: var(--primary-strong); background: var(--primary-faint); }
.accordion article > button[aria-expanded="true"] i { transform: rotate(45deg); }
.accordion article > div { padding: 0 16px 16px; background: var(--primary-faint); }
.accordion article > div p { margin: 0; color: var(--ink-soft); font-size: .72rem; }
.faq-empty { display: grid; justify-items: center; padding: 55px 20px; text-align: center; }
.faq-empty > i { font-size: 2rem; color: var(--primary); }
.faq-empty p { color: var(--muted); }

/* Authentication */
.auth-main { padding-block: 34px 64px; }
.auth-shell { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 650px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface-raised); box-shadow: var(--shadow-lg); overflow: hidden; }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px,5vw,60px); color: #fff; background: linear-gradient(145deg,#08172e,#154b97); overflow: hidden; }
.auth-brand .brand-copy strong { color: #fff; }
.auth-brand .brand-copy small { color: #aebfda; }
.auth-aside h1 { margin: 11px 0; font-size: clamp(2.2rem,4vw,3.8rem); letter-spacing: -.05em; }
.auth-aside > div > p { color: #b8c8df; }
.auth-aside ul { display: grid; gap: 9px; margin: 0; padding: 0; color: #cbd7e8; list-style: none; font-size: .72rem; }
.auth-aside li i { margin-inline-end: 8px; color: #58ddb0; }
.auth-card { max-width: 590px; width: 100%; align-self: center; justify-self: center; padding: clamp(28px,5vw,55px); }
.auth-tabs { display: grid; grid-template-columns: repeat(2,1fr); gap: 4px; margin-bottom: 30px; padding: 4px; border-radius: 12px; background: var(--surface-soft); }
.auth-tabs button { min-height: 40px; border-radius: 9px; color: var(--muted); background: transparent; font-size: .75rem; font-weight: 750; }
.auth-tabs button.is-active { color: var(--primary-strong); background: var(--surface); box-shadow: var(--shadow-xs); }
.auth-heading { margin-bottom: 24px; }
.auth-heading h2 { margin-bottom: 5px; font-size: 1.8rem; }
.auth-heading p { margin: 0; color: var(--muted); }
.auth-panel form { display: grid; gap: 16px; }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .66rem; }
.auth-options label { display: flex; align-items: center; gap: 6px; }
.auth-options input { accent-color: var(--primary); }
.auth-options button { color: var(--primary-strong); background: transparent; }
.auth-submit { width: 100%; margin-top: 3px; }
.auth-secure { margin: 16px 0 0; color: var(--muted); font-size: .6rem; text-align: center; }
.auth-secure i { color: var(--success); }
.auth-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 25px; color: var(--primary-strong); background: transparent; font-size: .7rem; }
.auth-reset-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 17px; color: var(--primary); background: var(--primary-soft); font-size: 1.3rem; }

/* Error and component guide */
.error-page { min-height: 650px; display: grid; align-items: center; }
.error-shell { display: grid; justify-items: center; padding-block: 70px; text-align: center; }
.error-art { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; color: var(--primary); }
.error-art span { font-size: clamp(5rem,14vw,10rem); font-weight: 950; line-height: 1; }
.error-art i { width: clamp(85px,14vw,145px); height: clamp(85px,14vw,145px); display: grid; place-items: center; border-radius: 32%; color: #fff; background: linear-gradient(145deg,#1769e0,#0d3e84); box-shadow: var(--shadow-lg); font-size: clamp(2.6rem,6vw,5rem); transform: rotate(8deg); }
.error-shell h1 { margin-bottom: 7px; font-size: clamp(1.7rem,3vw,2.5rem); }
.error-shell p { color: var(--muted); }
.error-shell > div:last-child { display: flex; gap: 9px; }
.style-guide .page-title-row { padding-bottom: 25px; border-bottom: 1px solid var(--border); }
.guide-section { padding-block: 28px; border-bottom: 1px solid var(--border); }
.guide-section > h2 { margin-bottom: 18px; font-size: 1.15rem; }
.swatch-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.swatch-grid > div { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); }
.swatch-grid span { height: 80px; border-radius: 8px; }
.swatch-grid strong { font-size: .68rem; }
.swatch-grid code { color: var(--muted); font-size: .58rem; direction: ltr; }
.component-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.guide-form { max-width: 760px; }
.alert-stack { display: grid; gap: 10px; max-width: 760px; }
.alert { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid; border-radius: 12px; }
.alert strong { font-size: .74rem; }
.alert p { margin: 1px 0 0; color: var(--ink-soft); font-size: .65rem; }
.alert-success { color: var(--success); border-color: color-mix(in srgb,var(--success) 30%,var(--border)); background: var(--success-soft); }
.alert-warning { color: var(--warning); border-color: color-mix(in srgb,var(--warning) 30%,var(--border)); background: var(--accent-soft); }
.alert-danger { color: var(--danger); border-color: color-mix(in srgb,var(--danger) 30%,var(--border)); background: var(--danger-soft); }

/* Account shell */
.account-shell { display: grid; grid-template-columns: 255px minmax(0,1fr); align-items: start; gap: 22px; }
.account-content { min-width: 0; }
.account-sidebar { position: sticky; inset-block-start: 138px; }
.account-mobile-toggle { display: none; }
.account-menu { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); box-shadow: var(--shadow-xs); overflow: hidden; }
.account-user { display: flex; align-items: center; gap: 11px; padding: 18px; border-bottom: 1px solid var(--border); }
.account-avatar,
.account-avatar-small { display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--primary-strong); background: var(--primary-soft); font-weight: 850; }
.account-avatar { width: 52px; height: 52px; }
.account-avatar-small { width: 38px; height: 38px; }
.account-user > div { min-width: 0; display: grid; }
.account-user strong { font-size: .78rem; }
.account-user small { color: var(--muted); font-size: .56rem; overflow: hidden; text-overflow: ellipsis; }
.account-user em { width: fit-content; margin-top: 5px; padding: 3px 7px; border-radius: 6px; color: #a26c00; background: var(--accent-soft); font-size: .53rem; font-style: normal; }
.account-menu nav { display: grid; padding: 9px; }
.account-menu nav > p { margin: 8px 10px 4px; color: var(--muted-light); font-size: .55rem; font-weight: 750; }
.account-menu nav > a { min-height: 42px; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 9px; color: var(--muted); font-size: .69rem; font-weight: 650; }
.account-menu nav > a:hover,
.account-menu nav > a.is-active { color: var(--primary-strong); background: var(--primary-soft); }
.account-menu nav > a i { width: 20px; text-align: center; }
.account-menu nav > a b { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 6px; color: var(--primary-strong); background: var(--primary-faint); font-size: .52rem; }
.account-menu nav > a.account-logout { margin-top: 8px; color: var(--danger); border-top: 1px solid var(--border); border-radius: 0 0 9px 9px; }
.account-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-bottom: 16px; }
.account-stats > a { min-height: 155px; display: flex; align-items: flex-start; gap: 11px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-raised); transition: transform .2s var(--ease),box-shadow .2s var(--ease); }
.account-stats > a:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.stat-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; }
.stat-blue { color: var(--primary); background: var(--primary-soft); }
.stat-red { color: var(--danger); background: var(--danger-soft); }
.stat-green { color: var(--success); background: var(--success-soft); }
.stat-amber { color: var(--warning); background: var(--accent-soft); }
.account-stats > a > div { display: grid; min-width: 0; }
.account-stats small { color: var(--muted); font-size: .57rem; }
.account-stats strong { margin-block: 3px 9px; font-size: 1.3rem; }
.account-stats strong small { font-size: .48rem; }
.account-stats em { color: var(--primary-strong); font-size: .54rem; font-style: normal; }
.account-grid-main { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: start; gap: 15px; }
.account-card { padding: 20px; }
.account-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.account-card-head h2 { margin-bottom: 1px; font-size: .95rem; }
.account-card-head p { margin: 0; color: var(--muted); font-size: .62rem; }
.responsive-table { overflow-x: auto; }
.responsive-table table { width: 100%; min-width: 650px; border-collapse: collapse; }
.responsive-table th { padding: 10px; color: var(--muted); background: var(--surface-soft); text-align: right; font-size: .61rem; }
.responsive-table th:first-child { border-radius: 0 9px 9px 0; }
.responsive-table th:last-child { border-radius: 9px 0 0 9px; }
.responsive-table td { padding: 13px 10px; border-bottom: 1px solid var(--border); color: var(--ink-soft); font-size: .64rem; }
.responsive-table tbody tr:last-child td { border-bottom: 0; }
.responsive-table td:first-child a { color: var(--primary-strong); font-weight: 800; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px; font-size: .56rem; font-weight: 750; white-space: nowrap; }
.status-badge > i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-processing { color: #a46600; background: var(--accent-soft); }
.status-sent { color: var(--primary-strong); background: var(--primary-soft); }
.status-delivered { color: var(--success); background: var(--success-soft); }
.status-canceled { color: var(--danger); background: var(--danger-soft); }
.table-action { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--primary); background: var(--primary-soft); }
.quick-actions > div:last-child { display: grid; gap: 6px; }
.quick-actions a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 9px; border-radius: 10px; }
.quick-actions a:hover { background: var(--surface-soft); }
.quick-actions a > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--primary); background: var(--primary-soft); }
.quick-actions a strong { font-size: .65rem; }
.quick-actions a > i { color: var(--muted-light); font-size: .6rem; }
.dashboard-tip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; margin-top: 15px; background: linear-gradient(120deg,var(--surface-raised),var(--primary-faint)); }
.dashboard-tip > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; color: var(--warning); background: var(--accent-soft); }
.dashboard-tip h2 { margin-bottom: 1px; font-size: .85rem; }
.dashboard-tip p { margin: 0; color: var(--muted); font-size: .63rem; }

/* Orders and tracking */
.order-filters { margin-bottom: 15px; padding: 14px; }
.order-filters form { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 11px; }
.orders-list { display: grid; gap: 13px; }
.order-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); overflow: hidden; }
.order-card > header { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 17px; border-bottom: 1px solid var(--border); background: var(--surface-soft); }
.order-card > header > div { display: flex; align-items: center; gap: 10px; }
.order-card > header p { margin: 0; color: var(--muted); font-size: .64rem; }
.order-card > header > div:last-child { display: grid; justify-items: end; }
.order-card > header small { color: var(--muted); font-size: .55rem; }
.order-card > header strong { font-size: .67rem; }
.order-card-body { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 25px; padding: 19px; }
.order-products { display: flex; align-items: center; }
.order-products > span { width: 58px; height: 58px; display: grid; place-items: center; margin-inline-start: -9px; border: 3px solid var(--surface); border-radius: 14px; font-size: 1.3rem; }
.order-products > span:first-child { margin-inline-start: 0; }
.order-products em { margin-inline-start: 8px; color: var(--muted); font-size: .57rem; font-style: normal; }
.order-card-body dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 0; }
.order-card-body dl > div { display: grid; gap: 2px; }
.order-card-body dt { color: var(--muted); font-size: .55rem; }
.order-card-body dd { margin: 0; font-size: .65rem; font-weight: 700; }
.order-card > footer { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 17px; border-top: 1px solid var(--border); }
.order-card > footer p { margin: 0; color: var(--muted); font-size: .6rem; }
.order-card > footer p i { color: var(--primary); }
.order-card > footer > div { display: flex; gap: 7px; }
.order-card > footer .btn { min-height: 38px; padding: 7px 11px; font-size: .62rem; }
.order-title-line { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; color: var(--muted); font-size: .6rem; }
.tracking-card { margin-bottom: 15px; }
.tracking-code { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; background: var(--surface-soft); }
.tracking-code span { color: var(--muted); font-size: .55rem; }
.tracking-code strong { font-size: .65rem; }
.tracking-code button { width: 29px; height: 29px; border-radius: 7px; color: var(--primary); background: var(--primary-soft); }
.order-timeline { display: grid; grid-template-columns: repeat(5,1fr); margin: 30px 0 10px; padding: 0; list-style: none; }
.order-timeline li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.order-timeline li::before { content: ""; position: absolute; z-index: 0; inset-block-start: 20px; inset-inline-end: 50%; width: 100%; height: 2px; background: var(--border); }
.order-timeline li:first-child::before { display: none; }
.order-timeline li.is-complete::before,
.order-timeline li.is-current::before { background: var(--success); }
.order-timeline li > span { position: relative; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--border); border-radius: 50%; color: var(--muted-light); background: var(--surface); }
.order-timeline li.is-complete > span { color: #fff; border-color: var(--success); background: var(--success); }
.order-timeline li.is-current > span { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 6px var(--primary-faint); }
.order-timeline li > div { display: grid; }
.order-timeline strong { font-size: .62rem; }
.order-timeline small { color: var(--muted); font-size: .52rem; }
.order-items-detail { margin-bottom: 15px; }
.order-detail-line { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 13px; padding-block: 13px; border-top: 1px solid var(--border); }
.order-detail-line > span { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 13px; font-size: 1.7rem; }
.order-detail-line h3 { margin-bottom: 2px; font-size: .74rem; }
.order-detail-line p,
.order-detail-line div > small { margin: 0; color: var(--muted); font-size: .57rem; }
.order-detail-line > strong { font-size: .7rem; }
.order-detail-line > strong small { font-size: .5rem; }
.order-price-summary { display: flex; justify-content: flex-end; padding-top: 14px; border-top: 1px solid var(--border); }
.order-price-summary dl { width: min(100%,350px); display: grid; gap: 8px; margin: 0; }
.order-price-summary dl > div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .64rem; }
.order-price-summary dd { margin: 0; color: var(--ink-soft); }
.order-price-summary dl > div:last-child { padding-top: 8px; border-top: 1px dashed var(--border-strong); color: var(--ink); }
.order-info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; margin-bottom: 15px; }
.info-card-title { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.info-card-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.info-card-title h2 { margin-bottom: 1px; font-size: .82rem; }
.info-card-title p { margin: 0; color: var(--muted); font-size: .6rem; }
.order-info-grid address { color: var(--ink-soft); font-size: .67rem; font-style: normal; }
.payment-info { display: grid; gap: 7px; margin: 0; }
.payment-info > div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .62rem; }
.payment-info dd { margin: 0; color: var(--ink-soft); }
.order-help { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 13px; }
.order-help > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; color: var(--primary); background: var(--primary-soft); }
.order-help h2 { margin-bottom: 1px; font-size: .82rem; }
.order-help p { margin: 0; color: var(--muted); font-size: .6rem; }

/* Addresses */
.address-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.address-card { position: relative; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-raised); }
.address-card.is-default { border-color: color-mix(in srgb,var(--primary) 45%,var(--border)); box-shadow: 0 0 0 1px var(--primary); }
.address-card > header { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.address-type { display: inline-flex; align-items: center; gap: 7px; color: var(--primary-strong); font-size: .7rem; font-weight: 750; }
.badge-default { padding: 4px 7px; border-radius: 6px; color: var(--success); background: var(--success-soft); font-size: .53rem; }
.address-menu { position: relative; margin-inline-start: auto; }
.address-menu .icon-btn { width: 34px; height: 34px; }
.address-menu > div { position: absolute; z-index: 5; inset-block-start: 39px; inset-inline-start: 0; min-width: 120px; padding: 5px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-raised); box-shadow: var(--shadow-md); }
.address-menu a,
.address-menu div button { width: 100%; display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 6px; color: var(--ink-soft); background: transparent; text-align: right; font-size: .62rem; }
.address-menu div button { color: var(--danger); }
.address-menu a:hover,
.address-menu div button:hover { background: var(--surface-soft); }
.address-person { display: flex; align-items: center; gap: 9px; }
.address-person > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--primary-strong); background: var(--primary-soft); font-size: .65rem; font-weight: 800; }
.address-person > div { display: grid; }
.address-person strong { font-size: .7rem; }
.address-person small { color: var(--muted); font-size: .58rem; }
.address-card address { min-height: 60px; margin-block: 14px 8px; color: var(--ink-soft); font-size: .68rem; font-style: normal; }
.address-card > p { color: var(--muted); font-size: .6rem; }
.address-card > footer { min-height: 35px; display: flex; align-items: center; padding-top: 11px; border-top: 1px solid var(--border); }
.address-card > footer span { color: var(--success); font-size: .6rem; }
.address-card > footer button { color: var(--primary-strong); background: transparent; font-size: .6rem; font-weight: 700; }
.address-help { display: flex; align-items: center; gap: 12px; margin-top: 15px; background: var(--primary-faint); }
.address-help > span { color: var(--primary); }
.address-help h2 { margin-bottom: 1px; font-size: .76rem; }
.address-help p { margin: 0; color: var(--muted); font-size: .61rem; }
.address-form { padding: 0; overflow: hidden; }
.address-form > section { padding: 25px; }
.address-form > section + section { border-top: 1px solid var(--border); }
.form-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.form-section-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.form-section-title h2 { margin-bottom: 1px; font-size: .9rem; }
.form-section-title p { margin: 0; color: var(--muted); font-size: .6rem; }
.address-form > .invoice-toggle { margin: 0 25px 22px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 17px 25px; border-top: 1px solid var(--border); background: var(--surface-soft); }

/* Settings */
.settings-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); align-items: start; gap: 15px; }
.settings-nav { display: grid; gap: 5px; padding: 8px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-raised); }
.settings-nav button { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 7px; padding: 10px; border-radius: 9px; color: var(--muted); background: transparent; text-align: right; }
.settings-nav button:hover,
.settings-nav button.is-active { color: var(--primary-strong); background: var(--primary-soft); }
.settings-nav button > i { text-align: center; }
.settings-nav button span { display: grid; }
.settings-nav strong { font-size: .65rem; }
.settings-nav small { color: var(--muted); font-size: .5rem; }
.settings-panel { padding: 24px; }
.settings-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 21px; padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.settings-panel-head h2 { margin-bottom: 2px; font-size: 1rem; }
.settings-panel-head p { margin: 0; color: var(--muted); font-size: .63rem; }
.profile-avatar-row { display: flex; align-items: center; gap: 11px; margin-bottom: 23px; padding: 14px; border-radius: 12px; background: var(--surface-soft); }
.profile-avatar-row > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--primary-strong); background: var(--primary-soft); font-weight: 850; }
.profile-avatar-row > div { display: grid; }
.profile-avatar-row strong { font-size: .7rem; }
.profile-avatar-row small { color: var(--muted); font-size: .55rem; }
.profile-avatar-row .btn { margin-inline-start: auto; min-height: 38px; font-size: .62rem; }
.settings-panel .form-actions { margin: 22px -24px -24px; }
.security-score { padding: 6px 9px; border-radius: 8px; color: var(--success); background: var(--success-soft); font-size: .56rem; }
.password-strength { margin-top: 12px; }
.password-strength > span { height: 6px; display: block; border-radius: 99px; background: var(--border); overflow: hidden; }
.password-strength i { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--danger),var(--accent),var(--success)); transition: width .2s ease; }
.password-strength small { color: var(--muted); font-size: .56rem; }
.security-divider { height: 1px; margin: 25px -24px; background: var(--border); }
.two-factor { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.two-factor > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.two-factor h3 { margin-bottom: 1px; font-size: .76rem; }
.two-factor p { margin: 0; color: var(--muted); font-size: .58rem; }
.active-sessions > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.active-sessions h3 { font-size: .76rem; }
.active-sessions > div button { color: var(--danger); background: transparent; font-size: .58rem; }
.active-sessions article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; }
.active-sessions article + article { margin-top: 7px; }
.active-sessions article > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--primary); background: var(--primary-soft); }
.active-sessions article div { display: grid; }
.active-sessions article strong { font-size: .62rem; }
.active-sessions article small { color: var(--muted); font-size: .52rem; }
.active-sessions article em { color: var(--success); font-size: .53rem; font-style: normal; }
.active-sessions article > button { width: 30px; height: 30px; border-radius: 8px; color: var(--danger); background: var(--danger-soft); }
.notification-list { display: grid; gap: 8px; }
.notification-list > article { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--border); border-radius: 11px; }
.notification-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.notification-list > article > span:nth-child(2) { display: grid; }
.notification-list strong { font-size: .66rem; }
.notification-list small { color: var(--muted); font-size: .53rem; }
.notification-list .notification-channel { display: grid; grid-template-columns: auto 32px; align-items: center; gap: 5px; color: var(--muted); font-size: .52rem; }
.notification-list .notification-channel input { position: absolute; opacity: 0; }
.notification-list .notification-channel i { position: relative; width: 32px; height: 19px; border-radius: 99px; background: var(--border-strong); }
.notification-list .notification-channel i::after { content: ""; position: absolute; width: 13px; height: 13px; inset: 3px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.notification-list .notification-channel input:checked + i { background: var(--primary); }
.notification-list .notification-channel input:checked + i::after { transform: translateX(-13px); }
.privacy-actions { display: grid; gap: 9px; }
.privacy-actions article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 11px; }
.privacy-actions article > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.privacy-actions h3 { margin-bottom: 1px; font-size: .68rem; }
.privacy-actions p { margin: 0; color: var(--muted); font-size: .54rem; }
.privacy-actions .danger-zone { border-color: color-mix(in srgb,var(--danger) 28%,var(--border)); background: var(--danger-soft); }
.privacy-actions .danger-zone > span { color: var(--danger); background: var(--surface); }
.privacy-actions .danger-zone .btn { color: var(--danger); border-color: var(--danger); }
.preference-list { display: grid; gap: 9px; }
.preference-list > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 11px; }
.preference-list > div > span:first-child { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.preference-list h3 { margin-bottom: 1px; font-size: .68rem; }
.preference-list p { margin: 0; color: var(--muted); font-size: .54rem; }
.theme-fixed-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 11px; border: 1px solid #cfe0fb; border-radius: 10px; color: var(--primary-strong); background: var(--primary-soft); font-size: .62rem; font-weight: 800; white-space: nowrap; }
.preference-list select { min-height: 36px; padding-inline: 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); font-size: .6rem; }

/* Tickets, wallet, reviews */
.support-summary { display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; margin-bottom: 15px; }
.support-summary article { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-raised); }
.support-summary article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.support-summary article > div { display: grid; }
.support-summary small { color: var(--muted); font-size: .55rem; }
.support-summary strong,
.support-summary a { font-size: .7rem; font-weight: 750; }
.ticket-list > article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-block: 14px; border-top: 1px solid var(--border); }
.ticket-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; }
.ticket-open { color: var(--warning); background: var(--accent-soft); }
.ticket-closed { color: var(--success); background: var(--success-soft); }
.ticket-list article > div > div { display: flex; gap: 7px; }
.ticket-list article > div > div > small { color: var(--muted); }
.ticket-list h3 { margin: 5px 0 2px; font-size: .74rem; }
.ticket-list p { margin: 0; color: var(--muted); font-size: .59rem; }
.ticket-list article > div > small { color: var(--muted-light); font-size: .52rem; }
.ticket-list article > i { color: var(--muted-light); }
.form-dialog { width: min(560px,calc(100% - 28px)); max-height: calc(100vh - 30px); padding: 0; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); background: var(--surface-raised); box-shadow: var(--shadow-lg); }
.form-dialog::backdrop { background: rgba(4,11,23,.65); backdrop-filter: blur(5px); }
.form-dialog form { display: grid; gap: 15px; padding: 23px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 5px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.dialog-head h2 { margin-bottom: 2px; font-size: 1.1rem; }
.dialog-head p { margin: 0; color: var(--muted); font-size: .62rem; }
.wallet-hero { min-height: 230px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 15px; padding: 28px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg,#09203c,#1769e0); box-shadow: var(--shadow-md); overflow: hidden; }
.wallet-hero > div { display: grid; }
.wallet-hero > div > span { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 15px; color: #a8caff; background: rgba(255,255,255,.1); font-size: 1.3rem; }
.wallet-hero small { color: #b9c9e0; font-size: .62rem; }
.wallet-hero strong { font-size: clamp(2rem,4vw,3.3rem); }
.wallet-hero strong em { font-size: .68rem; font-style: normal; }
.wallet-hero p { margin: 3px 0 0; color: #b9c9e0; font-size: .61rem; }
.transaction-list { display: grid; }
.transaction-list article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding-block: 13px; border-top: 1px solid var(--border); }
.transaction-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; }
.transaction-in { color: var(--success); background: var(--success-soft); }
.transaction-out { color: var(--danger); background: var(--danger-soft); }
.transaction-list article > div { display: grid; }
.transaction-list h3 { margin-bottom: 1px; font-size: .67rem; }
.transaction-list small { color: var(--muted); font-size: .52rem; }
.transaction-list article > strong { font-size: .65rem; }
.wallet-help { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; margin-top: 15px; background: var(--surface-soft); }
.wallet-help > span { color: var(--primary); }
.wallet-help h2 { margin-bottom: 1px; font-size: .72rem; }
.wallet-help p { margin: 0; color: var(--muted); font-size: .57rem; }
.amount-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.amount-options button { padding: 10px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-soft); font-size: .65rem; }
.amount-options button.is-active { color: var(--primary-strong); border-color: var(--primary); background: var(--primary-soft); }
.review-tabs { display: flex; gap: 5px; margin-bottom: 14px; padding: 5px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); }
.review-tabs button { min-height: 40px; padding: 8px 12px; border-radius: 8px; color: var(--muted); background: transparent; font-size: .67rem; }
.review-tabs button.is-active { color: var(--primary-strong); background: var(--primary-soft); }
.review-tabs span { margin-inline-start: 4px; }
.review-account-list { display: grid; gap: 11px; }
.review-account-list article { display: grid; grid-template-columns: 85px 1fr auto; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-raised); }
.review-product { width: 85px; height: 85px; display: grid; place-items: center; border-radius: 13px; font-size: 2rem; }
.review-account-list article > div > p:first-child { margin: 0; color: var(--muted); font-size: .55rem; }
.review-account-list h2 { margin: 3px 0; font-size: .75rem; }
.review-account-list article > div > small { color: var(--muted); font-size: .56rem; }
.review-account-list article > div > p:not(:first-child) { margin: 6px 0; color: var(--ink-soft); font-size: .64rem; }
.review-account-list .stars { font-size: .6rem; }

/* Invoice */
.invoice-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.invoice-toolbar > div { display: flex; gap: 8px; }
.invoice-sheet { width: min(calc(100% - 30px),1000px); margin-inline: auto; padding: 46px; border: 1px solid var(--border); background: var(--surface-raised); box-shadow: var(--shadow-md); }
.invoice-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.invoice-brand { display: flex; align-items: center; gap: 11px; }
.invoice-brand > div { display: grid; }
.invoice-brand > div strong { font-size: 1.1rem; }
.invoice-brand > div small { color: var(--muted); font-size: .58rem; }
.invoice-head > div:last-child { text-align: left; }
.invoice-head > div:last-child > span { color: var(--muted); font-size: .65rem; }
.invoice-head h1 { margin: 2px 0; font-size: 1.2rem; }
.invoice-head p { margin: 0; color: var(--muted); font-size: .6rem; }
.invoice-parties { display: grid; grid-template-columns: repeat(2,1fr); gap: 35px; padding-block: 28px; }
.invoice-parties h2 { margin-bottom: 11px; font-size: .75rem; }
.invoice-parties dl { display: grid; gap: 6px; margin: 0; }
.invoice-parties dl > div { display: grid; grid-template-columns: 100px 1fr; color: var(--muted); font-size: .6rem; }
.invoice-parties dd { margin: 0; color: var(--ink-soft); }
.invoice-table-wrap { overflow-x: auto; }
.invoice-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.invoice-table th { padding: 11px; color: #fff; background: #10203a; text-align: right; font-size: .6rem; }
.invoice-table td { padding: 13px 11px; border-bottom: 1px solid var(--border); font-size: .62rem; }
.invoice-table td strong,
.invoice-table td small { display: block; }
.invoice-table td small { margin-top: 2px; color: var(--muted); font-size: .52rem; }
.invoice-summary { display: grid; grid-template-columns: 1fr 360px; align-items: start; gap: 30px; padding-block: 25px; }
.invoice-payment h2 { margin-bottom: 8px; font-size: .75rem; }
.invoice-payment p { margin: 3px 0; color: var(--muted); font-size: .58rem; }
.invoice-summary dl { display: grid; gap: 7px; margin: 0; padding: 15px; border-radius: 10px; background: var(--surface-soft); }
.invoice-summary dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: .62rem; }
.invoice-summary dd { margin: 0; }
.invoice-summary dl > div:last-child { padding-top: 9px; border-top: 1px solid var(--border); font-weight: 850; }
.invoice-footer { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 25px; padding-top: 24px; border-top: 1px solid var(--border); }
.invoice-footer h2 { margin-bottom: 4px; font-size: .7rem; }
.invoice-footer p { max-width: 650px; margin: 0; color: var(--muted); font-size: .55rem; }
.invoice-stamp { width: 110px; height: 110px; display: grid; place-items: center; align-content: center; border: 3px double var(--success); border-radius: 50%; color: var(--success); transform: rotate(-8deg); }
.invoice-stamp i { font-size: 1.2rem; }
.invoice-stamp span { font-size: .58rem; font-weight: 850; }

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
/* Home product shelves */
.product-shelf-section {
  overflow: hidden;
}

.product-shelf-section.is-soft {
  border-block: 1px solid color-mix(in srgb, var(--primary) 7%, var(--border));
  background: linear-gradient(180deg, var(--primary-faint), var(--surface-soft));
}

.product-shelf-section .section-kicker i {
  margin-inline-end: 5px;
}

.badge-view {
  color: #fff;
  background: var(--warning);
}

.badge-gaming {
  color: #fff;
  background: var(--primary);
}

.product-carousel {
  position: relative;
  min-width: 0;
}

.product-carousel:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-carousel:not(.owl-loaded) > .product-card:nth-child(n+5) {
  display: none;
}

.product-carousel.owl-loaded {
  display: block;
}

.product-carousel:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
  border-radius: var(--radius);
}

.product-carousel .owl-stage {
  display: flex;
}

.product-carousel .owl-stage-outer {
  padding-block: 8px 16px;
}

.product-carousel .owl-item {
  display: flex;
  min-width: 0;
}

.product-carousel .owl-item > .product-card {
  width: 100%;
  height: 100%;
}

.product-carousel .owl-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.product-carousel .owl-nav.disabled,
.product-carousel .owl-dots.disabled {
  display: none;
}

.product-carousel .owl-nav button.owl-prev,
.product-carousel .owl-nav button.owl-next {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  background: var(--surface-raised);
  box-shadow: var(--shadow-xs);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s var(--ease);
}

.product-carousel .owl-nav button.owl-prev:hover,
.product-carousel .owl-nav button.owl-next:hover {
  color: var(--primary-strong);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.product-carousel .owl-nav button.disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.product-carousel .owl-nav button:focus-visible,
.product-carousel .owl-dot:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.product-carousel .owl-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
}

.product-carousel .owl-dot {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
}

.product-carousel .owl-dot span {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--muted);
  transition: width .2s var(--ease), background .2s ease;
}

.product-carousel .owl-dot.active span {
  width: 22px;
  background: var(--primary);
}

.product-grid-newest {
  align-items: stretch;
}

.product-grid-newest .product-card {
  height: 100%;
}

.carousel-noscript {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-soft);
  text-align: center;
}

@media (max-width: 1100px) {
  .product-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-carousel:not(.owl-loaded) > .product-card:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 860px) {
  .product-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-carousel:not(.owl-loaded) > .product-card:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 620px) {
  .product-shelf-section .section-head {
    align-items: flex-start;
  }

  .product-carousel:not(.owl-loaded) {
    grid-template-columns: minmax(0, 1fr);
    margin-inline: 20px;
  }

  .product-carousel:not(.owl-loaded) > .product-card:nth-child(n+2) {
    display: none;
  }

  .product-grid-newest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-grid-newest .product-media {
    min-height: 158px;
  }

  .product-grid-newest .product-symbol {
    font-size: 3.7rem;
  }

  .product-grid-newest .product-body {
    padding-inline: 11px;
  }

  .product-grid-newest .product-body h3 {
    min-height: 67px;
    font-size: .76rem;
  }

  .product-grid-newest .rating span,
  .product-grid-newest .compare-button {
    display: none;
  }

  .product-grid-newest .product-price strong {
    font-size: .76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-carousel .owl-stage {
    transition: none !important;
  }

  .product-carousel .product-card:hover,
  .product-carousel .product-card:hover .product-symbol {
    transform: none;
  }
}

.reduce-motion .product-carousel .owl-stage {
  transition: none !important;
}

.reduce-motion .product-carousel .product-card:hover,
.reduce-motion .product-carousel .product-card:hover .product-symbol {
  transform: none;
}

/* Give real product photography the full card width without cropping it. */
.product-card .product-media:has(.catalog-product-image) {
  aspect-ratio: 1; min-height: 0; background: #fff;
}
.product-card .product-media:has(.catalog-product-image)::before,
.product-card .product-media:has(.catalog-product-image)::after { display: none; }
.catalog-product-image {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; max-height: none; object-fit: contain; padding: 8px;
}
.product-media:has(.catalog-product-image) > .badge,
.product-media:has(.catalog-product-image) > .product-heart { z-index: 2; }
.product-media:has(.catalog-product-image) > .media-label {
  z-index: 1; inset-block-end: 8px; inset-inline-end: 8px;
  background: #ffffffed; border-radius: 5px; padding: 4px 6px; font-size: .6rem;
}
.catalog-empty-message { grid-column: 1 / -1; padding: 24px; color: var(--muted); }

.product-image-link { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; }
.product-image-link:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.product-media > .product-heart, .product-media > .badge { z-index: 2; }
.product-media > .media-label { pointer-events: none; }
