/* HIGH-PENSER A안: Navy & Gold premium. Real stock photos; no AI-generated imagery. */
:root{--hp-bg:#071426;--hp-panel:rgba(13,34,58,.72);--hp-panel2:#102b49;--hp-line:rgba(160,205,235,.18);--hp-text:#f3f8fc;--hp-muted:#a9bfd1;--hp-cyan:#d5b36a;--hp-blue:#b58a3b;--hp-shadow:0 22px 60px rgba(0,0,0,.28)}
html{scroll-behavior:smooth}body{background:radial-gradient(ellipse at 85% 8%,#3b2f1c 0,transparent 34%),linear-gradient(145deg,#061222,#101d31 58%,#061222)!important;color:var(--hp-text)!important}
.header{background:rgba(5,17,32,.82)!important;border-bottom:1px solid var(--hp-line)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;box-shadow:0 8px 30px #02091455!important}
.header .nav{min-height:78px}.logo-copy strong{color:#f3f8fc!important;letter-spacing:.12em}.logo-copy small{color:var(--hp-cyan)!important}.menu a{color:#d7e7f3!important}.menu a:hover,.menu a.on{color:var(--hp-cyan)!important}.menu .menu-cta{border:1px solid rgba(213,179,106,.5)!important;background:rgba(69,153,190,.16)!important;border-radius:999px!important;padding:11px 22px!important}
.hero{position:relative;isolation:isolate;min-height:680px!important;background:#061426!important;overflow:hidden}.hero-bg{position:absolute!important;inset:0!important;z-index:-2!important;background:linear-gradient(90deg,rgba(4,16,31,.97) 0%,rgba(5,22,40,.86) 44%,rgba(5,22,40,.38) 100%),url('https://images.pexels.com/photos/5532984/pexels-photo-5532984.jpeg?auto=compress&cs=tinysrgb&w=2000') center/cover no-repeat!important;opacity:1!important}.hero:after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 78% 45%,rgba(74,184,220,.2),transparent 35%);pointer-events:none}.hero-inner{padding-top:110px!important;padding-bottom:110px!important}.eyebrow{color:var(--hp-cyan)!important;letter-spacing:.22em!important}.hero h1{color:#f4f9fd!important;text-shadow:0 5px 24px #0008}.hero h1 em{color:#f0d48c!important}.hero-desc,.hero p{color:#c3d6e5!important}.btn,.hp-builder-button{border-radius:999px!important;padding:14px 25px!important;box-shadow:0 8px 28px #020b1680!important;transition:transform .2s,background .2s!important}.btn-gold,.hp-builder-button{background:linear-gradient(135deg,#7bd9e7,#b58a3b)!important;color:#061a2b!important;border:0!important}.btn-outline{border:1px solid rgba(139,218,237,.55)!important;color:#e9f8ff!important;background:rgba(255,255,255,.07)!important;backdrop-filter:blur(10px)}
.section,.intro,.products,.secondary{background:transparent!important;color:var(--hp-text)!important}.intro-grid,.secondary,.contact-strip{color:var(--hp-text)!important}.intro h2,.section-title h2,.secondary h2,.contact-strip h2{color:#f2f8fc!important}.lead,.muted,.section-title p,.secondary p,.contact-strip p{color:var(--hp-muted)!important}.intro-grid>div,.secondary-copy{background:var(--hp-panel)!important;border:1px solid var(--hp-line)!important;border-radius:24px!important;padding:34px!important;box-shadow:var(--hp-shadow)!important;backdrop-filter:blur(16px)}
.product-grid,.hp-builder-cards{gap:22px!important}.product-tile,.hp-builder-card,.catalog-card,.db-card,.hp-builder-product{position:relative!important;overflow:hidden!important;border:1px solid var(--hp-line)!important;border-radius:22px!important;background:linear-gradient(145deg,rgba(20,54,83,.86),rgba(7,25,45,.94))!important;color:#f3f8fc!important;box-shadow:var(--hp-shadow)!important;backdrop-filter:blur(14px)!important;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important}.product-tile:hover,.hp-builder-card:hover,.catalog-card:hover,.db-card:hover,.hp-builder-product:hover{transform:translateY(-6px)!important;border-color:rgba(213,179,106,.58)!important;box-shadow:0 28px 70px #020b168c!important}.tile-visual{height:260px!important;position:relative!important;overflow:hidden!important;background:linear-gradient(0deg,rgba(4,16,31,.85),rgba(4,16,31,.12)),url('https://images.unsplash.com/photo-1790689759966-b76f7d2c2cf0?auto=format&fit=crop&w=1200&q=82') center/cover no-repeat!important}/* Category photography: actual Unsplash photographs, not generated images. */
.products .product-tile:nth-child(1) .tile-visual{background-image:linear-gradient(0deg,rgba(4,16,31,.82),rgba(4,16,31,.05)),url('https://images.unsplash.com/photo-1790689759966-b76f7d2c2cf0?auto=format&fit=crop&w=1200&q=82')!important}.products .product-tile:nth-child(2) .tile-visual{background-image:linear-gradient(0deg,rgba(4,16,31,.84),rgba(4,16,31,.05)),url('https://images.unsplash.com/photo-1769695832195-dfe7e9f36980?auto=format&fit=crop&w=1200&q=82')!important}.secondary .product-tile:nth-child(1) .tile-visual{background-image:linear-gradient(0deg,rgba(4,16,31,.84),rgba(4,16,31,.05)),url('https://images.unsplash.com/photo-1740209475472-aa7d280f7452?auto=format&fit=crop&w=1200&q=82')!important}.secondary .product-tile:nth-child(2) .tile-visual{background-image:linear-gradient(0deg,rgba(4,16,31,.84),rgba(4,16,31,.05)),url('https://images.unsplash.com/photo-1713371398484-cc4e4f6a262a?auto=format&fit=crop&w=1200&q=82')!important}
.tile-info,.hp-builder-card-copy,.catalog-copy,.db-card .tile-info,.hp-builder-product div:last-child{padding:25px!important;background:linear-gradient(145deg,rgba(15,42,68,.92),rgba(7,24,43,.98))!important;color:#f3f8fc!important}.tile-info h3,.hp-builder-card-copy h3,.catalog-copy h2,.db-card h3,.hp-builder-product h3{color:#f4f9fd!important}.tile-info p,.hp-builder-card-copy p,.catalog-copy p,.db-card p,.hp-builder-product p{color:#afc4d5!important}.tile-info small,.tile-info b,.hp-builder-card-copy span,.catalog-copy b{color:var(--hp-cyan)!important}.tile-symbol{color:#f0d48c!important;text-shadow:0 0 26px #d5b36a!important}.tile-visual>span{color:#e5f8ff!important}
.hp-builder-section{color:var(--hp-text)!important}.hp-builder-inner{color:inherit!important}.hp-builder-section:nth-child(even){box-shadow:inset 0 0 0 9999px rgba(13,37,61,.08)}.hp-builder-card img,.hp-builder-card-empty{height:270px!important;object-fit:cover}.hp-builder-card-empty{background:linear-gradient(135deg,#163d5e,#0b2039)!important;color:#f0d48c!important}.hp-builder-copy h2,.hp-builder-inner>h2{color:#f4f9fd!important}.hp-builder-text,.hp-builder-copy p{color:#bfd2e0!important}
.sub-hero{background:linear-gradient(90deg,rgba(4,17,33,.94),rgba(8,35,58,.76)),url('https://images.pexels.com/photos/5532984/pexels-photo-5532984.jpeg?auto=compress&cs=tinysrgb&w=1800') center/cover!important;color:#f5fbff!important;padding:92px 0!important;border-bottom:1px solid var(--hp-line)}.sub-hero h1{color:#f5fbff!important}.catalog-grid{gap:24px!important}.catalog-card img,.catalog-placeholder{height:250px!important}.catalog-placeholder{background:linear-gradient(135deg,#143b5d,#091b31)!important;color:#f0d48c!important}.catalog-empty{background:rgba(15,43,68,.72)!important;color:#eaf7ff!important;border:1px solid var(--hp-line)!important;border-radius:20px}.detail{color:#eff8ff!important}.detail img{background:rgba(255,255,255,.05)!important;border:1px solid var(--hp-line)!important;border-radius:20px!important;padding:12px}.detail p{color:#b8ccdc!important}.contact-strip{background:linear-gradient(115deg,rgba(15,53,82,.9),rgba(7,25,45,.95))!important;border-top:1px solid var(--hp-line)!important;border-bottom:1px solid var(--hp-line)!important}.footer{background:#040f1e!important;border-top:1px solid var(--hp-line)!important;color:#9eb5c8!important}.footer-info{color:#a9bfd1!important}
@media(max-width:760px){.hero{min-height:600px!important}.hero-inner{padding:76px 0!important}.hero-bg{background-position:58% center!important}.intro-grid>div,.secondary-copy{padding:24px!important}.tile-visual{height:220px!important}.sub-hero{padding:66px 0!important}.menu{background:rgba(9,31,52,.96)!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Visual fallback photos for the two homepage category cards in the page-builder layout. */
.hp-builder-card:nth-child(1) .hp-builder-card-empty{background:linear-gradient(0deg,rgba(4,16,31,.35),rgba(4,16,31,.1)),url('https://images.unsplash.com/photo-1790689759966-b76f7d2c2cf0?auto=format&fit=crop&w=1200&q=82') center/cover!important}
.hp-builder-card:nth-child(2) .hp-builder-card-empty{background:linear-gradient(0deg,rgba(4,16,31,.4),rgba(4,16,31,.1)),url('https://images.unsplash.com/photo-1769695832195-dfe7e9f36980?auto=format&fit=crop&w=1200&q=82') center/cover!important}

/* A안 네이비 & 골드 보강 */
:root{--hp-cyan:#d5b36a;--hp-blue:#b58a3b}
.hero:after{background:radial-gradient(circle at 78% 46%,rgba(213,179,106,.18),transparent 36%)!important}
.menu .menu-cta{border-color:rgba(213,179,106,.62)!important}
.product-tile:hover,.hp-builder-card:hover,.catalog-card:hover,.db-card:hover,.hp-builder-product:hover{border-color:rgba(213,179,106,.6)!important}

/* Shared responsive card system: applies to all existing, duplicated and newly added cards. */
.hp-builder-cards{display:grid!important;grid-template-columns:repeat(var(--hp-card-columns,2),minmax(0,1fr))!important;gap:clamp(14px,2vw,28px)!important;width:100%;}
.hp-builder-card{min-width:0!important;display:flex!important;flex-direction:column!important;text-decoration:none!important;overflow:hidden!important;border-radius:18px!important;}
.hp-builder-card img,.hp-builder-card-empty{display:block;width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover!important;}
.hp-builder-card-copy{flex:1;min-width:0;overflow-wrap:anywhere;}
.hp-builder-inner,.hp-builder-section{min-width:0;max-width:100%;}
@media(max-width:1024px){.hp-builder-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.hp-builder-cards,.product-grid,.catalog-grid,.db-products,.hp-builder-products{grid-template-columns:minmax(0,1fr)!important}.hp-builder-section{padding:clamp(32px,7vw,64px) 18px!important}.hp-builder-card img,.hp-builder-card-empty{aspect-ratio:16/10}.hero h1{overflow-wrap:anywhere}}

/* Banner image from page builder: preserve its inline background. */
.hp-builder-hero{position:relative!important;isolation:isolate;min-height:clamp(420px,65vh,740px)!important;display:flex;align-items:center;background-color:#071426!important;color:#fff!important}
.hp-builder-hero .hp-builder-inner{position:relative;z-index:1;width:100%}
.hp-builder-hero .hp-builder-hero-title{color:#fff!important;text-shadow:0 3px 18px #0008}
.hp-builder-hero .hp-builder-text{color:#e3e8ee!important;max-width:680px}
.hp-builder-cards{grid-template-columns:repeat(var(--hp-card-columns,2),minmax(0,1fr))!important}
@media(max-width:900px){.hp-builder-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.hp-builder-cards{grid-template-columns:minmax(0,1fr)!important}.hp-builder-hero{min-height:480px!important}}

/* Banner image removal must leave a clean navy background, never a forced remote photo. */
.hero-bg{background-image:none!important;background-color:#071426!important}
.hp-builder-hero{background-image:none}
.hp-builder-hero[style*="background-image"]{background-size:cover!important;background-position:center!important}

/* Saved banner images are inline styles. Never override them with background-image:none. */
.hp-builder-front .hp-builder-section.hp-builder-hero{background-color:#071426!important;background-size:cover;background-position:center;background-repeat:no-repeat}

/* Keep builder-uploaded hero photos visible and preserve explicit removal. */
.hp-builder-front .hp-builder-section.hp-builder-hero{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.hp-builder-front .hp-builder-cards{grid-template-columns:repeat(var(--hp-card-columns,2),minmax(0,1fr))}
@media(max-width:1024px){.hp-builder-front .hp-builder-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hp-builder-front .hp-builder-cards{grid-template-columns:minmax(0,1fr)}}

/* Visual editor: saved inline styles must win over theme defaults. */
.hp-builder-front .hp-builder-section .hp-builder-inner{text-align:inherit}
.hp-builder-front .hp-builder-section h1,.hp-builder-front .hp-builder-section h2,.hp-builder-front .hp-builder-section p{color:inherit}
.hp-builder-front .hp-builder-cards{grid-template-columns:repeat(var(--hp-card-columns,2),minmax(0,1fr))}
@media(max-width:900px){.hp-builder-front .hp-builder-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hp-builder-front .hp-builder-cards{grid-template-columns:1fr}}
/* Final priority: saved section colors and images, not fixed theme values. */
.hp-builder-front .hp-builder-section .hp-builder-inner,.hp-builder-front .hp-builder-section .hp-builder-copy{text-align:inherit!important}
.hp-builder-front .hp-builder-section .hp-builder-hero-title,.hp-builder-front .hp-builder-section .hp-builder-text,.hp-builder-front .hp-builder-section .hp-builder-copy h2,.hp-builder-front .hp-builder-section .hp-builder-copy p{color:inherit!important}

/* Editor-published values override the theme without changing non-builder content. */
.hp-builder-front .hp-builder-section, .hp-builder-front .hp-builder-section .hp-builder-inner,
.hp-builder-front .hp-builder-section .hp-builder-hero-title,
.hp-builder-front .hp-builder-section .hp-builder-hero-title em,
.hp-builder-front .hp-builder-section .hp-builder-eyebrow,
.hp-builder-front .hp-builder-section .hp-builder-text,
.hp-builder-front .hp-builder-section .hp-builder-copy,
.hp-builder-front .hp-builder-section .hp-builder-copy h2,
.hp-builder-front .hp-builder-section > .hp-builder-inner > h2,
.hp-builder-front .hp-builder-section > .hp-builder-inner > p { color:var(--hp-edit-color)!important;text-align:var(--hp-edit-align)!important; }
.hp-builder-front .hp-builder-hero {background-size:cover!important;background-position:center!important;}
.hp-builder-front .hp-builder-section .hp-builder-cards{display:grid;grid-template-columns:repeat(var(--hp-card-columns,2),minmax(0,1fr));}
@media(max-width:900px){.hp-builder-front .hp-builder-section .hp-builder-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.hp-builder-front .hp-builder-section .hp-builder-cards{grid-template-columns:1fr!important}}

/* Banner alignment follows the value saved by the administrator.
   The section renderer supplies --hp-edit-align from text_align. */
.hp-builder-front .hp-builder-section.hp-builder-hero .hp-builder-inner,
.hp-builder-front .hp-builder-section.hp-builder-hero .hp-builder-hero-title,
.hp-builder-front .hp-builder-section.hp-builder-hero .hp-builder-text,
.hp-builder-front .hp-builder-section.hp-builder-hero .hp-builder-eyebrow {
  text-align: var(--hp-edit-align, left) !important;
}
.hp-builder-front .hp-builder-section.hp-builder-hero .hp-builder-inner {
  margin-left: auto;
  margin-right: auto;
}
.hp-builder-front .hp-builder-section.hp-builder-hero .hp-builder-text {
  margin-left: 0;
  margin-right: auto;
}
.hp-builder-front .hp-builder-section.hp-builder-hero[style*="--hp-edit-align:center"] .hp-builder-text {
  margin-left: auto;
  margin-right: auto;
}
.hp-builder-front .hp-builder-section.hp-builder-hero[style*="--hp-edit-align:right"] .hp-builder-text {
  margin-left: auto;
  margin-right: 0;
}

/* The home and product-group cards share the same visual rhythm. */
.hp-builder-front .hp-builder-card,
.product-grid .product-tile,
.catalog-grid .catalog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #dce4ed;
    border-radius: 16px;
    overflow: hidden;
}
.hp-builder-front .hp-builder-card-copy,
.product-grid .tile-info,
.catalog-grid .catalog-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: clamp(17px, 2.2vw, 26px);
}
.hp-builder-front .hp-builder-card-copy :is(h3,p),
.product-grid .tile-info :is(h3,p),
.catalog-grid .catalog-copy :is(h2,p) {
    margin: 0;
    overflow-wrap: anywhere;
    word-break: keep-all;
}
.hp-builder-front .hp-builder-card-copy span,
.product-grid .tile-info b,
.catalog-grid .catalog-copy b {
    margin-top: auto;
    padding-top: 6px;
    color: #76551c;
}
.catalog-grid .catalog-card img,
.catalog-grid .catalog-placeholder {
    height: auto;
    aspect-ratio: 16 / 10;
}
.catalog-grid .catalog-placeholder,
.hp-builder-front .hp-builder-card-empty {
    display: grid;
    place-items: center;
    background: #e9eff5;
    color: #526980;
    font-size: .75rem;
    letter-spacing: .13em;
}
.catalog-grid .catalog-card:focus-visible {
    outline: 3px solid #9c7333;
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    .catalog-grid .catalog-card { transition: none; }
    .catalog-grid .catalog-card:hover { transform: none; }
}
