:root {
    --prod-ink:#202522;
    --prod-muted:#6f7772;
    --prod-line:#e5e9e6;
    --prod-soft:#f6f8f6;
    --prod-accent:#2f6c50;
    --prod-accent-pale:#edf4f0;
    --prod-max:1180px
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

.prod-site-header {
    position:relative!important;
    left:auto!important;
    top:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-bottom:1px solid var(--prod-line)!important;
    background:#fff!important;
    box-shadow:none!important;
    z-index:20!important
}

.prod-header-inner {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:min(calc(100% - 40px),var(--prod-max))!important;
    min-height:78px!important;
    margin:0 auto!important;
    padding:0!important;
    gap:28px!important
}

.prod-header-brand {
    display:flex!important;
    min-width:0!important;
    align-items:center!important;
    color:var(--prod-ink)!important;
    text-decoration:none!important
}

.prod-brand-text {
    display:block;
    max-width:min(580px,58vw);
    overflow:hidden;
    color:var(--prod-ink);
    font-size:23px;
    font-weight:800;
    line-height:1.25;
    letter-spacing:-.045em;
    text-overflow:ellipsis;
    white-space:nowrap
}

.prod-header-nav {
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important
}

.prod-header-nav a {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:40px!important;
    padding:0 15px!important;
    border:1px solid transparent!important;
    border-radius:5px!important;
    background:transparent!important;
    color:#48504b!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1!important;
    text-decoration:none!important
}

.prod-header-nav a:hover {
    background:var(--prod-soft)!important;
    color:var(--prod-accent)!important
}

.prod-header-nav .is-admin {
    border-color:#d7e1dc!important;
    background:#fff!important;
    color:var(--prod-accent)!important
}

#wrapper:has(.prod-wrap) {
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important
}

#container:has(.prod-wrap) {
    float:none!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important
}

#container .shop-content:has(.prod-wrap) {
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important
}

.prod-wrap {
    display:block;
    width:min(calc(100% - 40px),var(--prod-max));
    margin:0 auto;
    color:var(--prod-ink);
    font-family:Pretendard,"Noto Sans KR","Malgun Gothic",sans-serif;
    letter-spacing:-.02em
}

.prod-wrap a {
    text-decoration:none
}

.prod-topline {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:58px;
    border-bottom:1px solid #eef1ef
}

.prod-breadcrumb {
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    color:#8a918d;
    font-size:13px
}

.prod-breadcrumb a {
    color:#5f6862
}

.prod-breadcrumb i {
    color:#b1b7b3;
    font-style:normal
}

.prod-admin-tools {
    display:flex;
    justify-content:flex-end;
    margin:0
}

.prod-admin-tools a {
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:0 14px;
    border:1px solid #d8dedb;
    border-radius:5px;
    background:#fff;
    color:#3b433f;
    font-size:13px;
    font-weight:700
}

.prod-admin-tools a:hover {
    border-color:var(--prod-accent);
    color:var(--prod-accent)
}

.prod-hero {
    position:relative;
    padding:clamp(62px,8vw,104px) 0 clamp(58px,7vw,88px);
    border-bottom:1px solid var(--prod-line)
}

.prod-hero:after {
    content:"";
    position:absolute;
    right:1%;
    top:56px;
    width:280px;
    height:280px;
    border-radius:50%;
    background:radial-gradient(circle,var(--prod-accent-pale) 0%,rgba(237,244,240,0) 70%);
    pointer-events:none
}

.prod-eyebrow {
    position:relative;
    z-index:1;
    display:block;
    margin-bottom:16px;
    color:var(--prod-accent);
    font-size:12px;
    font-weight:800;
    letter-spacing:.16em
}

.prod-hero h1 {
    position:relative;
    z-index:1;
    max-width:880px;
    margin:0;
    color:#3c3c3c;
    font-size:clamp(38px,5.2vw,66px);
    font-weight:800;
    line-height:1.13;
    letter-spacing:-.06em;
    word-break:keep-all
}

