/* =====================================================
   EMBER SUPPLY CLEAN STYLE.CSS
   Replace your current style.css with this file.
   Theme: premium dark / charcoal / off-white / amber
===================================================== */

/* -------------------------
   GLOBAL THEME
------------------------- */
:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --surface: #111111;
  --surface-light: #1a1a1a;
  --surface-hover: #222222;

  --text: #f5f1eb;
  --text-soft: #d7d0c8;
  --muted: #a6a6a6;

  --accent: #c46a2b;
  --accent-light: #e08a45;
  --accent-dark: #8f4318;

  --border: #2a2a2a;
  --white: #ffffff;
  --black: #000000;

  --danger: #d91f05;
  --success: #00d26a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-light);
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* -------------------------
   TOP ANNOUNCEMENT BAR
------------------------- */
.announcement-bar,
.top-shipping-banner {
  background: var(--accent-dark);
  color: var(--white);
  text-align: center;
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 13px;
  padding: 9px 12px;
  text-transform: uppercase;
}

/* -------------------------
   NAVBAR
------------------------- */
.ember-navbar,
.custom-navbar,
.site-header {
  min-height: 72px;
  background: rgba(5, 5, 5, 0.96) !important;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 12px 0;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.custom-navbar {
  padding-left: 0;
  padding-right: 0;
}

.ember-brand,
.navbar-brand,
.logo,
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 0 18px rgba(196, 106, 43, 0.25);
}

.brand-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}

.header-logo,
.nav-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-nav {
  gap: 8px;
  align-items: center;
}

.navbar .nav-link,
.custom-navbar .nav-link,
.site-header nav a {
  color: var(--text-soft) !important;
  font-size: 16px;
  font-weight: 800;
  padding: 10px 14px !important;
  border-radius: 999px;
  transition: 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus,
.site-header nav a:hover {
  color: var(--black) !important;
  background: var(--accent-light);
  transform: translateY(-1px);
}

.dropdown-menu {
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-top: 10px;
  min-width: 230px;
  box-shadow: var(--shadow-soft);
}

.dropdown-item {
  color: var(--text-soft) !important;
  font-weight: 800;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--surface-hover) !important;
  color: var(--accent-light) !important;
}

.dropdown-divider {
  border-color: var(--border);
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 8px 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.login-link {
  border: 1px solid var(--border);
}

.register-link {
  background: var(--accent);
  color: var(--black) !important;
}

.register-link:hover {
  background: var(--accent-light) !important;
  color: var(--black) !important;
}

.logout-btn,
.link-button {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: 0.2s ease;
}

.logout-btn:hover,
.link-button:hover {
  background: var(--accent);
  color: var(--black);
}

/* Cart icons */
.cart-link,
.mobile-cart-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text) !important;
  font-size: 22px;
}

.cart-link i,
.mobile-cart-link i {
  font-size: 24px;
  line-height: 1;
}

.cart-count,
#cartCount,
#cartCountDesktop,
#mobileCartCount {
  background: var(--accent);
  color: var(--black);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-actions,
.mobile-nav-actions {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.desktop-cart,
.desktop-cart-item {
  display: list-item;
}

/* -------------------------
   BUTTONS
------------------------- */
button,
.btn,
.primary-btn,
.secondary-btn,
.add-cart-btn,
.checkout-btn,
.cart-drawer-checkout,
.hero-btn {
  font-family: inherit;
  border-radius: 999px;
  font-weight: 900;
}

.primary-btn,
.add-cart-btn,
.checkout-btn,
.cart-drawer-checkout,
.hero-btn.primary,
.login-red-btn,
.small-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--black);
  border: 1px solid var(--accent);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease;
}

.primary-btn:hover,
.add-cart-btn:hover,
.checkout-btn:hover,
.cart-drawer-checkout:hover,
.hero-btn.primary:hover,
.login-red-btn:hover,
.small-register-btn:hover {
  background: var(--accent-light);
  color: var(--black);
  transform: translateY(-1px);
}

.secondary-btn,
.hero-btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease;
}

.secondary-btn:hover,
.hero-btn.secondary:hover {
  color: var(--accent-light);
  border-color: var(--accent);
  background: transparent;
  transform: translateY(-1px);
}

/* -------------------------
   HOME HERO
------------------------- */
.hero,
.ember-hero,
.premium-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(circle at top left, rgba(196, 106, 43, 0.22), transparent 35%),
    linear-gradient(135deg, #050505 0%, #111111 55%, #050505 100%);
  color: var(--text);
  overflow: hidden;
}

