:root { --shop-control-height: 34px; --shop-control-small: 28px; --shop-control-large: 40px; }
[data-shop-size="small"] { --shop-control-height: var(--shop-control-small); }
[data-shop-size="large"] { --shop-control-height: var(--shop-control-large); }
input[data-shop-input] {
    box-sizing: border-box;
    block-size: var(--shop-control-height);
    border: 1px solid var(--shop-input-border, #c6d3e3);
    border-radius: 5px;
    padding-inline: 10px;
    font-family: inherit;
    font-size: 12px;
}
input[data-shop-input]::placeholder { font: inherit; }
select[data-shop-size="small"] + .select2 { --erp-select-height: var(--shop-control-small); }
select[data-shop-size="large"] + .select2 { --erp-select-height: var(--shop-control-large); }

/* Shared action buttons for the new shop screens. */
[data-shop-button] {
    box-sizing: border-box;
    block-size: var(--shop-button-height, var(--shop-control-height)) !important;
    min-block-size: var(--shop-button-height, var(--shop-control-height)) !important;
    padding-block: 0 !important;
    border: 1px solid var(--color-primary, #2563eb) !important;
    border-radius: var(--shop-button-radius, 6px) !important;
    background: var(--color-primary, #2563eb) !important;
    color: #fff !important;
    vertical-align: middle;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.25;
    cursor: pointer;
}
[data-shop-button="small"] { --shop-button-height: var(--shop-control-small); --shop-button-radius: 4px; }
[data-shop-button="medium"] { --shop-button-height: 34px; --shop-button-radius: 6px; }
[data-shop-button="large"] { --shop-button-height: var(--shop-control-large); --shop-button-radius: 7px; }
[data-shop-button].btn-primary-outline {
    background: #fff !important;
    color: var(--color-primary, #2563eb) !important;
}
[data-shop-button][aria-pressed="true"]:not(:disabled) { background: var(--color-primary, #2563eb) !important; color: #fff !important; }
[data-shop-button]:disabled {
    cursor: not-allowed;
    border-color: #dce5f1 !important;
    background: #f2f5fa !important;
    color: #687b95 !important;
}
/* Text actions use shared spacing. Labelled SVG-only controls keep their compact width. */
[data-shop-button]:where(:not([aria-label]:has(> svg:only-child)), .shop-button-padded) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-inline: 10px;
    white-space: nowrap;
    font-size: var(--shop-button-font-size, 13px);
}
[data-shop-button="small"] { --shop-button-font-size: 12px; }
[data-shop-button]:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
/* Compact controls shared by product, checkout and order dialogs. */
:is(.p5-quantity-stepper,.rc-person-stepper,.ps-person-stepper) button,
:is(.rc-person-dialog,.rc-coupon-dialog,.ps-coupon-dialog) header:not(.product-detail-write-head) button,
.ps-calendar-modal > header button,
.ps-calendar-modal nav:not(.ps-composition-dates) button,
.rc-shipping-editor .modal-close {
    box-sizing: border-box;
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 1px solid var(--color-primary, #2563eb);
    border-radius: 4px;
    background-color: #fff;
    color: var(--color-primary, #2563eb);
    cursor: pointer;
}
:is(.p5-quantity-stepper,.rc-person-stepper,.ps-person-stepper) button:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.ps-calendar-modal :is([data-calendar-close],[data-calendar-month]) {
    width: 25px;
    height: 25px;
    border-color: var(--color-border-default, #d1d5db);
    color: var(--color-text-secondary, #6b7280);
    line-height: 1;
}
.ps-calendar-modal :is([data-calendar-close],[data-calendar-month]) .shop-icon {
    display: block;
    width: 16px;
    height: 16px;
    pointer-events: none;
}
.ps-calendar-modal :is([data-calendar-close],[data-calendar-month]):hover {
    background-color: var(--color-surface-subtle, #f5f7fa);
    color: var(--color-text-primary, #374151);
}
.order-claim-card-button {
    display: grid;
    justify-items: start;
    gap: 5px;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 9px;
    background: #f5f8fc;
    color: #142b4b;
    font: inherit;
    text-align: start;
    cursor: pointer;
}
.order-claim-card-button span { color: #536983; }
.order-claim-card-button:hover,
.order-claim-card-button[aria-expanded="true"] { background: #edf3fb; }
.order-claim-card-button:focus-visible { outline: 2px solid #245bec; outline-offset: -2px; }
.rc-card-actions button { display:grid; place-items:center; width:28px; height:28px; padding:0; border:0; border-radius:6px; background:transparent; color:#60748c; cursor:pointer; }
.rc-card-actions button:hover, .rc-card-actions button.is-applied { background:#e9f0ff; color:#2458c4; }
[data-product-type-tabs] .product-detail-tabs { min-height: 42px; }
[data-product-type-tabs] .product-detail-tab { display: inline-flex; align-items: center; align-self: center; box-sizing: border-box; height: 42px; min-height: 42px; }
[data-product-type-tabs] .product-detail-tab.is-active::after { bottom: -1px; }

:is(.product-selector,.reservation-cart,[data-shop-icon-actions]) .rr-action{display:inline-grid;place-items:center;box-sizing:border-box;width:28px;height:28px;min-width:28px;min-height:28px;padding:5px;border:0;border-radius:6px;background:transparent;color:var(--color-text-secondary,#6b7280);cursor:pointer}
:is(.product-selector,.reservation-cart) .rr-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
:is(.product-selector,.reservation-cart,[data-shop-icon-actions]) .rr-action:hover{background:var(--color-surface-subtle,#f5f7fa);color:var(--color-brand-primary,#2861ef)}
:is(.product-selector,.reservation-cart,[data-shop-icon-actions]) .rr-action.is-delete:hover{background:#fff0f3;color:#db3652}
.rr-action:focus-visible{outline:2px solid var(--color-brand-primary,#2861ef);outline-offset:2px}

.product-detail-tab{position:relative;flex:none;align-self:stretch;padding:0 4px;border:0;background:transparent;color:#78869b;font:600 16px/1.4 Pretendard,NotoSansKR,sans-serif;white-space:nowrap;cursor:pointer;transition:color .15s ease}
.product-detail-tab:hover,.product-detail-tab:focus-visible{color:#225fca}
.product-detail-tab:focus-visible{outline:2px solid #3876e8;outline-offset:-4px;border-radius:5px}
.product-detail-tab.is-active{color:#14345e}
.product-detail-tab.is-active::after{position:absolute;right:0;bottom:0;left:0;height:3px;border-radius:3px 3px 0 0;background:#2864df;content:""}

.product-detail-write-head button{display:grid;place-items:center;flex:none;width:30px;height:30px;margin:0;padding:0;border:0;border-radius:7px;background:transparent;color:#78869b;font:400 23px/1 Pretendard,NotoSansKR,sans-serif;cursor:pointer}
.product-detail-write-foot button{min-width:72px;min-height:36px;border:1px solid #dce5f3;border-radius:8px;background:#fff;color:#425c7f;cursor:pointer}
.product-detail-write-foot button:disabled{border-color:#dce5f3;background:#eaf1ff;color:#8faee6;cursor:default}

.order-history-tabs button { display: inline-flex; align-items: center; gap: .65rem; padding: 1rem 1.2rem 1.1rem; border: 0; border-bottom: 2px solid transparent; background: none; color: #6a7d96; font-size: 1.3rem; }
.order-history-tabs button.is-active { color: #245de4; border-bottom-color: #245de4; font-weight: 700; }

.p5-colors button{border:1px solid var(--p5-border);border-radius:7px;background:var(--color-surface-base);color:var(--p5-ink);padding:calc(var(--space-2,.5rem)*.75) calc(var(--space-3,.75rem)*.6);min-inline-size:calc(2em + var(--space-3,.75rem)*1.2 + 2px);cursor:pointer}
.p5-colors button[aria-pressed=true]{border-color:var(--p5-accent);color:var(--p5-accent);background:var(--p5-soft)}
.p5-colors button:disabled{opacity:.4;cursor:not-allowed}
.p5-actions button,.p5-line button:not(.p5-quantity-stepper button){border:1px solid var(--p5-accent);background:var(--p5-accent);color:var(--color-on-brand);border-radius:7px;padding:8px 12px;cursor:pointer}
.p5-actions button:disabled{opacity:.5;cursor:not-allowed}
.p5-line button:not(.p5-quantity-stepper button){background:var(--color-surface-base);color:var(--p5-accent);font-size:11px;padding:6px 8px}
.p5-colors button[data-color]{display:inline-flex;align-items:center;gap:var(--space-2,.5rem);border-radius:999px;padding:var(--space-2,.5rem) var(--space-3,.75rem);font-weight:500}
.p5-colors button[data-color]::after{content:'';width:.45em;height:.75em;border:solid transparent;border-width:0 2px 2px 0;transform:rotate(45deg);margin-inline:2px;flex:none}
.p5-colors button[data-color][aria-pressed=true]::after{border-color:var(--p5-accent)}
.p5-colors button[data-color]:focus-visible{outline:2px solid var(--p5-accent);outline-offset:3px}
.p5-colors button[data-color] .p5-color-swatch{width:1.5em;height:1.5em;box-shadow:0 0 0 2px var(--color-surface-base);margin-inline:2px}
.p5-colors button{font-size:13px}

.ps-add button{border:1px solid var(--ps-rose);background:var(--ps-rose);color:var(--color-on-brand);border-radius:7px;padding:11px 16px;cursor:pointer;font-weight:600}
.ps-add button+button{background:var(--color-surface-base);color:var(--ps-rose)}
.ps-line-top button{border:0;background:none;color:var(--ps-rose);cursor:pointer}
.ps-actions button:disabled{opacity:.55;cursor:not-allowed}
.ps-additional button{border:1px solid var(--ps-border);background:var(--color-surface-base);border-radius:6px;color:var(--ps-rose);padding:8px 12px;cursor:pointer}
.ps-composition-dates button { padding:7px 10px; border:1px solid #dce5f1; border-radius:7px; background:#fff; color:#52657f; font-size:12px; cursor:pointer; }
.ps-composition-dates button.is-active { border-color:#2861e7; background:#edf3ff; color:#1754be; font-weight:700; }

.rc-toolbar>button,.rc-row button{border:0;background:none;color:#3961a3;cursor:pointer}
.rc-toolbar>button{font-size:13px}
.rc-product-shipping .btn{font-size:12px;white-space:nowrap}

.p5-selector :is(.p5-line-controls,.ps-selected-option-actions) .rr-action{border:0;background:transparent;color:#526174;padding:0;width:28px;height:28px;display:inline-grid;place-items:center;line-height:1}

.p5-selector :is(.p5-line-controls,.ps-selected-option-actions) .rr-action svg{display:block;width:20px;height:20px;color:inherit;stroke-width:2}

.product-selector .ps-gs-grid button{padding:calc(var(--space-3,.75rem)*.75)}

.product-selector .ps-gs-grid button strong{font-size:14px}

.ps-gs-grid button,.ps-slot{border:1px solid var(--ps-border);background:var(--color-surface-base);border-radius:9px;color:var(--ps-ink);padding:11px;text-align:left;cursor:pointer}

.ps-gs-grid button{display:flex;flex-direction:column;gap:5px}

.ps-gs-grid button strong{font-size:14px}

.ps-gs-grid button span{font-size:12px;color:var(--ps-rose)}

.ps-gs-grid button.is-selected,.ps-slot.is-selected{border-color:var(--ps-rose);background:var(--color-surface-subtle);box-shadow:inset 0 0 0 1px var(--ps-rose)}

.ps-slot{display:flex;flex-direction:column;gap:3px}

.ps-slot span{font-size:11px;color:var(--ps-muted)}

.ps-slot em{font-style:normal;color:var(--ps-rose);font-weight:600}

.ps-slot:disabled{opacity:.5;cursor:not-allowed;background:var(--color-surface-subtle)}

.ps-calendar-open{width:100%;border:1px solid var(--ps-border);background:#fff;border-radius:8px;padding:11px;text-align:left;color:var(--ps-ink);cursor:pointer}

.ps-calendar-day{min-height:110px;border:1px solid var(--ps-border);border-radius:8px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px;cursor:pointer;text-align:left}

.ps-calendar-day.is-selected{border:2px solid var(--ps-rose);background:#f2f6ff}

.ps-calendar-day:disabled{opacity:.45;cursor:default}

.ps-calendar-day span{font-weight:700;color:var(--ps-rose);font-size:12px}

.ps-calendar-day small{font-size:10px;color:var(--ps-muted)}

.ps-calendar-day em{font-size:10px;color:#087f57;font-style:normal;font-weight:700}

.ps-calendar-day{min-height:68px;padding:4px}

.ps-calendar-day span{font-size:10px}

.ps-calendar-day .ps-calendar-prices{display:flex;flex-wrap:wrap;align-items:center;gap:2px 4px;color:var(--ps-ink)}

.ps-calendar-day .ps-calendar-prices{display:flex;flex-direction:column;align-items:flex-start;gap:1px}

.ps-calendar-day .ps-calendar-prices strong{font-size:16px;line-height:1.2}

.ps-calendar-day .ps-calendar-prices em{background:#fff0f1;padding:2px 5px;border-radius:4px}

.ps-calendar-day .ps-calendar-prices i{position:absolute;right:7px;top:4px}

.ps-calendar-day{position:relative}

.ps-calendar-day .ps-calendar-prices del{font-size:11px}

.ps-calendar-day{min-height:100px}

.ps-calendar-day .ps-calendar-prices strong{font-size:11px}

.ps-calendar-day .ps-calendar-prices del{font-size:9px}

.ps-calendar-layout aside .ps-slot{width:100%}

.ps-calendar-day .ps-day-feature{background:#db3652;color:#fff;font-size:10px;font-weight:900;padding:3px 6px;border-radius:4px}

.ps-calendar-layout aside .ps-slot-calendar{gap:8px;padding:13px 14px}

.ps-slot-calendar.is-featured{border:2px solid #eb5368;background:#fff8f8;box-shadow:0 4px 16px #d63d5622}

.ps-slot-calendar .ps-slot-top{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;color:var(--ps-ink)}

.ps-slot-calendar .ps-slot-top>strong{font-size:18px;line-height:1.2}

.ps-slot-calendar .ps-slot-badges{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}

.ps-slot-calendar .ps-slot-badges b{font-size:11px;font-weight:800;line-height:1.2;padding:5px 7px;border-radius:5px;white-space:nowrap}

.ps-slot-calendar .ps-slot-feature{background:#db3652;color:#fff}

.ps-slot-calendar .ps-slot-left{background:#eaf2ff;color:#174b9e}

.ps-slot-calendar .ps-slot-left.is-low{background:#fff0dc;color:#a34800}

.ps-slot-calendar .ps-slot-discount{align-self:flex-start;background:#fff0f1;color:#c52643;font-size:13px;font-weight:900;padding:4px 8px;border-radius:5px}

.ps-slot-calendar.is-featured .ps-slot-prices p:first-child strong{color:#c52643;font-size:14px}

.ps-slot-calendar .ps-slot-top>strong{font-size:16px}

.ps-slot-calendar .ps-slot-badges b{font-size:10px}

/* Quiet standard dates; reserved colour and emphasis for leftover/event offers. */
.ps-calendar-day.is-normal-day{background:#fafbfc;border-color:#edf0f3;gap:1px}

.ps-calendar-day.is-normal-day .ps-calendar-prices strong{font-size:13px;font-weight:600;color:#657386}

.ps-calendar-day.is-normal-day .ps-calendar-prices del{font-size:10px;color:#a3aab4}

.ps-calendar-day.is-normal-day .ps-calendar-prices em{background:none;padding:0;color:#8793a1;font-size:10px;font-weight:500}

.ps-calendar-day.is-normal-day small{color:#9ba4b0}

.ps-calendar-day.is-normal-day.is-selected{border:2px solid #5379b0;background:#f1f5fa}

.ps-calendar-day.is-featured-day{border:2px solid #ed6c80;background:#fff2f4;box-shadow:0 3px 10px #d83b5317}

.ps-calendar-day.is-featured-day .ps-calendar-prices strong{color:#c52643;font-size:19px;font-weight:900}

.ps-calendar-day.is-featured-day .ps-calendar-prices em{background:#d93653;color:#fff;font-size:11px;padding:3px 5px}

.ps-calendar-day.is-featured-day .ps-day-feature{font-size:11px;padding:4px 6px}

.ps-slot-calendar:not(.is-featured){background:#fafbfc;border:1px solid #edf0f3;box-shadow:none}

.ps-slot-calendar:not(.is-featured) .ps-slot-top>strong{font-size:16px;color:#657386}

.ps-slot-calendar:not(.is-featured) .ps-slot-discount{background:none;color:#8994a2;font-size:11px;padding:0}

.ps-slot-calendar:not(.is-featured) .ps-slot-prices strong{color:#657386;font-weight:600}

.ps-slot-calendar:not(.is-featured) .ps-person-remaining{background:#f0f2f5;color:#8c96a4}

.ps-slot-calendar.is-selected:not(.is-featured){border-color:#5379b0;background:#f1f5fa}

.ps-calendar-day.is-normal-day .ps-calendar-prices strong{font-size:10px}

.ps-calendar-day.is-featured-day .ps-calendar-prices strong{font-size:13px}

.ps-calendar-day.is-featured-day .ps-day-feature{font-size:9px;padding:3px}

.ps-calendar-day.is-featured-day .ps-calendar-prices em{font-size:9px}

.ps-calendar-day.is-normal-day .ps-calendar-prices strong{color:#28639d}

.ps-calendar-day.is-normal-day .ps-calendar-prices em{color:#c3475b;font-weight:700}

.ps-slot-calendar:not(.is-featured) .ps-slot-prices strong{color:#28639d}

.ps-slot-calendar:not(.is-featured) .ps-slot-discount{color:#c3475b;font-weight:700}

.ps-calendar-day{min-height:0;padding:5px;gap:0}

.ps-calendar-day.is-featured-day .ps-calendar-prices strong{font-size:17px}

.ps-calendar-day .ps-calendar-prices del{font-size:9px}

.ps-calendar-day small{font-size:9px}

.ps-calendar-day.is-featured-day .ps-day-feature{padding:2px 4px;font-size:10px}

.ps-calendar-day.is-event-day{border-color:#9b72d4;background:#f6efff;box-shadow:0 3px 10px #7951ac20}

.ps-calendar-day.is-event-day .ps-calendar-prices strong,.ps-calendar-day.is-event-day .ps-calendar-prices i{color:#7540ad}

.ps-calendar-day.is-event-day .ps-calendar-prices em,.ps-calendar-day.is-event-day .ps-day-feature{background:#8050b6;color:#fff}

.ps-slot-calendar.is-event-slot{border-color:#9b72d4;background:#f8f3ff;box-shadow:0 4px 16px #8050b622}

.ps-slot-calendar.is-event-slot .ps-slot-feature{background:#8050b6}

.ps-slot-calendar.is-event-slot .ps-slot-discount{background:#ede0ff;color:#7540ad}

.ps-slot-calendar.is-event-slot .ps-slot-prices strong,.ps-slot-calendar.is-event-slot .ps-slot-prices p:first-child strong{color:#7540ad}

.ps-calendar-backdrop.has-day-choice .ps-calendar-day.is-featured-day:not(.is-selected){background:#fff;box-shadow:none}

.ps-calendar-day.is-normal-day.is-selected{border:2px solid #2861e7;background:#edf3ff;box-shadow:0 0 0 1px #2861e720}

.ps-slot-entry.is-counting .ps-slot{cursor:default}

.ps-slot-entry.is-saved .ps-slot{border:2px solid var(--color-brand-primary);background:var(--color-surface-subtle);box-shadow:0 0 0 2px color-mix(in srgb,var(--color-brand-primary) 14%,transparent);opacity:1}

.product-selector > section.ps-box:has(> h3 > b) .ps-gs-grid button{padding:9px 10px;min-height:42px}

.product-selector > section.ps-box:has(> h3 > b) .ps-calendar-open{padding:9px 11px}

.ps-calendar-day .ps-calendar-prices{gap:0;line-height:1.05}

.ps-calendar-day.is-featured-day .ps-calendar-prices em{padding:1px 4px;font-size:10px;line-height:1.15}

.ps-calendar-day.is-featured-day .ps-calendar-prices strong{font-size:16px;line-height:1.1}

.ps-calendar-day.is-featured-day .ps-day-feature{padding:1px 4px;line-height:1.1}

.ps-calendar-day>strong{margin-bottom:3px}

.ps-calendar-day .ps-calendar-prices{gap:3px;line-height:1.2}

.ps-calendar-day>small,.ps-calendar-day>.ps-day-feature{margin-top:2px}

.ps-slot-calendar.is-event-slot .ps-sku-price-row.is-final strong{color:#7540ad}

.ps-slot-calendar:not(.is-featured) .ps-sku-price-row.is-final strong{color:#28639d}

.ps-calendar-day.is-selected .ps-calendar-prices i{display:none}

.ps-calendar-modal .ps-calendar-day,.ps-calendar-modal .ps-calendar-day.is-selected,.ps-calendar-modal .ps-calendar-day.is-featured-day,.ps-calendar-modal .ps-calendar-day.is-event-day{border:0;box-shadow:none}

.ps-calendar-modal .ps-calendar-day:focus-visible{outline:2px solid #2861e7;outline-offset:-2px}

dialog.ps-composition-modal .ps-slot { border-color: #dce5f1; border-radius: 10px; }

dialog.ps-composition-modal .ps-slot.is-featured:not(.is-event-slot) .ps-composition-price strong { color:#d3284a; }

dialog.ps-composition-modal .ps-slot.is-event-slot .ps-composition-price strong { color:#7540ad; }

dialog.ps-composition-modal .ps-slot.is-event-slot .ps-composition-discount { color:#7540ad; }

dialog.ps-composition-modal .ps-composition-card-strip > .ps-slot-entry > .ps-slot{flex:1;min-width:0;display:flex;flex-direction:column;box-sizing:border-box}



.tf-runtime .tf-object.tf-action > button > img,
.tf-runtime .tf-object.tf-action > button > svg,



/* Canonical function SVGs: FTO owns surface/color/geometry; state follows existing business classes. */
.tf-runtime .tf-action > .wish_heart .tf-function-off,









.tf-runtime .tf-action > button svg,




/* Registry-owned proportional metrics: button is the query container, never the card. */

.tf-runtime .tf-action > .wish_heart .tf-function-off,

.tf-runtime .tf-action > .wish_heart .tf-function-on,




.tf-runtime .tf-object.tf-action > button { position: static; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; flex: none; cursor: pointer; }

.tf-runtime .tf-object.tf-action > button > img,
.tf-runtime .tf-object.tf-action > button > svg,
.tf-runtime .tf-object.tf-action > button > i { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }

.tf-runtime .tf-action > .wish_heart { background: transparent; color: inherit; border-radius: inherit; filter: none; }

.tf-runtime .item-cart { background: url('/image/icon/cart_w.png') no-repeat center/contain; }

/* Canonical function SVGs: FTO owns surface/color/geometry; state follows existing business classes. */
.tf-runtime .tf-action > .wish_heart .tf-function-off,
.tf-runtime .tf-action > .wish_heart .tf-function-on {display:block;width:100%;height:100%;}

.tf-runtime .tf-action > .wish_heart .tf-function-on {display:none;}

.tf-runtime .tf-action > .wish_heart.active .tf-function-off {display:none;}

.tf-runtime .tf-action > .wish_heart.active .tf-function-on {display:block;color:var(--scPoint);}

.tf-runtime .tf-action > button svg {display:block;width:100%;height:100%;color:inherit;}

.tf-runtime .tf-action > .item-cart {background:none;color:inherit;border-radius:inherit;}

.tf-runtime .tf-action > button:disabled {cursor:not-allowed;}

.tf-runtime .tf-action > button:focus-visible {outline:2px solid currentColor;outline-offset:-2px;}

.tf-runtime .tf-action > button:not(:disabled):hover {filter:brightness(.92);}

.tf-runtime .tf-action > button svg,
.tf-runtime .tf-action > button span {pointer-events:none;}

.tf-runtime .tf-object.tfo-gallery .smallPic {flex:none;display:block;height:100%;width:auto;aspect-ratio:1;padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;}

.tf-runtime .tf-object.tfo-gallery .smallPic[aria-pressed="true"] {border-color:#2c66df;}

.tf-runtime .tf-object.tfo-gallery .smallPic img {display:block;width:100%;height:100%;object-fit:cover;}

[data-detail-design-canvas] .tf-detail-share {display:flex;align-items:inherit;justify-content:inherit;width:100%;height:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:inherit;cursor:pointer;}

.rental-partner-select{display:inline-flex;align-items:center;gap:var(--space-2,.8rem);padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;text-align:left}

.rental-partner-select::before{content:"";display:inline-grid;place-items:center;width:1.2em;height:1.2em;border:1px solid var(--color-border,#c8d5e8);border-radius:50%;color:#fff;font-size:.85em}

.rental-partner-select[aria-pressed=true]::before{content:"✓";background:var(--color-primary,#2861e8);border-color:var(--color-primary,#2861e8)}

.rental-partner-select:focus-visible{outline:2px solid var(--color-primary,#2861e8);outline-offset:.4em}

.shop-floating__visibility-toggle { display: flex; flex: none; align-items: center; justify-content: center; width: 100%; min-height: 32px; padding: 4px; border: 0; background: transparent; color: var(--fb-primary); cursor: pointer; }

.shop-floating__visibility-toggle svg { width: 18px; height: 18px; color: currentColor; }

.shop-floating__visibility-toggle:focus-visible,.shop-floating__tab-trigger:focus-visible { outline: 2px solid var(--fb-primary); outline-offset: 2px; }

.shop-floating__top,.shop-floating__icon-item { min-height: 48px; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }

.shop-floating__top { font-size: 23px !important; }

.shop-floating__top small,.shop-floating__icon-item small { font-size: 10px; white-space: nowrap; }

.shop-floating__icon-item:hover,.shop-floating__top:hover { color: var(--fb-primary); background: #f2f6ff; border-radius: 8px; }

.floating-preview--mobile .shop-floating__icon-item,.floating-preview--mobile .shop-floating__top { min-height: 42px; }

.shop-floating-runtime--mobile .shop-floating__icon-item, .shop-floating-runtime--mobile .shop-floating__top { min-height: 42px; }

.modal-close {
    background: url("/image/common/x.png") no-repeat center/contain;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.modal-footer .btn {
    flex: 1;
    height: 40px;
}

.addr-btn-group .btn {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}

.addr-btn-group .btn {
        padding: 4px 8px;
    }

[data-shop-button].btn-primary-outline.shop-button-quiet {
    padding-inline: 10px;
    border-color: #dce3eb !important;
    color: #244462 !important;
}
[data-shop-button].btn-primary-outline.shop-button-quiet:is(:hover, :focus-visible) {
    border-color: var(--color-primary, #2563eb) !important;
    color: var(--color-primary, #2563eb) !important;
}

.shop-trash-icon { width: 16px; height: 16px; color: #9299a3; }
button:hover .shop-trash-icon { color: #68717e; }

[data-shop-button][data-payment-save]:disabled { background: var(--color-primary, #2563eb) !important; border-color: var(--color-primary, #2563eb) !important; color: #fff !important; }
[data-payment-edit] button[data-shop-button] { padding-inline: 12px; }
/* Quiet navigation action: text with a compact circular directional icon. */
[data-shop-button="text"] { --shop-button-height:28px; border:0 !important; border-radius:0 !important; background:transparent !important; color:var(--color-text-primary,#223247) !important; padding-inline:0; gap:8px; font-size:12px; font-weight:600; text-decoration:none; }
[data-shop-button="text"] > svg { box-sizing:border-box; flex:none; width:24px; height:24px; padding:5px; border-radius:50%; background:#edf3ff; color:var(--color-primary,#2563eb); transition:background .15s,color .15s; }
[data-shop-button="text"]:hover { color:var(--color-primary,#2563eb) !important; }
[data-shop-button="text"]:hover > svg { background:var(--color-primary,#2563eb); color:#fff; }
/* Match the label line box to the icon slot, avoiding anonymous text baseline rounding. */
[data-shop-button="text"] > .shop-button-label { display:block; line-height:24px; }

/* Coupon availability cue uses the existing coupon action as its click target. */
.p5-line-controls [data-general-coupon]{position:relative}
.shop-coupon-hint{position:absolute;right:0;bottom:calc(100% + 8px);z-index:3;display:block;padding:6px 9px;border-radius:7px;background:var(--color-brand-primary,#245de4);color:var(--color-on-brand,#fff);font:500 13px/1.4 Pretendard,NotoSansKR,sans-serif;white-space:nowrap;box-shadow:0 3px 10px #18365320;animation:shop-coupon-float 1.8s ease-in-out infinite}
.shop-coupon-hint::after{position:absolute;right:8px;bottom:-4px;width:8px;height:8px;transform:rotate(45deg);background:inherit;content:''}
button:is(:hover,:focus-visible)>.shop-coupon-hint{animation-play-state:paused}
@keyframes shop-coupon-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.shop-coupon-hint{animation:none}}
.product-selector .ps-line .rr-action{padding:4px;color:#526174}
.product-selector .ps-line .rr-action svg{display:block;width:20px;height:20px;color:inherit;stroke-width:2}

/* Counter input shares the compact +/- control's fixed outer height. */
:is(.p5-quantity-stepper,.rc-person-stepper,.ps-person-stepper)>input{
    box-sizing:border-box!important;
    height:25px!important;
    min-height:25px!important;
    max-height:25px!important;
    padding-block:0!important;
    line-height:normal;
    margin-block:0;
}
/* One close affordance for SHOP menus and dialogs; existing close handlers remain intact. */
:is(.modal-close,.mobileCtg-close,.commonModal-close,.modal-header button.close,
button[aria-label="닫기"],button[aria-label$=" 닫기"],
button[data-calendar-close],button[data-count-close],button[data-comp-close],
.product-detail-write-head button[data-detail-close]) {
    position:relative; display:inline-flex!important; align-items:center; justify-content:center;
    box-sizing:border-box; flex:none; width:28px!important; height:28px!important;
    min-width:28px; min-height:28px; padding:0!important; border:0!important; border-radius:4px;
    background:transparent!important; color:var(--color-text-secondary,#6b7280)!important;
    font-size:0!important; line-height:1; cursor:pointer; filter:none!important;
}
:is(.modal-close,.mobileCtg-close,.commonModal-close,.modal-header button.close,
button[aria-label="닫기"],button[aria-label$=" 닫기"],
button[data-calendar-close],button[data-count-close],button[data-comp-close],
.product-detail-write-head button[data-detail-close]) > * { display:none!important; }
:is(.modal-close,.mobileCtg-close,.commonModal-close,.modal-header button.close,
button[aria-label="닫기"],button[aria-label$=" 닫기"],
button[data-calendar-close],button[data-count-close],button[data-comp-close],
.product-detail-write-head button[data-detail-close])::before {
    content:''; display:block; width:16px; height:16px; background:currentColor;
    -webkit-mask:url('/image/common/x.png') center/contain no-repeat;
    mask:url('/image/common/x.png') center/contain no-repeat;
}