/* Site-wide chrome (shell, header, footer, product specs) in the autos design. Prefixed osc- to stay clear of Amir/WooCommerce/Elementor classes. */
@font-face { font-family: Vazirmatn; src: url('../../amir-shop/assets/fonts/Vazirmatn.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --blue: #006494; --blue-h: #004B70; --yellow: #F6C216; --navy: #061B2D; --panel: #0D2A3E;
  --text: #102A3A; --muted: #667B88; --surface: #F4F8FA; --soft: #EAF4F9; --border: #DDE8EE; --soft-y: #FFF6D5;
  --r: 14px;
  /* Amir parent tokens mapped onto the autos palette for inner pages. */
  --accent: var(--blue); --green: var(--navy); --ink: var(--text); --font: Vazirmatn, Tahoma, sans-serif;
}
body { margin: 0; background: var(--navy); color: var(--text); font-family: Vazirmatn, Tahoma, sans-serif; }
.osc-shell { padding: 12px; }
.osc-page { max-width: 1360px; margin: 0 auto; background: #fff; border-radius: 20px; overflow: hidden; }
.osc-page :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.osc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; font: 700 14px/1 Vazirmatn, Tahoma, sans-serif; text-decoration: none; transition: background .2s; }
html body .osc-btn-yellow { background: var(--yellow); color: var(--navy); }
html body .osc-btn-yellow:hover { background: #e3b10c; color: var(--navy); }
html body .osc-icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--text); padding: 0; cursor: pointer; }
.osc-icon-btn.osc-outline { border: 1px solid var(--border); background: #fff; }
html body .osc-icon-btn:hover { color: var(--blue); }
.osc-icon-btn .amir-cart-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--yellow); color: var(--navy); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; line-height: 1; }

/* header */
.osc-header { display: flex; align-items: center; gap: 24px; height: 76px; padding-inline: 32px; background: #fff; position: relative; z-index: 30; font-family: Vazirmatn, Tahoma, sans-serif; }
html body .osc-logo { display: flex; align-items: center; flex-shrink: 0; color: var(--text); font-weight: 800; text-decoration: none; }
.osc-logo img { width: auto; height: 46px; max-width: 170px; object-fit: contain; display: block; }
.osc-nav { margin-inline: auto; }
.osc-menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 15px; }
html body .osc-menu a { color: var(--text); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; display: block; }
html body .osc-menu a:hover, html body .osc-menu .current-menu-item > a { color: var(--blue); border-color: var(--yellow); }
.osc-header-actions { display: flex; gap: 12px; align-items: center; }
html body .osc-menu-btn { display: none; margin-inline-start: auto; }

/* footer */
.osc-footer { background: var(--navy); color: #fff; padding: 56px max(48px, calc((100% - 1280px) / 2)) 24px; font-family: Vazirmatn, Tahoma, sans-serif; line-height: 1.9; }
html body .osc-footer a { color: #fff; text-decoration: none; }
html body .osc-footer a:hover { color: var(--yellow); }
.osc-footer :focus-visible { outline-color: var(--yellow); }
.osc-mega { font-size: clamp(90px, 18vw, 260px); font-weight: 900; line-height: 1.2; text-align: center; color: #EAF4F9; margin-bottom: 32px; white-space: nowrap; overflow: hidden; }
.osc-fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 32px; }
.osc-fcols h3 { font-size: 15px; margin: 0 0 8px; color: var(--yellow); font-weight: 700; }
.osc-fcols p { opacity: .8; margin: 12px 0 0; font-size: 14px; }
.osc-flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.osc-flinks a, .osc-flinks span { opacity: .85; display: inline-flex; gap: 8px; align-items: center; }
.osc-flinks a:hover { opacity: 1; }
.osc-fcontact span { align-items: flex-start; }
.osc-fcontact span svg { margin-top: 5px; }
.osc-social { display: flex !important; gap: 8px; margin-top: 4px; }
.osc-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--panel); justify-content: center; opacity: 1; }
.osc-logo-chip { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 14px; }
.osc-logo-chip img { width: auto; height: 36px; display: block; }
.osc-enamad { display: inline-block; margin-top: 16px; background: #fff; border-radius: 10px; padding: 6px; }
.osc-enamad img { display: block; width: 80px; height: auto; }
.osc-copy { border-top: 1px solid rgba(255,255,255,.14); margin: 32px 0 0; padding-top: 16px; font-size: 13px; opacity: .7; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* single product: specs + USD price */
.osc-usd { color: var(--blue); font-size: 20px; font-weight: 800; margin: 4px 0 16px; }
.variation-car-price { color: var(--blue); font-weight: 700; margin: 8px 0; }
.osc-specs { clear: both; margin: 40px 0; padding: 32px; background: var(--surface); border-radius: 20px; }
.osc-specs > h2 { margin: 0 0 24px; font-size: 24px; }
.osc-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.osc-spec-group { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 20px 24px; }
.osc-spec-group h3 { margin: 0 0 12px; font-size: 17px; color: var(--blue); }
.osc-spec-group dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: 14px; }
.osc-spec-group dt { color: var(--muted); }
.osc-spec-group dd { margin: 0; font-weight: 600; }
.osc-spec-group ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 14px; }
.osc-spec-group li::marker { color: var(--yellow); }

@media (max-width: 1199px) { .osc-menu { gap: 18px; } }
@media (max-width: 760px) {
  .osc-shell { padding: 0; }
  .osc-page { border-radius: 0; }
  .osc-header { padding-inline: 20px; gap: 12px; height: 68px; }
  .osc-logo img { height: 38px; }
  html body .osc-menu-btn { display: inline-grid; }
  .osc-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; padding: 8px 20px 16px; box-shadow: 0 12px 24px rgba(6,27,45,.12); margin: 0; }
  .osc-nav.is-open { display: block; }
  .osc-menu { flex-direction: column; gap: 0; }
  .osc-menu a { padding: 12px 0; }
  .osc-header-actions .osc-btn { display: none; }
  .osc-header-actions { gap: 8px; }
  .osc-footer { padding: 48px 20px 20px; }
  .osc-fcols { grid-template-columns: 1fr 1fr; }
  .osc-fcols > div:first-child, .osc-fcontact { grid-column: 1 / -1; }
  .osc-spec-grid { grid-template-columns: minmax(0, 1fr); }
  .osc-specs { padding: 20px; }
}
