/* =========================================================
   DİJİTAL VİTRİN - ÜST AKSİYONLAR
   Giriş Yap / Kontrol Panelim + Bize Yorum Yapın
   ========================================================= */
html,
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.qr-showcase {
    margin-top: 0 !important;
}

.qr-showcase-inner {
    position: relative;
}

.qr-showcase-actions {
    position: absolute;
    top: 30px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.qr-showcase-account {
    display: block;
}

.qr-showcase-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 999px;
    background: rgba(20, 20, 20, .48);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .15s ease, border-color .15s ease;
}

.qr-showcase-account-button:hover {
    background: rgba(20, 20, 20, .68);
    border-color: rgba(255, 255, 255, .40);
    color: #fff !important;
    text-decoration: none !important;
}

.qr-showcase-actions .qr-public-review-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 999px;
    background: rgba(20, 20, 20, .48);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .15s ease, border-color .15s ease;
}

.qr-showcase-actions .qr-public-review-trigger:hover {
    background: rgba(20, 20, 20, .68);
    border-color: rgba(255, 255, 255, .40);
    color: #fff !important;
}

.qr-showcase-actions .qr-public-review-trigger .fa-star {
    color: #f6a800;
    font-size: 12px;
}

/* =========================================================
   PUBLIC REVIEW MODAL
   ========================================================= */

.qr-public-review-modal {
    z-index: 10110 !important;
}

.qr-public-review-modal .modal-dialog {
    position: relative;
    z-index: 10111 !important;
}

.qr-public-review-modal .modal-content {
    position: relative;
    z-index: 10111 !important;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

body.qr-public-review-open .modal-backdrop {
    z-index: 10100 !important;
}

body.qr-public-review-open .qr-public-account-root,
body.qr-public-review-open .qr-public-account-fab {
    pointer-events: none !important;
}

.qr-public-review-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f4f5;
    color: #555;
    cursor: pointer;
}

.qr-public-review-step {
    padding: 42px 34px 34px;
    text-align: center;
}

.qr-public-review-icon,
.qr-public-review-success-icon,
.qr-public-review-google-icon {
    display: flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: #fff6df;
    color: #f6a800;
    font-size: 28px;
}

.qr-public-review-success-icon {
    background: #edf9f2;
    color: #3aa76d;
}

.qr-public-review-step h3 {
    margin: 0;
    color: #202124;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.qr-public-review-description,
.qr-public-review-step > p {
    max-width: 410px;
    margin: 10px auto 0;
    color: #777b82;
    font-size: 14px;
    line-height: 1.55;
}

.qr-public-review-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.qr-public-review-star {
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d9dce1;
    font-size: 34px;
    cursor: pointer;
    transition: color .12s ease, transform .12s ease;
}

.qr-public-review-star:hover {
    transform: translateY(-2px);
}

.qr-public-review-star.is-active {
    color: #f6a800;
}

.qr-public-review-selected-text {
    min-height: 19px;
    margin-top: 8px;
    color: #96999f;
    font-size: 12px;
    font-weight: 700;
}

.qr-public-review-feedback {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eceef0;
}

.qr-public-review-feedback-heading {
    margin-bottom: 11px;
    color: #4f5258;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.qr-public-review-feedback textarea {
    display: block;
    width: 100%;
    min-height: 110px;
    padding: 13px 14px;
    border: 1px solid #dedfe3;
    border-radius: 13px;
    outline: 0;
    background: #fafafa;
    color: #303238;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
}

.qr-public-review-feedback textarea:focus {
    border-color: #202124;
    background: #fff;
}

.qr-public-review-validation {
    margin-top: 7px;
    color: #d14343;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
}

.qr-public-review-submit,
.qr-public-review-google-button,
.qr-public-review-secondary-button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 18px;
    border: 0;
    border-radius: 12px;
    background: #202124;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
}

.qr-public-review-google-button {
    display: flex;
    width: 100%;
    margin-top: 22px;
}

.qr-public-review-secondary-button {
    background: transparent;
    color: #777b82 !important;
    box-shadow: none;
}

.qr-public-review-loading {
    margin-top: 20px;
    color: #777b82;
    font-size: 12px;
}

/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 575.98px) {
    .qr-showcase-actions {
        top: 18px;
        right: 15px;
        left: 15px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
    }

    .qr-showcase-account-button,
    .qr-showcase-actions .qr-public-review-trigger {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 10px;
        white-space: nowrap;
    }

    .qr-showcase-actions .qr-public-review-trigger .fa-star {
        font-size: 10px;
    }

    .qr-public-review-modal .modal-dialog {
        width: calc(100% - 22px);
        margin: 11px auto;
    }

    .qr-public-review-modal .modal-content {
        border-radius: 20px;
    }

    .qr-public-review-step {
        padding: 38px 20px 24px;
    }

    .qr-public-review-step h3 {
        font-size: 21px;
    }

    .qr-public-review-stars {
        gap: 3px;
        margin-top: 20px;
    }

    .qr-public-review-star {
        width: 40px;
        height: 40px;
        font-size: 31px;
    }
}

