:root {
    --ast-primary: #f39c12;
    --ast-primary-dark: #d68910;
    --ast-accent: #e67e22;
    --ast-bg: #fcfcfc;
    --ast-card-bg: #ffffff;
    --ast-border: #f1ebd8;
    --ast-text: #2c3e50;
    --ast-sub: #7f8c8d;
    --ast-gold: #d4af37;
    --ast-dark: #111111;
    --ast-dark-card: #181818;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--ast-bg); color: var(--ast-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 13px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: 0.2s; }

.ast-topbar { background: #ffffff; border-bottom: 1px solid var(--ast-border); font-size: 12px; height: 36px; line-height: 36px; color: var(--ast-sub); }
.ast-topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: flex-end; align-items: center; }

.ast-header { background: #ffffff; padding: 18px 0; border-bottom: 1px solid var(--ast-border); text-align: center; }
.ast-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; }
.ast-logo img { height: 42px; width: auto; max-width: 180px; object-fit: contain; }

.ast-nav-bar { background: #ffffff; border-bottom: 2px solid var(--ast-primary); }
.ast-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 15px; }
.ast-nav-list { display: flex; list-style: none; flex-wrap: wrap; justify-content: center; }
.ast-nav-list li a { display: block; padding: 12px 22px; color: #334155; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.ast-nav-list li a:hover, .ast-nav-list li.active a { color: var(--ast-primary); }

.ast-notice { max-width: 1280px; margin: 15px auto 0; padding: 10px 15px; background: #fef9e7; border-left: 4px solid var(--ast-primary); border-radius: 2px; color: #b7950b; font-size: 13px; }

.ast-container { max-width: 1280px; margin: 25px auto; padding: 0 15px; min-height: 60vh; }

.ast-hero-banner { background: linear-gradient(135deg, #181818 0%, #2c2c2c 100%); border: 1px solid #333333; color: #ffffff; padding: 45px 25px; text-align: center; border-radius: 8px; margin-bottom: 30px; }
.ast-hero-banner h1 { font-size: 30px; font-weight: 800; letter-spacing: 2px; color: #f9e79f; margin-bottom: 6px; }
.ast-hero-banner p { font-size: 13px; color: #d5d8dc; text-transform: uppercase; letter-spacing: 1px; }

.ast-section-head { text-align: center; margin: 35px 0 20px; }
.ast-section-title { font-size: 22px; font-weight: 800; color: #1e293b; letter-spacing: 1px; }
.ast-section-title span { color: var(--ast-primary); }

.ast-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ast-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ast-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.ast-card-item { background: #ffffff; border: 1px solid var(--ast-border); border-radius: 6px; padding: 18px 14px; text-align: center; transition: 0.2s; position: relative; }
.ast-card-item:hover { border-color: var(--ast-primary); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(243,156,18,0.12); }
.ast-card-img-box { width: 100%; height: 110px; background: #fdfaf3; border-radius: 4px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.ast-card-img-box img { max-width: 70px; max-height: 70px; object-fit: contain; }
.ast-card-name { font-size: 13px; font-weight: 700; color: var(--ast-text); height: 36px; overflow: hidden; margin-bottom: 8px; }
.ast-card-price { font-size: 16px; font-weight: 800; color: var(--ast-primary-dark); margin-bottom: 10px; }
.ast-btn-buy { display: block; width: 100%; padding: 7px 0; background: var(--ast-primary); color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; border-radius: 4px; }
.ast-btn-buy:hover { background: var(--ast-primary-dark); }

.ast-dark-section { background: var(--ast-dark-card); border: 1px solid #333333; padding: 35px 25px; border-radius: 8px; margin-bottom: 35px; color: #ffffff; }

.ast-box { background: #ffffff; border: 1px solid var(--ast-border); margin-bottom: 25px; padding: 20px; border-radius: 6px; }
.ast-row-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px; border-bottom: 1px dashed var(--ast-border); font-size: 13px; }
.ast-row-item:last-child { border-bottom: none; }

.ast-detail-layout { display: flex; gap: 30px; background: #ffffff; border: 1px solid var(--ast-border); padding: 30px; border-radius: 8px; }
.ast-detail-media { flex: 0 0 280px; text-align: center; }
.ast-detail-img-wrap { width: 230px; height: 230px; margin: 0 auto 12px; border: 1px solid var(--ast-border); border-radius: 6px; display: flex; align-items: center; justify-content: center; background: #fdfaf3; padding: 12px; }
.ast-detail-img-wrap img { max-width: 190px; max-height: 190px; object-fit: contain; }
.ast-detail-info { flex: 1; }
.ast-detail-name { font-size: 20px; font-weight: bold; color: var(--ast-text); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--ast-border); }
.ast-detail-meta-box { background: #fef9e7; border: 1px solid #f9e79f; padding: 15px 20px; border-radius: 6px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }

.ast-form-group { margin-bottom: 15px; }
.ast-form-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; color: #475569; }
.ast-input { width: 100%; height: 40px; background: #ffffff; border: 1px solid var(--ast-border); border-radius: 4px; padding: 0 12px; outline: none; font-size: 13px; }
.ast-input:focus { border-color: var(--ast-primary); }
.ast-btn-submit { width: 100%; height: 44px; background: var(--ast-primary); color: #ffffff; font-size: 15px; font-weight: bold; border: none; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.ast-btn-submit:hover { background: var(--ast-primary-dark); }

.ast-footer { background: var(--ast-dark); color: #94a3b8; padding: 35px 15px; text-align: center; margin-top: 40px; font-size: 13px; }
.ast-footer-links { margin-bottom: 10px; }
.ast-footer-links a { color: #ffffff; margin: 0 10px; font-weight: 500; }
.ast-footer-links a:hover { color: var(--ast-primary); }

@media (max-width: 992px) {
    .ast-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ast-grid-3 { grid-template-columns: 1fr; }
    .ast-grid-2 { grid-template-columns: 1fr; }
    .ast-detail-layout { flex-direction: column; }
    .ast-detail-media { flex: 1; }
}
@media (max-width: 640px) {
    .ast-grid-4 { grid-template-columns: 1fr; }
    .ast-nav-list li a { padding: 9px 12px; font-size: 13px; }
}
