﻿
.cover-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: visible;
/*    background: #f5f5f5;
*/}

.cover-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    /*border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;*/
}

.cover-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--theme), #2c2c2c);
    display: flex;
    align-items: center;
    justify-content: center;
/*    border-bottom-left-radius: 24px;
*/    /*border-bottom-right-radius: 24px;*/
    color: rgba(255,255,255,0.35);
    font-size: 60px;
}

.logo-wrap {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    z-index: 20;
}

.merchant-logo,
.logo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.logo-placeholder {
    background: var(--theme);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
}

/* Main Content */

.info-section {
    padding: 70px 24px 30px;
    text-align: center;
}


.merchant-name {
    font-size: 30px;
    font-weight: 800;
    color: #1f1f1f;
    margin: 6px 0 12px;
}

.merchant-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
    margin-bottom: 24px;
}


.btn-main-cta {
    width: fit-content;
    min-width: 220px;
    margin: 0 auto;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--theme), #222);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

    .btn-main-cta:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(0,0,0,0.14);
        filter: brightness(1.03);
    }

    .btn-main-cta i {
        font-size: 14px;
    }

/* Footer */

.footer-bottom {
    margin-top: 80px;
    padding: 18px 15px;
    text-align: center;
    font-size: 14px;
    color: #666;
    background: #fafafa;
    border-radius: 12px 12px 0 0;
}

.footer-brand {
    color: #111;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

    .footer-brand:hover {
        color: #000;
        text-decoration: underline;
    }

/*=========== item tag css ==============*/
.tag-pill {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius:5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
    background: #F06C21;
}

    /* SHIMMER LINE */

    .tag-pill::after {
        content: "";
        position: absolute;
        top: -20%;
        left: -60%;
        width: 8%;
        height: 140%;
        background: rgba(255,255,255,0.45);
        transform: rotate(25deg);
        animation: tagShine 5s infinite;
    }

@keyframes tagShine {

    0% {
        left: -60%;
    }

    100% {
        left: 140%;
    }
}
/*=================== feedback form ===========================*/
.feedback-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
}

    .feedback-header h4 {
        margin: 0;
        font-weight: 700;
    }

.back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111 !important;
    text-decoration: none !important;
}

.feedback-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    margin: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.feedback-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 10px;
}

.feedback-card h3 {
    text-align: center;
    font-weight: 700;
}

.feedback-card p {
    text-align: center;
    color: #777;
    margin-bottom: 24px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin: 20px 0;
}

    .star-rating input {
        display: none;
    }

    .star-rating label {
        font-size: 42px;
        color: #ddd;
        cursor: pointer;
        transition: .2s;
        padding: 0 3px;
    }

        .star-rating input:checked ~ label,
        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: #ffc107;
        }
.feedback-input {
    width: 100%;
    border: none;
    background: #f5f5f5;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

    .feedback-input:focus {
        outline: none;
        background: #ececec;
    }

.submit-btn {
    width: 100%;
    border: none;
    background: var(--purple);
    color: #fff;
    padding: 15px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration:none;
}
.submit-btn:hover{
    color:#fff;
    text-decoration:none;
}
.share-btn {
    height: 36px;
    padding: 0 14px;
    border-radius: 30px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

    .share-btn:hover {
        background: #f3f4f6;
        color: #111827;
    }

    .share-btn i {
        font-size: .85rem;
    }
/*-------------------- extra info above the footer ----------------*/
.extra-info-card {
    margin: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

    .extra-info-card h6 {
        font-weight: 700;
        margin-bottom: 12px;
    }

.extra-info-list {
    margin: 0;
    padding-left: 18px;
}

    .extra-info-list li {
        margin-bottom: 8px;
        color: #555;
        line-height: 1.5;
    }

    /*--- cart ----------*/
.cart-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
    .cart-btn:hover {
        color: #111;
        text-decoration: none;
    }
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-header {
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    border-bottom: 1px solid #f2f2f2;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-back {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    text-decoration: none;
}

.header-title {
    font-size: 1.1rem;
    font-weight: 700;
}
.checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: auto;
    background: #fff;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
}
.plan-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .plan-features li {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        color: #444;
    }
    /*------ cart bottom strip ------*/
.basket-strip {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: 456px;
    margin: 0 auto;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.4);
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
}

.basket-strip-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#basketStripCount {
    font-size: .92rem;
    font-weight: 700;
    color: #111;
}

