:root {
    --wst-primary: #9b8ebb;
    --wst-primary-dark: #8375a3;
    --wst-coral: #f5a396;
    --wst-dark: #222222;
    --wst-dark-bg: #1a1a1a;
    --wst-light-gray: #fbfbfb;
    --wst-border: #f0f0f0;
    --wst-text: #444444;
    --wst-text-muted: #888888;
    --wst-white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: #faf9f8;
    color: var(--wst-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--wst-primary); }

.wst-container { max-width: 1220px; margin: 0 auto; padding: 0 15px; }

.wst-header {
    background: var(--wst-white);
    border-bottom: 1px solid var(--wst-border);
}
.wst-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.wst-logo img { height: 38px; max-width: 180px; object-fit: contain; }

.wst-search-box {
    display: flex;
    align-items: center;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 4px 15px;
    background: #fff;
    width: 300px;
}
.wst-search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 12px;
    width: 100%;
    color: #444;
}

.wst-nav-bar {
    background: var(--wst-dark);
    color: var(--wst-white);
}
.wst-nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}
.wst-nav-list li a {
    display: block;
    padding: 12px 18px;
    color: #eee;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.wst-nav-list li a:hover, .wst-nav-list li.active a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.wst-notice-bar {
    background: #fdf6f5;
    border-bottom: 1px solid #fae8e6;
    padding: 10px 0;
    color: var(--wst-coral);
    font-size: 12px;
}

.wst-sec-title {
    text-align: center;
    margin: 40px 0 25px;
}
.wst-sec-title h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--wst-dark);
}
.wst-sec-title p {
    font-size: 12px;
    color: var(--wst-text-muted);
    margin-top: 4px;
}

.wst-hero-box {
    margin: 25px 0 35px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.wst-hero-card {
    background: var(--wst-white);
    border: 1px solid var(--wst-border);
    border-radius: 6px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 3px solid var(--wst-coral);
}
.wst-hero-info { flex: 1; padding-right: 15px; }
.wst-hero-badge {
    display: inline-block;
    background: #fdf0ee;
    color: var(--wst-coral);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}
.wst-hero-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--wst-dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wst-hero-price { font-size: 20px; font-weight: 800; color: var(--wst-coral); }
.wst-hero-img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    background: #fafafa;
    padding: 6px;
    border-radius: 4px;
}

.wst-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}
.wst-step-card {
    background: var(--wst-white);
    border: 1px solid var(--wst-border);
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.wst-step-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin: 0 auto 10px;
}
.wst-step-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--wst-dark);
    height: 34px;
    overflow: hidden;
    margin-bottom: 6px;
}
.wst-step-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--wst-primary);
}

.wst-seq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.wst-seq-card {
    background: var(--wst-white);
    border: 1px solid var(--wst-border);
    border-radius: 6px;
    overflow: hidden;
}
.wst-seq-head {
    background: linear-gradient(135deg, var(--wst-primary) 0%, var(--wst-primary-dark) 100%);
    color: #fff;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wst-seq-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--wst-border);
}
.wst-seq-item:last-child { border-bottom: none; }
.wst-seq-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-right: 12px;
    background: #fafafa;
    padding: 3px;
}
.wst-seq-name {
    flex: 1;
    font-size: 12px;
    color: var(--wst-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wst-seq-price { font-weight: 700; color: var(--wst-coral); margin-left: 8px; }

.wst-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}
.wst-gallery-item {
    background: var(--wst-white);
    border: 1px solid var(--wst-border);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.wst-gallery-item img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    margin: 10px 0;
}
.wst-gallery-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--wst-dark);
    height: 36px;
    overflow: hidden;
    margin-bottom: 6px;
}