.hero-left,
.hero-right,
.premium-hero-content,
.premium-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero-left,
.premium-hero-content {
  padding: 70px 8%;
}

.hero-right,
.premium-hero-image {
  padding: 0;
}

.hero-content {
  max-width: 650px;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
}

.eyebrow,
.hero-eyebrow,
.section-eyebrow,
.product-category {
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero-content h1,
.premium-hero-content h1 {
  color: var(--text);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin: 0 0 24px;
}

.hero-subtitle,
.hero-text {
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 34px;
}

.hero-actions,
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image-card {
  width: min(520px, 86%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-image-card img,
.hero-right > img,
.premium-hero-image img {
  width: 100%;
  height: min(620px, calc(100vh - 120px));
  object-fit: cover;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 35px;
}

.hero-logo {
  width: 260px;
  max-width: 45%;
  height: auto;
  object-fit: contain;
}

/* -------------------------
   HOME CATEGORY / TRUST
------------------------- */
.home-category-section {
  padding: 70px 6vw;
  background: var(--bg);
  color: var(--text);
}

.home-category-section h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 0 0 34px;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-category-card {
  min-height: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: end;
  padding: 26px;
  border-radius: var(--radius-lg);
  font-size: 26px;
  font-weight: 900;
  transition: 0.2s ease;
}

.home-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  color: var(--accent-light);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip div {
  padding: 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 15px;
}

.trust-strip div:last-child {
  border-right: none;
}

.trust-strip i {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--accent-light);
}

/* -------------------------
   SHOP / PRODUCTS
------------------------- */
.shop-section,
.products-section {
  background: var(--bg);
  color: var(--text);
  padding: 60px 6%;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 44px;
}

.shop-header h1,
.section-title {
  color: var(--text);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  margin: 0;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 34px;
}

#sortSelect {
  min-width: 260px;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  background: var(--surface-light);
  color: var(--text);
  border-radius: var(--radius-sm);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 106, 43, 0.75);
  box-shadow: var(--shadow-card);
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-image-wrap {
  position: relative;
  background: var(--surface-light);
  aspect-ratio: 1 / 1;
  min-height: unset;
  display: block;
  overflow: hidden;
}

.product-image-wrap img,
.product-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface-light);
  padding: 0;
  margin: 0;
}

.product-image-wrap.out-of-stock img {
  opacity: 0.35;
  filter: grayscale(1);
}

.stock-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stock-badge.in-stock {
  background: var(--accent);
  color: var(--black);
}

.stock-badge.sold-out {
  background: #333;
  color: #aaa;
}

.stock-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  background: var(--black);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  text-align: center;
  letter-spacing: 4px;
  font-weight: 900;
  line-height: 1.3;
}

.product-info {
  padding: 18px 18px 8px;
}

.product-category {
  margin: 0 0 8px;
  font-size: 0.72rem;
}

.product-card h2,
.product-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
  min-height: unset;
  margin: 0;
  line-height: 1.35;
}

.product-bottom {
  padding: 8px 18px 18px;
}

.price-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}

.price,
.product-card .price {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.qty-row label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.qty-input {
  width: 62px;
  min-height: 36px;
  padding: 7px 8px;
  background: var(--surface-light);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 800;
}

.qty-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 106, 43, 0.18);
}

.add-cart-btn {
  width: 100%;
  min-height: 44px;
}

.add-cart-btn:disabled {
  background: #333;
  color: #777;
  border-color: #333;
  cursor: not-allowed;
  transform: none;
}

.empty-products {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.empty-products h2 {
  color: var(--text);
  font-weight: 900;
}

.empty-products p {
  color: var(--muted);
}

/* -------------------------
   PRODUCT DETAIL PAGE
------------------------- */
.product-detail-page {
  background: var(--bg);
  color: var(--text);
  padding: 60px 6%;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.product-detail-image {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-detail-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.product-detail-info h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin: 0 0 14px;
}

/* -------------------------
   CART DRAWER
------------------------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 1998;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(420px, 100%);
  height: 100vh;
  background: var(--surface);
  color: var(--text);
  border-left: 1px solid var(--border);
  z-index: 1999;
  transition: right 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h2 {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0;
}

.cart-drawer-header button {
  background: transparent;
  color: var(--text);
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

/* -------------------------
   CART PAGE
------------------------- */
.cart-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 28px;
  background: var(--bg);
  color: var(--text);
}

.cart-page h1 {
  color: var(--text);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0 0 26px;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  background: var(--surface-light);
  border-radius: var(--radius-sm);
}

.cart-item h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--text);
}

