:root {
    --bg: #f7f7f7;
    --card: #ffffff;
    --text: #111111;
    --muted: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    --radius: 16px;
    --gap: 18px;
    --good: #a8f77a;
    --mid: #dce9ff;
    --bad: #f2f2f2;
    --bar: #ffc8a1;
    --per-view: 5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei UI", "微软雅黑", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.page {
    max-width: 1250px;
    margin: 32px auto 60px;
    padding: 0 16px;
}

/* Store */

/* FAQ */
.faq-wrap {
    background-color: #ffffff;
    padding-bottom: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.faq-cate {
    line-height: 66px;
    font-size: 20px;
    background: #f3f3f3;
    padding-left: 20px;
}

.faq-tit {
    margin: 20px;
    line-height: 40px;
}

.faq-tit .el-collapse-item__header {
    font-size: 15px !important;
    line-height: 40px !important;
}

.faq-tit .faq-content {
    font-size: 14px;
    line-height: 30px;
    padding: 15px;
    background: #fafafa;
    border-radius: 10px;
}

/* Store Header */
.store-card {
    max-width: 1250px;
    margin: -30px auto 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 30px;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.store-card-main {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.store-card-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.store-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid #ffffff;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: -30px;
}

.store-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-info {
    flex: 1;
    min-width: 0;
}

.store-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}

.store-desc {
    display: none !important;
}

.store-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.store-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    white-space: nowrap;
    font-size: 14px;
}

.stat-value {
    font-weight: 700;
    color: var(--text);
    font-size: 15px;
}

