body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f4f4;
    color: #2c3e50;
}
.container {
    flex: 1;
    max-width: 1400px;
    margin: 15px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.breadcrumb {
    margin-bottom: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: all 0.15s ease;
}
.breadcrumb a:hover {
    color: #d1d5db;
    text-decoration: underline;
}
.breadcrumb span {
    color: #fff;
}
.breadcrumb span.separator {
    margin: 0 4px;
}
.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.product-image {
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.product-details .product-image img {
    max-width: 100%;
    width: 100%;
    max-height: 250px;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-top: 3px solid #3498db;
    cursor: pointer;
    transition: transform 0.15s ease;
}
.product-details .product-image img:hover {
    transform: scale(1.02);
}
.doc-buttons {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}
.doc-btn {
    padding: 6px 12px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    color: #2c3e50;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2), -2px -2px 4px rgba(255,255,255,0.5);
    transition: all 0.15s ease;
}
.doc-btn:hover {
    background: linear-gradient(145deg, #3498db, #2c3e50);
    color: #fff;
    transform: translateY(-1px);
}
.doc-btn.disabled {
    background: linear-gradient(145deg, #e0e0e0, #d0d0d0);
    cursor: default;
}
.order-info {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    padding: 8px 0;
}
.order-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.order-info ul li {
    margin: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}
.order-info ul li i {
    color: #666;
    flex-shrink: 0;
    margin-top: 2px;
}
.order-info ul li span {
    flex: 1;
}
.order-info a {
    color: #3498db;
    text-decoration: none;
}
.order-info a:hover {
    color: #2c3e50;
    text-decoration: underline;
}
.product-info {
    flex: 1;
    padding: 12px;
    text-align: left;
    min-width: 300px;
}
.product-info h1 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 500;
}
.product-info h2 {
    font-size: 18px;
    color: #666;
    margin: 12px 0 8px;
    font-weight: 500;
}
.product-info h3 {
    font-size: 16px;
    color: #666;
    margin: 8px 0 4px;
    font-weight: 500;
}
.description-inline {
    font-size: 13px;
    color: #666;
    font-style: italic;
}
.item-code {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.producer-highlight {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
}
.product-info p {
    margin: 4px 0;
    font-size: 13px;
    color: #2c3e50;
}
.product-info p strong {
    color: #2c3e50;
    font-weight: 600;
}
.price-seo strong {
    font-weight: 700;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 13px;
}
.spec-table th, .spec-table td {
    padding: 6px;
    border: 1px solid #d0d0d0;
    text-align: left;
}
.spec-table th {
    background: linear-gradient(145deg, #e0e0e0, #d0d0d0);
    color: #2c3e50;
    font-weight: 600;
}
.spec-table td {
    background: #fff;
    color: #2c3e50;
}
.request-quote {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f5faff, #e6f0fa);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.request-quote h3 {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 500;
}
.request-quote table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}
.request-quote table td {
    padding: 6px;
    font-size: 13px;
}
.request-quote input[type="number"],
.request-quote input[type="email"] {
    width: 100%;
    padding: 6px;
    border: none;
    border-radius: 5px;
    background: #f8f8f8;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1), inset -2px -2px 5px rgba(255,255,255,0.5);
    font-size: 13px;
}
.request-quote button {
    padding: 6px 12px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    color: #2c3e50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2), -2px -2px 4px rgba(255,255,255,0.5);
    transition: all 0.15s ease;
}
.request-quote button:hover {
    background: linear-gradient(145deg, #3498db, #2c3e50);
    color: #fff;
    transform: translateY(-1px);
}
.request-error,
.request-success {
    margin-top: 8px;
    font-size: 13px;
    padding: 6px;
    border-radius: 5px;
    text-align: center;
}
.request-error {
    color: #dc2626;
    background: #f8d7da;
}
.request-success {
    color: #28a745;
    background: #d4edda;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    padding: 15px 0;
}
.modal-content {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin: 5% auto;
    position: relative;
    max-width: 90%;
    width: auto;
    max-height: 80vh;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2), -2px -2px 4px rgba(255,255,255,0.5);
    transition: all 0.15s ease;
}
.close:hover {
    background: linear-gradient(145deg, #c0392b, #e74c3c);
    transform: scale(1.1);
}
#modalImage {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}
#modalPDF {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 6px;
}
.frequently-bought-feed {
    margin: 15px 0;
}
.frequently-bought-feed h2 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 500;
}
.feed-container {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 8px;
    background: linear-gradient(135deg, #f5faff, #e6f0fa);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.feed-container::-webkit-scrollbar {
    height: 6px;
}
.feed-container::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}
.feed-container::-webkit-scrollbar-track {
    background: #e6e6e6;
}
.feed-item {
    flex: 0 0 auto;
    width: 180px;
    background: #fff;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.15s ease;
}
.feed-item:hover {
    transform: scale(1.05);
}
.feed-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 8px;
    border-top: 3px solid #3498db;
}
.feed-item .item-title {
    font-size: 13px;
    color: #2c3e50;
    font-weight: 500;
}
.feed-item .item-producer {
    font-size: 11px;
    color: #666;
}
.feed-item .item-price {
    font-size: 13px;
    color: #28a745;
    font-weight: 500;
}
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
        margin: 10px;
    }
    .product-details {
        flex-direction: column;
        gap: 12px;
        padding: 10px;
    }
    .product-image {
        max-width: 100%;
        min-width: 100%;
    }
    .product-details .product-image img {
        max-height: 200px;
    }
    .doc-buttons {
        flex-direction: column;
        gap: 5px;
    }
    .doc-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    .order-info {
        font-size: 13px;
    }
    .product-info h1 {
        font-size: 18px;
    }
    .product-info h2 {
        font-size: 16px;
    }
    .product-info h3 {
        font-size: 14px;
    }
    .description-inline,
    .item-code,
    .product-info p {
        font-size: 12px;
    }
    .producer-highlight {
        font-size: 13px;
    }
    .spec-table {
        font-size: 12px;
    }
    .spec-table th, .spec-table td {
        padding: 5px;
    }
    .request-quote {
        padding: 10px;
    }
    .request-quote h3 {
        font-size: 13px;
    }
    .request-quote input[type="number"],
    .request-quote input[type="email"],
    .request-quote button {
        font-size: 12px;
        padding: 5px;
    }
    .feed-container {
        gap: 10px;
        padding: 6px;
    }
    .feed-item {
        width: 150px;
    }
    .feed-item img {
        width: 50px;
        height: 50px;
    }
    .feed-item .item-title {
        font-size: 12px;
    }
    .feed-item .item-producer {
        font-size: 10px;
    }
    .feed-item .item-price {
        font-size: 12px;
    }
    .modal-content {
        padding: 10px;
        margin: 10% auto;
        max-height: 70vh;
    }
    .close {
        font-size: 20px;
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }
    #modalPDF {
        height: 400px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 8px;
        margin: 8px;
    }
    .product-details {
        padding: 8px;
    }
    .product-details .product-image img {
        max-height: 180px;
    }
    .doc-btn {
        font-size: 11px;
        padding: 4px 8px;
    }
    .order-info {
        font-size: 12px;
    }
    .product-info h1 {
        font-size: 16px;
    }
    .product-info h2 {
        font-size: 14px;
    }
    .product-info h3 {
        font-size: 13px;
    }
    .description-inline,
    .item-code,
    .product-info p {
        font-size: 11px;
    }
    .producer-highlight {
        font-size: 12px;
    }
    .spec-table {
        font-size: 11px;
    }
    .spec-table th, .spec-table td {
        padding: 4px;
    }
    .request-quote {
        padding: 8px;
    }
    .request-quote h3 {
        font-size: 12px;
    }
    .request-quote input[type="number"],
    .request-quote input[type="email"],
    .request-quote button {
        font-size: 11px;
        padding: 4px;
    }
    .feed-item {
        width: 120px;
    }
    .feed-item img {
        width: 40px;
        height: 40px;
    }
    .feed-item .item-title {
        font-size: 11px;
    }
    .feed-item .item-producer {
        font-size: 9px;
    }
    .feed-item .item-price {
        font-size: 11px;
    }
    .modal-content {
        padding: 8px;
    }
    .close {
        font-size: 18px;
        width: 28px;
        height: 28px;
    }
    #modalPDF {
        height: 300px;
    }
}