/* ==========================================================================
   Uraxen Tablets Official India (www.uraxen.co.in) - Fully Responsive CSS3
   Mobile-First (320px -> 480px -> 640px -> 900px -> 1200px+)
   ========================================================================== */
:root {
  --navy-950: #071B3E;
  --navy-900: #0B2859;
  --navy-800: #133B7C;
  --cyan-600: #0E7490;
  --cyan-500: #1A9BD7;
  --cyan-100: #E0F4FC;
  --green-700: #2F7122;
  --green-600: #3F8E2F;
  --green-100: #E9F6E6;
  --ink-900: #0F1E36;
  --ink-700: #2D3E55;
  --ink-600: #4B5D75;
  --surface-0: #FFFFFF;
  --surface-50: #F5F9FC;
  --surface-100: #EAF2F8;
  --border-200: #D5E2EE;
  --amber-500: #D97706;
  --danger-600: #B91C1C;
  --danger-50: #FEF2F2;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 40, 89, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 40, 89, 0.10);
  --shadow-lg: 0 18px 44px rgba(11, 40, 89, 0.14);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--surface-0);
  line-height: 1.62;
  max-width: 100%;
  overflow-x: hidden;
  padding-bottom: 78px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-800); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--cyan-500); }
h1, h2, h3, h4 {
  color: var(--ink-900); line-height: 1.24; margin: 0 0 0.7rem;
  font-weight: 700; letter-spacing: -0.02em; overflow-wrap: break-word;
}
p { margin: 0 0 0.95rem; }
ul, ol { margin: 0 0 0.95rem; padding-left: 1.2rem; }
li { margin-bottom: 0.45rem; }

/* Prevent CSS Grid blowout on narrow mobile screens */
.hero-grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .footer-grid > * { min-width: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 2000; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
.section { padding: 2.5rem 0; }
.section-alt { background: var(--surface-50); border-top: 1px solid var(--border-200); border-bottom: 1px solid var(--border-200); }
.section-navy { background: var(--navy-900); color: #E2EEFA; }
.section-navy h2, .section-navy h3 { color: #FFFFFF; }

/* Section Header */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--green-700); background: var(--green-100);
  padding: 0.32rem 0.78rem; border-radius: 999px; margin-bottom: 0.75rem;
  max-width: 100%;
}
.section-eyebrow .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-600); color: #fff; font-size: 0.7rem;
}
.section-head { max-width: 760px; margin-bottom: 1.75rem; }
.section-head h2 { font-size: clamp(1.45rem, 4.5vw, 2.3rem); }
.section-head p.lead { font-size: 0.98rem; color: var(--ink-600); }

/* Header & Navigation (Fits cleanly down to 320px) */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-200);
  width: 100%;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; min-height: 62px;
}
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; min-width: 0; }
.brand-logo img { height: 28px; width: auto; max-width: 128px; object-fit: contain; }
.nav-desktop { display: none; align-items: center; gap: 1.25rem; }
.nav-desktop a { font-size: 0.92rem; font-weight: 600; color: var(--ink-900); white-space: nowrap; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--cyan-600); }
.header-actions { display: flex; align-items: center; gap: 0.45rem; flex-shrink: 0; }
.header-order-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font-family: inherit; font-weight: 700; font-size: 0.94rem;
  padding: 0.75rem 1.25rem; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s ease; text-align: center; line-height: 1.2;
  min-height: 44px; max-width: 100%;
}
.btn-primary { background: var(--green-600); color: #FFFFFF; box-shadow: 0 6px 18px rgba(63, 142, 47, 0.25); }
.btn-primary:hover { background: var(--green-700); color: #FFFFFF; transform: translateY(-1px); }
.btn-navy { background: var(--navy-900); color: #FFFFFF; }
.btn-navy:hover { background: var(--navy-800); color: #FFFFFF; transform: translateY(-1px); }
.btn-outline { background: #FFFFFF; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--surface-100); color: var(--navy-900); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; min-height: 40px; }
.btn-block { width: 100%; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--surface-100); color: var(--navy-900); border: 1px solid var(--border-200);
  padding: 0.42rem 0.7rem; border-radius: 10px; font-weight: 700; font-size: 0.84rem;
  cursor: pointer; min-height: 40px; white-space: nowrap;
}
.cart-btn:hover { background: var(--cyan-100); border-color: var(--cyan-500); }
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--green-600); color: #fff; font-size: 0.74rem; font-weight: 800;
}

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--surface-50); border: 1px solid var(--border-200);
  color: var(--navy-900); cursor: pointer;
}
.mobile-nav {
  display: none; background: #fff; border-top: 1px solid var(--border-200);
  padding: 0.75rem 1rem 1.25rem; box-shadow: var(--shadow-md);
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 0.72rem 0.35rem; font-weight: 600; font-size: 0.96rem;
  color: var(--ink-900); border-bottom: 1px solid var(--surface-100);
}
.mobile-nav .mobile-cta { margin-top: 0.9rem; }

