/* Asukayama Works: product color guide drawer, independent of Welcart SKU controls. */
.awcd-root[hidden] { display: none !important; }
.awcd-root { position: fixed; inset: 0; z-index: 99999; font-family: inherit; }
.awcd-root, .awcd-root * { box-sizing: border-box; }
.awcd-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: rgba(23,24,25,.42); opacity: 0; transition: opacity .26s ease; cursor: default; }
.awcd-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(520px, 100%); max-height: 100%; overflow: hidden; color: #424242; background: #fff; box-shadow: -10px 0 36px rgba(0,0,0,.1); transform: translateX(102%); transition: transform .26s ease; }
.awcd-root.is-open .awcd-backdrop { opacity: 1; }
.awcd-root.is-open .awcd-panel { transform: translateX(0); }
.awcd-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: 24px 26px 18px; border-bottom: 1px solid #e5e5e5; }
.awcd-eyebrow { margin: 0 0 4px !important; color: #777; font-size: 10px !important; font-weight: 600; letter-spacing: .14em; line-height: 1.2 !important; }
.awcd-root .awcd-header h2 { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: #333; font-size: 21px !important; font-weight: 600; line-height: 1.4 !important; letter-spacing: .02em; }
.awcd-root .awcd-header h2::before, .awcd-root .awcd-header h2::after, .awcd-root .awcd-card h3::before, .awcd-root .awcd-extra h3::before, .awcd-root .awcd-caution h3::before { display: none !important; content: none !important; }
.awcd-root .awcd-close { display: flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; margin: 0; padding: 0; border: 1px solid #e5e5e5; border-radius: 50%; background: #fff; color: #424242; cursor: pointer; font-size: 27px; font-weight: 300; line-height: 1; }
.awcd-root .awcd-close:hover { background: #f4f4f4; }
.awcd-root .awcd-close:focus-visible, .awcd-root .awcd-full-link:focus-visible { outline: 2px solid #424242; outline-offset: 3px; }
.awcd-scroll { flex: 1 1 auto; min-height: 0; padding: 24px 26px calc(38px + env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.awcd-root .awcd-intro { margin: 0 0 12px !important; font-size: 14px !important; line-height: 1.85 !important; }
.awcd-root .awcd-note-first { margin: 0 0 22px !important; color: #757575; font-size: 12px !important; line-height: 1.8 !important; }
.awcd-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 16px; }
.awcd-card { min-width: 0; }
.awcd-photo-wrap { width: 100%; overflow: hidden; background: #f4f2ee; aspect-ratio: 4/3; }
.awcd-photo-wrap .awcd-photo { display: block; width: 100%; height: 100%; margin: 0; border: 0; object-fit: cover; }
.awcd-root .awcd-card h3 { margin: 10px 0 5px !important; padding: 0 !important; border: none !important; color: #333; font-size: 14px !important; font-weight: 600; line-height: 1.55 !important; }
.awcd-root .awcd-card p { margin: 0 !important; color: #666; font-size: 12px !important; line-height: 1.75 !important; }
.awcd-extra { margin-top: 28px; padding: 22px 0 0; border-top: 1px solid #e5e5e5; }
.awcd-caution { margin-top: 24px; padding: 20px 18px; background: #f7f7f6; }
.awcd-root .awcd-extra h3, .awcd-root .awcd-caution h3 { margin: 0 0 9px !important; padding: 0 !important; color: #424242; font-size: 15px !important; font-weight: 600; line-height: 1.5 !important; }
.awcd-root .awcd-extra p, .awcd-root .awcd-caution p { margin: 0 0 10px !important; color: #666; font-size: 13px !important; line-height: 1.8 !important; }
.awcd-root .awcd-caution p:last-child { margin-bottom: 0 !important; }
.awcd-full-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #424242; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.awcd-full-link:hover { color: #777; }
@media (max-width: 767px) {
  .awcd-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 89vh; height: 89dvh; max-height: 100%; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 32px rgba(0,0,0,.13); transform: translateY(102%); }
  .awcd-header { padding: 17px 18px 14px; }
  .awcd-header::before { position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; border-radius: 999px; background: #d9d9d9; content: ""; transform: translateX(-50%); }
  .awcd-root .awcd-header h2 { font-size: 18px !important; }
  .awcd-scroll { padding: 20px 18px calc(26px + env(safe-area-inset-bottom)); }
  .awcd-grid { gap: 22px 12px; }
  .awcd-root .awcd-card h3 { font-size: 13px !important; }
  .awcd-root .awcd-card p { font-size: 12px !important; }
}
@media (max-width: 350px) { .awcd-grid { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .awcd-panel, .awcd-backdrop { transition-duration: .01ms; } }