.store-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.action-btn.el-button {
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.action-btn.el-button [class^="el-icon-"] {
    font-size: 15px;
    margin-right: 2px;
}

.action-btn.el-button:hover,
.action-btn.el-button:focus {
    color: #456cff;
    border-color: #456cff;
    background: #f0f4ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(69, 108, 255, 0.15);
}

.action-btn.el-button--primary {
    border-color: #456cff;
    color: #ffffff;
    background: #456cff;
}

.action-btn.el-button--primary:hover,
.action-btn.el-button--primary:focus {
    border-color: #3b5bdb;
    color: #ffffff;
    background: #3b5bdb;
}

.action-btn.el-button--primary.is-plain {
    border-color: #456cff;
    color: #456cff;
    background: #f0f4ff;
}

.action-btn.el-button--primary.is-plain:hover,
.action-btn.el-button--primary.is-plain:focus {
    border-color: #456cff;
    color: #ffffff;
    background: #456cff;
}

.action-btn.el-button--primary.is-saved,
.action-btn.is-saved {
    border-color: #f6c045;
    color: #b45309;
    background: #fffdf5;
}
.action-btn.el-button--primary.is-saved:hover,
.action-btn.is-saved:hover {
    border-color: #f6c045;
    color: #b45309;
    background: #fffdf5;
    box-shadow: 0 4px 12px rgba(246, 192, 69, 0.2);
}

/* search-bar removed */
/* search-field removed */

/* removed store-custom-menu */
.store-header{
    margin: 20px auto 30px;
}

.store-top-banner{
    max-width: 1250px;
    width: 100%;
    max-height: 300px;
    border-radius: 10px 10px 0 0;
}

/* removed el-submenu */

/* Profile */
.profile-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.profile-remark {
    min-height: 360px;
}

.profile-home-remark {
    min-height: 100px;
    max-height: 250px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.8;
}

.profile-remark p {
    font-size: 16px;
    line-height: 2;
    font-weight: 400;
}

/* Carousel Shared */
.slide-row {
    display: grid;
    grid-template-columns: repeat(var(--per-view), minmax(0, 1fr));
    gap: var(--gap);
}

/* Certificates */
.cert-carousel {
    position: relative;
}

.cert-carousel .el-carousel__container {
    overflow: visible;
}

.cert-carousel .el-carousel__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.cert-carousel .el-carousel__arrow--left {
    left: -18px;
}

.cert-carousel .el-carousel__arrow--right {
    right: -18px;
}

.cert-card {
    background: var(--card);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    padding: 10px 10px 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cert-thumb {
    width: 100%;
    aspect-ratio: 5 / 7;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f1f1;
}

.cert-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-name {
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.cert-code {
    font-size: 11px;
    color: var(--muted);
}

/* Reviews */

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.name {
    font-size: 14px;
    font-weight: 600;
}

.time {
    font-size: 14px;
    color: var(--muted);
}

/* Review Stats */
.review-stat {
    max-width: 1250px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
}

.section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 26px;
}

.grade-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.grade-card {
    border-radius: 14px;
    padding: 18px 20px;
    text-align: center;
}

.grade-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.grade-value {
    font-size: 18px;
    font-weight: 600;
}

.grade-good {
    background: var(--good);
}

.grade-mid {
    background: var(--mid);
}

.grade-bad {
    background: var(--bad);
}

.score-list {
    display: grid;
    gap: 14px;
}

.score-row {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
}

.bar {
    height: 6px;
    border-radius: 6px;
    background: #f2f2f2;
    overflow: hidden;
}

.bar span {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: var(--bar);
}

.score-value {
    color: #444444;
    font-weight: 600;
    text-align: right;
}

.review-stat-tag {
    display: flex;
    gap: 30px;
    padding: 10px;
}

.review-stat-tag .tag {
    background-color: #ededed;
    padding: 3px 15px;
    border-radius: 5px;
}

/* Video Carousel */
.section-head {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 22px;
}

.section-head .tab {
    color: var(--muted);
    font-weight: 600;
}

.section-head .tab.active {
    color: var(--text);
}

.section-head .divider {
    width: 1px;
    height: 14px;
    background: var(--border);
}

.video-carousel {
    position: relative;
}

.video-carousel .el-carousel__container {
    overflow: visible;
}

.video-carousel .el-carousel__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.video-carousel .el-carousel__arrow--left {
    left: -18px;
}

.video-carousel .el-carousel__arrow--right {
    right: -18px;
}

.card {
    background: var(--card);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.card:hover .thumb img {
    transform: scale(1.05);
}
.card a {
    text-decoration: none;
}
.card:hover .card-body {
    color: #456cff;
}

.thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #d1d5db;
    overflow: hidden;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.duration {
    position: absolute;
    top: 10px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 8px;
}

.play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play .circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.card:hover .play .circle {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.play .triangle {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #ffffff;
    margin-left: 2px;
}

.card-body {
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}
.card a {
    text-decoration: none;
}
.card:hover .card-body {
    color: #456cff;
}

/* Video List */

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-item:hover .video-cover img {
    transform: scale(1.05);
}

.video-remark {
    min-height: 600px;
}

.video-container {
    max-width: 1250px;
    margin: 30px auto;
}

.contact-title-info {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-title-info .tit {
    color: var(--muted);
    width: 140px;
    flex-shrink: 0;
}

.contact-title-info .info {
    color: var(--text);
    flex: 1;
    word-break: break-word;
}

/* Media Queries */
@media (max-width: 1100px) {

}

@media (max-width: 1024px) {
    .page {
        max-width: 980px;
    }

    .cert-carousel .el-carousel__arrow,
    .video-carousel .el-carousel__arrow {
        width: 34px;
        height: 34px;
    }

    .store-card {
        padding: 20px 22px;
    }

    .section {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page {
        max-width: 720px;
        margin-top: 28px;
    }

    .store-top-banner{
        width: 100%;
        max-height: 150px;
        border-radius: 10px 10px 0 0;
    }

    .store-card-main {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 16px;
    }

    .store-card {
        padding: 20px 16px;
        margin-top: -20px;
        border-radius: 12px;
    }

    .store-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .store-stats {
        flex-wrap: wrap;
        gap: 16px;
        font-size: 11px;
        line-height: 1.2;
    }

    .section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .store-stat-item {
        font-size: 12px;
        line-height: 1.2;
    }

    .store-title {
        font-size: 18px;
        line-height: 36px;
    }

    .cert-carousel .el-carousel__arrow--left,
    .video-carousel .el-carousel__arrow--left {
        left: -10px;
    }

    .cert-carousel .el-carousel__arrow--right,
    .video-carousel .el-carousel__arrow--right {
        right: -10px;
    }

}

@media (max-width: 480px) {
    .page {
        padding: 0 12px 40px;
    }

    .cert-carousel .el-carousel__arrow,
    .video-carousel .el-carousel__arrow {
        width: 30px;
        height: 30px;
    }

    .store-card {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .store-desc {
        font-size: 12px;
    }

    .store-avatar {
        width: 60px;
        height: 60px;
    }

    .action-btn.el-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .review-stat {
        padding: 0 12px;
    }

    .grade-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .score-row {
        grid-template-columns: 90px minmax(0, 1fr) 34px;
        gap: 10px;
    }

    .section-head {
        font-size: 14px;
    }

}

.store-text-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

