/* STEP123 r8 — shared Panda visual identity for existing Django shop subpages.
   Preserves all legacy forms, views, transaction logic, cards and responsive grids.
   Uses the user's approved logo crop; no replacement illustrations. */
:root { --p8-navy:#122b55; --p8-blue:#1168f4; --p8-sky:#eaf6ff; --p8-border:#dfebf5; --p8-yellow:#ffe46b; }
html { scroll-behavior:smooth; }
body { background:radial-gradient(ellipse 950px 500px at 52% 0%,#d1efff 0%,#eff7ff 66%,transparent 100%),#eef6ff; color:var(--p8-navy); font-family:'NanumSquare','Noto Sans KR','Malgun Gothic','Apple SD Gothic Neo',sans-serif; }
/* Existing subpage header, no nav/form links removed. */
.kk102-site-header,.site-header { background:transparent; }
.kk102-header-inner,.header-inner {min-height:90px;}
.step123-r8-wordmark {display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#321b13;line-height:1.05;}
.step123-r8-wordmark img {width:70px;height:65px;object-fit:contain;flex:none;}
.step123-r8-wordmark-copy {display:flex;flex-direction:column;gap:3px;}
.step123-r8-wordmark-copy strong {font-size:23px;letter-spacing:-1.1px;font-weight:900;line-height:1.1;}
.step123-r8-wordmark-copy small {font-family:Arial,sans-serif;font-size:9px;font-weight:900;letter-spacing:.5px;line-height:1.1;}
.kk101-main-nav,.kk102-main-nav,.main-nav {border-radius:18px;}
.kk101-main-nav a,.kk102-main-nav a,.main-nav a {transition:color .14s ease;}
.kk101-main-nav a:hover,.kk102-main-nav a:hover,.main-nav a:hover {color:var(--p8-blue);}
/* Universal content surfaces: only colors, borders, corners and type rhythm. */
.subpage-head {margin-bottom:22px;}
.subpage-head h1,.subpage-head h2 {color:var(--p8-navy);letter-spacing:-.7px;}
.subpage-head .eyebrow,.eyebrow {letter-spacing:.035em;}
.product-card,.empty-panel,.contact-card,.notice-bar,.list-board,.faq-list,.guide-selection,.guide-steps,.filter-bar {
 border-color:var(--p8-border);border-radius:17px;
}
.product-card,.contact-card,.empty-panel,.list-board,.faq-list,.guide-selection,.guide-steps {background:#fff;box-shadow:0 7px 24px rgba(24,68,116,.055);}
.filter-chip {border-radius:999px;}
.product-card:hover {box-shadow:0 12px 26px rgba(24,68,116,.11);}
.product-cta,.btn-primary {border-radius:13px;}
.product-grid img,.product-thumb img,.product-card img {object-fit:contain;}
/* Versioned functional pages retain their own layout and controls. */
.sell-page-v26 .s26-panel,.buy-page-v27 .b27-panel,.trade-history-v57 .th57-panel {border-radius:18px;border-color:var(--p8-border);}
.sell-page-v26 .s26-head,.buy-page-v27 .b27-header,.trade-history-v57 .th57-page-head {color:var(--p8-navy);}
.sell-page-v26 .s26-chip-grid,.buy-page-v27 .b27-products,.trade-history-v57 .th57-filters {max-width:100%;}
.gift-detail-v25 .gpd-shell,.kk101-login-page .kk101-login-form {border-radius:18px;}
/* Native focus indicators for forms, cards, navigation and links. */
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid #267fff;outline-offset:2px;}
/* A standalone promo page can inherit the Panda wordmark without altering its copy. */
.kk105-wordmark .step123-r8-wordmark {color:#321b13;}
@media (max-width:700px){.step123-r8-wordmark img{width:55px;height:52px}.step123-r8-wordmark-copy strong{font-size:19px}.step123-r8-wordmark-copy small{font-size:8px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
