/* Shared storefront structure. Libraries, icons and Persian fonts are served locally. */
:root { --rd-muted-strong: #52627a; --rd-panel-shadow: 0 4px 24px rgb(15 39 72 / 4%); --rd-mobile-nav-height: calc(3.75rem + env(safe-area-inset-bottom, 0px)); }
body { color: var(--rd-text); }
:where(h1,h2,h3) { overflow-wrap: anywhere; }
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline: 3px solid var(--rd-ring); outline-offset: 3px; }
:where(button,a,input,select,textarea) { -webkit-tap-highlight-color: transparent; }
button, summary, input[type=radio], input[type=checkbox] { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
input[type=checkbox], input[type=radio] { accent-color: var(--rd-accent); flex-shrink: 0; width: 18px; height: 18px; }
.rd-input { max-width: 100%; background: var(--rd-surface); font-size: 16px; }
.rd-input::placeholder { color: var(--rd-text-secondary); font-size: .875rem; }
textarea.rd-input { min-height: 112px; resize: vertical; }
.rd-input[aria-invalid=true] { border-color: var(--rd-error); }
.rd-section { padding-block: clamp(1.5rem, 3vw, 3rem); }
.rd-card { box-shadow: var(--rd-panel-shadow); }
.rd-btn-primary { box-shadow: 0 3px 8px rgb(37 99 235 / 14%); }
.rd-btn-primary, .rd-btn-secondary { line-height: 1.65; }
.rd-btn-primary:active, .rd-btn-secondary:active { filter: brightness(.95); }
.rd-page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.rd-page-heading h1 { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.6; margin: .375rem 0 0; font-weight: 800; }
.rd-page-heading p { max-width: 42rem; color: var(--rd-muted-strong); font-size: .875rem; line-height: 1.9; margin-top: .375rem; }
.rd-eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--rd-primary); font-size: .75rem; font-weight: 600; }
.rd-panel { background: var(--rd-surface); border: 1px solid var(--rd-border); border-radius: var(--rd-radius-xl); box-shadow: var(--rd-panel-shadow); padding: clamp(1rem, 2vw, 1.5rem); min-width: 0; }
.rd-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--rd-border); }
.rd-panel-heading h2, .rd-panel h2 { font-size: 1rem; line-height: 1.8; }
.rd-panel-heading a { font-size: .8125rem; color: var(--rd-accent); }
.rd-icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--rd-accent-soft); color: var(--rd-accent); flex-shrink: 0; }
.rd-empty { border: 1px dashed var(--rd-border); border-radius: var(--rd-radius-xl); background: var(--rd-surface); min-height: 250px; padding: 2.5rem 1rem; }
.rd-empty > span { box-sizing: content-box; padding: 1rem; background-color: var(--rd-accent-soft); border-radius: 24px; color: var(--rd-accent); }
.rd-empty-text { line-height: 1.9; }
.rd-form-errors { border: 1px solid #fecaca; background: var(--rd-error-bg); color: #991b1b; padding: 1rem 1.25rem; border-radius: var(--rd-radius-md); font-size: .875rem; line-height: 1.9; margin-bottom: 1.5rem; }
.rd-form-errors ul { list-style: disc; padding-inline-start: 1.25rem; margin-top: .25rem; }
.rd-form-errors a { text-decoration: underline; text-underline-offset: 3px; }
.rd-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.rd-field { min-width: 0; }
.rd-field-wide { grid-column: 1 / -1; }
.rd-field-check { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; grid-column: 1 / -1; padding-block: .5rem; }
.rd-field-check .rd-label { margin: 0; }
.rd-label { font-size: .8125rem; line-height: 1.8; }
.rd-required { color: var(--rd-error); }
.rd-optional { color: var(--rd-text-secondary); font-weight: 400; font-size: .75rem; }
.rd-error-text { font-size: .75rem; line-height: 1.8; }
.rd-form-actions { display: flex; flex-wrap: wrap; gap: .75rem; border-top: 1px solid var(--rd-border); padding-top: 1.25rem; margin-top: 1.5rem; }
.rd-purchase-steps { max-width: 700px; margin: 0 auto 2rem; }
.rd-purchase-steps ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.rd-purchase-steps li { position: relative; text-align: center; color: var(--rd-text-secondary); font-size: .8125rem; }
.rd-purchase-steps li:not(:last-child)::after { content: ''; position: absolute; top: 18px; inset-inline-start: calc(50% + 26px); width: calc(100% - 52px); height: 1px; background: var(--rd-border); }
.rd-purchase-steps li > a, .rd-purchase-steps li > span { display: flex; flex-direction: column; align-items: center; gap: .625rem; }
.rd-step-number { width: 38px; height: 38px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--rd-border); background: var(--rd-surface); border-radius: 13px; font-weight: 700; }
.rd-purchase-steps [aria-current=step] { color: var(--rd-primary); font-weight: 700; }
.rd-purchase-steps [aria-current=step] .rd-step-number { background: var(--rd-primary); color: #fff; border-color: var(--rd-primary); box-shadow: 0 0 0 4px var(--rd-primary-soft); }
.rd-purchase-steps .is-complete .rd-step-number { color: var(--rd-success); background: var(--rd-success-bg); border-color: #bbf7d0; }
.rd-commerce-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 1.5rem; align-items: start; }
.rd-summary { position: sticky; top: 10rem; }
.rd-summary dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; font-size: .8125rem; margin-top: 1rem; }
.rd-summary dt { color: var(--rd-muted-strong); }
.rd-summary dd { font-weight: 600; }
.rd-summary .rd-summary-total { border-top: 1px solid var(--rd-border); padding-top: 1.25rem; margin-block: 1.25rem; font-size: .9375rem; }
.rd-summary-total dd { color: var(--rd-primary); }
.rd-summary-help { display: flex; gap: .5rem; font-size: .75rem; color: var(--rd-muted-strong); line-height: 1.9; margin-top: 1rem; }
.rd-cart-item { display: grid; grid-template-columns: 104px minmax(0,1fr) auto; gap: 1.25rem; padding: 1.25rem; align-items: start; }
.rd-cart-image { display: flex; align-items: center; justify-content: center; background: var(--rd-bg); border-radius: 16px; width: 104px; height: 112px; overflow: hidden; }
.rd-cart-image img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; }
.rd-cart-item h2 { font-size: .9375rem; line-height: 1.9; }
.rd-cart-controls { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.rd-quantity { display: inline-flex; align-items: center; border: 1px solid var(--rd-border); border-radius: 12px; overflow: hidden; background: var(--rd-surface); }
.rd-quantity button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--rd-accent); }
.rd-quantity input { width: 44px; min-width: 0; height: 44px; border: 0; padding: 0; text-align: center; appearance: textfield; font-size: .875rem; }
.rd-quantity input::-webkit-inner-spin-button { appearance: none; }
.rd-cart-price { text-align: end; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.rd-cart-price small { display: block; font-size: .6875rem; font-weight: 400; color: var(--rd-text-secondary); margin-top: .375rem; }
.rd-sticky-cta { bottom: var(--rd-mobile-nav-height); padding-bottom: .75rem; }
.rd-bottom-nav { padding-bottom: env(safe-area-inset-bottom, 0px); }
.rd-checkout-panel { margin-bottom: 1rem; }
.rd-checkout-title { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.rd-checkout-title h2 { font-size: 1rem; font-weight: 700; }
.rd-checkout-title p { color: var(--rd-muted-strong); font-size: .75rem; line-height: 1.8; margin-top: .25rem; }
.rd-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.rd-choice { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid var(--rd-border); border-radius: 14px; cursor: pointer; background: var(--rd-surface); transition: border-color var(--rd-ease), background var(--rd-ease); min-width: 0; line-height: 1.9; font-size: .8125rem; }
.rd-choice input { margin-top: .3rem; }
.rd-choice:has(input:checked) { border-color: var(--rd-accent); background: var(--rd-accent-soft); box-shadow: inset 0 0 0 1px var(--rd-accent); }
.rd-choice:focus-within { outline: 2px solid var(--rd-ring); outline-offset: 3px; }
.rd-choice strong { display: block; color: var(--rd-text); font-weight: 600; }
.rd-choice p { color: var(--rd-muted-strong); margin-top: .25rem; overflow-wrap: anywhere; }
.rd-choice-price { display: block; color: var(--rd-primary); font-weight: 600; margin-top: .5rem; }
.rd-info-strip { padding: 1rem; border-radius: 12px; background: var(--rd-accent-soft); color: var(--rd-primary); line-height: 1.9; font-size: .8125rem; }
.rd-checkout-items { border-top: 1px solid var(--rd-border); margin-top: 1rem; padding-top: 1rem; font-size: .8125rem; }
.rd-checkout-items summary { min-height: 36px; font-weight: 600; }
.rd-checkout-items li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .75rem; line-height: 1.8; }
.rd-account-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 1.75rem; align-items: start; }
.rd-account-aside { position: sticky; top: 10rem; background: var(--rd-surface); border: 1px solid var(--rd-border); border-radius: 20px; overflow: hidden; }
.rd-account-identity { padding: 1.5rem 1rem; background: var(--rd-primary); color: #fff; text-align: center; }
.rd-account-avatar { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; background: rgb(255 255 255 / 14%); border: 1px solid rgb(255 255 255 / 20%); border-radius: 18px; }
.rd-account-identity h2 { font-size: .875rem; line-height: 1.9; }
.rd-account-identity p { font-size: .75rem; margin-top: .25rem; opacity: .85; }
.rd-account-links { padding: .75rem; display: flex; flex-direction: column; gap: .25rem; }
.rd-account-links a { display: flex; align-items: center; gap: .75rem; min-height: 46px; border-radius: 12px; padding: .5rem .875rem; color: var(--rd-muted-strong); font-size: .8125rem; white-space: nowrap; }
.rd-account-links a:hover { background: var(--rd-bg); }
.rd-account-links [aria-current=page] { color: var(--rd-primary); background: var(--rd-accent-soft); font-weight: 700; box-shadow: inset -3px 0 var(--rd-accent); }
.rd-account-content { min-width: 0; }
.rd-account-welcome { border-radius: 20px; padding: 1.5rem; background: linear-gradient(110deg, var(--rd-accent-soft), var(--rd-surface)); border: 1px solid var(--rd-border); margin-bottom: 1.5rem; }
.rd-account-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.rd-account-stat { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1.25rem; background: var(--rd-surface); border: 1px solid var(--rd-border); border-radius: 16px; }
.rd-account-stat:hover { border-color: var(--rd-accent); }
.rd-account-stat strong { display: block; font-size: 1.5rem; line-height: 1.5; }
.rd-account-stat small { color: var(--rd-muted-strong); font-size: .75rem; }
.rd-order-card { display: block; background: var(--rd-surface); border: 1px solid var(--rd-border); border-radius: 16px; padding: 1.25rem; margin-bottom: .75rem; transition: border-color var(--rd-ease),box-shadow var(--rd-ease); }
.rd-order-card:hover { border-color: var(--rd-accent); box-shadow: var(--rd-panel-shadow); }
.rd-order-card-top, .rd-order-card-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.rd-order-card-bottom { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rd-border); font-size: .8125rem; }
.rd-order-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.rd-order-filters button { padding: .625rem 1rem; min-height: 44px; border: 1px solid var(--rd-border); border-radius: 12px; font-size: .8125rem; background: var(--rd-surface); }
.rd-order-filters [aria-pressed=true] { color: #fff; background: var(--rd-primary); border-color: var(--rd-primary); }
.rd-auth-shell { display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; margin: 1rem auto; border-radius: 24px; border: 1px solid var(--rd-border); background: var(--rd-surface); overflow: hidden; box-shadow: var(--rd-panel-shadow); }
.rd-auth-intro { padding: 3rem; background: var(--rd-primary); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; }
.rd-auth-intro h2 { font-size: 1.75rem; line-height: 1.8; }
.rd-auth-intro p { font-size: .875rem; line-height: 2; color: #dbeafe; }
.rd-auth-content { padding: 2.5rem; min-width: 0; }
.rd-auth-content h1 { font-size: 1.375rem; line-height: 1.8; }
.rd-content-page { max-width: 960px; margin-inline: auto; }
.rd-content-page .rd-card { padding: clamp(1.25rem,3vw,2.5rem); }
.rd-content-page p, .rd-content-page li { line-height: 2.1; }
.rd-result-card { max-width: 600px; margin: 1rem auto; text-align: center; padding: clamp(1.5rem,4vw,3rem); }
.rd-result-icon { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 24px; margin: 0 auto 1.5rem; color: var(--rd-success); background: var(--rd-success-bg); }
@media (max-width: 1023px) {
  .rd-commerce-layout, .rd-account-layout { grid-template-columns: minmax(0,1fr); }
  .rd-summary { position: static; }
  .rd-account-layout { gap: 1.25rem; }
  .rd-account-aside { position: static; border-radius: 16px; }
  .rd-account-identity { display: flex; gap: .75rem; padding: 1rem; text-align: start; align-items: center; }
  .rd-account-avatar { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
  .rd-account-links { flex-direction: row; overflow-x: auto; overscroll-behavior-inline: contain; padding: .5rem; scrollbar-width: thin; }
  .rd-account-links a { flex-shrink: 0; min-height: 44px; }
  .rd-account-links [aria-current=page] { box-shadow: inset 0 -2px var(--rd-accent); }
  .rd-cart-item { grid-template-columns: 88px minmax(0,1fr); gap: 1rem; }
  .rd-cart-image { width: 88px; height: 100px; }
  .rd-cart-price { grid-column: 2; text-align: start; }
  .rd-auth-intro { padding: 2rem; }
  .rd-auth-content { padding: 2rem; }
}
@media (max-width: 639px) {
  .rd-fields, .rd-choice-grid, .rd-auth-shell { grid-template-columns: minmax(0,1fr); }
  .rd-auth-intro { padding: 1.5rem; gap: .5rem; }
  .rd-auth-intro h2 { font-size: 1.25rem; }
  .rd-auth-intro p { font-size: .8125rem; }
  .rd-auth-content { padding: 1.5rem; }
  .rd-auth-intro .rd-auth-decoration { display: none; }
  .rd-account-stats { gap: .5rem; }
  .rd-account-stat { flex-direction: column-reverse; align-items: flex-start; padding: .875rem; gap: .75rem; }
  .rd-account-stat strong { font-size: 1.25rem; }
  .rd-account-stat .rd-icon-tile { width: 36px; height: 36px; border-radius: 10px; }
  .rd-cart-item { padding: 1rem; grid-template-columns: 64px minmax(0,1fr); gap: .75rem; }
  .rd-cart-image { width: 64px; height: 76px; }
  .rd-cart-controls { grid-column: 1 / -1; }
  .rd-purchase-steps { margin-bottom: 1.5rem; }
  .rd-purchase-steps li { font-size: .6875rem; }
  .rd-commerce-layout { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
[hidden] { display: none !important; }
html { scroll-padding-top: 10rem; scroll-padding-bottom: 10rem; }
.rd-field, [id^="address"], #terms-agree { scroll-margin-top: 10rem; scroll-margin-bottom: 10rem; }
.rd-content-page .rd-card h2 { margin-block: 1.5rem .75rem; }
.rd-content-page .rd-card h2:first-child { margin-top: 0; }
.rd-order-progress { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; margin-block: 1.5rem .5rem; }
.rd-order-progress li { display: flex; flex-direction: column; gap: .75rem; align-items: center; color: var(--rd-text-secondary); font-size: .75rem; text-align: center; }
.rd-order-progress .rd-icon-tile { background: var(--rd-bg); color: var(--rd-text-secondary); }
.rd-order-progress .is-done { color: var(--rd-success); font-weight: 600; }
.rd-order-progress .is-done .rd-icon-tile { color: var(--rd-success); background: var(--rd-success-bg); }
.rd-order-totals > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.rd-order-totals dt { color: var(--rd-muted-strong); }
.rd-order-totals dd { font-weight: 600; }
.rd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 1rem 1.25rem; font-size: .875rem; font-weight: 600; list-style: none; }
.rd-faq summary::-webkit-details-marker { display: none; }
.rd-faq[open] summary { color: var(--rd-primary); }
.rd-faq[open] summary > span:last-child { transform: rotate(180deg); }
.rd-faq-answer { padding: 0 1.25rem 1.25rem; font-size: .875rem; line-height: 2; color: var(--rd-muted-strong); }
.rd-catalog-heading { padding: 1.5rem; border-radius: 20px; border: 1px solid var(--rd-border); background: linear-gradient(115deg,var(--rd-surface),var(--rd-accent-soft)); }
.rd-catalog-heading h1 { line-height: 1.7; }
.rd-partner-access { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--rd-primary); font-size: .8125rem; font-weight: 600; }
.rd-partner-access:hover { color: var(--rd-accent); }
.rd-partner-strip { background: var(--rd-accent-soft); }
.rd-partner-strip .rd-partner-access { font-size: .75rem; }
.rd-account-links .rd-partner-access { color: var(--rd-primary); }

/* Shared shop header — desktop navigation, always-available search and mobile drawer. */
[x-cloak] { display: none !important; }
.rd-header-v2 { background: rgb(255 255 255 / 97%); border-bottom: 1px solid var(--rd-border); }
.rd-header-v2 .rd-header-utility { background: var(--rd-primary); color: #e3edff; }
.rd-header-utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 34px; font-size: .625rem; }
.rd-header-utility-inner > p, .rd-header-utility-links, .rd-header-utility-links a { display: flex; align-items: center; gap: .6rem; }
.rd-header-utility-links { gap: 1.25rem; }
.rd-header-utility-links a { min-height: 34px; }
.rd-header-utility-links a:hover { color: #fff; }
.rd-utility-divider { height: 10px; width: 1px; background: rgb(255 255 255 / 30%); margin-inline: .25rem; }
.rd-header-main { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.rd-header-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: .65rem; color: var(--rd-primary); border-radius: 12px; }
.rd-header-brand-mark { display: grid; place-items: center; height: 44px; width: 44px; border-radius: 14px; background: linear-gradient(145deg,var(--rd-primary),var(--rd-accent)); color: #fff; box-shadow: 0 4px 12px rgb(37 99 235 / 15%); }
.rd-header-brand-copy { display: flex; flex-direction: column; gap: .3rem; max-width: 200px; }
.rd-header-brand-copy strong { font-size: 1.1rem; line-height: 1.7; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-header-brand-copy small { color: var(--rd-muted-strong); font-size: .5625rem; }
.rd-header-search-desktop { flex: 1; min-width: 0; margin-inline: .75rem; }
.rd-header-search-field { display: flex; align-items: center; gap: .65rem; min-width: 0; border: 1px solid #e0e7f1; border-radius: 14px; background: #f3f6fb; padding-inline-start: .9rem; transition: border-color .2s,box-shadow .2s,background .2s; }
.rd-header-search-field > span { flex-shrink: 0; color: #74849c; }
.rd-header-search-field:focus-within { background: #fff; border-color: var(--rd-accent); box-shadow: 0 0 0 3px rgb(37 99 235 / 10%); }
.rd-header-search-field input { width: 100%; min-width: 0; height: 46px; padding: .5rem 0; font-size: 16px; background: transparent; border: 0; outline: 0; box-shadow: none; color: var(--rd-text); }
.rd-header-search-field input:focus-visible { outline: 0; }
.rd-header-search-field input::placeholder { font-size: .75rem; color: var(--rd-muted-strong); }
.rd-header-search-submit { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; color: var(--rd-accent); }
.rd-header-search-submit:hover { background: #e5edfc; }
.rd-header-actions { display: flex; align-items: center; gap: .35rem; margin-inline-start: auto; flex-shrink: 0; }
.rd-header-v2 .rd-header-action { min-width: 44px; min-height: 44px; padding-inline: .65rem; font-size: .6875rem; }
.rd-header-account { border: 1px solid var(--rd-border); }
.rd-header-action-divider { width: 1px; height: 24px; background: var(--rd-border); margin-inline: .45rem; }
.rd-header-v2 .rd-header-cart { position: relative; color: var(--rd-primary); background: var(--rd-accent-soft); border: 1px solid #dce7fb; }
.rd-header-count { position: absolute; inset-inline-end: -4px; top: -5px; display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 6px; padding-inline: 4px; background: var(--rd-accent); color: #fff; font-size: .5625rem; border: 2px solid #fff; }
.rd-header-v2 .rd-main-nav { border-top: 1px solid #edf1f7; }
.rd-header-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.rd-header-nav-inner > ul { display: flex; align-items: center; min-width: 0; gap: .1rem; }
.rd-header-v2 .rd-nav-link { min-height: 48px; padding: .6rem .75rem; font-size: .75rem; color: var(--rd-muted-strong); white-space: nowrap; }
.rd-header-v2 .rd-header-categories { color: var(--rd-primary); font-weight: 700; padding-inline-start: 0; padding-inline-end: 1.25rem; margin-inline-end: .35rem; }
.rd-header-categories::before { content: ''; position: absolute; inset-inline-end: 0; height: 20px; width: 1px; background: var(--rd-border); }
.rd-header-v2 .rd-nav-link--active { color: var(--rd-accent); }
.rd-header-sale-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rd-accent); }
.rd-header-installments { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 36px; padding: .5rem .8rem; border-radius: 10px; background: #edf3ff; color: var(--rd-primary); font-size: .6875rem; font-weight: 700; white-space: nowrap; transition: background .2s,color .2s; }
.rd-header-installments:hover { color: #fff; background: var(--rd-accent); }
.rd-header-mobile-search { align-items: center; gap: .5rem; padding-bottom: .65rem; }
.rd-header-mobile-search > form { flex: 1; min-width: 0; }
.rd-header-mobile-shortcuts { border-top: 1px solid #edf1f7; background: #f9fbff; }
.rd-header-mobile-shortcuts > div, .rd-header-mobile-shortcuts nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.rd-header-mobile-shortcuts nav { gap: .65rem; font-size: .625rem; color: var(--rd-primary); }
.rd-header-mobile-shortcuts nav > span { color: #b7c4d7; }
.rd-header-mobile-shortcuts a { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; }
.rd-header-mobile-partner { font-size: .5625rem; color: var(--rd-muted-strong); }
.rd-header-mobile-partner > span:first-child { width: 13px; height: 13px; }
.rd-header-drawer { height: 100dvh; color: var(--rd-text); }
.rd-header-drawer-backdrop { position: absolute; inset: 0; background: rgb(7 24 48 / 50%); }
.rd-header-drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; display: flex; flex-direction: column; width: min(88vw,360px); background: #fff; box-shadow: -20px 0 70px rgb(5 20 44 / 16%); padding-bottom: env(safe-area-inset-bottom,0px); }
.rd-header-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--rd-border); background: #f8faff; }
.rd-header-drawer-top strong { font-weight: 800; font-size: 1rem; color: var(--rd-primary); }
.rd-header-drawer-top p { color: var(--rd-muted-strong); font-size: .6875rem; margin-top: .4rem; }
.rd-header-drawer-nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; }
.rd-drawer-installments { display: flex; align-items: center; gap: .65rem; padding: 1rem .75rem; border-radius: 15px; background: var(--rd-primary); color: #fff; }
.rd-drawer-installments > span:first-child { flex-shrink: 0; color: #a8ceff; }
.rd-drawer-installments strong { display: block; font-size: .75rem; line-height: 1.9; }
.rd-drawer-installments small { display: block; margin-top: .3rem; font-size: .5625rem; color: #cfdef7; }
.rd-drawer-installments > span:last-child { margin-inline-start: auto; flex-shrink: 0; }
.rd-drawer-section-label { color: var(--rd-muted-strong); font-size: .625rem; margin: 1.25rem .75rem .5rem; }
.rd-header-drawer .rd-drawer-link { display: flex; align-items: center; gap: .75rem; min-height: 46px; font-size: .8125rem; }
.rd-header-drawer .rd-drawer-link > span:first-child { color: var(--rd-accent); flex-shrink: 0; }
.rd-drawer-account-links { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--rd-border); }
@media (max-width: 1279px) and (min-width: 1024px) {
  .rd-header-main { gap: 1rem; }
  .rd-header-brand-copy { max-width: 155px; }
  .rd-header-v2 .rd-nav-link { padding-inline: .6rem; font-size: .6875rem; }
  .rd-header-nav-inner > .rd-header-installments { font-size: .625rem; }
}
@media (max-width: 1023px) {
  .rd-header-main { min-height: 68px; gap: .6rem; }
  .rd-header-brand { gap: .5rem; min-width: 0; flex-shrink: 1; }
  .rd-header-brand-mark { height: 36px; width: 36px; border-radius: 11px; flex-shrink: 0; }
  .rd-header-brand-mark > span { height: 21px; width: 21px; }
  .rd-header-brand-copy { max-width: min(32vw,220px); }
  .rd-header-brand-copy strong { font-size: .875rem; }
  .rd-header-brand-copy small { font-size: .5rem; }
  .rd-header-actions { gap: .25rem; }
  .rd-header-v2 .rd-header-action { min-width: 40px; padding-inline: .5rem; }
  .rd-header-menu-button { width: 36px; flex-shrink: 0; }
  .rd-header-action-divider { display: none; }
  .rd-header-mobile-search { display: flex; }
  .rd-header-mobile-search .rd-header-installments { min-height: 44px; font-size: .625rem; padding-inline: .6rem; }
  .rd-header-mobile-search .rd-header-search-field { border-radius: 11px; gap: .4rem; padding-inline-start: .65rem; }
  .rd-header-mobile-search input { height: 42px; }
  .rd-header-mobile-search input::placeholder { font-size: .625rem; }
}
@media (max-width: 359px) {
  .rd-header-brand-mark { display: none; }
  .rd-header-brand-copy { max-width: 35vw; }
  .rd-header-mobile-search .rd-header-installments > span { display: none; }
}

.rd-header-utility-links .rd-header-partner { color: #e3edff; min-height: 34px; font-size: .625rem; font-weight: 500; }
.rd-header-utility-links .rd-header-partner:hover { color: #fff; }
