/* ================================================
   크로바화원 — Products 스킨 전용 스타일
   톤앤매너: 내추럴 그린 / 크림 / 모던 미니멀
================================================ */

:root {
    --c-green-deep:  #2b5421;
    --c-green:       #3d6b32;
    --c-green-mid:   #5c8a4a;
    --c-green-light: #8ab87a;
    --c-green-pale:  #e8f2e2;
    --c-gold:        #b8934a;
    --c-bg:          #f6f4ef;
    --c-surface:     #ffffff;
    --c-text:        #1a2018;
    --c-text-2:      #4a5545;
    --c-text-3:      #7a8878;
    --c-border:      #d9d5cc;
    --c-border-lt:   #edeae4;
    --c-danger:      #b83030;
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-full: 9999px;
    --sh-xs: 0 1px 4px rgba(20,30,16,.06);
    --sh-sm: 0 2px 12px rgba(20,30,16,.08);
    --sh-md: 0 6px 28px rgba(20,30,16,.12);
    --sh-lg: 0 20px 70px rgba(20,30,16,.20);
    --ease:  cubic-bezier(.4,0,.2,1);
    --dur:   .22s;
}

/* ================================================
   제품 목록
================================================ */

.flower-modal-open { overflow: hidden; }

.flower-products {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 20px 24px 0;
}

/* 헤더 */
.flower-products__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-border-lt);
}

.flower-products__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--c-green-mid);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.flower-products__eyebrow::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.flower-products__head h2 {
    margin: 0;
    color: var(--c-text);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.flower-products__write {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 20px;
    border-radius: var(--r-sm);
    background: var(--c-green);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.flower-products__write::before { content: '+'; font-size: 20px; font-weight: 300; line-height: 1; }

.flower-products__write:hover {
    background: var(--c-green-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45,84,36,.3);
}

/* 카테고리 */
.flower-products__category { margin-bottom: 28px; }

.flower-products__category ul,
#bo_cate_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flower-products__category a,
#bo_cate_ul a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 18px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-full);
    background: var(--c-surface);
    color: var(--c-text-2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--dur) var(--ease);
}

.flower-products__category a:hover,
#bo_cate_ul a:hover,
.flower-products__category a.on,
#bo_cate_ul a.on {
    border-color: var(--c-green);
    background: var(--c-green-pale);
    color: var(--c-green);
}

/* 그리드 */
.flower-products__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flower-products__item { min-width: 0; }

/* 카드 */
.flower-products__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--r-md);
    background: var(--c-surface);
    box-shadow: var(--sh-sm);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.flower-products__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-md);
}

/* 이미지 버튼 */
.flower-products__image-btn {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}

.flower-products__image-btn:focus-visible {
    outline: 3px solid var(--c-green-mid);
    outline-offset: -3px;
}

.flower-products__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--c-bg);
    overflow: hidden;
}

.flower-products__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.flower-products__image-btn:hover .flower-products__image img {
    transform: scale(1.07);
}

/* 이미지 hover 오버레이 */
.flower-products__image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,28,12,.38);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.flower-products__image-btn:hover .flower-products__image-overlay { opacity: 1; }

.flower-products__image-overlay span {
    padding: 8px 18px;
    border: 1.5px solid rgba(255,255,255,.75);
    border-radius: var(--r-full);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    backdrop-filter: blur(4px);
}

/* 이미지 없음 */
.flower-products__noimage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    color: var(--c-text-3);
    font-size: 13px;
}

.flower-products__noimage-icon {
    font-size: 36px;
    opacity: .35;
}

/* 메타 */
.flower-products__meta {
    display: flex;
    flex-direction: column;
    padding: 16px 18px 12px;
    flex: 1;
    gap: 0;
}

.flower-products__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    height: 22px;
    padding: 0 10px;
    margin-bottom: 10px;
    border-radius: var(--r-full);
    background: var(--c-green-pale);
    color: var(--c-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
}