.prod-lead {
    position:relative;
    z-index:1;
    max-width:760px;
    margin:24px 0 0;
    color:var(--prod-muted);
    font-size:clamp(17px,1.8vw,20px);
    line-height:1.25;
    word-break:keep-all
}

.prod-address {
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    gap:10px;
    max-width:100%;
    margin:28px 0 0;
    padding:13px 17px;
    border:1px solid #dfe7e2;
    border-radius:5px;
    background:#fff;
    color:#626a65;
    font-size:15px;
    line-height:1.5
}

.prod-address b {
    color:var(--prod-accent);
    font-size:13px
}

.prod-section {
    padding:clamp(48px,6vw,76px) 0;
    border-bottom:1px solid #edf0ee
}

.prod-section-head {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:26px
}

.prod-section-head h2,
.prod-section>h2 {
    margin:0;
    color:var(--prod-ink);
    font-size:clamp(27px,3vw,38px);
    font-weight:800;
    line-height:1.25;
    letter-spacing:-.05em
}

.prod-section-head p {
    max-width:600px;
    margin:0;
    color:var(--prod-muted);
    font-size:15px;
    line-height:1.65;
    text-align:right;
    word-break:keep-all
}

#prod-products-heading {
    font-size:clamp(22px,2.2vw,30px)
}

.prod-products {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px
}

.prod-product-card {
    position:relative;
    overflow:hidden;
    min-width:0;
    border:1px solid var(--prod-line);
    border-radius:8px;
    background:#fff;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}

.prod-product-card:hover {
    transform:translateY(-3px);
    border-color:#ccd9d1;
    box-shadow:0 12px 30px rgba(30,54,42,.08)
}

.prod-product-card>a {
    display:flex;
    height:100%;
    min-width:0;
    flex-direction:column;
    color:inherit
}

.prod-product-image {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    background:#fff
}

.prod-product-card img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    background:#fff
}

.prod-product-noimage {
    color:#a0a7a3;
    font-size:13px
}

.prod-product-body {
    display:flex;
    flex:1;
    min-width:0;
    flex-direction:column;
    padding:18px 17px 20px;
    border-top:1px solid #eef0ef
}

.prod-product-body strong {
    overflow:hidden;
    color:var(--prod-ink);
    font-size:17px;
    font-weight:700;
    line-height:1.45;
    text-overflow:ellipsis;
    white-space:nowrap
}

.prod-product-body p {
    margin:8px 0 0;
    color:var(--prod-muted);
    font-size:13px;
    line-height:1.55;
    word-break:keep-all
}

.prod-product-desc {
    display:-webkit-box;
    min-height:0;
    margin:5px 0 0!important;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2
}

.prod-price {
    display:grid;
    grid-template-columns:auto auto;
    align-items:center;
    justify-content:start;
    margin:7px 0 0!important;
    padding:0;
    border:0;
    color:#111!important;
    font-family:Roboto,"Noto Sans KR",sans-serif;
    font-size:21px!important;
    font-weight:800;
    line-height:1.2;
    text-align:left
}

.prod-price>span {
    letter-spacing:-.055em
}

.prod-price small {
    margin:3px 0 0 1px;
    font-size:12px;
    font-weight:500;
    line-height:1
}

.prod-price img {
    grid-column:1/-1;
    display:block;
    width:30px!important;
    height:auto!important;
    margin:6px 0 0;
    background:transparent!important;
    object-fit:contain
}

.prod-product-action {
    display:inline-flex;
    align-items:center;
    align-self:flex-start;
    margin-top:14px;
    padding:7px 11px;
    border:1px solid #d8e4dd;
    border-radius:4px;
    color:var(--prod-accent);
    font-size:12px;
    font-weight:800
}

.prod-product-action:after {
    content:"→";
    margin-left:6px
}

.prod-empty {
    margin:0;
    padding:42px 24px;
    border:1px dashed #d8dfdb;
    border-radius:7px;
    background:#fafbfa;
    color:var(--prod-muted);
    text-align:center
}

.prod-guide {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px
}

