/**
 * WoOrder-Greek Shop Page - Lieferando Style
 *
 * Clean white background, minimal design, product cards with shadows.
 *
 * @package WoOrder_Greek
 */

/* ==========================================================================
   Force white/light background on shop pages
   ========================================================================== */

html {
    overflow-x: clip !important;
}

html body.woocommerce-page,
html body.post-type-archive-product {
    background-color: #f5f5f5 !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
    position: relative !important;
    width: 100% !important;
}

html body.woocommerce-page .wog-main,
html body.post-type-archive-product .wog-main,
html .wog-shop-page,
html .wog-shop-content {
    background-color: #f5f5f5 !important;
}

/* ==========================================================================
   Shop Page Layout
   ========================================================================== */

.wog-shop-page {
    padding-top: 0;
    min-height: 100vh;
    font-family: var(--wog-font-body);
}

/* ==========================================================================
   Search Bar
   ========================================================================== */

.wog-shop-search {
    position: sticky;
    top: 0;
    z-index: 101;
    background-color: #ffffff;
    padding: 12px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.admin-bar .wog-shop-search {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .wog-shop-search {
        top: 46px;
    }
}

.wog-shop-search__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 10px 14px;
    transition: box-shadow 0.2s ease;
}

.wog-shop-search__inner:focus-within {
    box-shadow: 0 0 0 2px var(--wog-color-gold);
    background-color: #ffffff;
}

.wog-shop-search__icon {
    flex-shrink: 0;
    color: #999999;
}

.wog-shop-search__input {
    flex: 1;
    border: none;
    background: none;
    font-size: 15px;
    font-family: var(--wog-font-body);
    color: #1a1a1a;
    outline: none;
    min-width: 0;
}

.wog-shop-search__input::placeholder {
    color: #999999;
}

.wog-shop-search__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #dddddd;
    color: #666666;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.wog-shop-search__clear:hover {
    background-color: #cccccc;
}

/* No results message */
.wog-shop-no-results {
    text-align: center;
    padding: 60px 24px;
    color: #6b6b6b;
    font-size: 15px;
}

/* ==========================================================================
   Make header non-sticky on shop page (scrolls away)
   ========================================================================== */

.woocommerce-page .wog-header,
.post-type-archive-product .wog-header {
    position: relative !important;
    top: auto !important;
}

/* ==========================================================================
   Sticky Category Navigation (acts as the main nav on shop)
   ========================================================================== */

.wog-shop-nav {
    position: sticky;
    top: 52px;
    z-index: 100;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    padding-top: 6px;
}

.admin-bar .wog-shop-nav {
    top: 84px;
}

@media (max-width: 782px) {
    .admin-bar .wog-shop-nav {
        top: 98px;
    }
    .wog-shop-nav {
        top: 52px;
    }
}

.wog-shop-nav__inner {
    display: flex;
    gap: 0;
    padding: 0 24px;
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wog-shop-nav__inner::-webkit-scrollbar {
    display: none;
}

.wog-shop-nav__item {
    flex-shrink: 0;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #6b6b6b;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    position: relative;
}

.wog-shop-nav__item:hover {
    color: #333333;
}

.wog-shop-nav__item.active {
    color: var(--wog-color-gold);
    border-bottom-color: var(--wog-color-gold);
    font-weight: 600;
}

/* ==========================================================================
   Split Layout (Products + Cart)
   ========================================================================== */

.wog-shop-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 24px;
}

/* ==========================================================================
   Shop Main (Left: Products)
   ========================================================================== */

.wog-shop-main {
    padding: 24px 0 80px;
    min-width: 0;
}

/* ==========================================================================
   Cart Sidebar (Right)
   ========================================================================== */

.wog-shop-cart {
    padding-top: 24px;
}

.wog-shop-cart__inner {
    position: sticky;
    top: 100px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.admin-bar .wog-shop-cart__inner {
    top: 132px;
    max-height: calc(100vh - 152px);
}

.wog-shop-cart__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #1a1a1a;
}