/* Breadcrumb */
.breadcrumb-bar { background: var(--surface-50); border-bottom: 1px solid var(--border-200); padding: 0.6rem 0; font-size: 0.84rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; color: var(--ink-600); }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumb li + li::before { content: "/"; color: #94A3B8; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(245, 250, 255, 0.95) 0%, rgba(235, 245, 252, 0.88) 55%, rgba(232, 246, 234, 0.92) 100%),
              url('../images/uraxen-hero-bg.webp') center/cover no-repeat;
  padding: 1.75rem 0 2.5rem;
  border-bottom: 1px solid var(--border-200);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 1.65rem; align-items: center; }
.hero-badge {
  display: inline-block;
  background: var(--navy-900); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0.36rem 0.8rem; border-radius: 999px; margin-bottom: 0.85rem; letter-spacing: 0.04em;
  max-width: 100%;
}
.hero h1 { font-size: clamp(1.6rem, 6vw, 2.85rem); color: var(--navy-950); margin-bottom: 0.75rem; }
.hero-sub { font-size: 0.98rem; color: var(--ink-700); margin-bottom: 1.1rem; max-width: 600px; }
.hero-highlights { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.55rem; }
.hero-highlights li {
  display: flex; align-items: flex-start; gap: 0.55rem; margin: 0;
  font-size: 0.93rem; color: var(--ink-900);
}
.hero-highlights .chk {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.76rem; margin-top: 2px;
}
.price-badge-wrap { margin: 1.1rem 0; width: 100%; max-width: 470px; }
.price-badge-wrap img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-md); }
.hero-actions { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1rem; }
.hero-actions .btn { width: 100%; }
.hero-meta-strip {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.1rem;
  font-size: 0.82rem; color: var(--ink-600); padding-top: 0.35rem;
}
.hero-meta-strip span strong { color: var(--ink-900); }

/* Product Showcase & Gallery */
.product-stage {
  background: #FFFFFF; border: 1px solid var(--border-200);
  border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-lg);
  width: 100%;
}
.product-main-frame {
  background: #080E1A; border-radius: var(--radius-md);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3.4; padding: 0.85rem; width: 100%;
}
.product-main-frame img { max-height: 260px; max-width: 100%; width: auto; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 0.65rem; margin-top: 0.75rem; justify-content: center; }
.gallery-thumb {
  width: 68px; height: 68px; padding: 4px; border-radius: 10px;
  border: 2px solid var(--border-200); background: #080E1A; cursor: pointer;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--cyan-500); transform: translateY(-2px); }
.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.stage-caption {
  margin-top: 0.75rem; text-align: center; font-size: 0.82rem; color: var(--ink-600);
  padding-top: 0.65rem; border-top: 1px solid var(--surface-100);
}

/* Cards & Grids */
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.15rem; }
.card {
  background: #FFFFFF; border: 1px solid var(--border-200);
  border-radius: var(--radius-md); padding: 1.2rem; box-shadow: var(--shadow-sm);
  width: 100%;
}
.card-tinted { background: var(--surface-50); }
.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--navy-900); color: #fff; font-weight: 800; font-size: 0.82rem;
  margin-bottom: 0.75rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* Responsive Spec Table (Stacks cleanly on narrow mobile < 520px) */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; table-layout: fixed; }