.prod-guide article {
    padding:30px;
    border:1px solid var(--prod-line);
    border-radius:8px;
    background:#fff
}

.prod-guide article:first-child {
    background:var(--prod-accent-pale)
}

.prod-guide h2,
.prod-guide h3 {
    margin:0 0 13px;
    color:var(--prod-ink);
    font-size:22px;
    font-weight:800;
    line-height:1.4
}

.prod-guide p {
    margin:0;
    color:#626a65;
    font-size:15px;
    line-height:1.8;
    white-space:pre-line;
    word-break:keep-all
}

#ft {
    min-width:0!important;
    background:#202220!important
}

#ft_wr {
    display:grid!important;
    grid-template-columns:220px 1fr!important;
    gap:50px!important;
    width:min(calc(100% - 40px),var(--prod-max))!important;
    max-width:var(--prod-max)!important;
    margin:0 auto!important;
    padding:46px 0 36px!important;
    color:#c9cecb!important
}

#ft_wr .ft_cnt {
    float:none!important;
    width:auto!important;
    margin:0!important;
    padding:0!important
}

#ft_link {
    display:flex!important;
    flex-direction:column!important;
    gap:11px!important
}

#ft_link li {
    float:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important
}

#ft_link a {
    color:#e8ebe9!important;
    font-weight:700!important
}

#ft_company h2 {
    margin:0 0 15px!important;
    color:#fff!important;
    font-size:18px!important
}

#ft_company .ft_info {
    color:#bfc5c1!important;
    line-height:1.9!important
}

#ft_company .ft_info span {
    display:inline-block;
    margin-right:12px
}

#sidx_lat,
#visit {
    display:none!important
}

#ft_copy {
    width:100%!important;
    max-width:none!important;
    padding:16px 20px!important;
    border-top:1px solid #343735!important;
    background:#202220!important;
    color:#8e9591!important;
    text-align:center!important
}

@media(max-width:1000px) {
    .prod-products {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

}

@media(max-width:800px) {
    .prod-header-inner {
        width:100%!important;
        min-height:64px!important;
        padding:0 15px!important;
        gap:10px!important
    }

    .prod-brand-text {
        max-width:calc(100vw - 112px);
        font-size:19px
    }

    .prod-header-nav a {
        min-height:36px!important;
        padding:0 10px!important;
        font-size:12px!important
    }

    .prod-wrap {
        width:calc(100% - 28px)
    }

    .prod-topline {
        min-height:50px
    }

    .prod-hero {
        padding:48px 0 45px
    }

    .prod-hero:after {
        top:30px;
        width:170px;
        height:170px
    }

    .prod-section {
        padding:42px 0
    }

    .prod-guide {
        grid-template-columns:1fr
    }

    #ft_wr {
        grid-template-columns:1fr!important;
        gap:30px!important;
        width:calc(100% - 36px)!important;
        padding:36px 0 28px!important
    }

    #ft_link {
        flex-direction:row!important;
        flex-wrap:wrap!important
    }

}

@media(max-width:520px) {
    .prod-header-nav a[href$="/"] {
        display:none!important
    }

    .prod-topline {
        gap:10px
    }

    .prod-breadcrumb {
        font-size:12px
    }

    .prod-admin-tools a {
        min-height:32px;
        padding:0 10px;
        font-size:12px
    }

    .prod-hero h1 {
        font-size:36px
    }

    .prod-lead {
        margin-top:18px;
        font-size:16px;
        line-height:1.7
    }

    .prod-address {
        display:flex;
        margin-top:22px;
        font-size:13px
    }

    .prod-section-head {
        align-items:flex-start;
        flex-direction:column;
        gap:8px
    }

    .prod-section-head p {
        text-align:left
    }

    .prod-products {
        gap:10px
    }

    .prod-product-body {
        padding:13px 11px 15px
    }

    .prod-product-body strong {
        font-size:15px
    }

    .prod-price {
        margin-top:6px!important;
        font-size:18px!important
    }

    .prod-product-desc {
        min-height:0;
        font-size:12px!important
    }

    .prod-product-action {
        margin-top:10px;
        padding:6px 9px
    }

    .prod-guide article {
        padding:23px 20px
    }

}

