
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #f7f8fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    padding-bottom: 80px;
}

.hero-section {
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    border-bottom: 1px solid #eaeaea;
}

@media (max-width: 600px) {
    .hero-section { 
        flex-direction: column; 
        padding: 20px;
    }
}

.hero-img-col {
    flex: 0 0 40%;
    width: 40%;
}

@media (max-width: 600px) {
    .hero-img-col, .hero-info-col { 
        width: 100%; 
        flex: auto; 
    }
}

.product-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #ddd;
}

.product-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    font-size: 13px;
    color: black;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    line-height: 1.4;
    background-color: #f0f0f0;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.price-section {
    margin-bottom: 15px;
}

.total-price-row {
    margin: 5px 0;
    font-size: 20px;
    font-weight: bold;
    color: #e53935;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.price-label {
    font-weight: 600;
    margin-right: 5px;
}

.total-price-val {
    font-weight: 700;
}

.price-unit {
    margin-left: 3px;
}

.price-tax {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.stock-row {
    font-size: 14px;
    color: #27ae60;
    margin-bottom: 20px;
    font-weight: 500;
}

.qty-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.qty-label {
    font-size: 14px;
    color: #333;
    margin-right: 10px;
}

.qty-control {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    height: 32px;
}

.qty-btn {
    width: 32px;
    height: 100%;
    background: #f9f9f9;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #eee;
}

.qty-input {
    width: 40px !important;
    height: 100%;
    border: none !important;
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
    text-align: center;
    font-size: 14px;
    color: #333;
    outline: none;
    padding: 0 !important;
    background: #fff;
}

.btn-buy-main {
    background-color: #6c5ce7;
    color: white;
    border: none;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 6px rgba(108, 92, 231, 0.2);
}

.btn-buy-main:hover {
    background-color: #5b4cc4;
}

.content-section {
    padding: 30px;
}

@media (max-width: 600px) {
    .content-section {
        padding: 20px;
    }
}

.img-placeholder-long {
    margin: 20px 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.img-placeholder-long img {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.info-card {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    border-left: 4px solid #6c5ce7;
    padding-left: 10px;
    margin-bottom: 12px;
    color: #333;
}

.text-block {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

ul.styled-list {
    padding-left: 20px;
    font-size: 14px;
    color: #555;
}

ul.styled-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 20px;
    z-index: 99;
    transition: transform 0.2s;
}

.scroll-top:hover {
    background-color: #f9f9f9;
}

.scroll-top:active {
    transform: scale(0.9);
}

.company-info {
    padding: 30px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.company-details p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
}

.company-details strong {
    color: #333;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-item {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px;
    transition: color 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.footer-item:hover {
    color: #6c5ce7;
}

.divider {
    color: #ddd;
    font-size: 14px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: #f9f9f9;
    color: #888;
    font-size: 13px;
    border-top: 1px solid #eee;
}

@media (max-width: 600px) {
    .footer-links {
        padding: 20px 0;
        gap: 10px;
    }
    
    .footer-item {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .divider {
        display: none;
    }
    
    .company-info {
        padding: 20px;
    }
    
    .company-details p {
        font-size: 12px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media print {
    .scroll-top,
    .btn-buy-main,
    .footer-links {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
        max-width: 100%;
    }
}