.sallyway-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.spec-item {
    background: #f5f7fa;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #666;
}

.product-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

.products-grid {
    display: grid;
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}

.featured-products h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.featured-products p {
    color: #666;
    margin-bottom: 30px;
}

.contact-info {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
}

.contact-info .company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-item .icon {
    font-size: 1.1rem;
}

.contact-item .value {
    font-size: 0.95rem;
    color: #333;
}

.contact-item .value a {
    color: #2563eb;
    text-decoration: none;
}

.contact-item .value a:hover {
    text-decoration: underline;
}

.certifications-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
}

.certs-grid {
    display: grid;
    gap: 20px;
}

@media (max-width: 768px) {
    .certs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.certification-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cert-image {
    max-height: 120px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-image img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.cert-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.certification-card a {
    text-decoration: none;
}

.company-history {
    margin-bottom: 40px;
}

.company-history h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding: 10px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 16px;
    width: 12px;
    height: 12px;
    background: #2563eb;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #2563eb;
}

.timeline-year {
    font-weight: 700;
    color: #2563eb;
    margin-right: 15px;
}

.timeline-event {
    color: #333;
}

.core-values {
    margin-bottom: 40px;
}

.core-values h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
}

.value-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.product-specs-table h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.product-specs-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-specs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.product-specs-table tr:last-child td {
    border-bottom: none;
}

.product-specs-table td:first-child {
    font-weight: 600;
    color: #666;
    width: 30%;
    background: #f8fafc;
}

.product-specs-table td:last-child {
    color: #1a1a2e;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper form {
    max-width: 600px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.factory-info-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.factory-info-section p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.factory-info-section p strong {
    color: #1a1a2e;
}

.factory-description {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.factory-description p {
    margin: 0;
    line-height: 1.6;
}

.factory-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .factory-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .factory-images {
        grid-template-columns: 1fr;
    }
}

.factory-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.factory-video {
    margin-top: 30px;
}

.factory-video video {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
}

.products-archive .page-header {
    margin-bottom: 30px;
}

.products-archive .page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.products-archive .page-header p {
    color: #666;
}

.product-categories-filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.product-categories-filter li {
    display: inline-block;
}

.product-categories-filter a {
    display: inline-block;
    padding: 10px 20px;
    background: #f8fafc;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.product-categories-filter a:hover,
.product-categories-filter a.active {
    background: #2563eb;
    color: #ffffff;
}

.product-single .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.product-single .breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
}

.product-single .breadcrumbs a:hover {
    text-decoration: underline;
}

.product-single .breadcrumbs span:last-child {
    color: #666;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .product-main {
        grid-template-columns: 1fr;
    }
}

.product-images .main-image {
    margin-bottom: 15px;
}

.product-images .main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.product-details h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.product-details p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-specs-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.product-specs-summary h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.product-specs-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs-summary li {
    font-size: 0.95rem;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.product-specs-summary li:last-child {
    border-bottom: none;
}

.product-actions .contact-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.product-actions .contact-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.product-specs-full {
    margin-bottom: 40px;
}

.product-documents {
    margin-bottom: 40px;
}

.product-documents h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.docs-grid {
    display: flex;
    gap: 20px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a2e;
    transition: background 0.3s ease;
}

.doc-item:hover {
    background: #e2e8f0;
}

.doc-icon {
    font-size: 1.5rem;
}

.doc-name {
    font-weight: 500;
}

.product-contact-form {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.product-contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.factory-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.factory-page .entry-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.factory-page .entry-content {
    padding-bottom: 40px;
}

.page-header-image {
    margin-bottom: 40px;
}

.page-header-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .page-header-image img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .product-card,
    .certification-card,
    .value-card {
        padding: 15px;
    }
    
    .product-info,
    .contact-info {
        padding: 15px;
    }
    
    .featured-products h2,
    .certifications-section h2 {
        font-size: 1.5rem;
    }
    
    .product-single h1 {
        font-size: 1.5rem;
    }
}