.wog-shop-cart__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.wog-shop-cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px;
}

.wog-shop-cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 16px;
    text-align: center;
}

.wog-shop-cart__empty p {
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    margin: 0;
}

.wog-shop-cart__empty span {
    font-size: 12px;
    color: #999999;
}

.wog-shop-cart__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}

.wog-shop-cart__item:last-child {
    border-bottom: none;
}

.wog-shop-cart__item-qty {
    font-weight: 700;
    color: var(--wog-color-gold);
    flex-shrink: 0;
    min-width: 24px;
}

.wog-shop-cart__item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wog-shop-cart__item-name {
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wog-shop-cart__item-addons {
    font-size: 11px;
    color: #888888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wog-shop-cart__item-price {
    font-weight: 600;
    color: #1a1a1a;
    flex-shrink: 0;
}

.wog-shop-cart__footer {
    border-top: 1px solid #e8e8e8;
    padding: 16px 20px;
}

.wog-shop-cart__subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.wog-shop-cart__checkout {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background-color: var(--wog-color-gold);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.wog-shop-cart__checkout:hover {
    background-color: var(--wog-color-gold-light);
    color: #ffffff;
}

/* ==========================================================================
   Category Sections
   ========================================================================== */

.wog-shop-section {
    margin-bottom: 32px;
    scroll-margin-top: 100px;
}

.admin-bar .wog-shop-section {
    scroll-margin-top: 132px;
}

.wog-shop-section__title {
    font-family: var(--wog-font-body);
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wog-shop-section__time-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.wog-shop-section__desc {
    font-size: 13px;
    color: #6b6b6b;
    margin-bottom: 16px;
}

/* ==========================================================================
   Product List Items
   ========================================================================== */

.wog-shop-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.wog-shop-item {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
    cursor: pointer;
    text-decoration: none;
}

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

.wog-shop-item:hover {
    background-color: #fafafa;
}

/* Product Image */
.wog-shop-item__image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    align-self: center;
}

.wog-shop-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.wog-shop-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 0;
}

.wog-shop-item__name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
    line-height: 1.3;
}

.wog-shop-item__desc {
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Labels */
.wog-shop-item__labels {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.wog-shop-item__label {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: #f0f0f0;
    color: #555555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Product Action (Price + Add Button) */
.wog-shop-item__action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 70px;
}

.wog-shop-item__price {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

.wog-shop-item__price del {
    color: #999999;
    font-weight: 400;
    font-size: 12px;
}

.wog-shop-item__price ins {
    text-decoration: none;
}

.wog-shop-item__add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--wog-color-gold);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(155, 116, 32, 0.3);
}

.wog-shop-item__add:hover {
    background-color: var(--wog-color-gold-light);
    transform: scale(1.1);
    color: #ffffff;
}

.wog-shop-item__add svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.wog-shop-item__add--loading {
    pointer-events: none;
    opacity: 0.7;
}

.wog-shop-item__add--loading svg {
    animation: wog-spin 0.6s linear infinite;
}

/* ==========================================================================
   Snackbar Notification
   ========================================================================== */

.wog-snackbar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 24px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    max-width: calc(100vw - 48px);
}

.wog-snackbar--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 480px) {
    .wog-snackbar {
        left: 16px;
        right: 16px;
        bottom: 16px;
        transform: translateY(120px);
        max-width: none;
        width: auto;
    }

    .wog-snackbar--visible {
        transform: translateY(0);
    }
}

.wog-snackbar svg {
    flex-shrink: 0;
    color: #4caf50;
}

.wog-snackbar--error {
    background-color: #991b1b;
}

.wog-snackbar--error svg {
    color: #fca5a5;
}

/* ==========================================================================
   Cart Item Remove Button
   ========================================================================== */

