/* 횡성도담농원 v1 — semantic colour tokens + named components.
   Utility palette is shared by all inherited shop/account/board screens. */

:root {--dd-bg:#fcfbf7;--dd-surface:#fff;--dd-soft:#f3f1e9;--dd-ink:#253e30;--dd-muted:#637365;--dd-green:#284f38;--dd-line:#e0e3d8;--dd-peach:#f3c9aa;--dd-radius:16px;--dd-dark-ink:#f4f2e9}
.dark {--color-gray-400:#a7b5a3;--color-gray-500:#91a28f;--dd-bg:#14241b;--dd-surface:#1c3023;--dd-soft:#233a2b;--dd-ink:#f1f2e9;--dd-muted:#b8c5b7;--dd-green:#b5d5b7;--dd-line:#3e5542;--dd-peach:#f3c9aa}
body {background:var(--dd-bg);color:var(--dd-ink);font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;letter-spacing:-.018em;-webkit-font-smoothing:antialiased}
.dd-site {min-height:100vh;background:var(--dd-bg);color:var(--dd-ink)}
.dd-site :is(button,a,input,select,textarea):focus-visible {outline:3px solid #bf7c46;outline-offset:4px}
.dd-site :is(button,a) {touch-action:manipulation}
.dd-site :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) {border-radius:10px}
.dd-site :is(input,select,textarea):not([type=checkbox]):not([type=radio]):focus {border-color:var(--dd-green)}
.dd-site input::placeholder,.dd-site textarea::placeholder{color:var(--dd-muted);opacity:.85}
.dd-site .dd-main {width:100%;max-width:1440px;margin:auto;padding:28px 48px 64px}
.dd-site .dd-main:has(.dd-home) {max-width:1440px;padding-top:28px}
.dd-header {background:var(--dd-bg);border-color:var(--dd-line);box-shadow:none}
.dd-header>div {max-width:1440px;padding-inline:48px}
.dd-header-top {height:96px;gap:24px}
.dd-brand {min-height:48px;gap:12px;text-align:left;letter-spacing:-.06em}
.dd-brand::before,.dd-mobile-brand::before {content:'';width:30px;height:36px;flex-shrink:0;background:var(--dd-green);border-radius:75% 10% 65% 10%;transform:rotate(-15deg);box-shadow:inset -7px -2px 0 #ffffff20}
.dd-brand-name {display:block;color:var(--dd-ink);font-size:25px;font-weight:800;line-height:1.3}
.dd-brand-sub {display:block;font-size:9px;letter-spacing:.17em;font-weight:500;margin-top:5px;color:var(--dd-muted)}
.dd-header-search {max-width:380px;margin-inline:auto}
.dd-header-search input {height:46px;border:1px solid var(--dd-line);background:var(--dd-soft);font-size:14px}
.dd-header-nav {border-color:var(--dd-line)}
.dd-header-nav>div {min-height:54px;gap:12px;align-items:center}
.dd-header-nav button {border-radius:0;padding:16px 12px;background:transparent;color:var(--dd-muted);font-weight:600;font-size:14px}
.dd-header-nav [data-testid=nav-home],.dd-header-nav [data-testid=nav-shop] {color:var(--dd-ink)}
.dd-header-nav button.bg-gray-900 {background:transparent;color:var(--dd-ink);box-shadow:inset 0 -3px var(--dd-green)}
.dd-header-nav button:hover {background:var(--dd-soft)}
.dd-mobile-header {background:var(--dd-bg);border-color:var(--dd-line);min-height:72px}
.dd-mobile-brand {gap:9px;min-width:0}
.dd-mobile-brand::before{width:19px;height:25px}
.dd-mobile-brand span {font-size:19px;letter-spacing:-.06em;white-space:nowrap}
.dd-footer {background:var(--dd-soft);border-color:var(--dd-line)}
.dd-footer>div {max-width:1440px;padding:52px 48px 28px}
.dd-footer h3 {font-size:25px;letter-spacing:-.06em}
.dd-footer h4 {color:var(--dd-muted);font-weight:700;letter-spacing:.02em}
.dd-footer p {line-height:1.8;max-width:320px}
.dd-footer li button {min-height:32px}
.dd-footer-business {border-top:1px solid var(--dd-line);margin-top:32px;padding-top:20px;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:12px;color:var(--dd-muted)}
.dd-home a {color:inherit}
.dd-hero {display:grid;grid-template-columns:.92fr 1.08fr;min-height:540px;border-radius:24px;overflow:hidden;background:#244b35}
.dd-hero-copy {padding:62px 50px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#fcfaf0;position:relative}
.dd-eyebrow {font-size:11px;font-weight:700;letter-spacing:.16em;line-height:1.7;color:var(--dd-muted);margin:0 0 14px}
.dd-hero .dd-eyebrow {color:#d6e5d1;letter-spacing:.15em}
.dd-hero h1 {font-size:clamp(36px,3.4vw,50px);line-height:1.35;font-weight:650;letter-spacing:-.065em;margin:0 0 24px;word-break:keep-all}
.dd-hero h1 span {display:block}
.dd-hero-description {color:#dae6d8;font-size:15px;line-height:1.9;max-width:310px;word-break:keep-all;margin:0 0 28px}
.dd-button {display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:48px;padding:14px 23px;border-radius:8px;font-size:14px;font-weight:650;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:background .2s,transform .2s}
.dd-home .dd-button-peach {background:var(--dd-peach);color:#284432}
.dd-home .dd-button-peach:hover {background:#f8d8c1;transform:translateY(-2px)}
.dd-home .dd-button-green {background:#284f38;color:#fff}
.dd-home .dd-button-green:hover {background:#356344}
.dd-hero-signature {font-size:9px;letter-spacing:.23em;color:#abc5a9;margin:43px 0 0}
.dd-hero-visual {position:relative;background:url('/api/templates/assets/hsdodam-farm/images/dodam-mood.jpg') center center/cover;min-width:0}
.dd-hero-stamp {width:112px;height:112px;border-radius:50%;background:#f4ccaf;color:#34513b;position:absolute;right:25px;top:25px;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(9deg);box-shadow:0 0 0 5px #f4ccaf66;border:1px solid #b8876366}
.dd-hero-stamp span:first-child {font-family:Georgia,serif;font-size:23px;letter-spacing:.06em}
.dd-hero-stamp span:nth-child(2){font-size:10px;margin:3px 0 6px}
.dd-hero-stamp span:last-child{font-size:7px;letter-spacing:.15em}
.dd-image-caption {position:absolute;bottom:16px;right:16px;border-radius:4px;background:#14291be6;color:#fff;font-size:10px;padding:4px 7px}
.dd-intro-line {display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--dd-line);padding:24px 5px;color:var(--dd-muted)}
.dd-intro-line>span {font-size:9px;letter-spacing:.16em}
.dd-intro-line p {font-size:13px;letter-spacing:-.02em;text-align:center;margin:0}
.dd-products {padding:66px 0 52px}
.dd-section-heading {display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px}
.dd-section-heading .dd-eyebrow {margin-bottom:8px}
.dd-home h2 {font-size:30px;line-height:1.4;font-weight:650;letter-spacing:-.045em;margin:0;word-break:keep-all}
.dd-section-description {font-size:14px;line-height:1.7;color:var(--dd-muted);margin-top:10px}
.dd-text-link {display:inline-flex;gap:20px;align-items:center;font-size:13px;white-space:nowrap;min-height:44px;border-bottom:1px solid var(--dd-line)}
.dd-text-link:hover {border-color:var(--dd-green)}
.dd-product-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.dd-product {display:block;padding:0;white-space:normal;text-align:left;border:0;background:transparent;border-radius:0;overflow:visible;box-shadow:none;min-width:0}
.dd-product:hover {box-shadow:none}
.dd-product-image {width:100%;border-radius:14px;background:var(--dd-soft);isolation:isolate}
.dd-product-info {padding:16px 0 0}
.dd-product-info h3 {font-size:16px;line-height:1.65;-webkit-line-clamp:2;min-height:26px}
.dd-product-info>div:last-child>span:first-child {font-size:19px;letter-spacing:-.025em}
.dd-product-info .line-through {font-size:12px}
.dd-product-info .text-blue-600 {background:transparent;padding:0;color:var(--dd-muted);font-weight:500;font-size:11px}
.dd-status {min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;border:1px solid var(--dd-line);border-radius:16px;text-align:center;padding:30px;color:var(--dd-muted)}
.dd-status h3 {font-size:19px;font-weight:650;color:var(--dd-ink)}
.dd-status p {font-size:14px;line-height:1.8}
.dd-status>.fa-seedling {font-size:30px;margin-bottom:10px}
.dd-brand-band {display:flex;align-items:center;justify-content:space-between;gap:40px;padding:40px 44px;background:var(--dd-soft);border-radius:16px}
.dd-brand-band h2 {font-size:27px}
.dd-brand-band p:not(.dd-eyebrow) {color:var(--dd-muted);font-size:14px;margin-top:12px;line-height:1.8;word-break:keep-all}
.dd-brand-band .dd-button {flex-shrink:0}
.dd-bottom-grid {display:grid;grid-template-columns:1.15fr 1fr;gap:72px;padding:64px 0 12px}
.dd-news .dd-section-heading {margin-bottom:16px}
.dd-bottom-grid h2 {font-size:24px}
.dd-news-row {display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:60px;border-top:1px solid var(--dd-line);font-size:14px;padding:14px 0}
.dd-news-row>span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dd-news-row>i {flex-shrink:0;font-size:11px;color:var(--dd-muted)}
.dd-news-row:hover>span {text-decoration:underline}
.dd-news-empty {font-size:14px;color:var(--dd-muted);padding:26px 0;border-top:1px solid var(--dd-line)}
.dd-help {border-left:1px solid var(--dd-line);padding-left:48px}
.dd-help>p:not(.dd-eyebrow) {font-size:14px;line-height:1.8;color:var(--dd-muted);margin:12px 0 18px;word-break:keep-all}
.dd-help-links {display:flex;flex-wrap:wrap;gap:8px 20px}
.dd-help-links a {font-size:13px;display:flex;align-items:center;gap:14px;min-height:44px}
.dd-help-links i {font-size:10px}
.dd-skip {position:fixed;left:16px;top:-90px;padding:12px 20px;z-index:200;background:#fff;color:#253e30;border:2px solid #284f38;border-radius:8px}
.dd-skip:focus {top:12px}
.dd-site .dd-main>:not(.dd-home) {padding-top:24px;padding-bottom:32px}
@media (min-width:768px) and (max-width:1100px) {
 .dd-site .dd-main{padding:24px 28px 48px}.dd-header>div{padding-inline:28px}.dd-header-top{gap:16px}.dd-brand-name{font-size:22px}.dd-header-search{margin-inline:14px;max-width:290px}
 .dd-hero{min-height:450px;grid-template-columns:1fr 1fr}.dd-hero-copy{padding:40px 32px}.dd-hero h1{font-size:36px}.dd-hero-description{font-size:14px}.dd-hero-stamp{width:90px;height:90px;right:18px;top:18px}.dd-hero-stamp span:first-child{font-size:19px}.dd-product-grid{gap:24px 18px}.dd-bottom-grid{gap:32px}.dd-help{padding-left:28px}.dd-footer>div{padding-inline:28px}
}
@media(max-width:767px){
 .dd-site .dd-main,.dd-site .dd-main:has(.dd-home){padding:18px 20px 36px}.dd-site .dd-main>:not(.dd-home){padding-top:12px}
 .dd-hero{grid-template-columns:1fr;border-radius:18px;min-height:0}.dd-hero-copy{padding:32px 28px}.dd-hero .dd-eyebrow{font-size:9px;margin-bottom:14px}.dd-hero h1{font-size:35px;margin-bottom:16px;line-height:1.3}.dd-hero-description{font-size:13px;line-height:1.8;max-width:270px;margin-bottom:22px}.dd-hero-signature{display:none}.dd-hero-visual{height:260px;background-position:center 57%}.dd-hero-stamp{width:82px;height:82px;top:18px;right:18px}.dd-hero-stamp span:first-child{font-size:18px}.dd-hero-stamp span:nth-child(2){font-size:8px}.dd-hero-stamp span:last-child{font-size:6px}.dd-image-caption{font-size:8px;bottom:10px;right:10px}.dd-button{min-height:46px;font-size:13px;padding:12px 18px;gap:22px}
 .dd-intro-line{padding:20px 4px;justify-content:center}.dd-intro-line>span{display:none}.dd-intro-line p{font-size:11px}
 .dd-products{padding:38px 0 32px}.dd-section-heading{gap:10px;margin-bottom:22px;align-items:flex-end}.dd-home h2{font-size:24px}.dd-eyebrow{font-size:9px;letter-spacing:.13em}.dd-section-description{font-size:12px;margin-top:7px;max-width:210px}.dd-text-link{font-size:11px;gap:10px;min-height:36px}
 .dd-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}.dd-product-image{border-radius:10px}.dd-product-info{padding-top:11px}.dd-product-info h3{font-size:14px;line-height:1.6}.dd-product-info>div:last-child{gap:6px;flex-wrap:wrap}.dd-product-info>div:last-child>span:first-child{font-size:17px}.dd-product-info .text-blue-600{font-size:10px}.dd-product-info .text-xs{font-size:10px}
 .dd-brand-band{display:block;padding:28px 24px;border-radius:13px}.dd-brand-band h2{font-size:23px}.dd-brand-band p:not(.dd-eyebrow){font-size:12px}.dd-brand-band .dd-button{margin-top:22px}
 .dd-bottom-grid{display:block;padding:38px 0 0}.dd-bottom-grid h2{font-size:22px}.dd-news-row{font-size:13px;min-height:55px}.dd-help{border-left:0;border-top:1px solid var(--dd-line);padding:30px 0 0;margin-top:30px}.dd-help>p:not(.dd-eyebrow){font-size:13px}.dd-help-links{gap:4px 22px}.dd-footer>div{padding:36px 24px 24px}.dd-footer h3{font-size:23px}.dd-footer-business{font-size:11px}
}
@media(max-width:359px){.dd-site .dd-main,.dd-site .dd-main:has(.dd-home){padding-inline:14px}.dd-hero-copy{padding:28px 23px}.dd-hero h1{font-size:31px}.dd-mobile-brand span{font-size:17px}.dd-mobile-brand::before{display:none}.dd-mobile-header{padding-inline:12px}.dd-help-links{gap:0 16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.dd-site *, .dd-site *::before,.dd-site *::after{transition:none!important;animation:none!important}}
