* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #F5F8FA;
    color: #14171A;
    line-height: 1.5;
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    width: 94%;
    max-width: 1100px;
    margin: 0 auto;
    flex: 1;
}
a {
    text-decoration: none;
    color: #1DA1F2;
    transition: color 0.2s;
}
a:hover {
    color: #1a91da;
}
/* Header */
.header {
    background: #FFFFFF;
    border-bottom: 1px solid #E1E8ED;
    padding: 15px 0;
    position: sticky;
    top:0;
    z-index:99;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 23px;
    font-weight: 700;
    color: #1DA1F2;
}
.nav a {
    margin-left: 25px;
    color: #657786;
    font-weight: 500;
    transition: color 0.2s;
}
.nav a:hover {
    color: #1DA1F2;
}
.btn-link {
    background: #1DA1F2;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-link:hover {
    background: #1a91da;
}
/* Hero */
.hero {
    background: #FFFFFF;
    color: #14171A;
    padding: 60px 0;
    text-align: center;
}
.hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.25;
}
.hero-desc {
    font-size: 18px;
    color: #657786;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}
/* Section */
.section {
    padding: 50px 0;
}
.bg-gray {
    background: #F5F8FA;
}
.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
    color: #14171A;
}
.section-desc {
    text-align: center;
    color: #657786;
    margin-bottom: 35px;
    font-size: 16px;
}
/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 20px;
}
.feature-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
    text-align: center;
    transition: box-shadow 0.3s;
}
.feature-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.feature-icon {
    font-size: 38px;
    margin-bottom: 15px;
    color: #1DA1F2;
}
.feature-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #14171A;
}
/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.pricing-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
    position: relative;
    transition: box-shadow 0.3s;
}
.pricing-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pricing-card.popular {
    border: 2px solid #1DA1F2;
    transform: scale(1.02);
}
.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #1DA1F2;
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}
.pricing-card h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    color: #14171A;
}
.price {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #1DA1F2;
    margin-bottom: 20px;
}
.price span {
    font-size: 14px;
    color: #657786;
    font-weight: 500;
}
.plan-features {
    list-style: none;
    margin-bottom: 25px;
}
.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #E1E8ED;
    color: #657786;
}
.w-full {
    width: 100%;
}
.pricing-note {
    text-align: center;
    color: #657786;
    font-size: 14px;
}
/* Auth Card */
.auth-card {
    max-width: 500px;
    margin: 0 auto;
}
/* Quota Box */
.quota-box {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid #E1E8ED;
}
.quota-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 15px;
}
.quota-item {
    text-align: center;
}
.quota-label {
    font-size: 13px;
    color: #657786;
}
.quota-value {
    font-size: 18px;
    font-weight: 700;
    color: #1DA1F2;
}
/* Card & Form */
.card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #E1E8ED;
}
.hidden {
    display: none;
}
h2 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #14171A;
    font-weight: 700;
}
h3 {
    font-size: 18px;
    margin: 30px 0 12px;
    color: #14171A;
    font-weight: 700;
}
h4 {
    font-size: 16px;
    margin: 15px 0 10px;
    font-weight: 700;
}
.desc {
    color: #657786;
    margin-bottom: 18px;
    font-size: 14px;
}
.form-item {
    margin-bottom: 18px;
}
input,textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #E1E8ED;
    border-radius: 10px;
    font-size: 15px;
    background: #FFFFFF;
    transition: border 0.2s;
    color: #14171A;
}
input:focus,textarea:focus {
    border-color: #1DA1F2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.2);
}
textarea {
    min-height: 120px;
    resize: vertical;
}
.btn-group {
    display: flex;
    gap: 12px;
}
.btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s;
}
.primary-btn {
    background: #1DA1F2;
    color: #FFFFFF;
}
.primary-btn:hover {
    background: #1a91da;
}
.default-btn {
    background: #FFFFFF;
    color: #1DA1F2;
    border: 1px solid #1DA1F2;
}
.default-btn:hover {
    background: #1DA1F2;
    color: #FFFFFF;
}
.btn:hover {
    opacity: 1;
}
/* Info Row */
.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: #F5F8FA;
    padding: 18px;
    border-radius: 10px;
}
.info-item .label {
    color: #657786;
    font-size: 13px;
    font-weight: 500;
}
.info-item .value {
    font-weight: 700;
    margin-top: 5px;
    word-break: break-all;
    color: #14171A;
}
.api-key-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
/* Code & DNS */
.dns-config-box {
    margin-top: 18px;
    padding: 18px;
    background: #F5F8FA;
    border-radius: 10px;
}
.code-block {
    background: #14171A;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 10px;
    margin: 12px 0;
    position: relative;
    font-family: "Courier 10 Pitch", Courier, monospace;
}
.code-block.large {
    padding: 18px;
}
code,pre {
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-all;
}
.copy-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 5px 12px;
    background: #1DA1F2;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s;
}
.copy-btn:hover {
    background: #1a91da;
}
.copy-btn.sm {
    padding: 3px 10px;
}
.domain-list,.log-list {
    margin-top: 12px;
    font-size: 14px;
    color: #657786;
}
/* Toast */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #14171A;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    z-index: 999;
}
/* Footer */
.footer {
    text-align: center;
    padding: 25px 0;
    color: #657786;
    font-size: 13px;
    border-top: 1px solid #E1E8ED;
    background: #FFFFFF;
    flex-shrink: 0;
}

