.sp-page {
    background: #F5F7FA;
    padding: 0 0 40px;
    min-height: 60vh;
}

/* --- Hero / Company Header --- */
.sp-hero {
    background: #fff;
    border-bottom: 1px solid #E8EDF3;
    padding: 28px 0;
}

.sp-hero-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sp-hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #F1F5F9;
    border: 1px solid #E8EDF3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #475569;
    flex-shrink: 0;
}

.sp-hero-info {
    flex: 1;
    min-width: 200px;
}

.sp-hero-name {
    font-size: 26px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 4px;
}

.sp-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #64748B;
    flex-wrap: wrap;
}

.sp-hero-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #CBD5E1;
}

.sp-hero-meta .rating {
    color: #F59E0B;
    font-weight: 600;
}

.sp-hero-addr {
    font-size: 13px;
    color: #94A3B8;
    margin-top: 4px;
}

.sp-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sp-btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.sp-btn-primary:hover {
    background: #1a4fcf;
}

.sp-btn-outline {
    background: #F8FAFC;
    color: #475569;
    border: 1px solid #E8EDF3;
}

.sp-btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- Tab Nav --- */
.sp-tab-nav {
    background: #fff;
    border-bottom: 1px solid #E8EDF3;
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.sp-tab-nav a {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    white-space: nowrap;
}

.sp-tab-nav a:hover {
    color: #1A1A2E;
}

.sp-tab-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* --- Main Layout --- */
.sp-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
    margin-top: 28px;
}

/* --- Cards --- */
.sp-card {
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.sp-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E8EDF3;
}

/* --- About Grid --- */
.sp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sp-about-item {
    padding: 12px 16px;
    background: #FAFBFC;
    border-radius: 10px;
    border: 1px solid #F1F5F9;
}

.sp-about-item .label {
    font-size: 11px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.sp-about-item .value {
    font-size: 14px;
    font-weight: 500;
    color: #1A1A2E;
}

.sp-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
    margin: 16px 0 0;
}

/* --- Product Grid --- */
.sp-prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sp-prod-card {
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s;
    text-decoration: none;
}

.sp-prod-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.sp-prod-img {
    height: 170px;
    overflow: hidden;
    background: #F8FAFC;
    display: block;
}

.sp-prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .4s;
}

.sp-prod-card:hover .sp-prod-img img {
    transform: scale(1.05);
}

.sp-prod-body {
    padding: 12px 14px 14px;
}

.sp-prod-body .title {
    font-size: 14px;
    font-weight: 500;
    color: #1A1A2E;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    text-decoration: none;
}

.sp-prod-body .title:hover {
    color: var(--primary-color);
}

.sp-prod-body .price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.sp-prod-body .price small {
    font-size: 11px;
    font-weight: 400;
    color: #64748B;
}

.sp-prod-body .sp-btn {
    margin-top: 10px;
    padding: 7px 14px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
}

/* --- FAQ --- */
.sp-faq-item {
    border: 1px solid #E8EDF3;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.sp-faq-q {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A2E;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FAFBFC;
    transition: all .2s;
}

.sp-faq-q:hover {
    background: #F1F5F9;
}

.sp-faq-q i {
    margin-left: auto;
    color: #94A3B8;
    font-size: 12px;
    transition: transform .2s;
}

.sp-faq-q.open i {
    transform: rotate(180deg);
}

.sp-faq-a {
    padding: 0 16px 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    display: none;
}

.sp-faq-a.open {
    display: block;
}

/* --- Sidebar --- */
.sp-sidebar {
    position: sticky;
    top: 90px;
}

.sp-side-card {
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.sp-side-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 12px;
}

.sp-side-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-side-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
}

.sp-side-info li i {
    width: 16px;
    color: var(--primary-color);
    font-size: 14px;
}

.sp-side-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.sp-side-contact .sp-btn {
    justify-content: center;
}

/* Sidebar Categories */
.sp-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 300px;
    overflow-y: auto;
}

.sp-cat-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: all .2s;
}

.sp-cat-list a:hover {
    background: #F1F5F9;
    color: var(--primary-color);
}

.sp-cat-list a i {
    font-size: 12px;
    color: #94A3B8;
}

/* Sidebar Inquiry */
.sp-side-inquiry {
    background: linear-gradient(135deg, #1A1A2E, #16213E);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
}

.sp-side-inquiry h3 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 4px;
}

.sp-side-inquiry p {
    font-size: 12px;
    color: #94A3B8;
    margin: 0 0 14px;
    line-height: 1.5;
}

.sp-side-inquiry input,
.sp-side-inquiry textarea {
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.sp-side-inquiry input::placeholder,
.sp-side-inquiry textarea::placeholder {
    color: #64748B;
}

.sp-side-inquiry textarea {
    resize: vertical;
    min-height: 60px;
}

.sp-side-inquiry .sp-btn {
    width: 100%;
    justify-content: center;
}

/* --- Responsive --- */
@media(max-width:1000px) {
    .sp-layout {
        grid-template-columns: 1fr;
    }

    .sp-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .sp-sidebar .sp-side-card {
        margin-bottom: 0;
    }

    .sp-sidebar .sp-side-inquiry {
        grid-column: 1 / -1;
    }

    .sp-prod-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:650px) {
    .sp-hero {
        padding: 20px 0;
    }

    .sp-hero-name {
        font-size: 20px;
    }

    .sp-hero-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .sp-hero-logo {
        margin: 0 auto;
    }

    .sp-hero-actions {
        justify-content: center;
    }

    .sp-hero-meta {
        justify-content: center;
    }

    .sp-card {
        padding: 16px;
    }

    .sp-about-grid {
        grid-template-columns: 1fr;
    }

    .sp-prod-grid {
        grid-template-columns: 1fr;
    }

    .sp-sidebar {
        grid-template-columns: 1fr;
    }

    .sp-tab-nav a {
        padding: 12px 16px;
        font-size: 13px;
    }
}
