@import url('themes.css');
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--font-sans); background-color: var(--bg-main); color: var(--text-primary); line-height: 1.6; min-height: 100vh; display: flex; justify-content: center; }
h1, h2, h3, h4, h5, .serif-font { font-family: var(--font-serif); font-weight: 700; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-sans); outline: none; }
.app-container { width: 100%; max-width: 480px; min-height: 100vh; background: var(--bg-surface); position: relative; box-shadow: var(--shadow-float); padding-bottom: 70px; overflow-x: hidden; }
.premium-header { position: sticky; top: 0; z-index: 100; background: var(--bg-surface); border-bottom: 1px solid var(--border-light); padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.brand-identity { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; background: var(--color-primary); color: var(--bg-surface); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: 1px solid var(--color-accent); }
.brand-text h1 { font-size: 1.1rem; color: var(--color-primary); line-height: 1.2; }
.brand-text span { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.btn-icon { width: 38px; height: 38px; border-radius: 50%; background: transparent; border: 1px solid var(--border-light); color: var(--color-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.badge-count { position: absolute; top: -2px; right: -2px; background: var(--color-accent); color: var(--bg-main); width: 18px; height: 18px; border-radius: 50%; font-size: 0.65rem; font-weight: bold; display: flex; align-items: center; justify-content: center; }
.luxury-banner { margin: 20px; border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--bg-surface) 100%); border: 1px solid var(--border-light); position: relative; overflow: hidden; }
.luxury-banner::before { content: ''; position: absolute; top:0; left:0; width:100%; height:4px; background: var(--color-accent); }
.banner-tag { display: inline-block; padding: 4px 12px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--color-accent); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); margin-bottom: 12px; }
.cat-scroll { display: flex; gap: 10px; padding: 0 20px 20px; overflow-x: auto; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-item { padding: 8px 16px; font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); border: 1px solid var(--border-light); border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap; background: var(--bg-surface); }
.cat-item.active { background: var(--color-primary); color: var(--bg-surface); border-color: var(--color-primary); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 20px 20px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.product-img { width: 100%; height: 160px; object-fit: cover; background: var(--bg-surface); }
.product-body { padding: 12px; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.product-desc { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; flex: 1; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 1rem; font-weight: 700; color: var(--color-accent); font-family: var(--font-serif); }
.btn-add { background: var(--color-primary); color: var(--bg-surface); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: var(--bg-surface); border-top: 1px solid var(--border-light); display: flex; justify-content: space-around; padding: 12px 0; z-index: 100; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-muted); font-size: 0.7rem; }
.nav-item i { font-size: 1.2rem; }
.nav-item.active { color: var(--color-accent); }
.card-box { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; margin: 0 20px 20px; box-shadow: var(--shadow-card); }
.card-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--color-primary); margin-bottom: 16px; border-bottom: 1px solid var(--border-light); padding-bottom: 10px; }
.alert-danger { background: var(--danger-bg); border-left: 3px solid var(--danger-color); padding: 12px; color: var(--danger-color); font-size: 0.8rem; margin: 20px; border-radius:4px; }
.form-control { width: 100%; padding: 12px; background: var(--bg-main); border: 1px solid var(--border-light); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.9rem; margin-bottom:12px; }
.btn-primary { background: var(--color-primary); color: var(--bg-surface); border: 1px solid var(--color-primary); width: 100%; padding: 14px; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s;}
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--color-primary); border: 1px solid var(--border-light); width: 100%; padding: 12px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; cursor: pointer; margin-bottom:8px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 600; }
.badge-gold { background: var(--color-accent-light); color: var(--color-accent); border: 1px solid var(--border-accent); }
.badge-green { background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
.badge-red { background: var(--danger-bg); color: var(--danger-color); border: 1px solid var(--danger-color); }
.badge-blue { background: #E3F2FD; color: #1565C0; border: 1px solid #BBDEFB; }
table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--border-light); }
th { color: var(--text-muted); background: var(--bg-main); text-transform: uppercase; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: none; z-index: 1000; align-items: center; justify-content: center; }
.modal-content { background: var(--bg-card); width: 90%; max-width: 440px; border-radius: var(--radius-lg); padding: 24px; position: relative; border: 1px solid var(--border-light); max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; background: transparent; border: none; font-size: 1.2rem; color: var(--text-muted); cursor: pointer; }