/* --- Blog Frontend Styles --- */
.blog-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #F5F8FA;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.blog-header {
    background: #FFFFFF;
    color: #14171A;
    padding: 15px 0;
    border-bottom: 1px solid #E1E8ED;
    flex-shrink: 0;
}
.blog-nav-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.blog-logo {
    font-size: 23px;
    font-weight: 700;
    color: #1DA1F2;
}
.blog-nav a {
    color: #657786;
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.blog-nav a:hover {
    color: #1DA1F2;
}
.blog-container {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    flex: 1;
}
.blog-main-content {
    flex: 1;
}
.blog-sidebar {
    width: 280px;
}
.blog-article-list {
    background: #FFFFFF;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
}
.blog-article-item {
    padding: 18px 0;
    border-bottom: 1px solid #E1E8ED;
}
.blog-article-item:last-child {
    border-bottom: none;
}
.blog-article-item h3 {
    margin: 0 0 10px 0;
    font-size: 19px;
    font-weight: 700;
}
.blog-article-item h3 a {
    color: #1DA1F2;
    text-decoration: none;
}
.blog-article-item h3 a:hover {
    color: #1a91da;
}
.blog-article-meta {
    color: #657786;
    font-size: 13px;
    margin-bottom: 8px;
}
.blog-article-excerpt {
    color: #14171A;
    margin: 8px 0;
    line-height: 1.6;
    font-size: 14px;
}
.blog-category-box {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
    margin-bottom: 20px;
}
.blog-category-box h3 {
    margin-top: 0;
    border-bottom: 2px solid #1DA1F2;
    padding-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
}
.blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #E1E8ED;
}
.blog-category-list li:last-child {
    border-bottom: none;
}
.blog-category-list a {
    color: #657786;
    text-decoration: none;
    font-size: 14px;
}
.blog-category-list a:hover, .blog-category-list a.active {
    color: #1DA1F2;
}
.blog-pagination {
    text-align: center;
    margin-top: 25px;
}
.blog-pagination button {
    padding: 8px 18px;
    border: 1px solid #E1E8ED;
    background: #FFFFFF;
    cursor: pointer;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #657786;
    transition: all 0.2s;
}
.blog-pagination button:hover {
    background: #1DA1F2;
    color: #FFFFFF;
    border-color: #1DA1F2;
}
.blog-pagination button:disabled {
    background: #F5F8FA;
    cursor: not-allowed;
    color: #AAB8C2;
}