.flower-products__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--c-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.flower-products__code {
    display: block;
    margin-top: 5px;
    color: var(--c-text-3);
    font-size: 11px;
    font-family: 'SFMono-Regular', Consolas, monospace;
}

.flower-products__price {
    display: block;
    margin-top: 12px;
    color: var(--c-green-deep);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.02em;
}

/* 액션 버튼 */
.flower-products__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--c-border-lt);
    margin-top: auto;
}

.flower-products__btn {
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .02em;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.flower-products__btn--detail {
    color: var(--c-text-2);
    border-right: 1px solid var(--c-border-lt);
}

.flower-products__btn--detail:hover { background: var(--c-bg); }

.flower-products__btn--order { color: var(--c-green); }

.flower-products__btn--order:hover {
    background: var(--c-green);
    color: #fff;
}

.flower-products__admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--c-border-lt);
    background: #fbfbfb;
}

.flower-products__admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    color: var(--c-text-2);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.flower-products__admin-btn--edit {
    border-right: 1px solid var(--c-border-lt);
}

.flower-products__admin-btn--edit:hover {
    background: var(--c-green-pale);
    color: var(--c-green-deep);
}

.flower-products__admin-btn--delete:hover {
    background: #fff0f0;
    color: var(--c-danger);
}

/* 빈 상태 */
.flower-products__empty {
    padding: 80px 20px;
    border: 2px dashed var(--c-border);
    border-radius: var(--r-md);
    color: var(--c-text-3);
    text-align: center;
    font-size: 15px;
}


/* ================================================
   모달
================================================ */

.flower-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s var(--ease), visibility .3s;
}

.flower-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.flower-modal__dim {
    position: absolute;
    inset: 0;
    background: rgba(6,14,4,.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.flower-modal__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    width: min(1020px, 100%);
    max-height: calc(100vh - 48px);
    border-radius: var(--r-xl);
    background: var(--c-surface);
    box-shadow: var(--sh-lg);
    overflow: hidden;
    transform: scale(.92) translateY(16px);
    transition: transform .3s var(--ease);
}

.flower-modal.is-open .flower-modal__panel {
    transform: scale(1) translateY(0);
}

/* 닫기 버튼 */
.flower-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.32);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.flower-modal__close:hover {
    background: rgba(0,0,0,.58);
    transform: rotate(90deg);
}

/* 갤러리 패널 */
.flower-modal__gallery {
    display: flex;
    flex-direction: column;
    background: var(--c-bg);
    overflow: hidden;
}

.flower-modal__main-image {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: var(--c-bg);
}

.flower-modal__main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s var(--ease);
}

.flower-modal__no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 14px;
    color: var(--c-text-3);
    font-size: 14px;
}

.flower-modal__no-image-icon {
    font-size: 52px;
    opacity: .3;
}

.flower-modal__thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(0,0,0,.05);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--c-border) transparent;
}

.flower-modal__thumbs:empty { display: none; }

.flower-modal__thumb {
    flex: 0 0 60px;
    height: 60px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--r-sm);
    background: var(--c-surface);
    cursor: pointer;
    overflow: hidden;
    opacity: .6;
    transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.flower-modal__thumb.is-active,
.flower-modal__thumb:hover {
    border-color: var(--c-green);
    opacity: 1;
}

.flower-modal__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 정보 패널 */
.flower-modal__info {
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--c-border) transparent;
}

.flower-modal__cat {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 12px;
    margin-bottom: 12px;
    border-radius: var(--r-full);
    background: var(--c-green-pale);
    color: var(--c-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    align-self: flex-start;
}

.flower-modal__code-text {
    margin: 0 0 4px;
    color: var(--c-text-3);
    font-size: 11px;
    font-family: 'SFMono-Regular', Consolas, monospace;
    letter-spacing: .04em;
}

.flower-modal__title {
    margin: 0 40px 8px 0;
    color: var(--c-text);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.flower-modal__price-text {
    margin: 0 0 14px;
    color: var(--c-green-deep);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.flower-modal__desc {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--c-border-lt);
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.85;
}

/* 주문 폼 */
.flower-order {
    padding-top: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flower-order__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--c-text);
    font-size: 16px;
    font-weight: 800;
}

.flower-order__heading::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--c-green);
    flex-shrink: 0;
}

