


.shop-book-cta-wrap {
    margin-top: 1.125rem;
    display: flex;
    justify-content: center;
}
.shop-book-cta,
.shop-book-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 100px;
    background: var(--shop-accent);
    color: var(--shop-accent-text, #fff);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--shop-accent) 30%, transparent);
    transition: filter 0.2s var(--shop-ease), transform 0.2s var(--shop-ease);
}
.shop-book-cta:hover,
.shop-book-fab:hover { filter: brightness(1.06); }
.shop-book-cta:active,
.shop-book-fab:active { transform: scale(0.98); }
.shop-book-cta:focus-visible,
.shop-book-fab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--shop-accent) 30%, transparent);
}

.shop-book-fab {
    position: fixed;
    left: 50%;
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 950;
    display: none;
}
.shop-book-fab:active { transform: translateX(-50%) scale(0.98); }
@media (min-width: 768px) {
    .shop-book-fab:not([hidden]) { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
    .shop-book-cta, .shop-book-fab { transition: none; }
}

.cart-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--shop-accent, #8a6d52);
    color: var(--shop-accent-text, #fff);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s, box-shadow 0.18s;
}

.cart-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.cart-fab:active {
    transform: translateY(0);
}

.cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 90vw;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s var(--shop-ease, cubic-bezier(0.22, 1, 0.36, 1));
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.cart-drawer-overlay.active .cart-drawer {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.cart-drawer-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
    flex-shrink: 0;
    background: #fafafa;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.cart-total-row strong {
    font-size: 1.25rem;
    color: var(--shop-accent, #8a6d52);
}

.cart-checkout-btn {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 12px;
    background: var(--shop-accent, #8a6d52);
    color: var(--shop-accent-text, #fff);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cart-checkout-btn:hover { opacity: 0.9; }
.cart-checkout-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.cart-item {
    display: flex;
    gap: 0.875rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f7;
    border: 1px solid #ececec;
}

.cart-item-img-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0c0c5;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--shop-text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-price {
    font-size: 0.875rem;
    color: var(--shop-text-secondary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
    gap: 0.5rem;
}

.cart-qty-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    overflow: hidden;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #fff;
    color: var(--shop-text);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    background: #f5f5f7;
}

.cart-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cart-qty-num {
    min-width: 32px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    border-left: 1px solid #d2d2d7;
    border-right: 1px solid #d2d2d7;
    padding: 0 0.5rem;
    line-height: 28px;
    background: #fff;
}

.cart-item-remove {
    border: none;
    background: transparent;
    color: var(--shop-text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 6px;
    transition: color 0.18s, background 0.18s;
}

.cart-item-remove:hover {
    color: #ef4444;
    background: #fef2f2;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--shop-text-muted);
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    color: #d2d2d7;
}

.checkout-items {
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fafafa;
    margin-bottom: 1rem;
    overflow: hidden;
}

.checkout-items .checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    border-bottom: 1px solid #ececec;
    font-size: 0.875rem;
}

.checkout-items .checkout-item:last-child {
    border-bottom: none;
}

.checkout-items .checkout-item-name {
    flex: 1;
    color: var(--shop-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0.5rem;
}

.checkout-items .checkout-item-detail {
    color: var(--shop-text-secondary);
    font-variant-numeric: tabular-nums;
}

.checkout-items .checkout-total {
    background: #fff;
    font-weight: 600;
    color: var(--shop-accent, #8a6d52);
    border-top: 2px solid #ececec;
}

@media (max-width: 480px) {
    .cart-fab {
        bottom: 1rem;
        right: 1rem;
        width: 52px;
        height: 52px;
    }
    .cart-drawer { width: 100vw; max-width: 100vw; }
}

.detail-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 0.75rem 0 calc(0.25rem + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 16px -10px rgba(0, 0, 0, 0.10);
    z-index: 2;
}

.detail-modal-actions .btn-modal-primary {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 12px;
    background: var(--shop-primary, #d4a574);
    color: var(--shop-accent-text, #fff);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.detail-modal-actions .btn-modal-primary:hover {
    opacity: 0.85;
}


.detail-modal-actions .btn-modal-primary:disabled {
    background: #e7e3dc;
    color: #5f5a53;
    opacity: 1;
    cursor: not-allowed;
}


.detail-modal-actions > .vibeai-privacy-notice {
    flex-basis: 100%;
}

.checkout-next-hint {
    flex-basis: 100%;
    margin: 0;
    font-size: 0.8125rem;
    color: #5f5a53;
    text-align: center;
}
.checkout-next-hint[hidden] { display: none; }

.detail-modal-actions .btn-modal-secondary {
    padding: 0.75rem 1.25rem;
    border: 1.5px solid #d2d2d7;
    border-radius: 12px;
    background: #fff;
    color: #1d1d1f;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.detail-modal-actions .btn-modal-secondary:hover {
    background: #f5f5f7;
}

.detail-modal-stock {
    font-size: 0.8125rem;
    color: var(--shop-text-muted, #86868b);
    margin-bottom: 0.5rem;
}
.detail-modal-stock .detail-modal-limit {
    color: #e65100;
    font-weight: 500;
}
.detail-modal-stock-soldout {
    font-size: 0.9375rem;
    color: #fff;
    background: #6b6b70;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: center;
}
.detail-modal-stock-urgent {
    color: #ff3b30;
    font-weight: 700;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.product-gallery-main {
    position: relative;
    width: 100%;
}
.product-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 12px;
    background: #f5f5f7;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.product-gallery-track::-webkit-scrollbar { display: none; }
.product-gallery-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: block;
}
.product-gallery-slide img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.product-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    transition: background 0.15s;
}
.product-gallery-nav:hover { background: rgba(0,0,0,0.6); }
.product-gallery-nav.prev { left: 8px; }
.product-gallery-nav.next { right: 8px; }
@media (hover: none) {
    .product-gallery-nav { display: none; }
}

.product-gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}
.product-gallery-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    transition: all 0.2s;
    cursor: pointer;
}
.product-gallery-dots .dot.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px;
    -webkit-overflow-scrolling: touch;
}
.product-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.product-gallery-thumbs .gallery-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.15s ease;
}
.product-gallery-thumbs .gallery-thumb:hover { opacity: 1; }
.product-gallery-thumbs .gallery-thumb.active {
    border-color: var(--shop-theme-color, #4361ee);
    opacity: 1;
}

.purchase-success {
    text-align: center;
    padding: 0.5rem 0;
}
.purchase-success .success-icon {
    font-size: 4rem;
    color: #34c759;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.purchase-success .success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}
.purchase-success .success-subtitle {
    font-size: 0.9375rem;
    color: var(--shop-text-muted, #86868b);
    margin-bottom: 1.5rem;
}
.purchase-success .success-order-card {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    text-align: left;
}
.purchase-success .success-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.purchase-success .success-row:last-child { border-bottom: none; }
.purchase-success .success-row .label {
    color: var(--shop-text-muted, #86868b);
    font-size: 0.875rem;
}
.purchase-success .success-row .value { font-weight: 500; color: #1d1d1f; }
.purchase-success .success-row .value.mono { font-family: ui-monospace, monospace; font-size: 0.85rem; }
.purchase-success .success-row-total {
    padding-top: 0.75rem;
    border-top: 1.5px solid rgba(0,0,0,0.1) !important;
    margin-top: 0.25rem;
}
.purchase-success .success-total {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #34c759;
}
.success-pm-list {
    text-align: left;
    margin-bottom: 1.25rem;
    background: #fffdf0;
    border: 1px solid #ffe9a1;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}
.success-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #8a6d00;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.success-section-title::before {
    content: '💳';
}
.success-pm-item {
    padding: 0.625rem 0;
    border-bottom: 1px dashed rgba(138,109,0,0.15);
}
.success-pm-item:last-child { border-bottom: none; padding-bottom: 0; }
.success-pm-name {
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}
.success-pm-info {
    font-size: 0.8125rem;
    color: #555;
    line-height: 1.5;
    font-family: ui-monospace, monospace;
}
.success-pm-instructions {
    font-size: 0.8125rem;
    color: #8a6d00;
    margin-top: 0.375rem;
    line-height: 1.5;
}
.purchase-success .success-actions {
    display: flex;
    justify-content: center;
}
.purchase-success .success-actions .btn-modal-primary {
    min-width: 160px;
}


@media (pointer: coarse) {
    .shop-tabs .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .btn-book {
        min-height: 44px;
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }
    .wizard-close,
    .detail-modal-close {
        width: 44px;
        height: 44px;
    }

    .time-slot-btn,
    .wizard-option,
    .time-btn,
    .date-btn,
    .staff-option {
        min-height: 44px;
    }
}


.hero-banner { transition: opacity .9s ease; }
.hero-banner.is-behind { opacity: 0; }
.hero-banner-extra { opacity: 0; }
.hero-banner-extra.is-active { opacity: 1; }
.shop-header.has-carousel > .hero-dots {
    position: absolute;
    top: 10px;
    right: 12px;
    display: flex;
    gap: 2px;
    z-index: 2;
}
.hero-dot {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.hero-dot::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
}
.hero-dot.is-active::before { background: #fff; }
.shop-header.has-carousel { user-select: none; -webkit-user-select: none; }
.shop-header.has-carousel { touch-action: pan-y; }
@media (prefers-reduced-motion: reduce) {
    .hero-banner, .hero-banner-extra { transition: none; }
}



.addon-hint {
    font-size: .85rem;
    color: var(--shop-muted, #86868b);
    margin-bottom: .75rem;
    line-height: 1.5;
}

.addon-group {
    margin-bottom: .75rem;
}

.addon-group-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    padding: .55rem .25rem;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--shop-border);
    margin-bottom: .5rem;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.addon-group-name {
    font-weight: 600;
    font-size: .95rem;
}

.addon-group-meta {
    margin-left: auto;
    font-size: .8rem;
    color: var(--shop-muted, #86868b);
}

.addon-group-arrow {
    font-size: .9rem;
    color: var(--shop-muted, #86868b);
    transition: transform .2s var(--shop-ease);
}

.addon-group.collapsed .addon-group-arrow {
    transform: rotate(-90deg);
}

.addon-group.collapsed .addon-group-body {
    display: none;
}

.addon-option {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    padding: .875rem 1rem;
    background: var(--shop-card);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-card-radius);
    cursor: pointer;
    margin-bottom: .5rem;
    transition: all .2s var(--shop-ease);
    box-shadow: var(--shop-shadow-xs);
}

.addon-option:hover {
    box-shadow: var(--shop-shadow);
    transform: translateY(-1px);
}

.addon-option.selected {
    box-shadow: 0 0 0 2px var(--shop-accent), var(--shop-shadow);
    border-color: transparent;
}

.addon-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--shop-surface);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.addon-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.addon-thumb.is-empty {
    color: var(--shop-text-secondary, #86868b);
    font-size: 1.25rem;
}

.addon-body {
    flex: 1;
    min-width: 0;
}

.addon-name {
    font-weight: 600;
    font-size: .95rem;
    color: var(--shop-text);
}

.addon-desc {
    font-size: .8rem;
    color: var(--shop-muted, #86868b);
    margin-top: .15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.addon-meta {
    font-size: .82rem;
    color: var(--shop-text-secondary, #86868b);
    margin-top: .25rem;
}

.addon-qty {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
}

.addon-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--shop-border);
    background: var(--shop-surface);
    color: var(--shop-text);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.addon-qty-num {
    min-width: 2ch;
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
}

.addon-check {
    flex-shrink: 0;
    align-self: center;
    color: var(--shop-accent);
    font-size: 1.15rem;
    opacity: 0;
}

.addon-option.selected .addon-check {
    opacity: 1;
}

.addon-subtotal {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--shop-border);
    font-size: .9rem;
    font-weight: 600;
    color: var(--shop-text);
    text-align: right;
}

@media (hover: none) and (pointer: coarse) {
    .addon-option,
    .addon-qty-btn {
        min-height: 44px;
    }
    .addon-qty-btn {
        min-width: 44px;
    }
}


.remember-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    margin: 0 0 .75rem;
    padding: 8px 12px;
    background: var(--shop-bg);
    border: 1px dashed var(--shop-border);
    border-radius: 8px;
    font-size: .85rem;
    line-height: 1.5;
    color: var(--shop-muted);
}

.remember-notice-clear {
    border: 0;
    background: none;
    padding: 0 2px;
    font-size: inherit;
    color: var(--shop-accent);
    text-decoration: underline;
    cursor: pointer;
}

.remember-notice-use {
    border: 1px solid var(--shop-accent);
    background: var(--shop-card, #fff);
    color: var(--shop-accent);
    border-radius: 999px;
    padding: 2px 12px;
    font-size: inherit;
    cursor: pointer;
}

@media (hover: none) and (pointer: coarse) {
    .remember-notice-clear,
    .remember-notice-use {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (pointer: coarse), (max-width: 767.98px) {
    .cart-qty-btn { width: 40px; height: 40px; }
    .cart-qty-num { line-height: 40px; }
    .cart-item-remove { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
}

.shop-preview-bar {
    position: sticky;
    top: 0;
    z-index: 950;
    background: #7a4b00;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    padding: 0.5rem 0.75rem;
}
body.has-preview-bar .shop-tabs { top: var(--shop-preview-bar-h, 2.25rem); }