/* Article Detail */
.blog-article-detail {
    background: #FFFFFF;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
    overflow: hidden;
}
.blog-article-header {
    border-bottom: 1px solid #E1E8ED;
    padding-bottom: 18px;
    margin-bottom: 20px;
}
.blog-article-header h1 {
    margin: 0 0 12px 0;
    color: #14171A;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 26px;
    font-weight: 700;
}
.blog-article-detail-content {
    line-height: 1.6;
    color: #14171A;
    font-size: 15px;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.blog-article-detail-content p {
    margin: 15px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.blog-article-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 15px;
}
.blog-article-detail-content pre {
    background: #14171A;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.blog-article-detail-content code {
    background: #F5F8FA;
    color: #1DA1F2;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 14px;
}
.blog-article-detail-content a {
    color: #1DA1F2;
    word-break: break-all;
}
.blog-article-detail-content ul, .blog-article-detail-content ol {
    margin: 15px 0;
    padding-left: 30px;
}
.blog-article-detail-content li {
    margin: 5px 0;
}
.blog-article-detail-content blockquote {
    border-left: 4px solid #1DA1F2;
    padding-left: 15px;
    margin: 15px 0;
    color: #657786;
    background: #F5F8FA;
    padding: 10px 15px;
    border-radius: 0 10px 10px 0;
}
.blog-back-link {
    display: inline-block;
    margin-top: 18px;
    color: #1DA1F2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}
.blog-back-link:hover {
    color: #1a91da;
}

/* Comments */
.blog-comments-section {
    margin-top: 35px;
    background: #FFFFFF;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
    overflow: hidden;
}
.blog-comments-section h3 {
    margin-top: 0;
    border-bottom: 2px solid #1DA1F2;
    padding-bottom: 10px;
    font-size: 19px;
    font-weight: 700;
}
.blog-comment-list {
    margin-bottom: 25px;
}
.blog-comment-item {
    padding: 15px 0;
    border-bottom: 1px solid #E1E8ED;
}
.blog-comment-item:last-child {
    border-bottom: none;
}
.blog-comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.blog-comment-author {
    font-weight: 700;
    color: #14171A;
}
.blog-comment-date {
    color: #657786;
    font-size: 12px;
}
.blog-comment-content {
    color: #14171A;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 14px;
}
.blog-no-comments {
    color: #657786;
    text-align: center;
    padding: 20px;
}
.blog-comment-form {
    background: #F5F8FA;
    padding: 20px;
    border-radius: 10px;
}
.blog-comment-form h4 {
    margin-top: 0;
    font-size: 16px;
    font-weight: 700;
}
.blog-form-group {
    margin-bottom: 15px;
}
.blog-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 14px;
    color: #14171A;
}
.blog-form-group input, .blog-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E1E8ED;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 14px;
}
.blog-form-group textarea {
    height: 100px;
    resize: vertical;
}
.blog-btn-submit {
    background: #1DA1F2;
    color: #FFFFFF;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
}
.blog-btn-submit:hover {
    background: #1a91da;
}

/* Article Page Layout */
.blog-article-wrapper {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    flex: 1;
}
.blog-article-main {
    flex: 1;
    min-width: 0;
}
.blog-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.blog-sidebar-box {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
    margin-bottom: 20px;
}
.blog-sidebar-box h3 {
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1DA1F2;
    color: #14171A;
    font-size: 17px;
    font-weight: 700;
}

/* Tag Styles */
.blog-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
}
.blog-tag {
    display: inline-block;
    background: #F5F8FA;
    color: #1DA1F2;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.blog-tag:hover {
    background: #1DA1F2;
    color: #FFFFFF;
}
.blog-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.blog-tag-item {
    display: inline-block;
    background: #F5F8FA;
    color: #657786;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.blog-tag-item:hover {
    background: #1DA1F2;
    color: #FFFFFF;
}
.blog-tag-item.active {
    background: #1DA1F2;
    color: #FFFFFF;
}
.blog-no-tags {
    color: #657786;
    text-align: center;
    padding: 10px;
}

/* Article Meta Styles */
.blog-article-meta .meta-category {
    color: #1DA1F2;
    font-weight: 700;
}
.blog-article-meta .meta-divider {
    color: #AAB8C2;
    margin: 0 6px;
}
.blog-article-meta .meta-comments {
    color: #657786;
}
.blog-article-meta .meta-views {
    color: #657786;
}
.blog-article-meta .meta-date {
    color: #AAB8C2;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-article-wrapper { flex-direction: column; }
    .blog-sidebar { width: 100%; }
}

/* ========== Product Styles ========== */

/* Product Detail Page */
.product-wrapper {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    flex: 1;
}
.product-main {
    flex: 1;
    min-width: 0;
}
.product-detail {
    background: #FFFFFF;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
    overflow: hidden;
}
.product-header {
    border-bottom: 1px solid #E1E8ED;
    padding-bottom: 18px;
    margin-bottom: 20px;
}
.product-header h1 {
    margin: 0 0 12px 0;
    color: #14171A;
    word-wrap: break-word;
    font-size: 26px;
    font-weight: 700;
}
.product-meta {
    color: #657786;
    font-size: 13px;
}
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.product-tag {
    display: inline-block;
    background: #F5F8FA;
    color: #1DA1F2;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.product-info-section {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.product-price-box {
    flex: 0 0 auto;
}
.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #1DA1F2;
    margin-bottom: 5px;
}
.product-sku {
    color: #657786;
    font-size: 13px;
}

.product-attributes {
    flex: 1;
}
.product-attributes h3 {
    margin: 0 0 12px 0;
    color: #14171A;
    font-size: 17px;
    font-weight: 700;
}
.product-spec-table {
    width: 100%;
    border-collapse: collapse;
}
.product-spec-table th {
    background: #F5F8FA;
    padding: 10px 14px;
    text-align: left;
    width: 140px;
    font-weight: 700;
    font-size: 13px;
    color: #657786;
}
.product-spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #E1E8ED;
    font-size: 14px;
}

