* { box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; margin: 0; padding: 0; color: #333; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
[v-cloak] { display: none !important; }

/* Buttons */
.btn-v8a { display: inline-block; padding: 10px 20px; background: #333; color: #fff; border: none; cursor: pointer; transition: 0.3s; text-align: center; }
.btn-v8a:hover { background: #555; }
.btn-block-v8a { display: block; width: 100%; }

/* Product Grid */
.product-grid-v8a { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.product-card-v8a { border: 1px solid #eee; transition: 0.3s; position: relative; display: flex; flex-direction: column; }
.product-card-v8a:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-img-v8a { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f9f9f9; }
.product-info-v8a { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.product-title-v8a { font-size: 16px; margin: 0 0 10px; font-weight: normal; flex-grow: 1; }
.product-price-v8a { font-weight: bold; color: #e44d26; font-size: 18px; margin-bottom: 10px; }

/* Pagination */
.pagination-v8a { display: flex; justify-content: center; gap: 5px; margin-top: 40px; margin-bottom: 60px; }
.page-item-v8a { padding: 8px 12px; border: 1px solid #ddd; cursor: pointer; }
.page-item-v8a.active { background: #333; color: #fff; border-color: #333; }

/* Detail Page */
.detail-container-v8a { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 50px 0; }
.gallery-v8a { display: flex; flex-direction: column; gap: 10px; }
.main-img-v8a { width: 100%; border: 1px solid #eee; }
.thumbs-v8a { display: flex; gap: 10px; overflow-x: auto; }
.thumb-v8a { width: 80px; height: 80px; object-fit: cover; border: 1px solid #eee; cursor: pointer; }
.thumb-v8a.active { border-color: #333; }
.product-meta-v8a h1 { margin-top: 0; }
.price-tag-v8a { font-size: 24px; color: #e44d26; font-weight: bold; margin: 20px 0; }
.features-v8a { list-style: disc; padding-left: 20px; color: #666; margin-bottom: 20px; }
.qty-input-v8a { padding: 10px; width: 60px; text-align: center; border: 1px solid #ddd; margin-right: 10px; }
.desc-content-v8a { margin-top: 50px; border-top: 1px solid #eee; padding-top: 30px; }
.desc-content-v8a img { max-width: 100% !important; height: auto !important; }
.desc-content-v8a table { width: 100%; border-collapse: collapse; }
.desc-content-v8a td { border: 1px solid #eee; padding: 8px; }

/* Cart */
.cart-table-v8a { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.cart-table-v8a th { text-align: left; padding: 15px; background: #f9f9f9; border-bottom: 1px solid #eee; }
.cart-table-v8a td { padding: 15px; border-bottom: 1px solid #eee; }
.cart-summary-v8a { max-width: 300px; margin-left: auto; background: #f9f9f9; padding: 20px; }
.summary-row-v8a { display: flex; justify-content: space-between; margin-bottom: 15px; font-weight: bold; }

/* Contact */
.contact-container-v8a { max-width: 800px; margin: 0 auto; padding: 50px 20px; }
.form-group-v8a { margin-bottom: 20px; }
.form-group-v8a label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-control-v8a { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
.form-control-v8a:focus { border-color: #333; outline: none; }
textarea.form-control-v8a { resize: vertical; min-height: 120px; }

/* Toast */
.toast-v8a { position: fixed; bottom: 20px; right: 20px; background: #333; color: #fff; padding: 15px 25px; border-radius: 4px; opacity: 0; transition: 0.3s; transform: translateY(20px); z-index: 1000; }
.toast-v8a.show { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) { .product-grid-v8a { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { 
    .product-grid-v8a { grid-template-columns: repeat(2, 1fr); } 
    .detail-container-v8a { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .product-grid-v8a { grid-template-columns: 1fr; } }
