/* ── Carrot Labs — Shared Stylesheet ───────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --carrot: #e8621a;
  --carrot-dark: #c44e0e;
  --black: #000;
  --white: #fff;
  --footer-bg: #131315;
  --gray-light: #f9f9f9;
  --gray-border: rgba(229,231,235,0.8);
  --text-muted: rgba(0,0,0,0.55);
  --text-soft: rgba(0,0,0,0.7);
  --green: #16a34a;
}

html { scroll-behavior: smooth; }
body { font-family: 'Anek Telugu', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--black); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }

/* ── RUO Banner ───────── */
.ruo-banner { background: rgba(255,200,50,0.08); border-bottom: 1px solid rgba(255,200,50,0.2); text-align: center; padding: 7px 16px; font-size: 12px; color: rgba(0,0,0,0.55); letter-spacing: 0.2px; }

/* ── Nav ──────────────── */
.main-nav { background: var(--white); border-bottom: 1px solid var(--gray-border); height: 64px; display: flex; align-items: center; position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.nav-logo { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; display: flex; align-items: center; gap: 9px; color: var(--black); }
.nav-logo svg { width: 26px; height: auto; flex-shrink: 0; }
.nav-links { display: none; align-items: center; gap: 28px; }
@media(min-width:768px) { .nav-links { display: flex; } }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--black); position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1.5px; background: var(--black); transform: scaleX(0); transition: transform 0.2s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; color: var(--black); font-size: 18px; transition: background 0.15s; }
.nav-icon:hover { background: var(--gray-light); }
/* Hamburger button — visible only on mobile */
.nav-hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 6px; background: none; border: none; cursor: pointer; }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--black); border-radius: 2px; transition: opacity 0.2s; }
@media(min-width:768px) { .nav-hamburger { display: none; } }
/* Mobile drawer */
.nav-mobile-drawer { display: none; position: fixed; inset: 0; background: var(--white); z-index: 200; flex-direction: column; padding: 0; overflow-y: auto; }
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-header { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; border-bottom: 1px solid var(--gray-border); }
.nav-mobile-close { font-size: 28px; line-height: 1; background: none; border: none; cursor: pointer; padding: 4px 8px; color: var(--black); }
.nav-mobile-links { display: flex; flex-direction: column; padding: 12px 0; }
.nav-mobile-links a { font-size: 20px; font-weight: 600; padding: 18px 24px; border-bottom: 1px solid var(--gray-border); color: var(--black); }

