/* Underkläder section only */
.uk-hero-section { padding: 26px clamp(18px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); }
.uk-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.uk-crumbs a { color: var(--green); }
.uk-hero-section h1 { margin: 0 0 6px; font-size: clamp(28px, 4.5vw, 40px); }
.uk-lead { margin: 0 0 14px; max-width: 60ch; color: var(--muted); font-size: 16px; }
.uk-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 10px; }
.uk-steps li { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 600; font-size: 14px; }
.uk-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; }
.uk-fine { margin: 0; font-size: 13px; color: var(--muted); }
.uk-layout { width: min(100% - 28px, 1320px); margin: 18px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.uk-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.uk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.uk-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.uk-chip small { color: var(--muted); font-weight: 500; }
.uk-chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.uk-chip.is-on small { color: rgba(255,255,255,.8); }
.uk-count { color: var(--muted); font-size: 14px; }
.uk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.uk-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.uk-card.is-skeleton { min-height: 520px; background: linear-gradient(90deg, var(--soft), #fff, var(--soft)); background-size: 200% 100%; animation: uk-shimmer 1.4s infinite; }
@keyframes uk-shimmer { to { background-position: -200% 0; } }
.uk-media { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.uk-media img { width: 100%; height: 100%; object-fit: contain; }
.uk-pack { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--text); color: #fff; font-size: 12px; font-weight: 700; }
.uk-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; flex: 1; }
.uk-meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.uk-body h3 { margin: 0; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.uk-body h3 a { color: inherit; text-decoration: none; }
.uk-body h3 a:hover { text-decoration: underline; }
.uk-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.uk-price strong { font-size: 20px; color: var(--green); }
.uk-price span { font-size: 13px; color: var(--muted); }
.uk-price--lg strong { font-size: 26px; }
.uk-opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.uk-opt legend, .uk-onecolor { padding: 0; margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.uk-opt legend b, .uk-onecolor b { color: var(--text); }
.uk-swatches, .uk-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.uk-swatch { width: 46px; height: 46px; padding: 2px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; cursor: pointer; }
.uk-swatch img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.uk-swatch.is-on { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-soft); }
.uk-swatch:disabled { opacity: .35; cursor: not-allowed; }
.uk-size { min-width: 46px; min-height: 44px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--text); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.uk-size.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.uk-size:disabled { color: #a9a9a9; background: var(--soft); text-decoration: line-through; cursor: not-allowed; }
.uk-err { margin: 6px 0 0; color: var(--danger); font-size: 13px; font-weight: 600; }
.uk-buyrow { display: flex; gap: 8px; margin-top: 10px; }
.uk-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; flex: none; }
.uk-qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 20px; font-weight: 700; color: var(--green); cursor: pointer; border-radius: 999px; }
.uk-qty button:disabled { color: #bbb; cursor: not-allowed; }
.uk-qty output { min-width: 22px; text-align: center; font-weight: 700; }
.uk-qty--sm button { width: 34px; height: 36px; font-size: 17px; }
.uk-add { flex: 1; min-height: 48px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.uk-add:hover { filter: brightness(1.1); }
.uk-add:disabled { background: #3b82f6; }
.uk-sum { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.uk-sum b { color: var(--text); }
.uk-view { margin-top: auto; padding-top: 6px; align-self: flex-start; color: var(--green); font-weight: 700; font-size: 14px; }
.uk-cart { position: sticky; top: 90px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.uk-cart-head { display: flex; justify-content: space-between; align-items: baseline; }
.uk-cart-head h2 { margin: 0 0 10px; font-size: 20px; }
.uk-cart-head span { color: var(--muted); font-size: 14px; }
.uk-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 46vh; overflow: auto; }
.uk-line { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.uk-line img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.uk-line-info strong { display: block; font-size: 14px; line-height: 1.3; }
.uk-line-info small { color: var(--muted); font-size: 12px; }
.uk-line-edit { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; font-size: 13px; }
.uk-line-edit select { min-height: 36px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; max-width: 160px; }
.uk-line-side { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.uk-remove { border: 0; background: none; color: var(--danger); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 36px; }
.uk-empty, .uk-note { color: var(--muted); font-size: 14px; }
.uk-totals { margin: 12px 0 0; display: grid; gap: 6px; }
.uk-totals div { display: flex; justify-content: space-between; }
.uk-totals dt { color: var(--muted); }
.uk-totals dd { margin: 0; font-weight: 700; }
.uk-checkout { display: flex; justify-content: center; align-items: center; min-height: 50px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; text-decoration: none; }
.uk-checkout.is-disabled { background: var(--line-strong); pointer-events: none; }
.uk-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; display: flex; gap: 14px; align-items: center; max-width: min(92vw, 560px); padding: 12px 16px; border-radius: var(--radius-md); background: var(--text); color: #fff; box-shadow: var(--shadow-md); font-size: 14px; }
.uk-toast a { color: #fff; font-weight: 700; white-space: nowrap; }
.uk-dialog { width: min(100% - 24px, 1000px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); }
.uk-dialog::backdrop { background: rgba(14, 23, 38, .55); }
.uk-close { position: sticky; top: 8px; float: right; margin: 8px 8px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 24px; cursor: pointer; z-index: 2; }
.uk-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 24px; }
.uk-hero { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.uk-hero img { width: 100%; height: 100%; object-fit: contain; }
.uk-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.uk-thumbs button { width: 64px; height: 64px; padding: 2px; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.uk-thumbs button.is-on { border-color: var(--green); }
.uk-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.uk-info h2 { margin: 4px 0 8px; font-size: 24px; }
.uk-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.uk-specs div { padding: 10px; background: var(--soft); border-radius: var(--radius-sm); }
.uk-specs dt { font-size: 12px; color: var(--muted); }
.uk-specs dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.uk-info-box { margin-top: 14px; padding: 12px 14px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 8px; font-size: 14px; }
.uk-info-box p { margin: 0 0 6px; }
.uk-card :focus-visible, .uk-cart :focus-visible, .uk-dialog :focus-visible, .uk-chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 1000px) {
  .uk-layout { grid-template-columns: minmax(0, 1fr); }
  .uk-cart { position: static; }
}
@media (max-width: 720px) {
  .uk-layout { width: min(100% - 20px, 1320px); }
  .uk-hero-section { padding: 20px 16px; }
  .uk-grid { grid-template-columns: minmax(0, 1fr); }
  .uk-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .uk-media { border-bottom: 0; border-right: 1px solid var(--line); aspect-ratio: auto; }
  .uk-media img { aspect-ratio: 1; height: auto; }
  .uk-body { padding: 12px; }
  .uk-buyrow { flex-direction: column; }
  .uk-qty { align-self: flex-start; }
  .uk-detail { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 14px; }
  .uk-toast { flex-direction: column; align-items: flex-start; gap: 6px; bottom: 12px; }
}
@media (max-width: 400px) {
  .uk-card { grid-template-columns: minmax(0, 1fr); }
  .uk-media { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .uk-card.is-skeleton { animation: none; } }
.uk-toast[hidden] { display: none; }
@media (max-width: 720px) {
  .uk-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -10px; padding: 2px 10px 4px; width: calc(100% + 20px); }
  .uk-chips::-webkit-scrollbar { display: none; }
  .uk-chip { flex: none; }
  .uk-toolbar { flex-direction: column; align-items: stretch; }
}

.uk-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