.wog-shop-cart__item-remove {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #999999;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-left: 4px;
}

.wog-shop-cart__item-remove:hover {
    background: #ff4444;
    color: #ffffff;
}

.wog-shop-cart__item--removing {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.wog-shop-cart__item-remove--loading {
    pointer-events: none;
}

.wog-shop-cart__item-remove--loading svg {
    animation: wog-spin 0.6s linear infinite;
}

@keyframes wog-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Mobile: Floating Cart Button
   ========================================================================== */

.wog-shop-cart-mobile {
    display: none;
}

.wog-shop-cart-mobile__btn {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background-color: var(--wog-color-gold);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(155, 116, 32, 0.4);
    transition: transform 0.15s ease;
}

.wog-shop-cart-mobile__btn:active {
    transform: scale(0.97);
}

.wog-shop-cart-mobile__count {
    background: #ffffff;
    color: var(--wog-color-gold);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.wog-shop-cart-mobile__total {
    margin-left: auto;
}

/* ==========================================================================
   Mobile: Cart Slide-Up Panel
   ========================================================================== */

.wog-shop-cart-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
}

.wog-shop-cart-panel.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.wog-shop-cart-panel__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wog-shop-cart-panel__content {
    position: relative;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.wog-shop-cart-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.wog-shop-cart-panel__header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.wog-shop-cart-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #666;
    cursor: pointer;
}

.wog-shop-cart-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px;
}

.wog-shop-cart-panel__footer {
    padding: 16px 20px;
    border-top: 1px solid #e8e8e8;
}

/* ==========================================================================
   Service Type Dialog (Pickup / Delivery)
   ========================================================================== */

.wog-service-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wog-service-dialog__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wog-service-dialog__content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: calc(100% - 32px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.wog-service-dialog__content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.wog-service-dialog__content p {
    font-size: 14px;
    color: #6b6b6b;
    margin: 0 0 24px;
}

.wog-service-dialog__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.wog-service-dialog__option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 12px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
}

.wog-service-dialog__option:hover {
    border-color: var(--wog-color-gold);
}

.wog-service-dialog__option.selected {
    border-color: var(--wog-color-gold);
    background: #fff5f0;
}

.wog-service-dialog__icon {
    font-size: 32px;
}

.wog-service-dialog__label {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.wog-service-dialog__desc {
    font-size: 11px;
    color: #6b6b6b;
}

.wog-service-dialog__badge {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
}

.wog-service-dialog__address {
    text-align: left;
    margin-top: 16px;
}

.wog-service-dialog__address label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    display: block;
    margin-bottom: 6px;
}

.wog-service-dialog__input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    outline: none;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

.wog-service-dialog__input:focus {
    border-color: var(--wog-color-gold);
}

/* Legacy: address-row removed, PLZ-only flow now used */

.wog-service-dialog__confirm {
    width: 100%;
    padding: 14px;
    background: var(--wog-color-gold);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.wog-service-dialog__confirm:hover:not(:disabled) {
    background: var(--wog-color-gold-light);
}

.wog-service-dialog__confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wog-service-dialog__city-wrap {
    margin-bottom: 10px;
}

.wog-service-dialog__city-wrap label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    display: block;
    margin-bottom: 6px;
}

.wog-service-dialog__city-wrap select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

.wog-service-dialog__city-wrap select:focus {
    border-color: var(--wog-color-gold);
}