.spec-table tr { display: block; border-bottom: 1px solid var(--border-200); padding: 0.6rem 0; }
.spec-table tr:last-child { border-bottom: none; padding-bottom: 0; }
.spec-table th, .spec-table td {
  display: block; width: 100%; padding: 0.15rem 0; text-align: left; border: none;
  overflow-wrap: anywhere; word-break: break-word;
}
.spec-table th { color: var(--ink-900); font-weight: 700; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.03em; background: transparent; }
.spec-table td { color: var(--ink-700); font-size: 0.94rem; }

/* Notice / Alert boxes */
.notice-box {
  background: var(--cyan-100); border-left: 4px solid var(--cyan-600);
  padding: 1rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem; color: var(--ink-900); margin-top: 1.15rem;
}
.warning-box {
  background: var(--danger-50); border-left: 4px solid var(--danger-600);
  padding: 1rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem; color: #7F1D1D; margin-top: 1.15rem;
}

/* Reviews */
.review-card { display: flex; flex-direction: column; justify-content: space-between; }
.review-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 0.75rem; margin-bottom: 0.65rem; }
.reviewer-name { font-weight: 700; color: var(--ink-900); font-size: 0.98rem; }
.stars { color: var(--amber-500); font-weight: 700; letter-spacing: 1px; font-size: 0.9rem; white-space: nowrap; }
.review-quote { font-style: italic; color: var(--ink-700); margin-bottom: 0.8rem; font-size: 0.94rem; }
.review-meta { font-size: 0.78rem; color: var(--ink-600); border-top: 1px solid var(--surface-100); padding-top: 0.6rem; }

/* Pros & Cons */
.pros-card { border-top: 4px solid var(--green-600); }
.cons-card { border-top: 4px solid var(--navy-800); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; font-size: 0.94rem; }
.check-list .ico { font-weight: 800; flex-shrink: 0; }
.pros-card .ico { color: var(--green-600); }
.cons-card .ico { color: var(--navy-800); }

/* Order Section & Forms */
.order-box {
  background: #FFFFFF; border: 2px solid var(--navy-900);
  border-radius: var(--radius-lg); padding: 1.35rem; box-shadow: var(--shadow-lg);
  width: 100%;
}
.form-group { margin-bottom: 0.95rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink-900); margin-bottom: 0.35rem; }
.form-control {
  width: 100%; padding: 0.78rem 0.9rem; border: 1.5px solid var(--border-200);
  border-radius: 10px; font-size: 1rem; font-family: inherit; color: var(--ink-900);
  background: #fff; transition: border-color 0.2s ease; min-height: 46px;
}
.form-control:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(26, 155, 215, 0.16); }
.form-hint { font-size: 0.8rem; color: var(--ink-600); margin-top: 0.3rem; }
.form-error { color: var(--danger-600); font-size: 0.84rem; font-weight: 600; margin-top: 0.35rem; display: none; }
.form-error.show { display: block; }
.qty-row { display: inline-flex; align-items: center; border: 1.5px solid var(--border-200); border-radius: 10px; overflow: hidden; }
.qty-btn {
  width: 42px; height: 42px; border: none; background: var(--surface-50);
  font-size: 1.15rem; font-weight: 700; color: var(--navy-900); cursor: pointer;
}
.qty-btn:hover { background: var(--surface-100); }
.qty-val { min-width: 42px; text-align: center; font-weight: 700; color: var(--ink-900); }

/* FAQ Accordion */
.faq-list { display: grid; gap: 0.75rem; max-width: 880px; width: 100%; }
.faq-item { background: #fff; border: 1px solid var(--border-200); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 1rem 1.1rem;
  font-family: inherit; font-size: 0.96rem; font-weight: 700; color: var(--ink-900);
  display: flex; align-items: center; justify-content: space-between; gap: 0.85rem; cursor: pointer;
}
.faq-q .plus { font-size: 1.25rem; color: var(--cyan-600); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.1rem 1rem; color: var(--ink-700); border-top: 1px solid var(--surface-100); padding-top: 0.8rem; font-size: 0.94rem; }
.faq-item.open .faq-a { display: block; }