.flower-order__field {
    margin-bottom: 14px;
}

.flower-order__label {
    display: block;
    margin-bottom: 7px;
    color: var(--c-text-2);
    font-size: 13px;
    font-weight: 700;
}

.flower-order__input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    background: var(--c-surface);
    color: var(--c-text);
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    -webkit-appearance: none;
    appearance: none;
}

.flower-order__input:focus {
    border-color: var(--c-green-mid);
    box-shadow: 0 0 0 3px rgba(92,138,74,.18);
}

/* 수령방법 라디오 */
.flower-order__radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.flower-order__radio { position: relative; }

.flower-order__radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.flower-order__radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 48px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: all var(--dur) var(--ease);
}

.flower-order__radio-label:hover {
    border-color: var(--c-green-light);
    background: var(--c-green-pale);
}

.flower-order__radio input:checked + .flower-order__radio-label {
    border-color: var(--c-green);
    background: var(--c-green-pale);
    color: var(--c-green);
    box-shadow: 0 0 0 3px rgba(92,138,74,.15);
}

/* 제출 버튼 */
.flower-order__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
    border: 0;
    border-radius: var(--r-sm);
    background: var(--c-green);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.flower-order__submit:hover {
    background: var(--c-green-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,84,36,.28);
}

.flower-order__submit:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.flower-order__message {
    min-height: 20px;
    margin: 10px 0 0;
    color: var(--c-danger);
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}

.flower-order__message.is-success { color: var(--c-green); }


/* ================================================
   상품 등록 폼
================================================ */

.pw-wrap {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 24px 24px 80px;
    box-sizing: border-box;
}

.pw-wrap form,
#fwrite.pw-wrap form,
.pw-wrap #fwrite {
    width: 100% !important;
    max-width: 100% !important;
}

.pw-header {
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--c-border-lt);
}

.pw-header__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--c-green-mid);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pw-header__eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.pw-header h2 {
    margin: 0;
    color: var(--c-text);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.025em;
}

/* 섹션 카드 */
.pw-section {
    margin-bottom: 16px;
    border: 1px solid var(--c-border-lt);
    border-radius: var(--r-md);
    background: var(--c-surface);
    box-shadow: var(--sh-xs);
    overflow: hidden;
}

.pw-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border-lt);
}

.pw-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--r-xs);
    background: var(--c-green-pale);
    font-size: 15px;
}

.pw-section__title {
    color: var(--c-text);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.pw-section__body {
    padding: 22px 22px 20px;
}

/* 필드 */
.pw-field {
    margin-bottom: 18px;
}

.pw-field:last-child { margin-bottom: 0; }

.pw-field__label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    color: var(--c-text-2);
    font-size: 13px;
    font-weight: 700;
}

.pw-field__required {
    color: var(--c-danger);
    font-size: 17px;
    line-height: 1;
    margin-top: -2px;
}

.pw-field__input,
.pw-field__select {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--c-text);
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.pw-field__input:focus,
.pw-field__select:focus {
    border-color: var(--c-green-mid);
    box-shadow: 0 0 0 3px rgba(92,138,74,.16);
}

.pw-field__input::placeholder { color: var(--c-text-3); }

.pw-field__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a66' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* 가격 입력 */
.pw-field__price-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pw-field__price-prefix {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--c-text-3);
    font-size: 15px;
    font-weight: 700;
    pointer-events: none;
    border-right: 1px solid var(--c-border);
}

.pw-field__input--price { padding-left: 52px; }

.pw-field__hint {
    margin-top: 6px;
    color: var(--c-text-3);
    font-size: 12px;
    line-height: 1.5;
}

/* 에디터 래퍼 */
.pw-editor-wrap {
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease);
}