.cart-item p {
  color: var(--muted);
  margin: 0 0 8px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button,
.remove-btn {
  background: var(--surface-light);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  cursor: pointer;
}

.qty-controls button:hover,
.remove-btn:hover {
  background: var(--accent);
  color: var(--black);
}

.cart-summary {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.cart-summary h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.full-btn {
  width: 100%;
}

.small-note {
  font-size: 14px;
  color: var(--muted);
}

/* -------------------------
   AUTH / ACCOUNT / DASHBOARD
------------------------- */
.auth-page,
.account-page,
.dashboard-page,
.contact-page {
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(circle at top right, rgba(196, 106, 43, 0.16), transparent 35%),
    var(--bg);
  color: var(--text);
  padding: 60px 6%;
}

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card,
.dashboard-card,
.contact-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.auth-card h1,
.dashboard-card h1,
.contact-card h1,
.account-panel h2 {
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.auth-card p,
.dashboard-card p,
.contact-card p,
.account-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-card input {
  width: 100%;
  margin: 10px 0;
}

.center-text {
  text-align: center;
}

.account-hero {
  padding: 30px 0 24px;
}

.account-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 8px;
  margin: 0;
}

.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 44px;
  align-items: start;
}

.account-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-menu-btn {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
}

.account-menu-btn i {
  font-size: 18px;
  text-align: center;
}

.account-menu-btn.active,
.account-menu-btn:hover {
  background: var(--accent);
  color: var(--black);
}

.account-content,
.account-panel {
  background: transparent;
  color: var(--text);
}

.account-panel {
  display: none;
}

.account-panel.active {
  display: block;
}

.account-panel h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.account-panel h3 {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  margin: 22px 0 16px;
}

.account-form,
.register-profile-form,
.dashboard-small-form {
  width: 100%;
  max-width: 720px;
}

.account-form-row,
.register-form-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}

.register-form-row.align-top {
  align-items: start;
}

.account-form-row label,
.register-form-row label,
label {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 800;
}

.register-form-row label span {
  color: var(--danger);
}

input,
textarea,
select,
.form-control {
  width: 100%;
  background: var(--surface-light) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 15px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(196, 106, 43, 0.18) !important;
}

.remember-row,
.register-submit-row,
.account-message,
.account-bottom-links,
.social-login-area {
  margin-left: 234px;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}

.remember-row input {
  width: 18px;
  height: 18px;
  min-height: unset;
}

.account-message {
  margin-top: 14px;
  font-weight: 800;
}

.account-bottom-links {
  margin-top: 18px;
}

.account-bottom-links a,
.text-button {
  color: var(--accent-light);
}

.text-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.social-login-area {
  margin-top: 30px;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  height: 50px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  font-weight: 800;
}

.facebook-btn {
  background: #1877f2;
  color: var(--white);
  border: 1px solid #1877f2;
}

.google-btn {
  background: var(--white);
  color: #222;
  border: 1px solid #777;
}

.dashboard-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.dashboard-box {
  min-height: 130px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.dashboard-box i {
  font-size: 32px;
}

.dashboard-box:hover {
  background: var(--accent);
  color: var(--black);
}

/* -------------------------
   CONTACT SECTIONS
------------------------- */
.home-contact-section {
  background: linear-gradient(135deg, #050505 0%, #151515 100%);
  padding: 90px 6vw;
  color: var(--text);
}

.home-contact-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 55px;
  align-items: center;
}

.home-contact-info h2 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1;
  font-weight: 900;
  margin: 0 0 22px;
  color: var(--text);
}

.home-contact-info p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 520px;
}

.contact-info-card {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 440px;
}

.contact-info-card i {
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 50%;
}

.contact-info-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-info-card strong {
  color: var(--text);
}

.home-contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.home-contact-form input,
.home-contact-form textarea {
  margin-bottom: 14px;
}

.home-contact-form button {
  width: 100%;
}

.home-contact-status {
  margin-top: 14px;
  font-weight: 800;
}

/* -------------------------
   FOOTER
------------------------- */
.ember-footer,
footer {
  background: #030303;
  border-top: 1px solid var(--border);
  color: var(--text);
  padding: 60px 6% 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
}

.ember-footer h3,
.ember-footer h4,
footer h3,
footer h4 {
  color: var(--text);
  font-weight: 900;
  margin: 0 0 14px;
}

