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: #3498db;
    text-decoration: none;
    transition: all 0.15s ease;
}
.breadcrumb a:hover {
    color: #2c3e50;
    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: 120px;
    height: 120px;
    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;
}
.stock-status i {
    color: #28a745;
    font-size: 18px;
    margin-right: 8px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.product-pricing {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #d0d0d0;
}
.pricing-block {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background: #f8f8f8;
    border-radius: 6px;
    padding: 8px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1), inset -2px -2px 5px rgba(255,255,255,0.5);
    margin-bottom: 8px;
    max-width: 100%;
    scroll-behavior: smooth;
}
.pricing-block::-webkit-scrollbar {
    height: 6px;
}
.pricing-block::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}
.pricing-block::-webkit-scrollbar-track {
    background: #e6e6e6;
}
.pricing-block .po-block {
    display: inline-block;
    min-width: 180px;
    padding: 0 8px;
    border-right: 1px solid #d0d0d0;
}
.pricing-block .po-block:last-child {
    border-right: none;
}
.pricing-block h3 {
    font-size: 13px;
    color: #2c3e50;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.price-breaks {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 6px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.price-breaks th, .price-breaks td {
    padding: 6px;
    text-align: center;
    font-size: 11px;
    border: 1px solid #d0d0d0;
}
.price-breaks th {
    background: linear-gradient(145deg, #e0e0e0, #d0d0d0);
    color: #2c3e50;
    font-weight: 600;
}
.no-tel {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.availability {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 11px;
    color: #666;
}
.availability .stock, .availability .min {
    color: #28a745;
    font-weight: 500;
}
.availability div {
    font-size: 11px;
}
.tooltip-trigger {
    padding: 3px 6px;
    background: linear-gradient(145deg, #f5f5f5, #e0e0e0);
    color: #2c3e50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px;
    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;
}
.tooltip-trigger:hover, .tooltip-trigger:focus {
    background: linear-gradient(145deg, #e0e0e0, #d0d0d0);
    transform: translateY(-1px);
}
.tooltip-trigger:hover + .tooltip, .tooltip.active {
    display: block;
}
.tooltip {
    display: none;
    position: absolute;
    background: #fff;
    color: #2c3e50;
    font-size: 11px;
    padding: 6px;
    border-radius: 5px;
    border: 1px solid #d0d0d0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 280px;
    white-space: normal;
    z-index: 10;
    transform: translateX(8px);
}
.tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid #d0d0d0;
    transform: translateY(-50%);
}
.order {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.order input[type="number"] {
    width: 55px;
    padding: 5px;
    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: 11px;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.order .total {
    font-size: 11px;
    color: #2c3e50;
    font-weight: 500;
    padding: 5px;
    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);
}
.order button {
    padding: 8px 14px;
    background: #ffffff;
    color: #2c3e50;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.3), -3px -3px 6px rgba(255,255,255,0.7);
    transition: all 0.2s ease;
}
.order button:hover, .order button:focus {
    background: linear-gradient(145deg, #3498db, #2c3e50);
    color: #fff;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.4), -4px -4px 8px rgba(255,255,255,0.8);
    transform: translateY(-2px);
}
.add-to-cart {
    padding: 8px 16px;
    background: #ffffff;
    color: #2c3e50;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.3), -3px -3px 6px rgba(255,255,255,0.7);
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.add-to-cart:hover, .add-to-cart:focus {
    background: linear-gradient(145deg, #3498db, #2c3e50);
    color: #fff;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.4), -4px -4px 8px rgba(255,255,255,0.8);
    transform: translateY(-2px);
}
.total-all {
    font-size: 13px;
    color: #2c3e50;
    font-weight: 500;
    margin-top: 8px;
    text-align: right;
}
.icon {
    width: 10px;
    height: 10px;
    vertical-align: middle;
}
@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: 90px;
        height: 90px;
    }
    .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;
    }
    .stock-status i {
        font-size: 16px;
    }
    #modalPDF {
        height: 400px;
    }
    .product-pricing {
        max-width: 100%;
        min-width: 100%;
        padding: 10px;
    }
    .pricing-block {
        flex-direction: column;
        overflow-x: visible;
        white-space: normal;
        padding: 6px;
    }
    .pricing-block .po-block {
        min-width: 100%;
        padding: 6px 0;
        border-right: none;
        border-bottom: 1px solid #d0d0d0;
    }
    .pricing-block .po-block:last-child {
        border-bottom: none;
    }
    .pricing-block h3 {
        font-size: 12px;
    }
    .price-breaks th, .price-breaks td {
        font-size: 10px;
        padding: 4px;
    }
    .availability {
        font-size: 10px;
        flex-direction: column;
        gap: 4px;
    }
    .tooltip {
        max-width: 90%;
        font-size: 10px;
        max-height: 90px;
        transform: translateX(0);
        margin-top: 4px;
    }
    .tooltip::before {
        top: -5px;
        left: 50%;
        border-right: none;
        border-bottom: 5px solid #d0d0d0;
        transform: translateX(-50%);
    }
    .tooltip-trigger {
        font-size: 9px;
        padding: 2px 5px;
    }
    .order {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .order input[type="number"] {
        width: 100%;
        font-size: 10px;
        padding: 4px;
    }
    .order .total {
        font-size: 10px;
        padding: 4px;
        width: 100%;
        text-align: left;
    }
    .order button {
        font-size: 11px;
        padding: 6px 12px;
        box-shadow: 2px 2px 5px rgba(0,0,0,0.3), -2px -2px 5px rgba(255,255,255,0.7);
    }
    .order button:hover, .order button:focus {
        box-shadow: 3px 3px 6px rgba(0,0,0,0.4), -3px -3px 6px rgba(255,255,255,0.8);
        transform: translateY(-1px);
    }
    .add-to-cart {
        font-size: 14px;
        padding: 10px 18px;
        box-shadow: 2px 2px 5px rgba(0,0,0,0.3), -2px -2px 5px rgba(255,255,255,0.7);
    }
    .add-to-cart:hover, .add-to-cart:focus {
        box-shadow: 3px 3px 6px rgba(0,0,0,0.4), -3px -3px 6px rgba(255,255,255,0.8);
        transform: translateY(-1px);
    }
}
@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: 60px;
        height: 60px;
    }
    .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;
    }
    .stock-status i {
        font-size: 14px;
    }
    #modalPDF {
        height: 300px;
    }
    .product-pricing {
        padding: 8px;
    }
    .pricing-block .po-block {
        min-width: 100%;
        padding: 4px 0;
    }
    .pricing-block h3 {
        font-size: 11px;
    }
    .price-breaks th, .price-breaks td {
        font-size: 9px;
        padding: 3px;
    }
    .availability {
        font-size: 9px;
    }
    .tooltip {
        max-width: 95%;
        font-size: 9px;
        max-height: 70px;
    }
    .tooltip-trigger {
        font-size: 8px;
        padding: 2px 4px;
    }
    .order input[type="number"] {
        font-size: 9px;
        padding: 3px;
    }
    .order .total {
        font-size: 9px;
        padding: 3px;
    }
    .order button {
        font-size: 10px;
        padding: 5px 10px;
        box-shadow: 2px 2px 4px rgba(0,0,0,0.3), -2px -2px 4px rgba(255,255,255,0.7);
    }
    .order button:hover, .order button:focus {
        box-shadow: 3px 3px 5px rgba(0,0,0,0.4), -3px -3px 5px rgba(255,255,255,0.8);
        transform: translateY(-1px);
    }
    .add-to-cart {
        font-size: 12px;
        padding: 8px 14px;
        box-shadow: 2px 2px 4px rgba(0,0,0,0.3), -2px -2px 4px rgba(255,255,255,0.7);
    }
    .add-to-cart:hover, .add-to-cart:focus {
        box-shadow: 3px 3px 5px rgba(0,0,0,0.4), -3px -3px 5px rgba(255,255,255,0.8);
        transform: translateY(-1px);
    }
}