.wog-service-dialog__message {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

.wog-service-dialog__message--error {
    background: rgba(231, 76, 60, 0.08);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.wog-service-dialog__message--success {
    background: rgba(39, 174, 96, 0.08);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.wog-service-dialog__message--info {
    background: rgba(52, 152, 219, 0.08);
    color: #2980b9;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Hide cart sidebar on tablet/mobile — show floating button instead */
@media (max-width: 1024px) {
    .wog-shop-layout {
        grid-template-columns: 1fr;
    }

    .wog-shop-cart {
        display: none;
    }

    .wog-shop-cart-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .wog-shop-nav {
        top: 52px;
    }

    .admin-bar .wog-shop-nav {
        top: 98px;
    }

    .wog-shop-search {
        top: 0;
    }

    .admin-bar .wog-shop-search {
        top: 46px;
    }

    .wog-shop-nav__inner {
        padding: 0 16px;
    }

    .wog-shop-nav__item {
        padding: 12px 12px;
        font-size: 13px;
    }

    .wog-shop-layout {
        padding: 0 16px;
    }

    .wog-shop-main {
        padding: 16px 0 80px;
    }

    .wog-shop-section {
        scroll-margin-top: 120px;
        margin-bottom: 24px;
    }

    .wog-shop-section__title {
        font-size: 18px;
    }

    .wog-shop-item {
        gap: 12px;
        padding: 12px 16px;
    }

    .wog-shop-item__image {
        width: 64px;
        height: 64px;
    }

    .wog-shop-item__name {
        font-size: 14px;
    }

    .wog-shop-item__desc {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }

    .wog-shop-item__price {
        font-size: 14px;
    }

    .wog-shop-item__add {
        width: 28px;
        height: 28px;
    }

    .wog-shop-item__add svg {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================================================
   Addon Dialog
   ========================================================================== */

.wog-addon-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wog-addon-dialog__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wog-addon-dialog__content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: calc(100% - 32px);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.25s ease;
}

.wog-addon-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.wog-addon-dialog__header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.wog-addon-dialog__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #666;
    cursor: pointer;
}

.wog-addon-dialog__close:hover {
    background: #e0e0e0;
}

.wog-addon-dialog__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.wog-addon-dialog__group {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.wog-addon-dialog__group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.wog-addon-dialog__group h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.wog-addon-required {
    color: var(--wog-color-gold);
}

.wog-addon-dialog__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.1s ease;
    font-size: 14px;
    color: #1a1a1a;
}

.wog-addon-dialog__option:hover {
    background: #f9f9f9;
}

.wog-addon-dialog__option input[type="radio"],
.wog-addon-dialog__option input[type="checkbox"] {
    accent-color: var(--wog-color-gold);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.wog-addon-opt-price {
    color: #6b6b6b;
    font-size: 12px;
    margin-left: 4px;
}

.wog-addon-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--wog-font-body);
    resize: vertical;
    min-height: 44px;
}

.wog-addon-textarea:focus {
    border-color: var(--wog-color-gold);
    outline: none;
}

/* Quantity control */
.wog-addon-dialog__qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.wog-addon-dialog__qty label {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.wog-addon-dialog__qty-ctrl {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.wog-addon-qty-minus,
.wog-addon-qty-plus {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wog-addon-qty-minus:hover,
.wog-addon-qty-plus:hover {
    background: #e8e8e8;
}

.wog-addon-dialog__qty-ctrl input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    -moz-appearance: textfield;
}

.wog-addon-dialog__qty-ctrl input::-webkit-outer-spin-button,
.wog-addon-dialog__qty-ctrl input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Footer with submit button */
.wog-addon-dialog__footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
}

.wog-addon-dialog__submit {
    width: 100%;
    padding: 15px;
    background: var(--wog-color-gold);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.wog-addon-dialog__submit:hover {
    background: var(--wog-color-gold-light);
}

.wog-addon-dialog__submit:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

.wog-addon-dialog__submit:disabled:hover {
    background: #ccc;
}

@media (max-width: 768px) {
    .wog-addon-dialog {
        align-items: flex-end;
    }

    .wog-addon-dialog__content {
        max-width: 100%;
        width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 90vh;
    }
}

/* ==========================================================================
   Allergen Tags (Shop view)
   ========================================================================== */

.wog-shop-item__allergens {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.wog-shop-item__allergen {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    background-color: #f0f0f0;
    color: #888888;
    font-weight: 500;
}