.ember-footer p,
footer p {
  color: var(--muted);
  max-width: 360px;
}

.ember-footer a,
footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 9px;
  transition: color 0.2s ease;
}

.ember-footer a:hover,
footer a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.age-notice {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 16px;
}

/* -------------------------
   AGE VERIFICATION POPUP
------------------------- */
#ageGate,
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

#ageGate.active,
.age-gate.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.age-gate-modal,
.age-gate-card {
  position: relative;
  width: min(90%, 520px);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.age-gate-logo {
  width: 200px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.age-gate-modal h2,
.age-gate-card h2 {
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 14px;
}

.age-gate-modal p,
.age-gate-card p {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.age-gate-buttons,
.age-gate-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.age-gate-buttons button {
  border: none;
  background: var(--accent);
  color: var(--black);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.age-gate-buttons button:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

#ageNoBtn {
  background: #333;
  color: var(--text);
}

/* -------------------------
   CART TOAST
   Optional. Safe to keep even if JS does not use it.
------------------------- */
.cart-toast {
  position: fixed;
  top: 95px;
  right: 24px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-soft);
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast i {
  color: var(--success);
  font-size: 18px;
}

/* -------------------------
   RESPONSIVE
------------------------- */
@media (max-width: 991px) {
  .mobile-actions,
  .mobile-nav-actions {
    display: flex;
  }

  .desktop-cart,
  .desktop-cart-item {
    display: none !important;
  }

  .custom-navbar,
  .ember-navbar {
    padding: 12px 0;
  }

  .navbar-nav {
    align-items: stretch;
    gap: 8px;
    padding-top: 18px;
  }

  .navbar .nav-link,
  .custom-navbar .nav-link {
    display: inline-block;
    padding: 13px 16px !important;
  }

  .brand-text {
    font-size: 22px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-logo,
  .nav-logo {
    height: 42px;
  }

  .announcement-bar,
  .top-shipping-banner {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero,
  .ember-hero,
  .premium-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left,
  .premium-hero-content {
    padding: 56px 24px;
  }

  .hero-right,
  .premium-hero-image {
    min-height: 360px;
  }

  .hero-image-card {
    width: calc(100% - 32px);
    margin-bottom: 40px;
  }

  .hero-image-card img,
  .hero-right > img,
  .premium-hero-image img {
    height: 420px;
  }

  .shop-header {
    display: block;
  }

  #sortSelect {
    width: 100%;
    min-width: unset;
    margin-top: 22px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
  }

  .home-category-grid,
  .trust-strip,
  .home-contact-inner,
  .footer-grid,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .account-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .account-form-row,
  .register-form-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .remember-row,
  .register-submit-row,
  .account-message,
  .account-bottom-links,
  .social-login-area {
    margin-left: 0;
  }

  .social-login-area {
    width: 100%;
    max-width: 100%;
  }

  .dashboard-boxes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .account-page,
  .auth-page,
  .dashboard-page,
  .contact-page {
    padding: 36px 16px;
  }

  .account-hero {
    padding: 20px 0 16px;
  }

  .account-hero h1 {
    font-size: 42px;
    line-height: 1;
    letter-spacing: 5px;
  }

  .account-menu-btn {
    width: 100%;
    min-height: 54px;
    font-size: 15px;
    letter-spacing: 4px;
  }

  .register-profile-form h2,
  .register-profile-form h3,
  .account-panel h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  .register-form-row,
  .account-form-row {
    margin-bottom: 16px;
  }

  .register-form-row label,
  .account-form-row label {
    font-size: 16px;
  }

  .register-form-row input,
  .register-form-row textarea,
  .account-form-row input,
  .dashboard-small-form input {
    height: 46px;
    font-size: 16px;
  }

  .small-register-btn,
  .login-red-btn,
  .dashboard-action-btn,
  .primary-btn,
  .secondary-btn {
    width: 100%;
    max-width: 100%;
  }

  .cart-item {
    grid-template-columns: 82px 1fr;
  }

  .cart-item img {
    width: 82px;
    height: 82px;
  }

  .cart-actions {
    grid-column: 1 / -1;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-logo {
    width: 220px;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1,
  .premium-hero-content h1 {
    font-size: 3.1rem;
  }

  .cart-toast {
    top: 88px;
    right: 14px;
    left: 14px;
    justify-content: center;
  }

  .age-gate-modal,
  .age-gate-card {
    width: 88%;
    padding: 30px 22px;
    border-radius: 18px;
  }

  .age-gate-logo {
    width: 170px;
  }

  .age-gate-modal h2,
  .age-gate-card h2 {
    font-size: 24px;
  }

  .age-gate-modal p,
  .age-gate-card p {
    font-size: 15px;
  }

  .age-gate-buttons button {
    padding: 11px 22px;
    font-size: 15px;
  }
}
.drawer-cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.drawer-cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-light);
}

.drawer-cart-info h3 {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 900;
  margin: 0 0 4px;
}

.drawer-cart-info p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.drawer-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-qty-btn,
.drawer-remove-btn {
  background: var(--surface-light);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.drawer-qty-btn {
  width: 28px;
  height: 28px;
  font-weight: 900;
}

.drawer-remove-btn {
  width: 28px;
  height: 28px;
  font-size: 18px;
  line-height: 1;
}

.drawer-qty-btn:hover,
.drawer-remove-btn:hover {
  background: var(--accent);
  color: var(--black);
}

.drawer-cart-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.drawer-cart-side strong {
  color: var(--text);
  font-size: 0.9rem;
}
/* =====================================================
   CHECKOUT / CART PAGE CLEAN FIX
   Makes cart items smaller and cleaner
===================================================== */

.cart-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 70px;
  background: var(--bg);
  color: var(--text);
}

.cart-page h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 26px;
}

/* The full cart item row */
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

/* This is the important part: stops massive product images */
.cart-item img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-light);
}

/* Product name/details */
.cart-item h3 {
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 5px;
  color: var(--text);
}

.cart-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 8px;
}

