:root {
  --astro-bg: #f5f7fb;
  --astro-surface: #ffffff;
  --astro-surface-soft: #eef3fa;
  --astro-text: #0f172a;
  --astro-muted: #475569;
  --astro-border: #d8e1ed;
  --astro-navy: #080d20;
  --astro-blue: #2563eb;
  --astro-cyan: #06b6d4;
  --astro-purple: #7c3aed;
  --astro-success: #16a34a;
  --astro-danger: #dc2626;
  --astro-radius-sm: 12px;
  --astro-radius: 16px;
  --astro-radius-lg: 20px;
  --astro-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body.astro-shop-child { background: var(--astro-bg); color: var(--astro-text); font-family: var(--astro-font); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.astro-shop-child :where(h1, h2, h3, h4) { color: var(--astro-text); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
body.astro-shop-child :where(p, li, label) { color: var(--astro-muted); }
body.astro-shop-child :where(a, button, input, select, textarea) { font: inherit; }
body.astro-shop-child :where(button, .button, input[type="submit"]) { font-weight: 700; }
body.astro-shop-child :where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--astro-cyan); outline-offset: 3px; }

.astro-shell, .woocommerce-page .site-container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.astro-home, .woocommerce-page .site-main { padding-block: 32px 72px; }
.astro-section { padding-block: clamp(48px, 7vw, 88px); }
.astro-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.astro-section__heading h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); }
.astro-card, .astro-empty, .woocommerce-account .woocommerce form, .woocommerce-cart-form, .cart-collaterals .cart_totals, .woocommerce-checkout-review-order, .woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-additional-fields, .astro-transaction-form { background: var(--astro-surface); border: 1px solid var(--astro-border); border-radius: var(--astro-radius); box-shadow: var(--astro-shadow); }
.astro-card, .astro-empty { padding: clamp(18px, 3vw, 28px); }
.astro-empty { display: grid; place-items: center; gap: 10px; min-height: 160px; text-align: center; color: var(--astro-muted); }
.astro-empty p { max-width: 44ch; margin: 0; }
.astro-product-grid, .astro-category-grid { display: grid; gap: 16px; }
.astro-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.astro-category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.astro-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--astro-radius-sm); font-weight: 700; text-decoration: none; cursor: pointer; }
.astro-button--primary, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: linear-gradient(105deg, var(--astro-blue), var(--astro-purple)); color: #ffffff; box-shadow: 0 8px 18px rgba(37, 99, 235, .2); }
.astro-button--ghost, .woocommerce .button.alt { border-color: #b9c8e0; background: var(--astro-surface); color: #1d4ed8; }
.woocommerce :where(input.input-text, input[type="number"], input[type="email"], input[type="tel"], select, textarea) { width: 100%; min-height: 48px; border: 1px solid #c6d2e2; border-radius: var(--astro-radius-sm); background: #f8fafc; color: var(--astro-text); padding: 11px 13px; box-shadow: none; }
.woocommerce textarea { min-height: 112px; resize: vertical; }
.woocommerce :where(input, textarea)::placeholder { color: #64748b; opacity: 1; }
.woocommerce :where(input, select, textarea):focus { border-color: var(--astro-blue); outline: 3px solid rgba(37, 99, 235, .16); outline-offset: 0; }
.woocommerce .quantity { display: inline-grid; grid-template-columns: 44px minmax(48px, 1fr) 44px; align-items: stretch; min-height: 44px; border: 1px solid #c6d2e2; border-radius: var(--astro-radius-sm); overflow: hidden; background: var(--astro-surface); }
.woocommerce .quantity input.qty { min-width: 48px; min-height: 42px; border: 0; border-radius: 0; padding: 0 6px; text-align: center; background: transparent; }
.woocommerce .quantity :where(button, .minus, .plus) { display: grid; place-items: center; border: 0; background: var(--astro-surface-soft); color: var(--astro-text); cursor: pointer; }

.woocommerce-page .entry-header, .woocommerce-page .entry-hero { min-height: 0; padding-block: 28px; background: transparent; }
.woocommerce-page .entry-title { margin: 0; font-size: clamp(30px, 4vw, 46px); color: var(--astro-text); }
.woocommerce table.shop_table { width: 100%; border: 1px solid var(--astro-border); border-radius: var(--astro-radius); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--astro-surface); color: var(--astro-text); }
.woocommerce table.shop_table :where(th, td) { border-color: var(--astro-border); padding: 16px; color: var(--astro-text); vertical-align: middle; }
.woocommerce table.shop_table th { background: var(--astro-surface-soft); font-weight: 750; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { margin: 0 0 18px; border: 1px solid #bfdbfe; border-radius: var(--astro-radius-sm); background: #eff6ff; color: var(--astro-text); box-shadow: none; }
.woocommerce-error { border-color: #fecaca; background: #fff1f2; }
.woocommerce-message { border-color: #bbf7d0; background: #f0fdf4; }
.woocommerce :where(.woocommerce-info, .woocommerce-message, .woocommerce-error) a { color: #1d4ed8; font-weight: 700; }

@media (max-width: 767px) {
  .astro-shell, .woocommerce-page .site-container { width: min(100% - 28px, 640px); }
  .astro-home, .woocommerce-page .site-main { padding-block: 22px 88px; }
  .astro-section { padding-block: 40px; }
  .astro-section__heading { align-items: start; flex-direction: column; margin-bottom: 18px; }
  .astro-product-grid, .astro-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .woocommerce table.shop_table { display: block; overflow-x: auto; border-radius: var(--astro-radius-sm); }
  .woocommerce table.shop_table :where(th, td) { padding: 12px; }
}

.woocommerce-cart .entry-hero, .woocommerce-cart .entry-header { display: none; }
.astro-cart { max-width: 1240px; margin: 0 auto; }
.astro-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.astro-cart-items { min-width: 0; }.astro-cart-heading { margin-bottom: 18px; }.astro-cart-heading__eyebrow { margin: 0 0 5px; color: var(--astro-blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; }.astro-cart-heading h1 { margin: 0; font-size: clamp(32px, 4vw, 46px); }.astro-cart-heading p:last-child { margin: 8px 0 0; }
.astro-cart-items__list { display: grid; gap: 12px; }.astro-cart-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--astro-border); border-radius: var(--astro-radius); background: var(--astro-surface); box-shadow: var(--astro-shadow); }
.astro-cart-item__media { width: 84px; aspect-ratio: 1; overflow: hidden; border-radius: var(--astro-radius-sm); background: var(--astro-surface-soft); }.astro-cart-item__media :where(img, .astro-product-art) { display: block; width: 100%; height: 100%; object-fit: cover; }.astro-cart-item h2 { margin: 0; font-size: 18px; }.astro-cart-item h2 a { color: var(--astro-text); text-decoration: none; }.astro-cart-item__variation { margin-top: 4px; font-size: 13px; }.astro-cart-item__variation :where(dt, dd) { color: var(--astro-muted); }.astro-cart-item__price { margin: 7px 0 0; color: var(--astro-text); font-weight: 750; }
.astro-cart-item__actions { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 12px; }.astro-cart-quantity { display: grid; grid-template-columns: 38px 52px 38px; min-height: 44px; overflow: hidden; border: 1px solid var(--astro-border); border-radius: var(--astro-radius-sm); }.astro-cart-quantity__step { border: 0; background: var(--astro-surface-soft); color: var(--astro-text); font-size: 20px; cursor: pointer; }.astro-cart-quantity .qty { width: 52px; border: 0; text-align: center; background: var(--astro-surface); }.astro-cart-item__subtotal { margin: 0; min-width: 92px; color: var(--astro-text); font-weight: 800; text-align: right; }.astro-cart-item__remove { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff1f2; color: var(--astro-danger); font-size: 24px; line-height: 1; text-decoration: none; }
.astro-cart-coupon { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--astro-border); border-radius: var(--astro-radius-sm); background: var(--astro-surface); }.astro-cart-coupon summary { cursor: pointer; color: var(--astro-text); font-weight: 750; }.astro-cart-coupon__fields { display: flex; gap: 10px; margin-top: 12px; }.astro-cart-coupon__fields input { flex: 1; min-width: 0; }.astro-cart-coupon__fields button { min-height: 46px; white-space: nowrap; }
.astro-cart-summary { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--astro-border); border-radius: var(--astro-radius); background: var(--astro-surface); box-shadow: var(--astro-shadow); }.astro-cart-summary h2 { margin: 0 0 18px; font-size: 22px; }.astro-cart-summary__totals { margin: 0; }.astro-cart-summary__totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--astro-border); }.astro-cart-summary__totals :where(dt, dd) { margin: 0; color: var(--astro-muted); }.astro-cart-summary__totals dd { text-align: right; }.astro-cart-summary__total :where(dt, dd) { color: var(--astro-text); font-size: 18px; font-weight: 800; }.astro-cart-summary__checkout { width: 100%; margin-top: 18px; }.astro-cart-summary__note { margin: 12px 0 0; font-size: 12px; }
.astro-cart-update { margin-top: 18px; }.astro-cart-update:disabled { opacity: .55; cursor: not-allowed; }.astro-cart-empty { max-width: 520px; margin: 10px auto; }.astro-cart-empty svg { width: 42px; color: var(--astro-blue); }
@media (max-width: 767px) { .astro-cart-layout { grid-template-columns: 1fr; gap: 18px; }.astro-cart-item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }.astro-cart-item__media { width: 72px; }.astro-cart-item__actions { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; }.astro-cart-item__subtotal { text-align: right; }.astro-cart-summary { position: static; padding: 18px; }.astro-cart-coupon__fields { flex-direction: column; }.astro-cart-coupon__fields button, .astro-cart-update { width: 100%; }.woocommerce-cart .astro-floating-support { bottom: calc(112px + env(safe-area-inset-bottom)); } }
