/* ============================================
   商家形象網站共用樣式
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

.shop-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    background: #f5f5f5;
    color: #0f172a;
    line-height: 1.6;
    padding-bottom: 0;
}

/* Top Nav */
.shop-nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 100;
}
.shop-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.shop-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    flex-shrink: 0;
}
.shop-nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}
.shop-nav-logo .placeholder {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.shop-nav-links {
    display: flex;
    gap: 20px;
}
.shop-nav-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .15s;
}
.shop-nav-links a:hover,
.shop-nav-links a.active {
    color: #2563eb;
}
.shop-nav-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.shop-nav-actions a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .15s;
}
.shop-nav-actions .btn-back {
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.shop-nav-actions .btn-back:hover { background: #f8fafc; }
.shop-nav-actions .btn-mall {
    background: #2563eb;
    color: #fff;
}
.shop-nav-actions .btn-mall:hover { background: #1e40af; }

/* Hero */
.shop-hero {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #1e293b;
    background-image: linear-gradient(135deg, #2563eb, #1e40af);
}
.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2));
    display: flex;
    align-items: flex-end;
    padding: 30px 20px;
}
.shop-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    color: #fff;
}
.shop-hero-inner h1 {
    font-size: 32px;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.shop-hero-inner .industry {
    display: inline-block;
    background: rgba(255,255,255,.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    backdrop-filter: blur(6px);
}
.shop-hero-inner .sub-nav {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.shop-hero-inner .sub-nav a {
    color: #fff;
    background: rgba(255,255,255,.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: all .15s;
}
.shop-hero-inner .sub-nav a:hover { background: rgba(255,255,255,.3); }

/* Main */
.shop-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
}

/* Info Card */
.shop-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.shop-info-logo {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    object-fit: cover;
    background: #f8fafc;
    flex-shrink: 0;
}
.shop-info-logo.placeholder {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
}
.shop-info-text { flex: 1; min-width: 240px; }
.shop-info-text h2 { font-size: 22px; margin-bottom: 8px; }
.shop-info-items {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
    margin-top: 10px;
}
.shop-info-items div {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Section */
.shop-section { margin-bottom: 40px; }
.shop-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.shop-section-title::before {
    content: "";
    width: 4px;
    height: 22px;
    background: #2563eb;
    border-radius: 2px;
}

/* About */
.shop-about {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    font-size: 15px;
    line-height: 1.9;
    color: #334155;
}
.shop-about img { max-width: 100%; border-radius: 8px; margin: 12px 0; }

/* Announcements */
.shop-ann-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px 22px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-left: 4px solid #2563eb;
    transition: all .2s;
}
.shop-ann-item:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.shop-ann-item .title { font-weight: 600; color: #0f172a; flex: 1; }
.shop-ann-item .date { font-size: 13px; color: #94a3b8; flex-shrink: 0; }
.shop-ann-item .top-badge {
    background: #fee2e2; color: #991b1b;
    font-size: 11px; padding: 2px 10px;
    border-radius: 10px; font-weight: 600; flex-shrink: 0;
}

/* Products */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.shop-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    display: block;
}
.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.shop-product-img {
    aspect-ratio: 1;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
}
.shop-product-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.shop-product-img .sold-out {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
}
.shop-product-img .sold-out span {
    background: #dc2626; color: #fff;
    padding: 6px 16px; border-radius: 20px;
    font-weight: 700; font-size: 13px;
}
.shop-product-body { padding: 12px 14px; }
.shop-product-name {
    font-size: 14px; font-weight: 600; color: #0f172a;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    min-height: 40px; margin-bottom: 8px;
}
.shop-product-price {
    display: flex; align-items: baseline; gap: 6px;
}
.shop-product-price .original {
    font-size: 12px; color: #94a3b8; text-decoration: line-through;
}
.shop-product-price .final {
    font-size: 18px; font-weight: 700; color: #f97316;
}

/* View All Button */
.shop-view-all { text-align: center; margin-top: 20px; }
.shop-view-all a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 32px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all .15s;
}
.shop-view-all a:hover { background: #1e40af; transform: translateY(-2px); }

/* Services (Beauty) */
.shop-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.shop-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: all .2s;
}
.shop-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.shop-service-card img {
    width: 80px; height: 80px;
    object-fit: cover; border-radius: 10px;
    background: #f8fafc; flex-shrink: 0;
}
.shop-service-card .info { flex: 1; min-width: 0; }
.shop-service-card .name {
    font-size: 15px; font-weight: 700; margin-bottom: 4px;
}
.shop-service-card .price {
    color: #f97316; font-weight: 700; font-size: 16px; margin-bottom: 6px;
}
.shop-service-card .desc {
    font-size: 12px; color: #94a3b8;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* Designers */
.shop-designers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.shop-designer-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: all .2s;
}
.shop-designer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.shop-designer-card img {
    width: 100px; height: 100px;
    border-radius: 50%; object-fit: cover;
    margin: 0 auto 12px; display: block;
    background: #f8fafc;
}
.shop-designer-card .name {
    font-size: 16px; font-weight: 700; margin-bottom: 4px;
}
.shop-designer-card .specialty {
    font-size: 13px; color: #64748b;
}
.shop-designer-card .bio {
    font-size: 12px; color: #94a3b8; margin-top: 8px; line-height: 1.5;
}

/* CTA */
.shop-cta {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    text-align: center;
    border-radius: 20px;
    padding: 48px 20px;
    margin: 40px 0;
}
.shop-cta h2 { font-size: 26px; margin-bottom: 8px; }
.shop-cta p { font-size: 14px; opacity: .9; margin-bottom: 24px; }
.shop-cta a {
    display: inline-block;
    background: #fff;
    color: #2563eb;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all .15s;
}
.shop-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* Footer */
.shop-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px 20px 20px;
    margin-top: 60px;
}
.shop-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 24px;
}
.shop-footer h4 {
    color: #fff; font-size: 15px; margin-bottom: 12px;
}
.shop-footer p, .shop-footer a {
    color: #94a3b8; font-size: 13px;
    text-decoration: none; line-height: 2;
    display: block;
}
.shop-footer a:hover { color: #fff; }
.shop-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* Category Filter */
.shop-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: center;
    background: #fff;
    padding: 12px 16px;
    border-radius: 10px;
}
.shop-filter a {
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    color: #334155;
    font-size: 13px;
    background: #f1f5f9;
    transition: all .15s;
}
.shop-filter a:hover,
.shop-filter a.active {
    background: #2563eb;
    color: #fff;
}
.shop-filter select, .shop-filter input {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

/* Empty State */
.shop-empty {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}
.shop-empty-icon { font-size: 64px; margin-bottom: 16px; }
.shop-empty h3 { font-size: 18px; color: #334155; margin-bottom: 8px; }

/* RWD */
@media (max-width: 768px) {
    .shop-nav-links { display: none; }
    .shop-hero { height: 200px; }
    .shop-hero-inner h1 { font-size: 22px; }
    .shop-info-card { padding: 18px; }
    .shop-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .shop-services { grid-template-columns: 1fr; }
    .shop-designers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .shop-section-title { font-size: 18px; }
    .shop-cta h2 { font-size: 20px; }
    .shop-main { padding: 20px 12px; }
    .shop-designer-card img { width: 80px; height: 80px; }
}