/* v3: 아리플라워 상품 비교와 승인 지역 디렉터리. */
.flower-product-showcase,
.flower-product-catalog {
    background:
        radial-gradient(circle at 95% 0%, rgb(208 178 104 / 13%), transparent 28rem),
        #fffaf5;
}

.flower-product-showcase {
    border-block: 1px solid #eee3d8;
}

.flower-product-showcase__heading {
    max-width: 1080px;
}

.flower-product-showcase__heading > p {
    max-width: 560px;
}

.flower-product-tabs {
    display: inline-flex;
    gap: 5px;
    margin: 12px 0 34px;
    border: 1px solid #d9cec4;
    border-radius: 999px;
    padding: 5px;
    background: rgb(255 255 255 / 76%);
    box-shadow: 0 10px 30px rgb(67 43 26 / 6%);
}

.flower-product-tabs button {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 10px 24px;
    background: transparent;
    color: #695a50;
    font: inherit;
    font-size: .9rem;
    font-weight: 750;
    cursor: pointer;
}

.flower-product-tabs button[aria-selected="true"] {
    background: #244d3f;
    color: #fff;
    box-shadow: 0 6px 18px rgb(36 77 63 / 20%);
}

.flower-product-tabs button:focus-visible,
.flower-product-card a:focus-visible,
.flower-region-directory a:focus-visible,
.flower-region-directory button:focus-visible,
.flower-region-directory input:focus-visible {
    outline: 3px solid #d8a726;
    outline-offset: 3px;
}

.flower-product-catalog--embedded {
    background: transparent;
}

.flower-product-catalog--embedded .flower-section-heading {
    margin-bottom: 24px;
}

.flower-product-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.flower-product-card {
    overflow: hidden;
    border: 1px solid #e7dbd0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgb(67 43 26 / 8%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.flower-product-card:hover {
    border-color: #ccbba9;
    box-shadow: 0 22px 48px rgb(67 43 26 / 12%);
    transform: translateY(-3px);
}

.flower-product-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-bottom: 1px solid #eee5dc;
    background: linear-gradient(145deg, #faf7f3, #fff);
}

.flower-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .28s ease;
}

.flower-product-card:hover .flower-product-card__image img {
    transform: scale(1.025);
}

.flower-product-card__body {
    padding: 24px;
}

.flower-product-card__sku {
    margin: 0 0 9px;
    color: #88786d;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.flower-product-card h3 {
    min-height: 3.1em;
    margin: 0;
    color: #312a26;
    font-size: 1.08rem;
    line-height: 1.5;
}

.flower-product-card__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 16px 0 10px;
}

.flower-product-card__price strong {
    color: #983e36;
    font-size: 1.28rem;
    letter-spacing: -.025em;
}

.flower-product-card__price del {
    color: #9b918a;
    font-size: .82rem;
}

.flower-product-card__notice {
    min-height: 3.2em;
    margin: 0 0 18px;
    color: #766b64;
    font-size: .76rem;
    line-height: 1.6;
}

.flower-product-card__cta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #eee4dc;
    padding-top: 15px;
    color: #244d3f;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
}

.flower-region-directory {
    background:
        linear-gradient(145deg, rgb(255 255 255 / 72%), transparent 46%),
        #f4f8f5;
}

.flower-region-directory__anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 32px;
}

.flower-region-directory__anchors a {
    border: 1px solid #c6d5cb;
    border-radius: 999px;
    padding: 8px 13px;
    background: rgb(255 255 255 / 74%);
    color: #245342;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

.flower-region-directory__anchors a:hover {
    border-color: #245342;
    background: #245342;
    color: #fff;
}

.flower-region-directory__groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.flower-region-directory__group {
    min-height: 145px;
    border: 1px solid #d8e4dc;
    border-radius: 16px;
    padding: 21px;
    background: rgb(255 255 255 / 88%);
}

.flower-region-directory__group h3 {
    margin: 0 0 12px;
    color: #245342;
    font-size: 1.05rem;
}

.flower-region-directory__group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flower-region-directory__group li + li {
    margin-top: 8px;
}

.flower-region-directory__group a {
    color: #38322e;
    font-size: .87rem;
    text-decoration: none;
}

.flower-region-directory__group a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.flower-region-directory__group p {
    margin: 0;
    color: #77736d;
    font-size: .81rem;
    line-height: 1.65;
}

.flower-region-directory__search {
    margin: 0 0 30px;
}

.flower-region-directory__search label {
    display: block;
    margin-bottom: 8px;
    font-weight: 750;
}

.flower-region-directory__search div {
    display: flex;
    max-width: 620px;
}

.flower-region-directory__search input {
    min-width: 0;
    flex: 1;
    border: 1px solid #b9cfc1;
    border-radius: 10px 0 0 10px;
    padding: 12px 14px;
    background: #fff;
    font: inherit;
}

.flower-region-directory__search button {
    min-height: 46px;
    border: 0;
    border-radius: 0 10px 10px 0;
    padding: 0 22px;
    background: #245342;
    color: #fff;
    font: inherit;
    font-weight: 750;
}

@media (max-width: 980px) {
    .flower-region-directory__groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .flower-product-catalog__grid,
    .flower-region-directory__groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .flower-product-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        border-radius: 18px;
    }

    .flower-product-tabs button {
        padding-inline: 10px;
        font-size: .82rem;
    }
}

@media (max-width: 560px) {
    .flower-product-catalog__grid,
    .flower-region-directory__groups {
        grid-template-columns: 1fr;
    }

    .flower-product-card__body {
        padding: 20px;
    }

    .flower-region-directory__group {
        min-height: auto;
    }

    .flower-region-directory__search div {
        display: grid;
        gap: 8px;
    }

    .flower-region-directory__search input,
    .flower-region-directory__search button {
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flower-product-card,
    .flower-product-card__image img {
        transition: none;
    }
}