@media(max-width:520px) {
    #prod-products-heading {
        font-size:21px
    }

}

/* Hero address + primary order */ .prod-hero-copy {
    position:relative;
    z-index:1
}

.prod-hero-funeral {
    display:flex;
    align-items:center;
    min-height:250px;
    margin-top:18px;
    padding:32px clamp(28px,5vw,72px);
    border:0;
    border-radius:0;
    background-color:#fff;
    background-image:url('../img/funeral_bg.jpg');
    background-repeat:no-repeat;
    background-position: calc(100% + 70px) bottom;
    background-size:auto 100%
}

.prod-hero-funeral:after {
    display:none
}

.prod-hero-funeral h1 {
    font-size:clamp(30px,3.6vw,46px)
}

.prod-hero-funeral .prod-lead {
    margin-top:12px
}

.prod-hero-meta {
    position:relative;
    z-index:2;
    margin-top:18px
}

.prod-hero-meta .prod-address {
    display:flex;
    align-items:center;
    margin:0;
    min-height:76px
}

.prod-hero-meta .prod-address b {
    flex:0 0 auto;
    padding:5px 8px;
    border-radius:4px;
    background:var(--prod-accent);
    color:#fff
}

.prod-hero-meta .prod-address span {
    min-width:0;
    color:#515a54;
    font-weight:600;
    word-break:keep-all
}

/* FAQ */ .prod-faq-list {
    overflow:hidden;
    border:1px solid var(--prod-line);
    border-radius:8px;
    background:#fff
}

.prod-faq-item {
    border-bottom:1px solid var(--prod-line)
}

.prod-faq-item:last-child {
    border-bottom:0
}

.prod-faq-item summary {
    display:flex;
    align-items:center;
    gap:14px;
    padding:21px 24px;
    cursor:pointer;
    color:var(--prod-ink);
    font-size:17px;
    font-weight:800;
    line-height:1.5;
    list-style:none
}

.prod-faq-item summary::-webkit-details-marker {
    display:none
}

.prod-faq-item summary b,
.prod-faq-answer>b {
    flex:0 0 25px;
    color:var(--prod-accent);
    font-family:Georgia,serif;
    font-size:20px
}

.prod-faq-item summary:after {
    content:"+";
    margin-left:auto;
    color:#71847a;
    font-size:22px;
    font-weight:500
}

.prod-faq-item[open] summary {
    background:#f5f8f6
}

.prod-faq-item[open] summary:after {
    content:"−"
}

.prod-faq-answer {
    display:flex;
    gap:14px;
    padding:0 24px 22px;
    background:#f5f8f6
}

.prod-faq-answer p {
    margin:0;
    color:#59625d;
    font-size:15px;
    line-height:1.8;
    word-break:keep-all
}

@media(max-width:800px) {
     .prod-hero-meta {
        display:block
    }

}

@media(max-width:520px) {
     .prod-header-nav a[href="#prod-guide"] {
        display:none!important
    }

     .prod-hero-funeral {
        min-height:clamp(190px,52vw,230px);
        margin-top:12px;
        padding:22px 18px;
        background-position:calc(100% + 98px) bottom;
        background-size:auto 85%
    }

     .prod-hero-funeral .prod-hero-copy {
        max-width:62%
    }

     .prod-hero-funeral h1 {
        font-size:clamp(23px,7vw,29px);
        line-height:1.18
    }

     .prod-hero-funeral .prod-lead {
        margin-top:8px;
        font-size:13px;
        line-height:1.55
    }

     .prod-hero-meta {
        margin-top:22px
    }

     .prod-hero-meta .prod-address {
        min-height:0;
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
        padding:14px
    }

     .prod-faq-item summary {
        gap:9px;
        padding:18px 16px;
        font-size:15px
    }

     .prod-faq-answer {
        gap:9px;
        padding:0 16px 18px
    }

     .prod-faq-answer p {
        font-size:14px
    }

}
