.owner-hero{width:100%;height:148px;object-fit:cover}
@media (min-width:768px){.owner-hero{height:270px}}

.menu-item {
    position: relative;
}


.menu-quickadd {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid #04334E;
    color: #04334E;
    border-radius: 16px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease-in-out;
    z-index: 5;
}


.menu-quickadd:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 18px rgba(120, 118, 122);
}


.menu-quickadd:active {
    transform: scale(0.95);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}


.menu-quickadd i {
    font-size: 24px;
}

.pnote{width:100%;min-height:120px;margin:8px 0 14px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text)}


 .cart-btn {
     position: fixed;
     bottom: 30px;
     right: 30px;
     width: 65px;
     height: 65px;
     background: var(--primary);
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 18px;
     cursor: pointer;
     box-shadow: 0 2px 10px rgba(0,0,0,0.2);
     z-index: 1000;
 }

.cart-btn:hover {
    transform: scale(1.05) translateY(-2px);
}

.cart-btn i {
    transition: transform 1s ease;
}

.cart-btn:hover i {
    transform: rotate(-10deg) scale(1.1);
}

.btn-checkout{
    padding:10px 12px;
    border:0;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
    font-size:13px;
    background:var(--primary);
    color:#FFFFFF;
    margin-top: 15px;
    margin-left: 20px;
    margin-bottom: 20px;
}
.btn-checkout{
    width:90%;
}

.cart-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 15000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.cart-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 95vw;
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-panel.active .cart-sidebar {
    transform: translateX(0);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: #888;
    font-size: 1.1rem;
    flex-grow: 1;
}

.cart-item {
    display: flex;
    padding: 16px 20px;
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
    position: relative;
}

.cart-item-image img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #eee;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 45px;
}

.cart-item-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    white-space: normal;
    word-break: break-word;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 8px;
}


.cart-sidebar .quantity-controls {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    border-radius: 20px;
}


.cart-sidebar .qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s;
}

.remove-item {
    width: 34px;
    height: 34px;
    background: #fdeeee;
    color: #e74c3c;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 2;
}


.remove-item:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.05);
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.cart-footer {
    border-top: 1px solid #eee;
    padding: 20px;
}


.modal-quantity {
    display: flex;
    gap: 20px;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 25px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.quantity-display {
    font-size: 18px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    color: #333;
}

.add-to-cart-btn {
     background: var(--primary);
     color: white;
     border: none;
     padding: 12px 18px;
     border-radius: 25px;
     font-size: 16px;
     font-weight: 600;
     cursor: pointer;
     align-items: center;
     gap: 10px;
     transition: all 0.3s;
     width: 100%;
     max-width: 250px;
     min-width: unset;
     margin: 0 auto;
     box-sizing: border-box;
 }

@media (max-width: 480px) {
    .add-to-cart-btn {
        max-width: 150px;
        padding: 12px 16px;
        font-size: 15px;
    }
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
}


.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--primary);
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 99999999;;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    margin-right: 10px;
    font-size: 18px;
}

.toast-message {
    font-weight: 500;
    font-size: 16px;
}



.cart-total {
    margin-top: auto;
    padding: 20px 20px 0 20px;
    border-top: 1px solid #f0f0f0;
}


.total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1.1rem;
    font-weight: 600;
}

.total-row span:first-child {
    color: var(--helper);
}

.total-row .total-amount {
    color: var(--helper);
    font-size: 1.3rem;
    font-weight: 700;
}



@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}


.validation-error .option-values {
    border: 2px solid #e74c3c;
    border-radius: 4px;
    padding: 8px;
    margin-top: 4px;
}




.option-group-title {
    padding: 12px 15px;
    background-color: #f7f8fa;
    border-bottom: 1px solid #eef0f2;
}
.option-group-title .main-title {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    display: block;
}
.option-group-title .sub-rule {
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    display: block;
    margin-top: 2px;
}

.modal-actions {
    flex-shrink: 0;
    padding: 20px 40px 10px 40px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px 0 40px;
}