/* Cart Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(7, 27, 62, 0.55); z-index: 1100;
  display: none; opacity: 0; transition: opacity 0.2s ease;
}
.drawer-backdrop.open { display: block; opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 100vw;
  background: #fff; z-index: 1200; box-shadow: -10px 0 40px rgba(7, 27, 62, 0.2);
  transform: translateX(100%); transition: transform 0.25s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--border-200);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-body { padding: 1.15rem; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 1rem 1.15rem; border-top: 1px solid var(--border-200); background: var(--surface-50); }
.cart-item {
  display: flex; gap: 0.8rem; align-items: center;
  padding: 0.85rem; border: 1px solid var(--border-200); border-radius: 12px; margin-bottom: 0.9rem;
}
.cart-item img { width: 58px; height: 58px; object-fit: contain; background: #080E1A; border-radius: 8px; padding: 4px; flex-shrink: 0; }
.close-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-200);
  background: var(--surface-50); color: var(--ink-900); font-size: 1.25rem; cursor: pointer;
}

/* Sticky Bottom Scroll Bar (Clean Mobile-First, Order Now Only) */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  background: rgba(7, 27, 62, 0.97); color: #fff;
  border-top: 2px solid var(--cyan-500);
  padding: 0.55rem 0; transform: translateY(110%); transition: transform 0.25s ease;
  box-shadow: 0 -6px 24px rgba(7, 27, 62, 0.25);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.sticky-prod { display: flex; align-items: center; gap: 0.6rem; min-width: 0; flex: 1; }
.sticky-prod img.thumb { width: 40px; height: 40px; object-fit: contain; background: #080E1A; border-radius: 8px; padding: 2px; display: none; flex-shrink: 0; }
.sticky-prod img.price-sm { height: 36px; width: auto; max-width: 100%; border-radius: 8px; object-fit: contain; }
.sticky-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* Footer */
.site-footer { background: var(--navy-950); color: #CBD8E8; padding: 2.5rem 0 2rem; font-size: 0.9rem; }
.site-footer a { color: #E2EEFA; }
.site-footer a:hover { color: #7DD3FC; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.65rem; margin-bottom: 1.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 1.15rem;
  font-size: 0.8rem; color: #9FB3CC;
}

/* Toast */
.toast {
  position: fixed; bottom: 84px; left: 1rem; right: 1rem; z-index: 1300;
  background: var(--navy-900); color: #fff; padding: 0.85rem 1.1rem;
  border-radius: 12px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--green-600);
  font-size: 0.88rem; font-weight: 600; display: none; text-align: center;
}
.toast.show { display: block; }

/* Responsive Breakpoints */
@media (min-width: 480px) {
  .header-order-btn { display: inline-flex; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
  .cart-drawer { max-width: 430px; }
  .toast { left: auto; right: 18px; max-width: 380px; text-align: left; }
}
@media (min-width: 520px) {
  .spec-table tr { display: table-row; padding: 0; }
  .spec-table th, .spec-table td {
    display: table-cell; padding: 0.8rem 0.95rem; border-bottom: 1px solid var(--border-200); vertical-align: top;
  }
  .spec-table th { width: 38%; background: var(--surface-50); text-transform: none; letter-spacing: 0; font-size: 0.92rem; }
  .spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
}
@media (min-width: 640px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.25rem 0; }
  .header-inner { min-height: 70px; gap: 1rem; }
  .brand-logo img { height: 36px; max-width: 170px; }
  .card { padding: 1.5rem; }
  .order-box { padding: 1.75rem; }
  .product-main-frame img { max-height: 340px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
  .sticky-prod img.thumb { display: block; }
  .sticky-prod img.price-sm { height: 40px; }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
  .hero { padding: 2.75rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1.12fr 0.88fr; gap: 2.75rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
}