.basket-strip-sub {
    font-size: .72rem;
    color: #777;
    margin-top: 2px;
}

.basket-strip-btn {
    background: var(--theme);
    color: #fff !important;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .basket-strip-btn:hover {
        text-decoration: none;
        color: #fff !important;
    }

    /*-- landing page 3 buttons ---*/
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-top: 20px;
}

.action-btn {
    height: 44px;
    border-radius: 18px;
    background: #fff;
    color: #333;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
}

    .action-btn:hover {
        text-decoration: none;
        color: #333 !important;
        background: #edebeb;
    }

    .quick-actions.two-buttons {
        grid-template-columns: repeat(2,1fr);
        max-width: 260px;
        margin: 20px auto 0;
    }

    /*---- item detail page zoom img fuction ---*/
.img-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    z-index: 10;
}

    .img-zoom-btn i {
        font-size: 16px;
    }
#imageModal .modal-dialog {
    max-width: 480px;
    margin: auto;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
    border-radius: 14px;
}
.img-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    z-index: 20;
    cursor: pointer;
}

    .img-modal-close:hover {
        background: #f5f5f5;
    }

/*---- announcement-bar ------*/
.announcement-bar {
    background: var(--theme);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
}

.announcement-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 60%;
    animation: announcementScroll 26s linear infinite;
    font-size: 14px;
    font-weight: 600;
}

@keyframes announcementScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}
/* ----------- Live Open -------------- */
.live-box {
    position: absolute;
    left: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 8px;
}

/*---------------- rating on branch landing page--------------------*/
.rating-box {
    position: absolute;
    right: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #222;
    padding-top:8px;
}

.rating-number {
    font-size: 20px;
    line-height: 1;
}

.rating-star {
    color: #ffc107;
    font-size: 15px;
}

.rating-text {
    font-size: 12px;
    color: #666;
}
.rating-link {
    text-decoration: none;
    color: inherit;
}

.read-more-link {
    color: var(--theme);
    font-weight: 600;
    text-decoration: none;
}
.branch-location {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: center;
    color: #706f6f;
}

/*----------------- Review Page --------------------------------*/
body {
    background: #f7f8fc;
}

.review-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ececec;
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}


.write-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px;
    height: 52px;
    border-radius: 16px;
    background: #1f2937;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .25s;
}

    .write-review:hover {
        background: #111827;
        color: #fff;
        text-decoration: none;
    }

.review-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    margin: 16px;
    border: 1px solid #ececec;
    transition: .25s;
}

    .review-card:hover {
        box-shadow: 0 10px 28px rgba(0,0,0,.06);
        transform: translateY(-2px);
    }

.review-header-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.review-name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.review-date {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.review-stars {
    margin-top: 6px;
    color: #FFC107;
    font-size: 15px;
}

    .review-stars i {
        margin-right: 2px;
    }

.review-message {
    margin-top: 14px;
    margin-bottom: 0;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    border-top: 1px dashed #eee;
    padding-top: 14px;
}

.empty-box {
    text-align: center;
    padding: 70px 20px;
    color: #777;
}

    .empty-box i {
        font-size: 65px;
        color: #d1d5db;
        margin-bottom: 20px;
    }


/* ====== htmx-indicator loader image ====== */
.page-loader {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.page-loader.visible {
    display: flex;
}

.page-loader img {
    width: 60px;
    height: 60px;
}