/* ── Breadcrumb ───────── */
.breadcrumb { font-size: 13px; color: var(--text-muted); padding: 14px 24px; max-width: 1280px; margin: 0 auto; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span { color: var(--black); font-weight: 500; }

/* ── Buttons ──────────── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--black); color: var(--white); border-radius: 9999px; padding: 14px 28px; font-size: 15px; font-weight: 600; transition: background 0.2s, transform 0.15s; white-space: nowrap; }
.btn-primary:hover { background: #222; transform: translateY(-1px); }
.btn-cart { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--carrot); color: var(--white); border-radius: 12px; padding: 16px 28px; font-size: 16px; font-weight: 700; transition: background 0.2s, transform 0.15s; width: 100%; cursor: pointer; font-family: inherit; }
.btn-cart:hover { background: var(--carrot-dark); transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--black); border: 1.5px solid rgba(0,0,0,0.25); border-radius: 9999px; padding: 11px 24px; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--black); background: var(--black); color: var(--white); }

/* ── Page container ───── */
.page-container { max-width: 1280px; margin: 0 auto; padding: 0 24px 80px; }

/* ── Section headings ─── */
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
h1.page-title { font-size: clamp(28px,4vw,44px); font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
h2.section-title { font-size: clamp(22px,3vw,32px); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 20px; }

/* ── Product grid ─────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card-link { display: block; border-radius: 16px; border: 1px solid var(--gray-border); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; background: var(--white); }
.product-card-link:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.pc-img { height: 200px; display: flex; align-items: center; justify-content: center; }
.pc-body { padding: 14px 16px 18px; border-top: 1px solid var(--gray-border); }
.pc-category { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.pc-name { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
.pc-ruo-tag { font-size: 10px; color: var(--text-muted); margin-top: 3px; }
.pc-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.pc-from { font-size: 11px; color: var(--text-muted); }
.pc-price { font-size: 17px; font-weight: 700; }

/* ── Vial mockup ──────── */
.vial-mockup { width: 80px; aspect-ratio: 0.5; border-radius: 6px 6px 10px 10px; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(0,0,0,0.14); }
.vial-mockup .vm-cap { height: 14%; border-radius: 5px 5px 0 0; }
.vial-mockup .vm-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 4px; }
.vial-mockup .vm-name { font-size: 10px; font-weight: 700; color: rgba(0,0,0,0.6); text-align: center; }
.vial-mockup .vm-brand { font-size: 7px; color: rgba(0,0,0,0.3); }

/* ── Product detail page ─ */
.product-hero { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 32px 0 48px; }
@media(min-width:768px) { .product-hero { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-image-wrap { background: var(--gray-light); border-radius: 20px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; min-height: 320px; max-height: 480px; position: relative; overflow: hidden; }
.product-ruo-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,0.85); backdrop-filter: blur(4px); border-radius: 9999px; padding: 5px 12px; font-size: 11px; font-weight: 600; color: rgba(0,0,0,0.6); }

.product-info .product-category { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.product-info h1 { font-size: clamp(26px,4vw,38px); font-weight: 700; letter-spacing: -0.8px; line-height: 1.1; margin-bottom: 10px; }
.product-info .product-code { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.product-info .product-blurb { font-size: 15px; color: var(--text-soft); line-height: 1.7; margin-bottom: 24px; max-width: 480px; }
.product-badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.product-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--gray-light); border-radius: 9999px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--black); }
.product-badge.green { background: #dcfce7; color: #166534; }

.size-select-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.size-btn { border: 1.5px solid var(--gray-border); border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 500; background: var(--white); cursor: pointer; font-family: inherit; transition: all 0.15s; }
.size-btn:hover, .size-btn.active { border-color: var(--black); background: var(--black); color: var(--white); }
.price-display { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 16px; }
.price-display .price-from { font-size: 14px; font-weight: 400; color: var(--text-muted); margin-right: 6px; }
.cart-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.cart-note strong { color: var(--black); }

/* ── Research content ─── */
.research-section { border-top: 1px solid var(--gray-border); padding-top: 48px; margin-top: 48px; }
.research-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 28px; border-bottom: 1px solid var(--gray-border); padding-bottom: 0; }
.rtab { padding: 10px 18px; font-size: 14px; font-weight: 500; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font-family: inherit; color: var(--text-soft); transition: color 0.15s; margin-bottom: -1px; }
.rtab.active { color: var(--black); border-bottom-color: var(--black); }
.rtab-content { display: none; }
.rtab-content.active { display: block; }
.rtab-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.rtab-content p { font-size: 15px; color: var(--text-soft); line-height: 1.75; margin-bottom: 16px; max-width: 720px; }
.rtab-content ul { padding-left: 20px; margin-bottom: 16px; }
.rtab-content ul li { font-size: 15px; color: var(--text-soft); line-height: 1.75; margin-bottom: 8px; }
.mol-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.mol-table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-border); }
.mol-table td:first-child { font-weight: 600; width: 200px; color: rgba(0,0,0,0.65); }
.mol-table td:last-child { color: var(--text-soft); font-family: monospace; }

/* ── COA block ─────────── */
.coa-block { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 22px 24px; display: flex; align-items: flex-start; gap: 16px; margin: 24px 0; }
.coa-icon { font-size: 28px; flex-shrink: 0; }
.coa-block h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.coa-block p { font-size: 13px; color: #166534; line-height: 1.6; }

/* ── Related products ─── */
.related-section { border-top: 1px solid var(--gray-border); padding-top: 48px; margin-top: 48px; }

/* ── Footer ────────────── */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,0.7); padding: 48px 24px 32px; margin-top: 80px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; justify-content: space-between; }
.footer-brand-col { max-width: 260px; }
.footer-brand-col .logo { font-size: 18px; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-brand-col p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-links-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-links-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-address { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; margin-top: 10px; font-style: normal; }
.footer-address a { color: rgba(255,255,255,0.4); }

/* ── RUO Disclaimer Box ─── */
.ruo-disclaimer-box { background: #fffbe6; border: 1.5px solid #f5c518; border-radius: 10px; padding: 16px 18px; margin-top: 20px; font-size: 0.85rem; color: #5a4a00; line-height: 1.6; }
.ruo-disclaimer-box strong { color: #7a5f00; }

/* ── Responsive ─────────── */
@media(max-width:640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
