.shop-detail-page {
    --brand-primary: #00a65a;
    --brand-primary-dark: #008f4d;
    --ink: #26313b;
    --muted: #65727f;
    --line: #d8e1e8;
    --soft-bg: #f4f7f9;
    color: var(--ink);
    font-family: "Trebuchet MS", "Noto Sans Myanmar", "Gill Sans", sans-serif;
}

.detail-top-action {
    margin-bottom: 0.6rem;
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border: 1px solid #c8d6de;
    border-radius: 8px;
    padding: 0.42rem 0.78rem;
    color: #3d4a56;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    background: #fff;
}

.detail-back-link:hover {
    color: var(--brand-primary-dark);
    border-color: #9bcfb7;
    background: #f6fcf8;
}

.detail-header {
    text-align: center;
    margin-bottom: 1rem;
}

.association-logo {
    width: 120px;
    max-width: 100%;
    height: auto;
    margin-bottom: 0.35rem;
}

.association-mm {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.association-en {
    margin: 0.2rem 0 0;
    font-size: 0.98rem;
}

.shop-panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 0.95rem;
}

.shop-identity {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid var(--line);
}

.shop-photo-wrap {
    border: 1px solid #cfd8df;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.shop-photo-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.shop-info-wrap {
    min-width: 0;
}

.shop-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.shop-category {
    margin-top: 0.35rem;
    display: inline-block;
    border: 1px solid #b7dcca;
    background: #edf9f3;
    color: var(--brand-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
}

.shop-meta-list {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.65rem;
}

.meta-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0.5rem;
    align-items: start;
}

.meta-icon {
    width: 30px;
    height: 30px;
    border: 1px solid #d8e6df;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--brand-primary-dark);
    background: #f6fcf8;
}

.meta-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #5e6b77;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.meta-value {
    margin-top: 0.15rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--ink);
    word-break: break-word;
}

.discount-section {
    margin-top: 0.95rem;
}

.discount-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.discount-subtitle {
    margin: 0.35rem 0 0.8rem;
    color: var(--muted);
    font-size: 0.93rem;
}

.discount-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.93rem;
}

.discount-table th,
.discount-table td {
    border: 1px solid #dbe4ea;
    padding: 0.58rem 0.5rem;
    vertical-align: top;
}

.discount-table thead th {
    background: var(--soft-bg);
    color: #3d4a56;
    font-weight: 700;
    text-align: left;
}

.discount-table tbody td {
    color: #2f3b46;
}

.discount-table .col-no {
    width: 62px;
}

.discount-table .col-discount {
    width: 150px;
}

.discount-table .col-period {
    width: 210px;
}

.discount-table .empty-row {
    text-align: center;
    color: #5d6b78;
    padding: 0.9rem 0.5rem;
}

@media (max-width: 992px) {
    .shop-identity {
        grid-template-columns: 1fr;
    }

    .shop-photo-wrap {
        max-width: 240px;
    }

    .discount-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .shop-panel {
        padding: 0.75rem;
    }

    .association-mm,
    .association-en {
        font-size: 0.9rem;
    }

    .shop-name {
        font-size: 1.08rem;
    }

    .discount-title {
        font-size: 1rem;
    }

    .discount-subtitle,
    .meta-value {
        font-size: 0.88rem;
    }
}

@media (max-width: 767px) {
    .shop-identity {
        text-align: center;  
    }
    
    .shop-photo-wrap {
        max-width: 180px;  
    }

    .meta-info {
        display: flex;
        flex-direction: column;  
        align-items: center;
    }
}