.product-action {
    margin-top: 20px;
}
.btn-inquiry {
    background: #1DA1F2;
    color: #FFFFFF;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-inquiry:hover {
    background: #1a91da;
}

.product-description {
    margin-top: 30px;
}
.product-description h3 {
    margin: 0 0 12px 0;
    color: #14171A;
    font-size: 17px;
    border-bottom: 2px solid #1DA1F2;
    padding-bottom: 10px;
    font-weight: 700;
}
.product-content {
    line-height: 1.6;
    color: #14171A;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 15px;
}

.product-reviews-section {
    margin-top: 35px;
    background: #FFFFFF;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
}

/* Product List Page */
.product-list-wrapper {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    flex: 1;
}
.product-filter-sidebar {
    width: 250px;
    flex-shrink: 0;
}
.filter-box {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #E1E8ED;
    margin-bottom: 20px;
}
.filter-box h3 {
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1DA1F2;
    color: #14171A;
    font-size: 17px;
    font-weight: 700;
}
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter-list li {
    padding: 8px 0;
}
.filter-list a {
    color: #657786;
    text-decoration: none;
    font-size: 14px;
}
.filter-list a:hover, .filter-list a.active {
    color: #1DA1F2;
}

.price-range-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}
.price-range-inputs input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #E1E8ED;
    border-radius: 10px;
    font-size: 14px;
}
.price-range-inputs span {
    color: #657786;
}
.price-range-info {
    color: #657786;
    font-size: 12px;
    margin-top: 8px;
}
.btn-filter {
    background: #1DA1F2;
    color: #FFFFFF;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-filter:hover {
    background: #1a91da;
}

.product-list-main {
    flex: 1;
    min-width: 0;
}
.product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.product-list-header h2 {
    margin: 0;
    color: #14171A;
    font-size: 21px;
    font-weight: 700;
}
.product-search-box {
    display: flex;
    align-items: center;
}
.product-search-box form {
    display: flex;
    gap: 10px;
}
.product-search-box input[type="text"] {
    padding: 10px 14px;
    border: 1px solid #E1E8ED;
    border-radius: 50px;
    min-width: 200px;
    font-size: 14px;
}
.product-search-box input[type="text"]:focus {
    outline: none;
    border-color: #1DA1F2;
    box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.2);
}
.btn-search {
    background: #1DA1F2;
    color: #FFFFFF;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-search:hover {
    background: #1a91da;
}
.product-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-sort label {
    color: #657786;
    font-size: 14px;
}
.product-sort select {
    padding: 10px 14px;
    border: 1px solid #E1E8ED;
    border-radius: 10px;
    background: #FFFFFF;
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}
.product-card {
    background: #FFFFFF;
    border: 1px solid #E1E8ED;
    overflow: hidden;
    border-radius: 15px;
    transition: box-shadow 0.3s;
}
.product-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card-image {
    height: 200px;
    background: #F5F8FA;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-placeholder-img {
    color: #AAB8C2;
    font-size: 13px;
}
.product-card-content {
    padding: 18px;
}
.product-card-content h3 {
    margin: 0 0 8px 0;
    font-size: 17px;
    color: #14171A;
    word-wrap: break-word;
    font-weight: 700;
}
.product-card-price {
    font-size: 21px;
    font-weight: 700;
    color: #1DA1F2;
    margin-bottom: 6px;
}
.product-card-excerpt {
    color: #657786;
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.no-products {
    text-align: center;
    color: #657786;
    padding: 45px;
    grid-column: 1 / -1;
}

.product-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.btn-page {
    padding: 10px 20px;
    background: #1DA1F2;
    color: #FFFFFF;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-page:hover {
    background: #1a91da;
}
.page-info {
    color: #657786;
    font-size: 14px;
}

/* Product Responsive */
@media (max-width: 768px) {
    .product-wrapper, .product-list-wrapper { flex-direction: column; }
    .product-filter-sidebar { width: 100%; }
    .product-info-section { flex-direction: column; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* Product Detail Image */
.product-image-section {
    margin-bottom: 20px;
}
.product-main-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background: #F5F8FA;
    border-radius: 15px;
}

/* Stock Warning */
.stock-warning {
    color: #E0245E;
}
.stock-low {
    color: #FFAD1F;
}
.stock-ok {
    color: #1DA1F2;
}
