:root {
    --b-bg: #f8fafc;
    --b-card: #ffffff;
    --b-text: #1e293b;
    --b-sub: #64748b;
    --b-border: #e2e8f0;
    --b-accent: #0d9488;
    --b-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
body {
    margin: 0; background: var(--b-bg); color: var(--b-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}
a { color: var(--b-text); text-decoration: none; }
.breccia-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--b-card); border-bottom: 3px solid var(--b-accent);
    box-shadow: var(--b-shadow);
}
.breccia-header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    height: 65px; display: flex; align-items: center; justify-content: space-between;
}
.breccia-logo img { height: 32px; }
.breccia-nav {
    list-style: none; margin: 0; padding: 0; display: flex; gap: 30px;
}
.breccia-nav a {
    color: var(--b-text); font-weight: bold; transition: color 0.2s;
}
.breccia-nav a:hover, .breccia-nav .breccia-active {
    color: var(--b-accent);
}
.breccia-user-zone { display: flex; align-items: center; }
.breccia-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--b-border);
}
.breccia-btn-login {
    background: var(--b-accent); color: #fff;
    padding: 6px 16px; border-radius: 4px; font-weight: bold;
}
.breccia-notice-bar {
    background: #f0fdfa; border-bottom: 1px solid #ccfbf1; padding: 10px 20px;
}
.breccia-notice-inner {
    max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
}
.breccia-notice-tag {
    background: var(--b-accent); color: #fff; font-size: 11px;
    padding: 2px 6px; border-radius: 2px; font-weight: bold;
}
.breccia-notice-text { color: #115e59; font-size: 13px; font-weight: bold; }
.breccia-home-container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.breccia-cat-block { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 25px; margin-bottom: 30px; }
.breccia-cat-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--b-accent); padding-bottom: 10px; margin-bottom: 20px; }
.breccia-cat-title { font-size: 18px; font-weight: bold; }
.breccia-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.breccia-product-card { background: #f8fafc; border: 1px solid var(--b-border); border-radius: 4px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.breccia-product-card:hover { transform: translateY(-2px); box-shadow: var(--b-shadow); }
.breccia-card-inner { display: flex; flex-direction: column; height: 100%; }
.breccia-prod-img-box { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: #ffffff; border-bottom: 1px solid var(--b-border); }
.breccia-prod-img-box img { max-width: 90%; max-height: 90%; object-fit: contain; }
.breccia-prod-info { padding: 15px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.breccia-prod-name { font-size: 14px; font-weight: bold; margin: 0 0 10px 0; height: 40px; overflow: hidden; }
.breccia-prod-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.breccia-prod-price { color: var(--b-accent); font-size: 16px; font-weight: bold; }
.breccia-prod-stock { color: var(--b-sub); font-size: 12px; }
.breccia-btn-buy { background: var(--b-accent); color: #fff; padding: 8px 0; border-radius: 4px; font-size: 13px; font-weight: bold; width: 100%; display: block; text-align: center; transition: background 0.2s; }
.breccia-btn-buy:hover { background: #0f766e; color: #fff; }
.breccia-btn-disabled { background: #cbd5e1; cursor: not-allowed; }
.breccia-btn-disabled:hover { background: #cbd5e1; color: #fff; }
.breccia-breadcrumb { max-width: 1200px; margin: 20px auto 0; padding: 0 20px; font-size: 13px; color: var(--b-sub); }
.breccia-breadcrumb a { color: var(--b-sub); }
.breccia-breadcrumb a:hover { color: var(--b-accent); }
.breccia-detail-layout { max-width: 1200px; margin: 20px auto; padding: 0 20px; display: flex; gap: 40px; }
.breccia-detail-main { flex: 1; }
.breccia-detail-title { font-size: 24px; font-weight: bold; margin: 0 0 10px 0; }
.breccia-detail-meta { font-size: 12px; color: var(--b-sub); margin-bottom: 25px; }
.breccia-checkout-panel { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 30px; margin-bottom: 30px; display: flex; gap: 30px; }
.breccia-detail-left { width: 35%; flex-shrink: 0; }
.breccia-detail-img-box { background: #ffffff; border: 1px solid var(--b-border); border-radius: 4px; padding: 30px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.breccia-detail-img-box img { max-width: 90%; max-height: 90%; object-fit: contain; }
.breccia-badges { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; }
.breccia-badge-item { flex: 1; text-align: center; font-size: 11px; font-weight: bold; padding: 8px 0; background: #ccfbf1; border: 1px solid #99f6e4; color: var(--b-accent); border-radius: 2px; }
.breccia-detail-right { flex: 1; }
.breccia-price-row { background: #f8fafc; padding: 15px 20px; border-radius: 4px; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.breccia-price-label { font-size: 13px; color: var(--b-sub); }
.breccia-price-val { font-size: 26px; color: var(--b-accent); font-weight: bold; }
.breccia-stock-label { font-size: 12px; color: var(--b-sub); }
.breccia-form-item { margin-bottom: 15px; }
.breccia-form-item label { display: block; font-size: 13px; font-weight: bold; margin-bottom: 6px; }
.breccia-input { width: 100%; height: 38px; border: 1px solid var(--b-border); border-radius: 4px; padding: 0 12px; box-sizing: border-box; outline: none; }
.breccia-input:focus { border-color: var(--b-accent); }
.breccia-btn-submit { width: 100%; height: 44px; background: var(--b-accent); color: #fff; border: none; border-radius: 4px; font-size: 14px; font-weight: bold; cursor: pointer; transition: background 0.2s; }
.breccia-btn-submit:hover { background: #0f766e; }
.breccia-btn-submit:disabled { background: #cbd5e1; cursor: not-allowed; }
.breccia-desc-section { margin-top: 30px; }
.breccia-desc-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; border-bottom: 1px solid var(--b-border); padding-bottom: 10px; }
.breccia-desc-content { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 30px; line-height: 1.8; color: #333; }
.breccia-detail-sidebar { width: 280px; flex-shrink: 0; }
.breccia-widget { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 20px; margin-bottom: 20px; }
.breccia-widget-title { font-size: 15px; font-weight: bold; margin-bottom: 15px; border-left: 3px solid var(--b-accent); padding-left: 10px; }
.breccia-support-widget { text-align: center; }
.breccia-support-avatar { width: 50px; height: 50px; line-height: 50px; background: #f8fafc; border: 1px solid var(--b-border); border-radius: 50%; margin: 0 auto 15px; font-size: 20px; color: var(--b-sub); }
.breccia-support-name { font-size: 15px; font-weight: bold; margin-bottom: 8px; }
.breccia-support-bio { font-size: 12px; color: var(--b-sub); line-height: 1.6; }
.breccia-mini-search { display: flex; gap: 8px; }
.breccia-btn-search { background: var(--b-accent); color: #fff; border: none; border-radius: 4px; padding: 0 15px; cursor: pointer; font-weight: bold; }
.breccia-password-container { max-width: 500px; margin: 40px auto; padding: 0 20px; }
.breccia-password-card { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 40px; }
.breccia-password-title { font-size: 18px; font-weight: bold; margin: 0 0 25px 0; text-align: center; }
.breccia-wholesale-trigger { color: var(--b-accent); cursor: pointer; font-size: 13px; margin-bottom: 15px; font-weight: bold; }
.breccia-wholesale-popup { padding: 20px; }
.breccia-wholesale-popup-title { font-size: 14px; font-weight: bold; margin-bottom: 15px; }
.breccia-group-wrap { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.breccia-group-title { font-size: 18px; font-weight: bold; margin-bottom: 20px; }
.breccia-group-container { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; overflow: hidden; }
.breccia-table-header { display: flex; background: #f8fafc; border-bottom: 1px solid var(--b-border); padding: 12px 20px; font-weight: bold; color: var(--b-sub); font-size: 13px; }
.breccia-th-item { flex: 1; }
.breccia-table-row { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--b-border); }
.breccia-table-row:last-child { border-bottom: none; }
.breccia-table-row:hover { background: #f8fafc; }
.breccia-td-item { flex: 1; }
.breccia-item-name a { font-weight: bold; }
.breccia-item-name a:hover { color: var(--b-accent); }
.breccia-type-tag { font-size: 11px; background: #f1f5f9; color: #475569; padding: 2px 6px; border-radius: 3px; }
.breccia-type-auto { background: #e0f2fe; color: #0369a1; }
.breccia-item-price { font-weight: bold; color: var(--b-accent); }
.breccia-item-stock { color: var(--b-sub); }
.breccia-btn-table { background: var(--b-accent); color: #fff; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.breccia-btn-table:hover { background: #0f766e; color: #fff; }
.breccia-btn-disabled { background: #cbd5e1; cursor: not-allowed; }
.breccia-btn-disabled:hover { background: #cbd5e1; color: #fff; }
.breccia-about-wrap { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.breccia-about-card { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 40px; }
.breccia-about-title { font-size: 20px; font-weight: bold; margin: 0 0 25px 0; text-align: center; }
.breccia-about-content { line-height: 1.8; }
.breccia-checkout-wrap { max-width: 500px; margin: 40px auto; padding: 0 20px; }
.breccia-checkout-card { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 30px; margin-bottom: 20px; }
.breccia-card-header { font-size: 16px; font-weight: bold; margin-bottom: 20px; border-bottom: 1px solid var(--b-border); padding-bottom: 10px; }
.breccia-checkout-alert { background: #fef2f2; border: 1px solid #fee2e2; color: #ef4444; padding: 15px; border-radius: 4px; font-size: 13px; }
.breccia-checkout-return { color: var(--b-sub); font-size: 13px; }
.breccia-checkout-return:hover { color: var(--b-accent); }
.breccia-checkout-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--b-border); }
.breccia-checkout-row:last-of-type { border-bottom: none; }
.breccia-checkout-total { font-weight: bold; font-size: 18px; color: var(--b-accent); border-top: 1px solid var(--b-border); padding-top: 20px; margin-top: 10px; }
.breccia-success-title { color: #10b981; font-size: 18px; font-weight: bold; margin-bottom: 20px; }
.breccia-checkout-btn { width: 100%; height: 44px; background: var(--b-accent); color: #fff; border: none; border-radius: 4px; font-size: 14px; font-weight: bold; cursor: pointer; }
.breccia-pay-select-title { font-size: 14px; font-weight: bold; color: var(--b-sub); text-align: center; margin-bottom: 20px; }
.breccia-pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.breccia-pay-button { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.breccia-pay-button:hover { border-color: var(--b-accent); }
.breccia-pay-button img { height: 24px; }
.breccia-query-card { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; padding: 30px; }
.breccia-query-tip { background: #f0fdf4; border: 1px solid #dcfce7; color: #15803d; padding: 12px; border-radius: 4px; font-size: 13px; margin-bottom: 20px; }
.breccia-query-table { border: 1px solid var(--b-border); border-radius: 4px; overflow: hidden; }
.breccia-query-header-row { display: flex; background: #f8fafc; border-bottom: 1px solid var(--b-border); padding: 12px 15px; font-weight: bold; color: var(--b-sub); }
.breccia-query-col { flex: 1; }
.breccia-query-data-row { display: flex; align-items: center; padding: 15px; }
.breccia-query-btn { background: var(--b-accent); color: #fff; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: bold; border: none; cursor: pointer; }
.breccia-query-back { color: var(--b-sub); font-size: 12px; }
.breccia-query-back:hover { color: var(--b-accent); }
.breccia-query-empty { text-align: center; padding: 40px 0; color: var(--b-sub); }
.breccia-query-container { background: var(--b-card); border: 1px solid var(--b-border); border-radius: 4px; overflow: hidden; }
.breccia-query-tabs { display: flex; background: #f8fafc; border-bottom: 1px solid var(--b-border); }
.breccia-query-tab-link { flex: 1; text-align: center; padding: 15px 0; color: var(--b-sub); font-weight: bold; border-bottom: 2px solid transparent; }
.breccia-query-tab-link:hover { color: var(--b-accent); }
.breccia-query-tabs .breccia-active { color: var(--b-accent); border-bottom-color: var(--b-accent); background: var(--b-card); }
.breccia-query-body { padding: 30px; }
.breccia-query-info { background: #f8fafc; border: 1px solid var(--b-border); padding: 12px; border-radius: 4px; font-size: 12px; color: var(--b-sub); margin-bottom: 25px; text-align: center; }
.breccia-mobile-order-card { border: 1px solid var(--b-border); background: #f8fafc; padding: 15px; border-radius: 4px; margin-bottom: 10px; }
.breccia-mobile-card-title { display: flex; justify-content: space-between; font-weight: bold; cursor: pointer; }
@media (max-width: 900px) {
    .breccia-product-grid { grid-template-columns: repeat(2, 1fr); }
    .breccia-detail-layout { flex-direction: column; gap: 20px; }
    .breccia-detail-sidebar { width: 100%; }
    .breccia-checkout-panel { flex-direction: column; gap: 20px; }
    .breccia-detail-left { width: 100%; }
}
@media (max-width: 600px) {
    .breccia-product-grid { grid-template-columns: 1fr; }
    .breccia-footer-inner { flex-direction: column; gap: 15px; }
}