.pw-editor-wrap:focus-within {
    border-color: var(--c-green-mid);
}

.pw-editor-wrap .wr_content { border: 0 !important; }

.pw-editor-wrap textarea {
    display: block;
    width: 100%;
    min-height: 160px;
    padding: 14px 16px;
    border: 0;
    background: #fff;
    color: var(--c-text);
    font-size: 14px;
    line-height: 1.7;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}

/* 파일 업로드 */
.pw-upload { display: flex; flex-direction: column; gap: 10px; }

.pw-upload__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px dashed var(--c-border);
    border-radius: var(--r-sm);
    background: var(--c-bg);
    transition: border-color var(--dur) var(--ease);
}

.pw-upload__item:focus-within {
    border-color: var(--c-green-mid);
    background: var(--c-green-pale);
}

.pw-upload__num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--c-green-pale);
    color: var(--c-green);
    font-size: 12px;
    font-weight: 800;
}

.pw-upload__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    color: var(--c-text-2);
    font-size: 13px;
    cursor: pointer;
}

.pw-upload__del {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-danger);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.pw-upload__del input[type="checkbox"] {
    accent-color: var(--c-danger);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* 옵션 영역 (공지/HTML 체크박스) */
.pw-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 22px;
    border-top: 1px solid var(--c-border-lt);
    background: var(--c-bg);
}

.pw-options ul { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }

.pw-options .chk_box {
    display: flex;
    align-items: center;
    gap: 7px;
    list-style: none;
}

.pw-options .selec_chk {
    accent-color: var(--c-green);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.pw-options label {
    color: var(--c-text-2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.pw-options label span { display: none; }

/* 액션 바 (하단 고정) */
.pw-actions {
    position: sticky;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 22px;
    background: rgba(246,244,239,.95);
    border-top: 1px solid var(--c-border-lt);
    border-radius: 0 0 var(--r-md) var(--r-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pw-actions__right { display: flex; gap: 10px; }

.pw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--r-sm);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
}

.pw-btn--cancel {
    background: transparent;
    color: var(--c-text-2);
    border: 1.5px solid var(--c-border);
}

.pw-btn--cancel:hover { background: var(--c-bg); }

.pw-btn--submit {
    background: var(--c-green);
    color: #fff;
    min-width: 130px;
    box-shadow: 0 2px 8px rgba(45,84,36,.2);
}

.pw-btn--submit:hover {
    background: var(--c-green-deep);
    box-shadow: 0 4px 16px rgba(45,84,36,.3);
    transform: translateY(-1px);
}

.pw-btn--submit:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 비회원 이름/비번 영역 */
.pw-guest-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


/* ================================================
   반응형
================================================ */

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

@media (max-width: 800px) {
    .flower-products { padding: 12px 16px 0; }
    .flower-products__head h2 { font-size: 26px; }
    .flower-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .flower-modal {
        align-items: flex-end;
        padding: 0;
    }

    .flower-modal__panel {
        grid-template-columns: 1fr;
        grid-template-rows: 45vw 1fr;
        width: 100%;
        max-height: 90vh;
        border-radius: var(--r-xl) var(--r-xl) 0 0;
        transform: translateY(40px);
    }

    .flower-modal.is-open .flower-modal__panel { transform: translateY(0); }

    .flower-modal__info { padding: 20px 18px 24px; }
    .flower-modal__title { font-size: 22px; margin-right: 0; }
    .flower-modal__price-text { font-size: 24px; }

    .pw-wrap { padding: 14px 14px 60px; }
    .pw-section__body { padding: 16px; }
    .pw-guest-info { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .flower-products__grid { gap: 10px; }
    .flower-products__meta { padding: 12px 14px 10px; }
    .flower-products__name { font-size: 14px; }
    .flower-products__price { font-size: 16px; }
    .flower-products__btn { height: 42px; font-size: 12px; }
    .flower-products__head h2 { font-size: 22px; }
    .flower-products__write { height: 38px; padding: 0 14px; font-size: 13px; }
}
