/* =============================================
   SHOP FRONTEND — London Studios-inspired design
   ============================================= */

:root {
  --theme-color: #5865F2;
  --bg-base:     #0d0e16;
  --bg-card:     #131421;
  --bg-card-alt: #1a1b2e;
  --border:      rgba(255, 255, 255, 0.07);
  --border-hover:rgba(255, 255, 255, 0.15);
  --text:        #c8cadd;
  --text-muted:  #6b6e87;
  --text-bright: #e8eaf6;
  --radius:      10px;
  --radius-lg:   14px;
  --transition:  0.2s ease;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: 'Inter', 'Exo', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Content divs between header and footer grow to fill remaining space */
body > div:not(.modal):not(.offcanvas):not(.footerimage):not(.shop-footer):not(.bg-theme) {
    flex-grow: 1;
}

a { color: var(--theme-color); text-decoration: none; }
a:hover { color: var(--text-bright); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: var(--text-bright); font-weight: 700; }

hr { border-color: var(--border); opacity: 1; margin: 1.5rem 0; }

/* =============================================
   UTILITY CLASSES (legacy-compatible)
   ============================================= */

.bg-thatdark {
  background: var(--bg-card) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
/* Footer should never have border-radius or border */
.footerimage.bg-thatdark {
  border-radius: 0 !important;
  border: none !important;
  border-top: 1px solid var(--border) !important;
}
.bg-theme  { background: var(--theme-color) !important; }
.bg-dark   { background: #0a0b12 !important; }
.bg-input-dark { background: #0e0f1c !important; }

.text-theme    { color: var(--theme-color) !important; }
.text-muted, .text-secondary { color: var(--text-muted) !important; }
.text-white    { color: #fff !important; }
.text-bright   { color: var(--text-bright) !important; }
.text-danger   { color: #f87171 !important; }
.text-success  { color: #4ade80 !important; }
.text-warning  { color: #facc15 !important; }

.bd-theme { border-color: var(--theme-color) !important; border-width: 1px !important; border-style: solid !important; }
.boxshadowlight { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }

.bigfont { font-weight: 800; letter-spacing: -0.02em; }
.crossout { text-decoration: line-through; opacity: 0.5; }
.filterblurextra { filter: blur(4px); transition: filter 0.2s; }
.filterblurextra:hover { filter: none; }

/* =============================================
   BUTTONS
   ============================================= */

.btn-theme {
  background: var(--theme-color);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-theme:hover { opacity: 0.88; transform: translateY(-1px); color: #fff !important; }

.btn-outline-theme {
  border: 1px solid var(--theme-color);
  color: var(--theme-color) !important;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  transition: background var(--transition), color var(--transition);
}
.btn-outline-theme:hover {
  background: var(--theme-color);
  color: #fff !important;
}
.nohoverbuttonchange:hover { transform: none !important; opacity: 1 !important; }

.btn-outline-warning { border-color: #facc15; color: #facc15 !important; }
.btn-outline-warning:hover { background: #facc15; color: #000 !important; }
.btn-outline-danger { border-color: #f87171; color: #f87171 !important; }
.btn-outline-danger:hover { background: #f87171; color: #fff !important; }
.btn-outline-secondary { border-color: rgba(255,255,255,0.2); color: var(--text) !important; }
.btn-outline-secondary:hover { background: rgba(255,255,255,0.08); }
.btn-warning { background: #facc15; color: #000 !important; border: none; }
.btn-danger  { background: #f87171; color: #fff !important; border: none; }
.btn-info    { background: #38bdf8; color: #000 !important; border: none; }
.btn-secondary { background: rgba(255,255,255,0.1); color: var(--text) !important; border: none; }

.btnnostyle { background: none; border: none; cursor: pointer; padding: 0; }

/* =============================================
   FORMS
   ============================================= */

.form-control, .form-select {
  background: #0e0f1c;
  border: 1px solid var(--border-hover);
  color: var(--text-bright);
  border-radius: 8px;
  transition: border-color var(--transition);
}
.form-control:focus, .form-select:focus {
  background: #0e0f1c;
  border-color: var(--theme-color);
  color: var(--text-bright);
  box-shadow: 0 0 0 3px rgba(var(--theme-color-rgb, 88,101,242), 0.15);
}
.form-control::placeholder { color: var(--text-muted); }
.darkinputcolor { background: #0e0f1c !important; color: var(--text-bright) !important; border: 1px solid var(--border-hover); }
.darkinputcolor option { background: #131421; }
.inputstylelol { background: #0e0f1c; color: var(--text-bright); border: 1px solid var(--border-hover); }

.form-label { color: var(--text); font-weight: 500; margin-bottom: 0.4rem; }

.input-group .btn { border-radius: 0 8px 8px 0; }
.input-group .form-control { border-radius: 8px 0 0 8px; }

/* =============================================
   NAV / HEADER
   ============================================= */

.shop-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 14, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.shop-header-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-bright) !important;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.shop-header-logo img { height: 36px; object-fit: contain; }

.shop-header-nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.shop-nav-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.shop-nav-link:hover { color: var(--text-bright); background: rgba(255,255,255,0.05); }

.shop-header-actions { display: flex; align-items: center; gap: 0.6rem; }

.header-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-hover);
  cursor: pointer;
  transition: border-color var(--transition);
}
.header-avatar:hover { border-color: var(--theme-color); }

.cart-btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--theme-color);
  color: #fff !important;
  border-radius: 8px;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: opacity var(--transition);
}
.cart-btn-header:hover { opacity: 0.85; color: #fff !important; }

.notif-badge {
  background: #f87171;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -6px;
  margin-top: -8px;
  vertical-align: top;
}

/* Mobile hamburger */
.mobile-menu-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

/* Legacy header compatibility */
.customheader, .navbarcontrollerwidth { display: none !important; }
.headertocontent, .headerbreak { margin: 0 !important; height: 0 !important; }

/* Dropdowns */
.dropdown-menu {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  min-width: 200px;
}
.dropdown-item {
  color: var(--text);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover { background: rgba(255,255,255,0.07); color: var(--text-bright); }
.dropdown-item.text-danger { color: #f87171 !important; }
.dropdown-item.text-danger:hover { background: rgba(248,113,113,0.1); }
.dropdown-divider, .dropdown-menu hr { border-color: var(--border); }

/* Offcanvas */
.offcanvas { background: var(--bg-card) !important; border-color: var(--border) !important; }
.offcanvas-header { border-bottom: 1px solid var(--border); }
.offcanvas-title { color: var(--text-bright); font-weight: 700; }
.nav-link { color: var(--text) !important; }
.nav-link:hover { color: var(--text-bright) !important; }
.btn-close-white { filter: invert(1) brightness(2); }

/* =============================================
   NOTIFICATION BANNER
   ============================================= */

.notificationtext { margin: 0; font-size: 0.88rem; font-weight: 600; color: #000; }

/* =============================================
   HERO SECTION
   ============================================= */

.shop-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d0e16 0%, #13142a 50%, #0d0e16 100%);
  overflow: hidden;
  padding: 4rem 0;
}
.shop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/headerimage.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}
.shop-hero-accent {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,101,242,0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}
.shop-hero-content { position: relative; z-index: 1; }
.shop-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-bright);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.shop-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.shop-hero-logo {
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 8px 32px rgba(88,101,242,0.3));
}

/* =============================================
   STATISTICS
   ============================================= */

.stats-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3rem 0;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 130px;
  transition: border-color var(--transition), transform var(--transition);
}
.stat-card:hover { border-color: var(--theme-color); transform: translateY(-2px); }
.stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.1rem;
  color: #fff;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* =============================================
   SECTION HEADINGS
   ============================================= */

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.section-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-divider .section-title { margin-bottom: 0; }
.section-divider-line { flex: 1; height: 1px; background: var(--border); }

/* =============================================
   PRODUCT CARDS
   ============================================= */

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0b15;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-card-sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-card-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--theme-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.product-card-body { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

.product-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-name:hover { color: var(--theme-color); }
.product-card-view-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.6rem; }

.product-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--theme-color);
  white-space: nowrap;
}
.product-card-price-orig {
  white-space: nowrap;
}
.product-card-price-orig { font-size: 0.8rem; color: var(--text-muted); text-decoration: line-through; margin-right: 0.25rem; }

.product-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--theme-color);
  border: none;
  border-radius: 8px;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.95rem;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.12s;
  letter-spacing: 0.01em;
}
.product-card-btn:hover { opacity: 0.82; transform: translateY(-1px); color: #fff !important; }

.product-card-stars { color: #facc15; font-size: 0.72rem; }

/* ---- Category card — clearly distinct from product cards ---- */
.product-card-category {
  border: 2px dashed rgba(255,255,255,0.15) !important;
  background: linear-gradient(145deg, #141621, #0f101d) !important;
}
.product-card-category:hover {
  border-color: var(--theme-color) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 0 1px var(--theme-color) !important;
}
.product-card-category .product-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.product-card-category-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--theme-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
}
.product-card-category .product-card-name { font-size: 1rem; font-weight: 800; }
.product-card-category .product-card-view-text { font-size: 0.8rem; }

/* Legacy productbox compatibility */
.productbox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  transition: border-color var(--transition), transform var(--transition);
  height: 100%;
}
.productbox:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-3px); }
.productimagelist { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.producttitlelist { font-size: 0.95rem; font-weight: 700; color: var(--text-bright) !important; padding: 0 1rem; margin-top: 0.75rem; }
.producttitlelist:hover { color: var(--theme-color) !important; }
.productpricelist { font-size: 1rem; font-weight: 800; color: var(--theme-color) !important; padding: 0 1rem; margin: 0; }
.productbuttonlist { margin: 0 1rem 1rem !important; font-size: 0.8rem; }

/* =============================================
   SHOP LAYOUT (sidebar + grid)
   ============================================= */

.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; }
.shop-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
}
.shop-sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.sidebar-tag-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.sidebar-tag-btn:hover { background: rgba(255,255,255,0.07); color: var(--text-bright); border-color: var(--border); }
.sidebar-tag-btn.active { background: var(--theme-color); border-color: var(--theme-color); color: #fff; font-weight: 700; }

.searchbox {
  background: #0e0f1c;
  border: 1px solid var(--border-hover);
  color: var(--text-bright);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
}
.searchbox::placeholder { color: var(--text-muted); }
.searchbox:focus { border-color: var(--theme-color); outline: none; }

.featured-mini { display: flex; gap: 0.75rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.featured-mini:last-child { border-bottom: none; }
.featured-mini img { width: 52px; height: 36px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.featured-mini-name { font-size: 0.8rem; font-weight: 600; color: var(--text-bright); line-height: 1.3; }
.featured-mini-price { font-size: 0.75rem; color: var(--theme-color); font-weight: 700; }

.innerFeatProduct a { text-decoration: none; color: inherit; }
.featprodimagemainsmall { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 2rem;
  align-items: start;
}

.product-detail-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 16/9;
  background: var(--bg-card-alt);
}

.product-detail-info { position: relative; }
.product-detail-name { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.product-detail-price { font-size: 1.5rem; font-weight: 800; color: var(--theme-color); margin-bottom: 0.5rem; }
.product-detail-price-orig { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; margin-right: 0.5rem; }

.product-detail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  transition: opacity var(--transition), transform var(--transition);
}
.product-detail-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.product-detail-btn-primary { background: var(--theme-color); color: #fff !important; }
.product-detail-btn-secondary { background: rgba(255,255,255,0.07); border: 1px solid var(--border-hover); color: var(--text-bright) !important; }
.product-detail-btn-secondary:hover { background: rgba(255,255,255,0.12); }

.product-desc { color: var(--text); line-height: 1.75; }
.product-desc h1,.product-desc h2,.product-desc h3 { color: var(--text-bright); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.product-desc ul,.product-desc ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.product-desc p { margin-bottom: 0.75rem; }
.product-desc strong { color: var(--text-bright); }
.product-desc code { background: #0e0f1c; padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.85em; }

.shopitemheader { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; }
.shopitempaybuttontop { width: 100%; padding: 0.7rem; border-radius: 10px; font-weight: 700; font-size: 0.93rem; display: block; text-align: center; }
.productfeat { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.productdesc { color: var(--text); line-height: 1.75; }
.productdesc h1,.productdesc h2,.productdesc h3 { color: var(--text-bright); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.productpagecontainer { max-width: 1100px; }

/* =============================================
   BREADCRUMB
   ============================================= */

.breadcrumb { background: none; padding: 0; gap: 0.25rem; }
.breadcrumb-item { font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--text-bright); }
.breadcrumb-item.active { color: var(--text); }
.breadcrumb-item+.breadcrumb-item::before { color: var(--text-muted); content: "/"; }

/* =============================================
   ACCOUNT PAGE
   ============================================= */

.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 1.75rem; align-items: start; }

.account-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.account-sidebar-profile {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.account-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--theme-color);
  margin-bottom: 0.75rem;
}
.account-username { font-size: 1rem; font-weight: 700; color: var(--text-bright); margin-bottom: 0; }

.account-nav { padding: 0.75rem; }
.account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 0.15rem;
  text-decoration: none;
}
.account-nav-link:hover { background: rgba(255,255,255,0.06); color: var(--text-bright); }
.account-nav-link.active { background: rgba(88,101,242,0.15); color: var(--theme-color); }
.account-nav-link i { width: 16px; text-align: center; }
.account-nav-divider { border-color: var(--border); margin: 0.5rem 0; }

.account-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* =============================================
   TABLES
   ============================================= */

.table { color: var(--text); border-collapse: separate; border-spacing: 0; }
.table th { color: var(--text-muted); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--border) !important; padding: 0.6rem 0.75rem; }
.table td { border-bottom: 1px solid rgba(255,255,255,0.04) !important; padding: 0.75rem; vertical-align: middle; font-size: 0.88rem; }
.table-bordered { border: 1px solid var(--border); border-radius: 10px; }
.table-bordered th, .table-bordered td { border-color: rgba(255,255,255,0.05) !important; }
.border-gray { border-color: var(--border) !important; }
.table-hover tbody tr:hover { background: rgba(255,255,255,0.03); }

/* =============================================
   MODALS
   ============================================= */

.modal-content { background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: var(--radius-lg); color: var(--text); }
.modal-header { border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; }
.modal-footer { border-top: 1px solid var(--border); padding: 1rem 1.5rem; }
.modal-title { color: var(--text-bright); font-weight: 700; }
.modal-body { padding: 1.5rem; }
.closebutton { font-size: 1.4rem; line-height: 1; color: var(--text-muted); background: none; border: none; cursor: pointer; }
.closebutton:hover { color: var(--text-bright); }

/* =============================================
   FOOTER
   ============================================= */

.shop-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-brand { font-size: 1.1rem; font-weight: 800; color: var(--text-bright); margin-bottom: 0.5rem; }
.footer-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer-copy { color: var(--text-muted); font-size: 0.78rem; margin-top: 1.5rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--theme-color); color: #fff; border-color: var(--theme-color); }
.footer-col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; }
.footer-link { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; transition: color var(--transition); }
.footer-link:hover { color: var(--text-bright); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.25rem; }

/* Legacy footer */
.footerimage { background: var(--bg-card); border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 0; }
.footerheaderone { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; margin-top: 2rem; }
.footeritemone { margin-bottom: 0.4rem; }
.footeritemone a { color: var(--text-muted); font-size: 0.85rem; }
.footeritemone a:hover { color: var(--text-bright); }
.footerdescone { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.socialicon { color: var(--text-muted); margin-right: 0.75rem; font-size: 1.1rem; transition: color var(--transition); }
.socialicon:hover { color: var(--theme-color); }
.footeradvertisement { width: 100%; border-radius: var(--radius); margin-bottom: 1rem; }
.footercolumnscentermobile { padding: 0 1.5rem; }

/* =============================================
   RECENT PURCHASE / HOME
   ============================================= */

.recent-purchase-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.recentPurchaseImage { width: 100%; border-radius: var(--radius); object-fit: cover; }
.recentPurchaseUserLogo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.featprodimage { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 0.5rem; }

.usingcompanylogo { height: 48px; object-fit: contain; filter: grayscale(0.5); transition: filter var(--transition); }
.usingcompanylogo:hover { filter: grayscale(0); }
.spacingstats { padding: 0.5rem; }

/* =============================================
   HOME HERO LEGACY
   ============================================= */

.headerimagehome {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-base) 0%, #13142a 50%, var(--bg-base) 100%);
  overflow: hidden;
  padding: 4rem 0;
}
.headerimagehome::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/headerimage.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
}
.homepagemiddle { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.midtitle { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.04em; color: var(--text-bright); line-height: 1.1; margin-bottom: 1rem; }
.midpg { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; }
.midlogo { max-width: 260px; width: 100%; filter: drop-shadow(0 8px 32px rgba(88,101,242,0.25)); }
.homebutton { font-weight: 700; border-radius: 10px; }
.viewourchangesbutton { font-size: 0.8rem; margin-bottom: 1.5rem; border-radius: 20px; }

/* =============================================
   MISC PAGE STYLES
   ============================================= */

.reviewlogo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--theme-color); margin-bottom: 1rem; }
.reviewheader { font-size: 1.3rem; font-weight: 800; }
.addproductselectgroup { max-width: 500px; }
.customDiv { overflow-x: auto; }
.customDivNotifications { max-height: 70vh; overflow-y: auto; }
.notiicon, .carticon { color: var(--text-muted); font-size: 1.1rem; }
.notiicon:hover, .carticon:hover { color: var(--text-bright); }
.notiparagraph, .notidate { font-size: 0.8rem; margin: 0; }

.mobilenavbarlogo { width: 80px; margin: 2rem auto 0; display: block; }
.navbarlogo { height: 36px; object-fit: contain; }
.cartbuttonnavbar { font-size: 0.85rem; padding: 0.4rem 1rem; }
.headericonaccount { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-hover); cursor: pointer; }
.headericonaccount:hover { border-color: var(--theme-color); }

.homepagereviews { border-radius: var(--radius-lg); padding: 2rem; }
.accountpageparent { padding: 2rem 1rem; max-width: 1200px; margin: 0 auto; }

/* Stars */
.star-full { color: #facc15; }
.star-empty { color: #2d2e42; }
.star-half { color: #facc15; }

/* Sorting buttons */
.sortingbuttonsshop { font-size: 0.8rem; padding: 0.4rem 0.6rem; }
.aligncentermobile { text-align: left; }

/* =============================================
   RESPONSIVE
   ============================================= */

.desktop { display: block; }
.mobile  { display: none; }
.tablet  { display: none; }

@media (max-width: 991px) {
  .shop-layout { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-info { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .shop-header-nav { display: none; }
  .desktop { display: none; }
  .mobile { display: block; }
  .tablet { display: block; }
}

@media (max-width: 575px) {
  .product-grid, .product-grid-3, .product-grid-4 { grid-template-columns: 1fr; }
  .shop-hero-title { font-size: 2rem; }
  .shop-header { padding: 0 1rem; }
  .footercolumnscentermobile { text-align: center; }
  .footer-desc { max-width: 100%; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .desktop { display: none; }
  .tablet  { display: block; }
  .mobile  { display: none; }
}