.wst-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}
.wst-card-item {
    background: var(--wst-white);
    border: 1px solid var(--wst-border);
    border-radius: 6px;
    padding: 15px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.wst-card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.wst-card-thumb {
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.wst-card-thumb img {
    max-width: 75px;
    max-height: 75px;
    object-fit: contain;
}
.wst-card-title {
    font-size: 12px;
    color: var(--wst-dark);
    height: 34px;
    line-height: 1.4;
    overflow: hidden;
    text-align: center;
    font-weight: 500;
    margin-bottom: 8px;
}
.wst-card-foot { text-align: center; }
.wst-card-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--wst-coral);
    display: block;
    margin-bottom: 6px;
}
.wst-btn-buy {
    display: block;
    background: var(--wst-primary);
    color: #fff;
    padding: 4px 0;
    font-size: 11px;
    border-radius: 3px;
    text-align: center;
    font-weight: 600;
}
.wst-btn-buy:hover { background: var(--wst-primary-dark); color: #fff; }

.wst-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.wst-news-card {
    background: var(--wst-white);
    border: 1px solid var(--wst-border);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
}
.wst-news-card img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-right: 15px;
    background: #fafafa;
    padding: 4px;
    border-radius: 4px;
}
.wst-news-info { flex: 1; overflow: hidden; }
.wst-news-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--wst-dark);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wst-news-price { font-size: 14px; font-weight: 700; color: var(--wst-coral); }

.wst-catalog-box {
    background: var(--wst-white);
    border: 1px solid var(--wst-border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 50px;
}
.wst-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.wst-catalog-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #fafafa;
    border-radius: 4px;
}
.wst-catalog-item:hover { background: #f4f4f4; }
.wst-catalog-left { display: flex; align-items: center; flex: 1; overflow: hidden; }
.wst-catalog-left img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 10px;
    background: #fff;
    padding: 2px;
}
.wst-catalog-title {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wst-catalog-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
}

.wst-panel-wrap {
    max-width: 980px;
    margin: 40px auto 60px;
    background: var(--wst-white);
    border: 1px solid var(--wst-border);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.wst-detail-layout {
    display: flex;
    flex-wrap: wrap;
    padding: 35px;
    gap: 35px;
}
.wst-detail-media {
    flex: 0 0 340px;
    text-align: center;
    border-right: 1px solid var(--wst-border);
    padding-right: 35px;
}
.wst-detail-media img {
    max-width: 240px;
    max-height: 240px;
    object-fit: contain;
}
.wst-detail-form { flex: 1; min-width: 300px; }
.wst-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--wst-dark);
    margin-bottom: 12px;
}
.wst-price-badge-box {
    background: #fcf9fb;
    border: 1px solid #f2e9f0;
    padding: 15px 20px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.wst-price-lg { font-size: 26px; font-weight: 800; color: var(--wst-coral); }

.wst-form-group { margin-bottom: 18px; }
.wst-form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}
.wst-form-control {
    width: 100%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}
.wst-form-control:focus { border-color: var(--wst-primary); }
.wst-btn-submit {
    width: 100%;
    height: 44px;
    background: var(--wst-primary);
    color: var(--wst-white);
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.wst-btn-submit:hover { background: var(--wst-primary-dark); }

.wst-tabs-head {
    display: flex;
    background: #fafafa;
    border-bottom: 1px solid var(--wst-border);
}
.wst-tab-btn {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-weight: 600;
    color: #666;
    border-right: 1px solid var(--wst-border);
}
.wst-tab-btn:last-child { border-right: none; }
.wst-tab-btn.active {
    background: var(--wst-white);
    color: var(--wst-primary);
    border-top: 3px solid var(--wst-primary);
}

.wst-footer {
    background: var(--wst-dark);
    color: #999;
    padding: 35px 0 25px;
    text-align: center;
    font-size: 12px;
    border-top: 3px solid var(--wst-primary);
}
.wst-footer-nav { margin-bottom: 12px; }
.wst-footer-nav a { color: #ccc; margin: 0 12px; }
.wst-footer-nav a:hover { color: var(--wst-white); }
.wst-copyright { color: #666; font-size: 11px; }

@media (max-width: 1024px) {
    .wst-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .wst-step-grid, .wst-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .wst-seq-grid, .wst-news-grid { grid-template-columns: 1fr; }
    .wst-catalog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .wst-hero-box { grid-template-columns: 1fr; }
    .wst-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .wst-detail-layout { flex-direction: column; }
    .wst-detail-media { border-right: none; border-bottom: 1px solid var(--wst-border); padding-right: 0; padding-bottom: 25px; }
}