/* Right-side price/actions */
.cart-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 120px;
}

.cart-actions strong {
  font-size: 1rem;
  color: var(--text);
}

/* Quantity buttons */
.qty-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.qty-controls button,
.remove-btn {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  background: var(--surface-light);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
}

.qty-controls button:hover,
.remove-btn:hover {
  background: var(--accent);
  color: var(--black);
}

.remove-btn {
  width: auto;
  min-width: unset;
  padding: 0 12px;
}

/* Cart summary box */
.cart-summary {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.cart-summary h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

#checkoutBtn,
.cart-summary .primary-btn {
  width: auto;
  min-width: 180px;
  padding: 12px 24px;
  font-size: 0.95rem;
}

/* Mobile cart layout */
@media (max-width: 650px) {
  .cart-item {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }

  .cart-item img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
  }

  .cart-actions {
    grid-column: 1 / -1;
    align-items: flex-start;
    margin-left: 78px;
  }

  #checkoutBtn,
  .cart-summary .primary-btn {
    width: 100%;
  }
}
/* =====================================================
   EMERGENCY CART / CHECKOUT IMAGE FIX
   Put this at the absolute bottom of style.css
===================================================== */

.cart-page img,
.checkout-page img,
#cartItems img,
#cartContainer img,
#cartList img,
.cart-items img,
.cart-item img,
.cart-product img,
.cart-product-image,
.cart-item-image {
  width: 70px !important;
  height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Stops the whole cart row from stretching huge */
.cart-page .cart-item,
.checkout-page .cart-item,
#cartItems > div,
#cartContainer > div,
#cartList > div,
.cart-items > div {
  display: grid !important;
  grid-template-columns: 70px 1fr auto !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--border) !important;
}

/* Product text sizing */
.cart-page h2,
.cart-page h3,
.checkout-page h2,
.checkout-page h3,
#cartItems h2,
#cartItems h3 {
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin: 0 0 6px !important;
}

/* Price / paragraph sizing */
.cart-page p,
.checkout-page p,
#cartItems p {
  font-size: 14px !important;
  margin: 0 0 6px !important;
}

/* Mobile */
@media (max-width: 650px) {
  .cart-page .cart-item,
  .checkout-page .cart-item,
  #cartItems > div,
  #cartContainer > div,
  #cartList > div,
  .cart-items > div {
    grid-template-columns: 60px 1fr !important;
  }

  .cart-page img,
  .checkout-page img,
  #cartItems img,
  #cartContainer img,
  #cartList img,
  .cart-items img {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
  }
}
/* =====================================================
   NAVBAR MOBILE MENU BUTTON FIX
===================================================== */

.navbar-toggler {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  background: var(--surface-light) !important;
  z-index: 9999 !important;
}

.navbar-toggler-icon {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  filter: invert(1) !important;
  opacity: 1 !important;
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: flex !important;
  }

  .mobile-actions,
  .mobile-nav-actions {
    display: flex !important;
  }

  .navbar-collapse {
    width: 100% !important;
  }
}