/* =========================================================
   QR MENU 3 - ÜRÜN LİSTESİ
   ========================================================= */

.menu-section .menu-item {
    position: relative;
    margin: 0 0 24px !important;
    padding: 0 16px 22px;
    border-bottom: 1px dashed #e3e4e7;
    cursor: pointer;
}

.menu-section .menu-item:last-child {
    margin-bottom: 0 !important;
}

.menu-item-header {
    margin: 0;
}

.menu-item-title {
    margin: 0;
    color: #171925;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.menu-item-description {
    margin-top: 8px;
}

.menu-item-description p {
    margin: 0;
    color: #74777e;
    font-size: 14px;
    line-height: 1.55;
}

.qr-menu-product-info-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 13px;
}

.qr-menu-product-stat {
    display: flex;
    flex: 0 1 165px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 46px;
    padding: 7px 9px;
    border: 1px solid #e7e9ed;
    border-radius: 11px;
    background: #fafbfc;
}

.qr-menu-product-stat-icon {
    display: flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eef8fd;
    color: #169de0;
    font-size: 12px;
}

.qr-menu-product-stat-label {
    display: block;
    margin-bottom: 1px;
    color: #9b9da3;
    font-size: 8px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.qr-menu-product-stat strong {
    display: block;
    overflow: hidden;
    color: #303238;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.menu-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}

.menu-item-footer-price {
    color: #f5a623;
    font-size: 19px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.menu-item-order-wrap {
    margin: 0;
}

.btn-order-product-theme3 {
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .menu-section .menu-item {
        margin-bottom: 20px !important;
        padding: 0 14px 18px;
    }

    .menu-item-title {
        font-size: 16px;
    }

    .menu-item-description {
        margin-top: 7px;
    }

    .menu-item-description p {
        font-size: 13px;
        line-height: 1.5;
    }

    .qr-menu-product-info-row {
        gap: 7px;
        margin-top: 11px;
    }

    .qr-menu-product-stat {
        flex: 1 1 0;
        min-height: 44px;
        padding: 6px 8px;
    }

    .qr-menu-product-stat-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 11px;
    }

    .menu-item-footer {
        margin-top: 13px;
    }

    .menu-item-footer-price {
        font-size: 17px;
    }
}

@media (min-width: 992px) {
    .menu-section .menu-item {
        max-width: 620px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .menu-item-description {
        max-width: 540px;
    }

    .qr-menu-product-info-row {
        max-width: 365px;
    }

    .qr-menu-product-stat {
        flex: 1 1 0;
    }

    .menu-item-footer {
        max-width: 520px;
        justify-content: space-between;
        margin-top: 16px;
    }

    .menu-item-footer-price {
        font-size: 20px;
    }

    .btn-order-product-theme3 {
        min-width: 92px;
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 991.98px) {
    .menu-group-content .menu-body {
        display: flex;
        flex-direction: column;
    }

    .menu-group-content .menu-body > .menu-section:first-child {
        order: 2;
    }

    .menu-group-content .menu-group-image {
        display: block;
        width: 100%;
        max-height: 320px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 991.98px) {
    .menu-tabs-navigation {
        margin-bottom: 10px !important;
    }

    .menu-group-content .menu-body {
        margin-top: 0 !important;
    }

    .menu-group-content .menu-body > .menu-section:last-child {
        margin-bottom: 18px;
    }
}

/* =========================================================
   QR MENU 3 - PRODUCT MODIFIERS
   ========================================================= */

.qr-order-modifier-group {
    margin-top: 13px;
    padding: 16px 16px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fafbfc;
}

.qr-order-modifier-group > .d-flex:first-child {
    min-height: 28px;
    margin-bottom: 4px;
}

.qr-order-modifier-group > .d-flex:first-child > strong {
    color: #25272b;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}

.qr-order-modifier-group > .d-flex:first-child > small {
    color: #999ca1 !important;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 600;
}

/* QR Menü-only: salt okunur ilave malzemeler */

.qr-product-readonly-modifier {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 14px;
    border-bottom: 1px solid #e6e8eb;
    color: #686b71;
    font-size: 13px;
    line-height: 1.4;
}

.qr-product-readonly-modifier:last-child {
    border-bottom: 0;
}

.qr-product-readonly-modifier span {
    min-width: 0;
}

.qr-product-readonly-modifier strong {
    flex: 0 0 auto;
    color: #f5a623;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

/* Restaurant aktif: seçilebilir modifier */

.qr-order-modifier-group > label {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 0 !important;
    padding: 11px 13px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.qr-order-modifier-group > label:hover {
    border-color: #c8cbd1 !important;
}

.qr-order-modifier-group > label.is-selected {
    border-color: #f5a623 !important;
    background: #fff9ee !important;
    box-shadow: inset 0 0 0 1px #f5a623;
}

.qr-order-modifier-group > label strong {
    flex: 0 0 auto;
    color: #f5a623;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}