@media (max-width: 480px) {
    .modal-content-minimal {
        width: 95%;
        max-width: none;
        margin: 10px;
    }

    .modal-body {
        padding: 20px 20px 0 20px;
    }

    .modal-actions {
        padding: 15px 20px;
    }

    .modal-price {
        text-align: center;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .modal-quantity {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .quantity-controls {
        flex-shrink: 0;
    }

    .add-to-cart-btn {
        flex: 1;
        margin-left: 15px;
        max-width: none;
    }
}




.options-container {
    margin: 20px 0;
    padding: 0;
}

.option-group {
    margin-bottom: 25px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.option-group-title {
    padding: 15px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e8e8e8;
    margin: 0;
}

.option-group-title .main-title {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    display: block;
    margin: 0;
}

.option-group-title .sub-rule {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    display: block;
    margin-top: 4px;
}

.option-values {
    padding: 0;
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease;
    margin: 0;
    position: relative;
}

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

.option-item:hover {
    background-color: #f8f9fa;
}


.option-item input[type="checkbox"],
.option-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


.custom-input {
    width: 24px;
    height: 24px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background-color: #fff;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-right: 15px;
}


.option-item input[type="radio"] + .custom-input {
    border-radius: 50%;
}


.option-item input:checked + .custom-input {
    background-color: #28a745;
    border-color: #28a745;
}


.option-item input:checked + .custom-input::after {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}


.option-item input[type="radio"]:checked + .custom-input::after {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    border: none;
    transform: translate(-50%, -50%);
}


.option-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
    margin-right: 15px;
}


.option-price {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    background-color: #e8f5e8;
    padding: 4px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}


.option-item[data-price="0"] .option-price {
    color: #6c757d;
    background-color: #f8f9fa;
}


.option-item input:checked ~ * {
    color: #155724;
}

.option-item input:checked {
    background-color: #f8fff9;
}


.validation-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.validation-error .option-group-title {
    background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
    color: #721c24;
    animation: shake 0.6s ease-in-out;
}


@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}


@media (max-width: 480px) {
    .option-item {
        padding: 14px 16px;
    }

    .option-text {
        font-size: 14px;
        margin-right: 10px;
    }

    .option-price {
        font-size: 13px;
        padding: 3px 6px;
    }

    .custom-input {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }

    .option-group-title {
        padding: 12px 16px;
    }

    .option-group-title .main-title {
        font-size: 15px;
    }

    .option-group-title .sub-rule {
        font-size: 12px;
    }
}



.menu-item {
    position: relative;
}


.menu-item .menu-info {
    padding-right: 75px;
    color: var(--helper);
}


.menu-quickadd {
    position: absolute;
    right: 15px;
    bottom: 15px;
}


.menu-item .menu-info h4,
.menu-item .menu-info p {
    white-space: normal;
    overflow-wrap: break-word;
}


.cart-item-note-area {
    margin-top: 6px;
}
.cart-note-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 5px;
    font-size: 16px;
    margin-left: 8px;
}
.cart-item-note-display {
    font-size: 13px;
    color: #555;
    margin-top: 4px;
}
.cart-item-note-editor {
    display: none;
    margin-top: 8px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cart-item-note-editor textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-height: 60px;
}
.cart-note-actions {
    margin-top: 5px;
    display: flex;
    gap: 8px;
}
.cart-note-actions button {
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}
.cart-note-actions .save-btn {
    background-color: var(--primary);
    color: white;
}
.cart-note-actions .cancel-btn {
    background-color: #6c757d;
    color: white;
}



.yak-modal {
    display: none;
    position: fixed;
    z-index: 10005;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.yak-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 25px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.yak-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.yak-close:hover {
    color: black;
}

.yak-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    border-bottom: 1px solid #ccc;
}
.yak-tabs li {
    padding: 10px 15px;
    cursor: pointer;
    color: #666;
}
.yak-tabs li.active {
    border-bottom: 2px solid #007bff;
    font-weight: bold;
    color: #000;
}

.yak-login-switch {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 5px;
}
.yak-login-switch li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    flex-grow: 1;
    text-align: center;
}
.yak-login-switch li.active {
    background: #fff;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.field-input, .field-check, .auth-btn, .user-btn {
    margin-bottom: 15px;
}
.field-input input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.field-inline {
    display: flex;
    gap: 10px;
}
.auth-btn, .user-btn {
    width: 100%;
    background-color: var(--primary);;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.auth-btn:hover, .user-btn:hover {
    background-color: var(--primary);
}


.place__left {
    position: relative;
}


.auth-actions {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
}


.user-dropdown{
    position:absolute;right:0;min-width:220px;display:none;overflow:hidden;z-index:1000;
    background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.15);
}


.user-dropdown.open{display:block}
.user-dropdown a{display:block;padding:10px 14px;font-size:14px}
.user-dropdown a:hover{background:color-mix(in srgb,var(--primary) 12%,transparent)}
.user-dropdown .logout{color:#e53935}

.menu-tab li.active a{
    color: var(--secondary);
}

.menu-tab li:hover a{
    color: var(--secondary);
}

h3{
    color: var(--secondary);
}

.menu-item .menu-info h4{
    color: var(--secondary);
}

.menu-item .price{
    color: var(--helper);
}


a:hover{
    color: var(--primary);
}

.item-total{
    color: var(--helper);
}

.menu-more{
    color: var(--primary) !important;
}


/**//**/
