:root { --bg: #ffffff; --card: #fafafa; --text: #1a1a1a; --accent: #d4af37; --accent-dark: #b8860b; --border: #eaeaea; --muted: #666666; --shadow: rgba(0, 0, 0, 0.05); }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Times New Roman', serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
header { background: #000000; color: #fff; padding: 1.2rem 0; border-bottom: 1px solid var(--border); position: relative; z-index: 200; }
.container-header { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: #fff; font-size: 2.2rem; letter-spacing: 2px; transition: color 0.3s ease; }
.logo-icon { margin-right: 0.6rem; font-size: 1.4rem; }
.logo:hover { color: var(--accent); }
.cart-wrapper { position: relative; }
.badge { background: var(--accent); color: #000; font-size: 0.7rem; font-weight: bold; padding: 2px 6px; border-radius: 50%; position: absolute; top: -6px; right: -6px; border: 2px solid #000; }
.cart-btn { background: transparent; color: #fff; border: 1px solid #fff; border-radius: 30px; padding: 0.5rem 1.2rem; cursor: pointer; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; display: flex; flex-direction: row; gap: 0.5rem; align-items: center; transition: all 0.3s; }
.cart-btn:hover { border-color: var(--accent); color: var(--accent); }
.remove-btn { background: transparent; color: #d32f2f; border: 1px solid #d32f2f; padding: 5px 12px; border-radius: 20px; cursor: pointer; font-size: 0.8rem; transition: all 0.3s; }
.remove-btn:hover { background: #d32f2f; color: #fff; }

.hero { padding: 3rem 1rem; margin: 2rem 2.5rem; background: linear-gradient(to right, #fafafa, #fdfbf7); border: 1px solid black; border-radius: 16px; margin-bottom: 3rem; text-align: center; box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02); }
.hero h2 { font-weight: 300; font-size: 2.5rem; text-transform: uppercase; letter-spacing: 4px; color: #b8860b; }
.hero p { color: var(--muted); font-size: 1.5rem; margin-top: 0.5rem; }
.filter-container { backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.95); padding: 1.5rem 0; margin-bottom: 2rem; }
.nav-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: center; gap: 1rem 2rem; flex-wrap: wrap; }
.nav-link { color: var(--text); text-decoration: none; font-weight: 400; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; padding: 0.6rem 1.4rem; border-radius: 30px; border: 1px solid var(--border); background: #fff; transition: all 0.3s ease; }
.nav-link:hover { border-color: var(--accent); color: var(--accent-dark); }
.nav-link.active { background: #000; color: #fff; border-color: #000; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); }
.product-header { margin: 2rem 2.5rem; padding: 3rem; text-align: center; }
.product-header h1 { margin: 0; font-size: 2.2rem; font-weight: 200; text-transform: uppercase; letter-spacing: 4px; }
.product-header p { color: var(--muted); font-size: 1.8rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem; max-width: 1400px; margin: 2rem auto; padding: 0 2rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: rgba(212, 175, 55, 0.3); }
.card img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; display: block; cursor: pointer; }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.2rem; margin: 0 0 0.8rem; line-height: 1.4; }
.card-cat { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1rem; }
.card-price span { color: var(--accent); font-weight: 600; font-size: 1.1rem; }
.btn { background: #fff; color: #000; border: 1px solid #000; border-radius: 30px; padding: 0.8rem 1.5rem; cursor: pointer; width: 100%; font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; transition: 0.3s; margin-top: 0.5rem; }
.btn:hover:not(:disabled) { background: #000; color: #fff; }
.btn:first-of-type { background: var(--accent); color: #000; border-color: var(--accent); }
.btn:first-of-type:hover:not(:disabled) { filter: brightness(0.9); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pagination { margin-top: 4rem; display: flex; justify-content: center; gap: 0.5rem; padding-bottom: 2rem; }
.page-btn { border: 1px solid var(--border); border-radius: 50%; width: 40px; height: 40px; background: var(--card); cursor: pointer; transition: 0.3s; font-family: inherit; display: flex; align-items: center; justify-content: center; }
.page-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-dark); }
.page-btn.active { background: #000; color: #fff; border-color: #000; }
.page-btn:disabled { opacity: 0.45; cursor: not-allowed; color: var(--muted); border-color: var(--border); }
.page-btn .material-symbols-outlined { font-size: 1.2rem; line-height: 1; }
footer { background: #0a0a0a; color: #fff; padding: 5rem 2rem 2rem; margin-top: 5rem; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.footer-grid h3 { color: var(--accent); letter-spacing: 2px; font-weight: 400; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-grid a:hover { color: #fff; padding-left: 5px; }
.footer-section input { width: 100%; padding: 1rem; margin-bottom: 0.6rem; border-radius: 8px; border: none; }
.footer-section button { background: var(--accent); color: #000; border: none; border-radius: 30px; padding: 0.8rem 2rem; cursor: pointer; font-weight: bold; }
.product-details { width: min(100%, 1200px); max-width: 1200px; margin: 4rem auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 0 2rem; overflow-x: hidden; }
.p-image { width: 100%; aspect-ratio: 5/7; object-fit: cover; border: 1px solid var(--border); border-radius: 12px; }
.p-info { padding-top: 2rem; }
.p-cat { text-transform: uppercase; color: var(--muted); font-size: 0.9rem; letter-spacing: 1.5px; }
.p-title { font-size: 2.5rem; font-weight: 200; margin: 0.5rem 0 1.5rem; }
.p-desc { color: var(--muted); margin-bottom: 2rem; }
.p-rent { font-size: 1.4rem; color: var(--accent-dark); font-weight: 600; margin-bottom: 2rem; }
.p-rent span { color: var(--text); font-weight: normal; font-size: 1rem; }
.selector { margin-bottom: 1.5rem; }
.selector label { display: block; font-weight: bold; margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.8rem; }
.select-p { width: 100%; padding: 0.8rem; border: 1px solid var(--border); font-family: inherit; }
.vton-section { grid-column: 1 / -1; background: #fdfbf7; border: 1px solid var(--border); padding: 2rem; margin-top: 3rem; text-align: center; }
.vton-section h3 { font-weight: 300; letter-spacing: 2px; text-transform: uppercase; }
.vton-section p { color: var(--muted); margin-bottom: 2rem; }
.vton-upload-row { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 400px; margin: 0 auto; }
.file-p { width: 100%; border: 1px solid var(--border); padding: 0.5rem; background: #fff;}
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-content { background: var(--bg); margin: 5% auto; width: 90%; max-width: 500px; border: 1px solid var(--border); overflow: hidden; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border); background: #fafafa; }
.modal-header h2 { margin: 0; font-weight: normal; }
.close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.close-btn:hover { color: #000; }
.modal-body { padding: 1.5rem; max-height: 50vh; overflow-y: auto; }
.cart-empty { padding: 30px; color: var(--muted); text-align: center; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.modal-footer { padding: 1.5rem; text-align: right; border-top: 1px solid var(--border); background: #fafafa; }
.cart-item { display: flex; align-items: center; gap: 15px; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 60px; height: 80px; object-fit: cover; border-radius: 6px; }
.cart-item-details { flex: 1; display: flex; flex-direction: column; }
.cart-item-title { font-weight: bold; font-size: 1rem; margin-bottom: 5px; }
.cart-item-price { color: var(--muted); font-size: 0.9rem; }

.vton-modal-content { background: transparent; border: none; box-shadow: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0 !important; padding: 0 !important; width: max-content !important; max-width: 95vw !important; overflow: visible !important; display: flex; justify-content: center; align-items: center; }
.vton-image-wrapper { position: relative; display: block; line-height: 0; }
#vton-modal-image { max-width: 95vw; max-height: 85vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,0.5); display: block; background: transparent; }
.vton-close { position: absolute !important; top: 15px !important; right: 15px !important; background-color: transparent; color: #fff !important; border-radius: 50% !important; width: 40px !important; height: 40px !important; display: flex !important; justify-content: center !important; align-items: center !important; z-index: 100 !important; font-size: 1.8rem !important; transition: all 0.3s ease !important; cursor: pointer !important; backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; }
.vton-close:hover { background: rgba(202, 200, 200, 0.568) !important; transform: scale(1.0) !important; }

.whatsapp-widget { position: fixed; right: 20px; bottom: 20px; z-index: 999; }
.whatsapp-btn { width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; border: none; font-size: 24px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s; display: flex; align-items: center; justify-content: center; text-decoration: none;}
.whatsapp-btn:hover { transform: scale(1.1); }
.mobile-filters { display: none; padding: 1rem; border-bottom: 1px solid var(--border); }
.filter-row { display: flex; gap: 1rem; }
.filter-select { padding: 0.5rem; border: 1px solid var(--border); flex: 1; font-family: inherit; }
.cpn-ticket { display: flex; background: var(--bg); border: 2px dashed var(--accent); border-radius: 8px; margin-top: 20px; overflow: hidden; box-shadow: 0 4px 6px var(--shadow); text-align: left; }
.cpn-ticket.interactive { cursor: pointer; transition: transform 0.2s; }
.cpn-ticket.interactive:hover { transform: scale(1.02); }
.cpn-left { background: var(--accent); color: #000; padding: 15px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 2px dashed var(--accent-dark); }
.cpn-left h4 { margin: 0; font-size: 1.3rem; }
.cpn-left p { margin: 0; font-size: 0.7rem; text-transform: uppercase; }
.cpn-right { padding: 15px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.cpn-right .code { font-family: monospace; font-size: 1.2rem; font-weight: bold; letter-spacing: 2px; color: var(--text); }
.cpn-right .validity { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.trk-card { width: 100%; max-width: 900px; margin: 40px auto; padding: 40px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px var(--shadow); overflow-x: hidden; }
.product-details > .trk-card,
.product-details .checkout-container { max-width: 100%; }
.trk-icon { font-size: 3.5rem; margin-bottom: 1rem; display: inline-block; background: #fdfbf7; padding: 20px; border-radius: 50%; color: var(--accent-dark); }
.trk-stepper { list-style: none; padding: 0; display: flex; justify-content: space-between; position: relative; margin: 40px 0; }
.trk-stepper::before { content: ''; position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 1; }
.trk-stepper li { position: relative; z-index: 2; text-align: center; flex: 1; }
.trk-stepper li::before { content: ''; display: inline-block; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); margin-bottom: 10px; transition: all 0.3s ease; }
.trk-stepper li.completed::before { background: var(--accent); border-color: var(--accent); content: '✓'; line-height: 32px; color: #000; font-weight: bold; }
.trk-stepper li.active::before { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(212,175,55,0.2); }
.trk-stepper li span { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.trk-stepper li.completed span, .trk-stepper li.active span { color: var(--text); font-weight: bold; }

/* THEME ALERT */
#theme-alert { position: fixed; bottom: 40px; left: 50%; transform: translate(-50%, 100px); background: var(--accent); color: #000; padding: 1rem 2rem; border: 1px solid #000; border-radius: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 10000; font-family: 'Times New Roman', serif; font-size: 1.1rem; font-weight: bold; letter-spacing: 1px; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); display: flex; align-items: center; gap: 10px; text-align: center; white-space: nowrap; }
#theme-alert.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ============ ADMIN PANEL ESSENTIALS ============ */
.admin-container { max-width: 1200px; margin: 40px auto; padding: 20px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px var(--shadow); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-tabs { display: flex; gap: 15px; border-bottom: 1px solid var(--border); margin-bottom: 20px; padding-bottom: 10px; flex-wrap: wrap; }
.admin-tab { background: transparent; border: none; font-family: inherit; font-size: 1.1rem; cursor: pointer; padding: 10px; color: var(--muted); transition: 0.3s; white-space: nowrap; }
.admin-tab:hover { color: #000; }
.admin-tab.active { color: var(--accent-dark); font-weight: bold; border-bottom: 2px solid var(--accent); }

.table-responsive { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 20px; background: #fff;}
.admin-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.admin-table th, .admin-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table th { background: #fdfbf7; color: #000; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; white-space: nowrap;}
.admin-thumb { width: 50px; height: 70px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }
.action-btn { padding: 5px 12px; cursor: pointer; border-radius: 4px; border: none; font-family: inherit; transition: 0.3s; font-size: 0.8rem;}
.edit-btn { background: #f0f0f0; color: #000; margin-right: 5px; border: 1px solid #ccc; border-radius: 20px; }
.edit-btn:hover { background: #e0e0e0; }
.delete-btn { background: #ffebee; color: #d32f2f; border: 1px solid #ffcdd2; border-radius: 20px; }
.delete-btn:hover { background: #ffcdd2; }
.nav-back { text-decoration: none; color: var(--muted); font-size: 0.9rem; display: inline-block; margin-bottom: 20px;}
.nav-back:hover { color: #000; text-decoration: underline;}
.login-container { max-width: 400px; margin: 100px auto; padding: 40px; text-align: center; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px var(--shadow); }
.login-container h2 { font-weight: normal; margin-top: 0; text-transform: uppercase; letter-spacing: 2px;}

/* Auth Modal Specific Tabs */
.auth-tabs { border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.auth-tab { border-radius: 6px; padding: 10px; font-weight: bold; border: 1px solid var(--border); transition: 0.3s; }
.auth-tab:hover { border-color: var(--accent); }
#userBtn { min-width: 110px; justify-content: center; background: #fff; color: #000; }
#userBtn:hover { background: var(--accent); color: #000; border-color: var(--accent); }

@media (max-width: 374px) {
  #theme-alert { width: max-content; max-width: 90%; white-space: normal; font-size: 0.9rem; padding: 0.75rem 1.1rem; }
  header { padding: 0.75rem 0; }
  .container-header { padding: 0 0.75rem; gap: 0.75rem; }
  .logo { font-size: 1.32rem; letter-spacing: 0.5px; }
  .logo-icon { font-size: 1rem; margin-right: 0.25rem; }
  .cart-wrapper { gap: 0.55rem !important; }
  .cart-btn { padding: 0 !important; border: none !important; background: transparent !important; color: #fff !important; }
  #cart-txt, #user-txt { display: none !important; }
  #userBtn { min-width: auto; }
  .badge { top: -6px; right: -6px; padding: 2px 4px; font-size: 0.6rem; }
  .hero { margin: 0.75rem; padding: 1.4rem 0.85rem; border-radius: 12px; }
  .hero h2 { font-size: 1.3rem; letter-spacing: 1.5px; }
  .hero p { font-size: 0.95rem; }
  .filter-container { padding: 0; margin-bottom: 0.75rem; }
  #desktop-nav { display: none; }
  .mobile-filters { display: block; padding: 0.75rem; border-bottom: none; }
  .filter-row { flex-direction: column; gap: 0.75rem; }
  .product-header { margin: 0.75rem; padding: 1rem 0.5rem; }
  .product-header h1 { font-size: 1.4rem; letter-spacing: 2px; }
  .product-header p { font-size: 1rem; }
  .grid { grid-template-columns: 1fr; gap: 1rem; margin: 1rem auto; padding: 0 0.75rem; }
  .card-body { padding: 1rem; }
  .card-title { font-size: 1rem; }
  .btn { font-size: 0.72rem; letter-spacing: 1px; padding: 0.75rem 1rem; }
  .product-details { grid-template-columns: 1fr; gap: 1rem; margin: 1rem auto; padding: 0 0.75rem; }
  .p-info { padding-top: 0.5rem; }
  .p-title { font-size: 1.6rem; }
  .p-desc { font-size: 0.95rem; }
  .p-rent { font-size: 1.1rem; }
  .selector { margin-bottom: 1rem; }
  .vton-section { padding: 1rem; margin-top: 1.25rem; }
  .trk-card, .checkout-container { width: 100% !important; max-width: none !important; margin: 1rem auto !important; padding: 1rem !important; }
  .trk-stepper { gap: 0.25rem; margin: 1.1rem 0; }
  .trk-stepper::before { left: 12%; right: 12%; top: 13px; }
  .trk-stepper li::before { width: 26px; height: 26px; margin-bottom: 6px; }
  .trk-stepper li.completed::before { line-height: 26px; }
  .trk-stepper li span { font-size: 0.58rem; line-height: 1.2; }
  .modal-content { width: calc(100vw - 16px); margin: 6vh auto; max-width: none; }
  .modal-header, .modal-body, .modal-footer { padding: 1rem; }
  .cart-item { gap: 10px; align-items: flex-start; }
  .cart-item-img { width: 52px; height: 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  footer { padding: 3rem 1rem 1.5rem; margin-top: 3rem; }
  .whatsapp-widget { right: 14px; bottom: 14px; }
  .whatsapp-btn { width: 52px; height: 52px; font-size: 21px; }
  .admin-container { margin: 12px; padding: 12px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-tabs { gap: 8px; }
  .admin-tab { flex: 1 1 calc(50% - 8px); font-size: 0.88rem; text-align: center; }
  .admin-table { min-width: 520px; }
  .admin-table th, .admin-table td { padding: 8px; font-size: 0.8rem; }
  .material-symbols-outlined { font-size: 24px !important; }
}

@media (min-width: 375px) and (max-width: 424px) {
  #theme-alert { width: max-content; max-width: 90%; white-space: normal; font-size: 0.95rem; padding: 0.8rem 1.3rem; }
  header { padding: 0.8rem 0; }
  .container-header { padding: 0 0.9rem; }
  .logo { font-size: 1.5rem; letter-spacing: 0.8px; }
  .logo-icon { font-size: 1.1rem; margin-right: 0.3rem; }
  .cart-wrapper { gap: 0.7rem !important; }
  .cart-btn { padding: 0 !important; border: none !important; background: transparent !important; color: #fff !important; }
  #cart-txt, #user-txt { display: none !important; }
  #userBtn { min-width: auto; }
  .badge { top: -6px; right: -7px; padding: 2px 5px; font-size: 0.62rem; }
  .hero { margin: 0.9rem; padding: 1.6rem 1rem; border-radius: 13px; }
  .hero h2 { font-size: 1.45rem; letter-spacing: 1.8px; }
  .hero p { font-size: 1rem; }
  #desktop-nav { display: none; }
  .filter-container { padding: 0; margin-bottom: 1rem; }
  .mobile-filters { display: block; padding: 0.85rem; border-bottom: none; }
  .filter-row { flex-direction: column; gap: 0.75rem; }
  .product-header { margin: 0.9rem; padding: 1.15rem 0.75rem; }
  .product-header h1 { font-size: 1.6rem; letter-spacing: 2px; }
  .product-header p { font-size: 1.05rem; }
  .grid { grid-template-columns: 1fr; gap: 1rem; margin: 1rem auto; padding: 0 0.9rem; }
  .card-body { padding: 1.1rem; }
  .product-details { grid-template-columns: 1fr; gap: 1.1rem; margin: 1.3rem auto; padding: 0 0.9rem; }
  .p-title { font-size: 1.8rem; }
  .p-desc { font-size: 0.98rem; }
  .p-rent { font-size: 1.16rem; }
  .vton-section { padding: 1.2rem; margin-top: 1.5rem; }
  .trk-card, .checkout-container { width: 100% !important; max-width: none !important; margin: 1.1rem auto !important; padding: 1.15rem !important; }
  .trk-stepper { gap: 0.35rem; margin: 1.2rem 0; }
  .trk-stepper::before { left: 11%; right: 11%; top: 13px; }
  .trk-stepper li::before { width: 28px; height: 28px; margin-bottom: 6px; }
  .trk-stepper li.completed::before { line-height: 28px; }
  .trk-stepper li span { font-size: 0.62rem; line-height: 1.25; }
  .modal-content { width: calc(100vw - 22px); margin: 6vh auto; max-width: none; }
  .modal-header, .modal-body, .modal-footer { padding: 1rem; }
  .cart-item { gap: 12px; align-items: flex-start; }
  .cart-item-img { width: 56px; height: 74px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  footer { padding: 3.25rem 1rem 1.6rem; margin-top: 3rem; }
  .whatsapp-widget { right: 16px; bottom: 16px; }
  .whatsapp-btn { width: 54px; height: 54px; font-size: 22px; }
  .admin-container { margin: 14px; padding: 14px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-tabs { gap: 8px; }
  .admin-tab { flex: 1 1 calc(50% - 8px); font-size: 0.9rem; text-align: center; }
  .admin-table { min-width: 540px; }
  .admin-table th, .admin-table td { padding: 9px; font-size: 0.82rem; }
  .material-symbols-outlined { font-size: 25px !important; }
}

@media (min-width: 425px) and (max-width: 767px) {
  .container-header { padding: 0 1rem; }
  .logo { font-size: 1.75rem; letter-spacing: 1px; }
  .logo-icon { font-size: 1.15rem; margin-right: 0.35rem; }
  .cart-wrapper { gap: 0.85rem !important; }
  .cart-btn { padding: 0 !important; border: none !important; background: transparent !important; color: #fff !important; }
  #cart-txt, #user-txt { display: none !important; }
  #userBtn { min-width: auto; }
  .badge { top: -6px; right: -8px; padding: 2px 5px; font-size: 0.64rem; }
  .hero { margin: 1rem; padding: 1.85rem 1.2rem; }
  .hero h2 { font-size: 1.75rem; letter-spacing: 2px; }
  .hero p { font-size: 1.1rem; }
  #desktop-nav { display: none; }
  .filter-container { padding: 0; margin-bottom: 1rem; }
  .mobile-filters { display: block; padding: 1rem; }
  .filter-row { gap: 0.75rem; }
  .product-header { margin: 1rem; padding: 1.4rem 1rem; }
  .product-header h1 { font-size: 1.85rem; letter-spacing: 2.5px; }
  .product-header p { font-size: 1.15rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem auto; padding: 0 1rem; }
  .card-body { padding: 1.15rem; }
  .card-title { font-size: 1.05rem; }
  .product-details { width: 100%; grid-template-columns: 1fr; gap: 1.25rem; margin: 1.5rem auto; padding: 0 1rem; }
  .p-info { padding-top: 0.5rem; }
  .p-title { font-size: 2rem; }
  .p-desc { font-size: 1rem; }
  .vton-section { padding: 1.4rem; margin-top: 1.6rem; }
  .trk-card, .checkout-container { width: 100% !important; max-width: 100% !important; margin: 1.3rem auto !important; padding: 1.35rem !important; }
  .trk-stepper { margin: 1.4rem 0; }
  .trk-stepper::before { left: 10%; right: 10%; }
  .trk-stepper li span { font-size: 0.68rem; }
  .modal-content { width: min(92vw, 500px); margin: 7vh auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  footer { padding: 3.5rem 1.2rem 1.8rem; margin-top: 3.5rem; }
  .whatsapp-widget { right: 18px; bottom: 18px; }
  .whatsapp-btn { width: 56px; height: 56px; font-size: 22px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .admin-container { padding: 16px; margin: 18px auto; }
  .admin-tab { flex: 1; text-align: center; font-size: 0.95rem; }
  .admin-table th, .admin-table td { padding: 10px; font-size: 0.85rem; }
  #orders-view .filter-row { flex-direction: column; align-items: flex-start !important; gap: 10px; }
  #orders-view .filter-row select { width: 100%; }
  .material-symbols-outlined { font-size: 27px !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container-header { padding: 0 1.5rem; }
  .logo { font-size: 2rem; }
  .hero { margin: 1.5rem; padding: 2.4rem 1.5rem; }
  .hero h2 { font-size: 2rem; letter-spacing: 3px; }
  .hero p { font-size: 1.2rem; }
  #desktop-nav { display: none; }
  .mobile-filters { display: block; padding: 1rem 1.5rem; }
  .filter-container { padding: 0; margin-bottom: 1.5rem; }
  .product-header { margin: 1.5rem; padding: 2rem 1.5rem; }
  .product-header h1 { font-size: 2rem; }
  .product-header p { font-size: 1.3rem; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; padding: 0 1.5rem; }
  .product-details { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2rem; margin: 2.5rem auto; padding: 0 1.5rem; }
  .p-title { font-size: 2.15rem; }
  .vton-section { padding: 1.6rem; }
  .trk-card, .checkout-container { width: 100% !important; max-width: 100% !important; }
  .trk-stepper li span { font-size: 0.74rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-section:last-child { grid-column: 1 / -1; }
  .admin-container { padding: 18px; margin: 24px auto; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 15px; }
  .admin-tab { flex: 1; text-align: center; font-size: 0.98rem; }
  #orders-view .filter-row { flex-direction: column; align-items: flex-start !important; gap: 10px; }
  #orders-view .filter-row select { width: 100%; }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .container-header { padding: 0 1.75rem; }
  .hero { margin: 1.75rem; padding: 2.7rem 1.75rem; }
  .hero h2 { font-size: 2.2rem; }
  .hero p { font-size: 1.3rem; }
  .nav-inner { gap: 0.8rem 1.1rem; padding: 0 1rem; }
  .nav-link { padding: 0.55rem 1rem; font-size: 0.82rem; }
  .product-header { margin: 1.75rem; padding: 2.4rem 1.5rem; }
  .product-header p { font-size: 1.45rem; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; padding: 0 1.75rem; }
  .product-details { max-width: 1100px; gap: 2.2rem; padding: 0 1.75rem; }
  .footer-grid { gap: 2.2rem; }
  .trk-card, .checkout-container { width: 100% !important; max-width: 100% !important; }
}

/* NEW: Force Material Symbols to Render Consistently */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}
