/*
Theme Name: ANEJA MOBILE
Theme URI: https://anejamobile.in
Author: ANEJA MOBILE
Description: Official Custom Gold & Black Theme for ANEJA MOBILE.
Version: 1.0.0
Text Domain: anejamobile
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  --bg-primary: #0B0C10;
  --bg-secondary: #12141A;
  --bg-card: #181A20;
  --text-main: #FFFFFF;
  --text-muted: #9E9E9E;
  --gold-accent: #D4AF37;
  --gold-hover: #AA8010;
  --border-color: #26282E;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  padding-bottom: 75px; /* Mobile bottom nav space */
}

/* Material Symbols helper */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* Utility Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Announcement */
.top-bar {
  background: #000;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  padding: 8px 0;
  color: var(--text-muted);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header */
.main-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold-accent);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.header-search {
  flex: 1;
  max-width: 450px;
  position: relative;
}
.header-search input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 14px 10px 38px;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.header-search .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.header-actions a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Section */
.hero-section {
  padding: 40px 0;
  background: radial-gradient(circle at top right, rgba(212,175,55,0.08), transparent 50%);
  border-bottom: 1px solid var(--border-color);
}
.hero-badge {
  display: inline-block;
  color: var(--gold-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin-bottom: 24px;
}
.hero-btn {
  background: var(--gold-accent);
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

/* Compatibility Finder Box */
.finder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
  margin: 30px auto;
}
.finder-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold-accent);
}
.finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.finder-grid select {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
}
.finder-grid button {
  background: var(--gold-accent);
  color: #000;
  border: none;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  padding: 12px;
  font-size: 14px;
}

/* Category Grid */
.section-heading {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 20px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 18px 14px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: 0.2s;
}
.category-card:hover {
  border-color: var(--gold-accent);
}
.category-card span {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-top: 8px;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 6px;
}
.product-price {
  color: var(--gold-accent);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.add-btn {
  background: transparent;
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  padding: 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.add-btn:hover {
  background: var(--gold-accent);
  color: #000;
}

/* Fixed Bottom Navigation for Mobile */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
}
.mobile-bottom-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
  color: var(--gold-accent);
}
/* WooCommerce Cart & Checkout Dark Theme Styling */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-color);
}
.woocommerce table.shop_table th {
  background: #000;
  color: var(--gold-accent);
  padding: 12px;
  font-size: 13px;
  text-align: left;
}
.woocommerce table.shop_table td {
  padding: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
}
.woocommerce input.input-text, 
.woocommerce select, 
.woocommerce textarea {
  background: var(--bg-primary) !important;
  border: 1px solid var(--border-color) !important;
  color: #fff !important;
  padding: 10px 12px !important;
  border-radius: 6px !important;
  width: 100%;
  font-size: 13px;
}
.woocommerce button.button.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button,
#place_order {
  background: var(--gold-accent) !important;
  color: #000 !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 12px 20px !important;
  border: none !important;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.woocommerce button.button.alt:hover,
#place_order:hover {
  background: var(--gold-hover) !important;
}
.woocommerce-notice, .woocommerce-message, .woocommerce-info {
  background: var(--bg-card);
  border: 1px solid var(--gold-accent);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}
/* WooCommerce Checkout Field Labels & Placeholders */
.woocommerce form .form-row label {
  color: var(--text-main) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.woocommerce form .form-row label .required {
  color: #ff4d4f !important;
  text-decoration: none !important;
}

.woocommerce form .form-row input::placeholder,
.woocommerce form .form-row textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 1 !important;
}

.woocommerce form .form-row {
  margin-bottom: 16px !important;
}
/* Fix WooCommerce Block Checkout Labels & Text */
.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-checkout-step__title {
  color: #fff !important;
  font-weight: 600 !important;
}

/* Input Boxes: Dark Background & Crisp White Text */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-combobox input {
  background-color: #121318 !important;
  color: #ffffff !important;
  border: 1px solid #2a2c35 !important;
  border-radius: 6px !important;
}

/* Floating / Active Label Colors */
.wc-block-components-text-input.is-active label,
.wc-block-components-combobox.is-active label {
  color: var(--gold-accent) !important;
}

/* Placeholders inside inputs */
::placeholder {
  color: #888888 !important;
  opacity: 1 !important;
}

/* Dropdown Country / State Select */
.wc-block-components-combobox .wc-block-components-combobox__input {
  color: #ffffff !important;
  background-color: #121318 !important;
}