/* ============ Reset & Base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #434343; line-height: 1.6; }
a { text-decoration: none; color: #434343; transition: color .3s; }
a:hover { color: #F5A623; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ Common Buttons ============ */
.btn-primary { display: inline-block; padding: 12px 32px; border: 2px solid #434343; color: #434343; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all .3s; background: transparent; cursor: pointer; }
.btn-primary:hover { background: #434343; color: #fff; }
.btn-submit { display: inline-block; padding: 10px 28px; background: #F5A623; color: #fff; border: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: background .3s; }
.btn-submit:hover { background: #e09500; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; font-weight: 700; color: #434343; }
.section-title p { font-size: 14px; color: #888; margin-top: 8px; }

/* ============ Header ============ */
.header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 70px; width: auto; }
.nav-menu { display: flex; gap: 30px; margin-left: auto; margin-right: 20px; }
.nav-menu a { font-size: 14px; font-weight: 500; padding: 4px 0; position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #F5A623; transition: width .3s; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: #F5A623; }
.header-left { display: flex; align-items: center; }
.lang-switch { position: relative; min-width: 130px; }
.lang-btn { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid #ddd; padding: 6px 14px; font-size: 13px; color: #434343; cursor: pointer; border-radius: 2px; transition: all .3s; font-family: inherit; width: 100%; justify-content: space-between; }
.lang-btn:hover { border-color: #F5A623; color: #F5A623; }
.lang-text { display: flex; align-items: center; gap: 6px; }
.lang-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #eee; box-shadow: 0 4px 12px rgba(0,0,0,.1); width: 100%; display: none; z-index: 200; margin-top: 0; border-radius: 2px; }
.lang-switch:hover .lang-dropdown { display: block; }
.lang-dropdown li a { display: block; padding: 8px 16px; font-size: 13px; color: #666; transition: all .3s; text-align: left; }
.lang-dropdown li a:hover, .lang-dropdown li a.active { background: #f9f9f9; color: #F5A623; }

/* ============ Footer ============ */
.footer { background: #f5f5f5; padding: 60px 0 30px; border-top: 3px solid #F5A623; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-about .logo { margin-bottom: 15px; display: inline-block; }
.footer-about p { font-size: 13px; color: #888; line-height: 1.8; margin-bottom: 20px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 36px; height: 36px; border: 1px solid #ccc; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #888; transition: all .3s; }
.social-icons a:hover { border-color: #F5A623; color: #F5A623; }
.footer-col h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #434343; padding-left: 12px; border-left: 3px solid #F5A623; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: #888; }
.footer-col ul li a::before { content: '›'; margin-right: 8px; color: #F5A623; }
.footer-col ul li a:hover { color: #F5A623; }
.footer-contact .form-group { margin-bottom: 12px; }
.footer-contact input, .footer-contact textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; font-size: 13px; font-family: inherit; color: #434343; background: #fff; outline: none; transition: border-color .3s; }
.footer-contact input:focus, .footer-contact textarea:focus { border-color: #F5A623; }
.footer-contact textarea { height: 80px; resize: vertical; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid #ddd; text-align: center; font-size: 12px; color: #aaa; }

/* ============ Privacy Popup ============ */
.privacy-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; }
.privacy-overlay.show { opacity: 1; visibility: visible; }
.privacy-popup { background: #fff; width: 480px; max-width: 95vw; max-height: 90vh; overflow-y: auto; padding: 30px; position: relative; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.privacy-close { position: absolute; top: 15px; right: 15px; font-size: 20px; cursor: pointer; color: #888; background: none; border: none; transition: color .3s; }
.privacy-close:hover { color: #434343; }
.privacy-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 3px solid #F5A623; }
.privacy-header .brand { font-size: 24px; font-weight: 700; color: #434343; font-style: italic; }
.privacy-header h2 { font-size: 22px; font-weight: 400; color: #434343; }
.privacy-popup p { font-size: 13px; color: #666; line-height: 1.8; margin-bottom: 12px; }
.privacy-popup p a { color: #F5A623; text-decoration: underline; }
.privacy-options { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0; }
.privacy-options label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #434343; cursor: pointer; }
.privacy-options input[type="checkbox"] { width: 18px; height: 18px; accent-color: #434343; }
.privacy-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.btn-save { padding: 10px; background: #fff; border: 1px solid #ddd; color: #434343; font-size: 14px; cursor: pointer; transition: all .3s; }
.btn-save:hover { border-color: #F5A623; color: #F5A623; }
.btn-accept { padding: 14px; background: #F5A623; border: none; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .3s; border-radius: 2px; }
.btn-accept:hover { background: #e09500; }
.btn-individual { padding: 14px; background: #434343; border: none; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .3s; border-radius: 2px; }
.btn-individual:hover { background: #333; }
.privacy-footer-links { display: flex; justify-content: center; gap: 30px; margin-top: 20px; padding-top: 15px; border-top: 1px solid #eee; }
.privacy-footer-links a { font-size: 12px; color: #888; }

/* ============ Fixed Right Sidebar ============ */
.fixed-sidebar { position: fixed; right: 20px; bottom: 120px; z-index: 500; display: flex; flex-direction: column; gap: 6px; }
.sidebar-item { width: 46px; height: 46px; background: #434343; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all .3s; position: relative; }
.sidebar-item a { color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.sidebar-item:hover { background: #F5A623; }
.sidebar-cart a { position: relative; }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; line-height: 18px; background: #e74c3c; color: #fff; font-size: 11px; font-weight: 600; text-align: center; border-radius: 9px; padding: 0 4px; }
#sidebarWhatsapp { background: #25D366; }
#sidebarWhatsapp:hover { background: #1ebe57; }
#sidebarTop { opacity: 0; visibility: hidden; transition: all .3s; }
#sidebarTop.show { opacity: 1; visibility: visible; }
.sidebar-email .email-tooltip { position: absolute; right: 46px; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid #eee; box-shadow: 0 4px 16px rgba(0,0,0,.12); padding: 10px 24px 10px 14px; border-radius: 4px; display: none; white-space: nowrap; align-items: center; gap: 10px; }
.sidebar-email:hover .email-tooltip { display: flex; }
.email-tooltip::after { content: ''; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); border: 4px solid transparent; border-left-color: #fff; }
.email-text { font-size: 13px; color: #434343; }
.email-copy { padding: 4px 12px; background: #F5A623; color: #fff; border: none; font-size: 12px; border-radius: 2px; cursor: pointer; transition: background .3s; font-family: inherit; }
.email-copy:hover { background: #e09500; }

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-menu { display: none; }
    .menu-toggle { display: block; }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .privacy-options { flex-direction: column; gap: 12px; }
}
