/* ==========================================================================
   Main Stylesheet - Optimized Version
   ========================================================================== */

/* ==========================================================================
   1. Variables & Reset
   ========================================================================== */

:root {
  /* Brand colors */
  --accent:        #1890d7;
  --accent-dark:   #1273ad;
  --light-accent:  #e8f4fb;
  --accent-rgb:    24, 144, 215;

  /* Neutral palette */
  --dark:          #4d4d4d;
  --gray:          #6c757d;
  --danger:        #f35b20;
  --warning:       #fffc07;
  --light:         #ededed;
  --border:        #7b7b7b;

  /* Text */
  --text:            #111111;
  --text-muted-dark: #555;
  --text-subtle:     #777;
  --btn-text:        #fff;

  /* Prices */
  --price-color:     #1890d7;
  --old-price-color: #999;

  /* Borders */
  --border-light:  #eee;
  --border-mid:    #dee2e6;

  /* Header */
  --header-top-bg:   #fff;     /* top bar (promo strip) */
  --header-top-text: #333;
  --header-bg:       #033772;  /* main navbar */
  --header-text:     #fff;

  /* Backgrounds */
  --bg-page:       #f8f9fa;
  --bg-tabs:       #f0f2f5;

  /* Footer */
  --footer-bg:     #111;
  --footer-text:   #ccc;

  /* Warning bar */
  --warning-bar-bg:   #ffd700;
  --warning-bar-text: #1a1a1a;

  /* Transitions */
  --transition:      all 0.2s ease;
  --transition-slow: all 0.25s ease;

  /* Shadows */
  --shadow-sm:     0 4px 15px rgba(10,10,10,0.06);
  --shadow-md:     0 12px 24px rgba(var(--accent-rgb),0.25);
  --bs-danger:     var(--danger);
  --bs-danger-rgb: 243,91,32;

  /* Border radius */
  --radius-xs:  4px;   /* small accents: badges, focus outlines */
  --radius-sm:  6px;   /* buttons, nav elements */
  --radius-md:  8px;   /* cards, images, inputs */
  --radius-lg:  10px;  /* larger blocks, tabs, pagination */
  --radius-xl:  12px;  /* hero, large cards */

  /* Font sizes */
  --fs-xxs: 0.8rem;   /* smallest: sale badge, form labels */
  --fs-xs:  0.9rem;   /* small text: badges, filter items */
  --fs-sm:  0.85rem;  /* secondary text: labels, breadcrumbs, metadata */
  --fs-base: 0.95rem; /* slightly smaller base: filter links, page controls */
  --fs-lg:  1.1rem;   /* slightly larger: section labels, form inputs */

  /* Breakpoints */
  --bp-sm: 576px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;

  /* Typography */
  --font-family: 'Lato', sans-serif;
  --line-height: 1.5;

  /* Layout */
  --container-max:    1400px;
  --container-max-xl: 1600px;
}

/* ==========================================================================
   2. Base & Typography
   ========================================================================== */

html,
body {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: #fff;
  color: var(--text);
  margin: 0;
  line-height: var(--line-height);
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

/* ==========================================================================
   3. Layout & Containers
   ========================================================================== */

.container {
  max-width: var(--container-max);
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1920px) {
  .container {
    max-width: var(--container-max-xl);
  }
}

/* ==========================================================================
   4. Top Bar
   ========================================================================== */

.promo-bar {
  background: var(--header-top-bg);
  color: var(--header-top-text);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border-light);
}

.promo-bar strong {
  color: var(--accent);
}

/* ==========================================================================
   5. Navigation
   ========================================================================== */

.navbar-main {
  background: var(--header-bg);
  padding: 12px 0;
  position: relative;
  z-index: 30; /* keep nav + its dropdowns above the hero (which stacks up to z-index 3) */
}

.navbar-brand {
  color: var(--header-text) !important;
  font-weight: bold;
}

.nav-link {
  color: var(--header-text) !important;
  padding: 10px 16px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-nav {
  flex-wrap: wrap !important;
  gap: 6px 12px;
  row-gap: 8px;
}

@media (min-width: 1200px) {
  .navbar-nav {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 1199px) {
  .navbar-nav {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  
  .nav-link {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
  }
}

/* User icons & mini-cart trigger */
.user-icons > a {
  color: var(--header-text);
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.user-icons > a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

/* Search form */
.search-form input.form-control {
  min-width: 200px !important;
}

form.search-form.d-lg-none {
  background: var(--header-bg);
  padding-bottom: 6px;
  margin-bottom: -6px;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   6. Dropdown (All Categories)
   ========================================================================== */

.navbar-main .dropdown-menu {
  min-width: 240px;
  background-color: var(--header-bg);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
}

.navbar-main .dropdown-item {
  padding: 14px 20px;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.navbar-main .dropdown-item:last-child {
  border-bottom: none;
}

.navbar-main .dropdown-item:hover,
.navbar-main .dropdown-item:focus {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   7. Mini-cart
   ========================================================================== */

.mini-cart {
  display: none;
  position: absolute;
  top: 130%;
  right: 0;
  z-index: 1050;
  width: 320px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 15px;
}

.mini-cart.show {
  display: block;
}

.mini-cart .cart-item {
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.mini-cart .cart-item + .cart-item {
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.mini-cart .cart-total {
  font-weight: bold;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  margin-top: 4px;
}

.mini-cart .empty-cart {
  color: var(--text-subtle);
}

@media (max-width: 576px) {
  .mini-cart {
    width: 90vw;
    right: 5vw;
    left: auto;
  }
}

/* ==========================================================================
   8. Buttons
   ========================================================================== */

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--btn-text);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-primary:active,
.btn-primary.active,
.btn-primary:active:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--btn-text);
}

.btn-modern {
  background: var(--accent);
  color: var(--btn-text);
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background-color 0.2s ease, transform 0.12s ease;
}

.btn-modern:hover {
  background: var(--accent-dark);
  color: var(--btn-text);
  transform: translateY(-2px);
}

.btn-modern:active {
  background: var(--accent-dark);
  color: var(--btn-text);
  transform: translateY(0);
}

.btn-modern:focus,
.btn-modern:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--accent-rgb), 0.35);
}

.btn-outline-primary {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:active:focus {
  background-color: var(--accent);
  color: var(--btn-text);
  border-color: var(--accent);
}

/* ==========================================================================
   9. Product Card
   ========================================================================== */

.product-card {
  text-align: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  background: white;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 280px;
  object-fit: contain;
  background: #f2f2f2;
  padding: 20px;
}

/* Catalog card text — dark name + bold dark price (matches original) */
.product-card .product-name {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #1a1a1a;
  margin: 6px 0 12px;
  line-height: 1.3;
}

.product-card .price {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 19px;
}

/* Split add-to-cart button reused from carousel; pinned to the card bottom */
.product-card > .pb-3 { margin-top: auto; }
.product-card .cc-addcart-disabled { opacity: 0.55; cursor: not-allowed; }

.price {
  color: var(--price-color);
  font-weight: 700;
  font-size: 1.25rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--old-price-color);
  font-size: 1rem;
  margin-left: 8px;
}

.stars {
  color: var(--warning);
  font-size: 1rem;
}

.sale-badge {
  background: var(--danger);
  color: white;
  font-size: var(--fs-xxs);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}

/* ==========================================================================
   10. Product Catalog / Filters
   ========================================================================== */

.filter-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  background: white;
}

.filter-title {
  background: var(--light-accent);
  padding: 12px 18px;
  margin: 0;
  font-size: var(--fs-lg);
  cursor: pointer;
  font-weight: 600;
}

.filter-content {
  padding: 15px 18px;
}

.form-check-label {
  font-size: var(--fs-base);
  cursor: pointer;
}

.offcanvas-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-link-item {
  padding: 6px 0;
  font-size: var(--fs-base);
}

.filter-link-item.parent {
  font-weight: 600;
  margin-bottom: 4px;
}

.filter-link-item.child {
  font-weight: normal;
  color: var(--text-muted-dark);
}

.filter-link-item a {
  color: inherit;
  display: block;
  transition: color 0.2s;
}

.filter-link-item a:hover,
.filter-link-item a.active {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   11. Product Page Gallery
   ========================================================================== */

.product-gallery .main-image {
  height: 450px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.product-gallery .main-image img#mainProductImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-gallery .thumbs .col-3 {
  height: 100px;
  padding: 0;
}

.thumb {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 5px;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.thumb.active,
.thumb:hover {
  opacity: 1;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.3);
}

/* ==========================================================================
   12. Pagination
   ========================================================================== */

/* Pagination — square boxes with navy outline, active = solid navy */
.pagination {
  margin: 2.5rem 0 1.5rem !important;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.page-item {
  margin: 0 !important;
}

.page-link,
.page-item.disabled .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 12px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  color: #1a1a1a;
  background-color: #fff;
  border: 1px solid var(--header-bg);
  border-radius: 3px;
  transition: all 0.15s ease;
  text-decoration: none;
  box-shadow: none;
}

.page-link:hover {
  background-color: var(--header-bg);
  color: #fff;
  border-color: var(--header-bg);
}

.page-item.active .page-link {
  background-color: var(--header-bg) !important;
  border-color: var(--header-bg) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: none;
}

/* Remove the global focus ring on pagination (it caused a double-border on the active page) */
.pagination .page-link:focus,
.pagination .page-link:focus-visible {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

.page-item.disabled .page-link {
  color: #c2c2c2;
  background-color: #fff;
  border-color: #ddd;
  cursor: not-allowed;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link,
.page-item.prev .page-link,
.page-item.next .page-link {
  border-radius: 3px;
  min-width: 52px;
  font-size: 18px;
  padding: 0 12px;
}

/* ==========================================================================
   14. General Components
   ========================================================================== */

.newsletter {
  background: var(--light-accent);
  padding: 60px 0;
  text-align: center;
}

/* Light footer — mirrors original get-steroids.com */
.footer {
  background: #fff;
  color: #666;
  padding: 0;
  border-top: 1px solid #e5e5e5;
}

/* Full-height vertical dividers: padding lives inside the columns so the
   border-right spans from the top line down to the bottom bar line. */
.footer .footer-cols > [class*="col-"] {
  border-right: 1px solid #ececec;
  padding: 50px 28px 40px;
}
.footer .footer-cols > [class*="col-"]:last-child { border-right: none; }

.footer h5 {
  color: #1a1a1a;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer ul li {
  border-bottom: 1px dotted #ddd;
  padding: 9px 0;
}
.footer ul li:last-child { border-bottom: none; }

.footer a {
  color: #666;
  font-size: 15px;
  position: relative;
  padding-left: 22px;
  display: inline-block;
}
.footer a::before {
  content: '\f138'; /* fa-circle-chevron-right */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: #1a1a1a;
  font-size: 13px;
}
.footer a:hover { color: var(--accent); }

/* Bottom bar — its top border is the line the column dividers reach down to */
.footer-bottom {
  margin-top: 0;
  padding: 18px 0;
  background: #f7f7f7;
  border-top: 1px solid #e5e5e5;
}
.footer-copy-text {
  color: #888;
  font-size: 14px;
}
.footer-bottom-links a {
  color: #555;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0 12px;
  border-right: 1px solid #ccc;
}
/* No circled-arrow bullet on the bottom menu — it mirrors the header top links */
.footer-bottom-links a::before { content: none; }
.footer-bottom-links a:first-child { padding-left: 0; }
.footer-bottom-links a:last-child { border-right: none; padding-right: 0; }
.footer-bottom-links a:hover { color: var(--accent); }

@media (max-width: 767px) {
  .footer .footer-cols > [class*="col-"] { border-right: none; padding: 30px 16px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

/* ==========================================================================
   15. Cart Page
   ========================================================================== */

.cart-item {
  padding: 20px 0;
}

.cart-item + .cart-item {
  border-top: 1px solid var(--border-mid);
}

.cart-item--bonus {
  background: var(--light-accent);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  padding: 4px;
}

.qty-input {
  max-width: 180px;
}

.cart-summary {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.cart-empty-message {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-subtle);
  font-size: 1.3rem;
}

.cart-item .price { margin-bottom: 0; }
.cart-item h6 { margin-bottom: 0.6rem !important; }
.promo-coupon-widget { margin-top: 1.25rem; margin-bottom: 1.25rem; }

@media (max-width: 576px) {
  .qty-input {
    width: 120px !important;
  }

  .qty-input input[type="number"] {
    font-size: 1rem;
    padding: 0.5rem 0.25rem;
  }

  .qty-input .btn {
    width: 35px;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: start;
    position: static;
    padding-right: 0;
  }
  .cart-item > .me-3 { grid-column: 1; grid-row: 1; align-self: center; }
  .cart-item > .flex-grow-1 { grid-column: 2; grid-row: 1; min-width: 0; padding-right: 2rem; }
  .cart-item .flex-grow-1 .d-flex { flex-wrap: wrap; row-gap: 0.4rem; }
  .cart-item .js-remove-item {
    grid-column: 2; grid-row: 1;
    justify-self: end; align-self: start;
    position: static; transform: none;
    margin: 0 !important; padding: 0;
  }
}

/* ==========================================================================
   16. Checkout Page - Refinements
   ========================================================================== */

/* Checkout page specific overrides */
.checkout-page .form-control,
.checkout-page .form-select {
  border-color: var(--border-mid);
  font-size: var(--fs-lg);
  padding: 0.65rem 1rem;
  transition: var(--transition);
  background: #fff;
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(116, 210, 26, 0.08);
}

/* Softer card titles — navy, to match site style */
.checkout-page .card-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500 !important;
  font-size: var(--fs-lg);
  letter-spacing: -0.2px;
  color: var(--header-bg);
  margin-bottom: 1.25rem !important;
}

/* Lighter, more elegant checkboxes */
.checkout-page .form-check {
  padding-left: 1.8rem;
}

.checkout-page .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  margin-left: -1.8rem;
  border: 1.5px solid var(--border-mid);
  cursor: pointer;
}

.checkout-page .form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkout-page .form-check-input:focus {
  box-shadow: 0 0 0 2px rgba(116, 210, 26, 0.2);
  border-color: var(--accent);
}

.checkout-page .form-check-label {
  font-weight: 400;
  color: var(--dark);
  font-size: var(--fs-xs);
}

/* Billing fields - smoother appearance */
#billingFields .form-control,
#billingFields .form-select {
  background: #fff;
}

/* Order summary card - cleaner */
.checkout-page .card.shadow-sm {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid var(--border-light) !important;
}

/* Alert styling - minimal */
.checkout-page .alert-info {
  background: var(--light-accent);
  border: none;
  border-left: 3px solid var(--accent);
  color: var(--dark);
  font-size: var(--fs-sm);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
}

.checkout-page .alert-info i {
  color: var(--accent);
}

/* Breadcrumbs refinement */
.checkout-page .breadcrumb {
  font-size: var(--fs-sm);
}

.checkout-page .breadcrumb-item a {
  color: var(--gray);
  text-decoration: none;
}

.checkout-page .breadcrumb-item a:hover {
  color: var(--accent-dark);
}

.checkout-page .breadcrumb-item.active {
  color: var(--dark);
  font-weight: 500;
}

/* Form labels - lighter */
.checkout-page .form-label {
  font-weight: 450;
  color: var(--text-muted-dark);
  font-size: var(--fs-xxs);
  margin-bottom: 0.3rem;
  letter-spacing: 0.2px;
}

/* Error messages - subtle */
.checkout-page .invalid-feedback {
  font-size: 0.7rem;
  color: var(--danger);
  margin-top: 0.25rem;
}

/* Make cards more airy on mobile */
@media (max-width: 768px) {
  .checkout-page .card-body {
    padding: 1.5rem !important;
  }
}

/* ==========================================================================
   17. Toast Notifications
   ========================================================================== */

.toast {
  min-width: 280px;
  max-width: 400px;
  z-index: 1055;
  border-radius: var(--radius-md);
}

.toast.bg-success {
  background-color: #198754 !important;
  color: #fff !important;
}

.toast.bg-danger {
  background-color: var(--danger) !important;
}

/* ==========================================================================
   18. Error Page
   ========================================================================== */

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code-wrap {
  margin-bottom: 1.5rem;
}

.error-code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  display: block;
}

.error-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 1rem 0 1.5rem;
}

.error-message {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.error-support {
  color: var(--gray);
  font-size: var(--fs-xs);
}

.error-support a {
  color: var(--accent);
}

/* ==========================================================================
   20. FAQ Page
   ========================================================================== */

.faq-header {
  background: var(--light-accent);
  padding: 60px 0 40px;
  text-align: center;
}

.faq-item .accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  background: white;
}

.faq-item .accordion-button:not(.collapsed) {
  background: var(--light-accent);
  color: var(--accent-dark);
}

.faq-item .accordion-body {
  padding: 1.5rem;
  background: var(--bg-page);
}

.faq-search {
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ==========================================================================
   21. Profile & Account Pages
   ========================================================================== */

.profile-sidebar {
  background: white;
  border-right: 1px solid var(--border-light);
  min-height: 500px;
}

.profile-sidebar .nav-link {
  color: var(--text-muted-dark);
  padding: 1rem 1.5rem;
  border-radius: 0;
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.profile-sidebar .nav-link:hover,
.profile-sidebar .nav-link.active {
  background: var(--light-accent);
  color: var(--accent-dark);
  border-left-color: var(--accent);
}

.profile-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--light-accent);
}

.avatar-preview {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--light-accent);
}

.avatar-upload {
  position: relative;
  display: inline-block;
}

.avatar-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.avatar-upload .upload-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--accent);
  color: var(--btn-text);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  cursor: pointer;
}

/* ==========================================================================
   22. Orders History Page
   ========================================================================== */

.order-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.order-header {
  background: var(--bg-page);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.order-body {
  padding: 1.5rem;
}

.order-item-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
}

.status-badge {
  font-size: var(--fs-xs);
  padding: 0.5em 1em;
}

/* ==========================================================================
   23. Notifications Page
   ========================================================================== */

.notification-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
  transition: background 0.2s;
}

.notification-item:hover {
  background: var(--bg-page);
}

.notification-item.unread {
  background: var(--light-accent);
  border-left: 4px solid var(--accent);
}

.notification-time {
  font-size: var(--fs-sm);
  color: var(--text-subtle);
}

.notification-icon {
  width: 42px;
  height: 42px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   24. Focus & Accessibility
   ========================================================================== */

.page-link:focus,
.btn-primary:focus,
.nav-link:focus,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* Reduced motion for vestibular disorders */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .product-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   26. Mobile Responsive Overrides
   ========================================================================== */

@media (max-width: 576px) {
  .container {
    padding-right: 12px;
    padding-left: 12px;
  }
  
  .hero {
    padding: 20px 0;
  }

  .product-img {
    max-height: 180px;
  }
  
  .search-form {
    width: 100% !important;
    margin-bottom: 10px;
  }
  
  .user-icons {
    justify-content: center;
    width: 100%;
  }
  
  .error-code {
    font-size: 6rem;
  }
  
  .error-title {
    font-size: 2rem;
  }
  
  .faq-header {
    padding: 40px 0 30px;
  }
  
  .faq-header h1 {
    font-size: 2.2rem;
  }
  
  /* Pagination mobile optimization */
  .pagination {
    --pg-gap: 4px;
    margin: 1.5rem 0 1rem !important;
  }
  
  .page-link,
  .page-item.disabled .page-link {
    min-width: 34px;
    height: 34px;
    font-size: var(--fs-xs);
    padding: 0 8px;
  }
  
  .page-item.prev .page-link,
  .page-item.next .page-link {
    min-width: 40px;
  }
}

@media (min-width: 992px) {
  .col-lg-3 aside.sidebar {
    padding-top: 3.6rem;
  }
}

@media (max-width: 991px) {
  .sidebar {
    margin-bottom: 2rem;
  }
  
  .profile-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    min-height: auto;
  }
}


/* ==========================================================================
   27. Product Tabs
   ========================================================================== */

#productTabs {
  border-bottom: none;
  background: var(--bg-tabs);
  border-radius: var(--radius-lg);
  padding: 4px;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#productTabs .nav-link {
  color: var(--gray) !important;
  font-weight: 600;
  font-size: var(--fs-xs);
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 22px;
  white-space: nowrap;
  background: none;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}

#productTabs .nav-link:hover {
  color: var(--dark) !important;
  background: rgba(255,255,255,0.5);
}

#productTabs .nav-link.active {
  color: var(--accent) !important;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}

.tab-content {
  padding-top: 1.75rem;
}

.tab-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-mid);
  color: var(--dark);
}

/* Header top utility nav */
.header-top-nav {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.header-top-promo {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #333;
  padding: 14px 0;
}

.header-top-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 14px 0;
}

.header-top-links a {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 12px;
  border-right: 1px solid #ccc;
  line-height: 1;
}

.header-top-links a:first-child { padding-left: 0; }
.header-top-links a:last-child  { border-right: none; padding-right: 0; }
.header-top-links a:hover       { color: var(--accent); }

/* Header logo + search + cart row */
.header-logo-row {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-logo-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--header-bg);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 1px;
}

.header-logo-text:hover { color: var(--header-bg); }

.header-logo-row .search-form {
  position: relative;
}

.header-logo-row .search-form .form-control {
  height: 40px;
  border-radius: 0;
  border-color: #e7e7e7;
  box-shadow: none;
  font-size: 13px;
  font-weight: 300;
  padding: 0 10px;
}

.header-logo-row .search-form .btn-primary {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: var(--header-bg);
  padding: 0;
  font-size: 10px;
  line-height: 1;
  text-align: center;
  box-shadow: none;
}

.header-cart-link {
  color: var(--header-bg);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-cart-link:hover { color: var(--accent); }

/* Preserve navbar styles — must come after tab overrides */
.navbar-main .nav-link {
  color: var(--header-text) !important;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600 !important;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-main .nav-link:focus,
.navbar-main .nav-link:focus-visible {
  outline: none;
}


.lead.mb-4 {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 1.5rem !important;
}

/* Warning bar */
#warningBar {
  background: var(--warning-bar-bg);
  color: var(--warning-bar-text);
  font-size: var(--fs-sm);
  position: relative;
  text-align: center;
  padding: 0.6rem 3rem 0.6rem 1rem;
}
#warningBar strong { color: var(--btn-text); }
#warningBar button {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  background: none;
  border: 2px solid rgba(0,0,0,0.4);
  border-radius: 50%;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--warning-bar-text);
  padding: 0;
}
#warningBar button:hover {
  background-color: rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.7);
}

/* ── Tab Products widget ── */
.bb-tabs-section {
  padding: 32px 0 40px;
}
.bb-tab-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.bb-tab-link {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.bb-tab-link:hover { color: var(--bs-primary); }
.bb-tab-link.active { color: var(--bs-danger); font-weight: 600; }
.bb-tab-panel { display: none; }
.bb-tab-panel.active { display: block; }

.product-qty { width: 130px; flex-shrink: 0; }
.product-qty input[type="number"]::-webkit-inner-spin-button,
.product-qty input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product-qty input[type="number"] { -moz-appearance: textfield; }

@media (max-width: 991px) {
  .product-info-col h1 { text-align: center; }
  .product-info-col .stars-row { justify-content: center; }
  .product-info-col .price { font-size: 3.75rem; text-align: center; }
}


/* ==========================================================================
   SITE-SPECIFIC: Hero, Category Cards, Homepage
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/heropic.jpg');
  background-size: cover;
  background-position: 65% center;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
}
.hero .container { z-index: 3; }

.hero-content-shift {
  padding-top: 165px;
}
.hero-heading-block {
  margin-bottom: 40px;
}
.hero-headline {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  color: #fff;
  font-size: 3rem;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  margin-bottom: 8px;
}
.hero-subtitle {
  font-family: 'Bitter', Georgia, serif;
  font-weight: bold;
  font-style: normal;
  color: #1890d7;
  font-size: 40px;
  line-height: 60px;
  text-shadow: 1px 1px 1px rgba(0,0,0,1);
  text-align: center;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  word-spacing: normal;
  margin-bottom: 0;
}

.hero-buttons {
  max-width: 320px;
}
.hero-btn {
  display: block;
  background: rgba(3, 55, 114, 0.69);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 2px;
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.9);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}
.hero-btn:hover {
  background: var(--header-bg);
  transform: translateX(6px);
}

.category-card {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,102,255,0.12);
  transition: all 0.4s ease;
  text-decoration: none;
}
.category-card:hover {
  transform: scale(1.04);
  box-shadow: 0 35px 80px rgba(0,102,255,0.28);
}
.category-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}
.category-card:hover .category-img {
  transform: scale(1.1);
}
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 24px;
  color: #fff;
}
.category-overlay h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.shop-now {
  font-size: 1rem;
  opacity: 0.9;
  transition: all 0.3s;
}
.category-card:hover .shop-now {
  opacity: 1;
  transform: translateX(6px);
  display: inline-block;
}

@media (max-width: 991px) {
  .hero { min-height: 680px; }
  .hero-buttons { max-width: 100%; }
  .hero-content-shift { padding-top: 90px; }
  .hero-headline { font-size: 2.8rem; }
  .hero-subtitle { font-size: 2.2rem; }
  .hero-btn { font-size: 1.05rem; padding: 14px 24px; }
  .category-img { height: 240px; }
}
@media (max-width: 576px) {
  .hero { min-height: 580px; }
  .hero-content-shift { padding-top: 60px; }
  .hero-headline { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.8rem; }
  .hero-btn { font-size: 1rem; padding: 12px 20px; }
  .category-img { height: 200px; }
}

/* ==========================================================================
   Homepage — category carousels + promo banners
   ========================================================================== */
/* Navy section header bar */
.cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-bg);
  padding: 0 0 0 24px;
  min-height: 56px;
}

.cc-header-title {
  font-family: 'Open Sans', sans-serif;
  color: #fff;
}

.cc-header-title .cc-cat {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cc-header-title .cc-sep {
  margin: 0 14px;
  opacity: 0.5;
}

.cc-header-title a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.cc-header-title a:hover { text-decoration: underline; }

/* Header arrows — white squares with navy chevrons, gap + inset */
.cc-nav {
  display: flex;
  gap: 8px;
  padding-right: 12px;
}

.cc-arrow {
  width: 40px;
  height: 40px;
  border: none;
  background: #fff;
  color: #111;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cc-arrow:hover { background: #f0f0f0; }

/* Product cards — framed block with vertical separators between cards */
.cc-row {
  border: 1px solid #e0e0e0;
}

.cc-row .col-6,
.cc-row .col-md-3 {
  border-right: 1px solid #e0e0e0;
}

.cc-row .col-md-3:last-child {
  border-right: none;
}

/* On mobile (2 per row) the right column has no separator */
@media (max-width: 767px) {
  .cc-row .col-6:nth-child(2n) {
    border-right: none;
  }
}

.cc-card {
  position: relative;
  background: #fff;
  padding: 0 0 16px;
  height: 100%;
  text-align: center;
}

.cc-new-badge {
  position: absolute;
  top: 12px;
  left: 0;
  z-index: 2;
  background: #d0021b;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px 4px 10px;
  clip-path: polygon(0 0, 100% 0, 88% 50%, 100% 100%, 0 100%);
}

.cc-card-img {
  display: block;
  padding: 16px;
}

.cc-card-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.cc-price {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #222;
  margin: 8px 0 16px;
}

.cc-price .old-price {
  color: var(--old-price-color);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 14px;
  margin-left: 6px;
}

/* Split add-to-cart button: navy icon box + bordered text */
.cc-addcart {
  display: flex;
  align-items: stretch;
  width: calc(100% - 32px);
  margin: 0 16px;
  padding: 0;
  border: none;
  background: none;
}

.cc-addcart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  background: var(--header-bg);
  color: #fff;
  flex: 0 0 48px;
}

.cc-addcart-text {
  flex: 1;
  border: 1px solid var(--header-bg);
  border-left: none;
  color: var(--header-bg);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 8px;
  transition: all 0.2s ease;
}

.cc-addcart:hover .cc-addcart-text {
  background: var(--header-bg);
  color: #fff;
}

/* Promo banners */
.promo-banner {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.promo-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Dark overlay for readable centered label */
.promo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}

.promo-banner:hover img { transform: scale(1.05); }
.promo-banner:hover::after { background: rgba(0, 0, 0, 0.35); }

.promo-banner-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  white-space: nowrap;
}

.promo-banner-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #fff;
  margin: 10px auto 0;
}

@media (max-width: 576px) {
  .cc-header-title .cc-cat { font-size: 16px; }
  .cc-header-title a { font-size: 13px; }
  .cc-arrow { width: 44px; height: 44px; }
  .cc-card-img img { height: 160px; }
  .promo-banner img { height: 220px; }
}

/* Homepage Latest Articles block (mirrors original get-steroids.com) */
.blog-latest-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
}
.blog-latest-imglink { display: block; overflow: hidden; }
.blog-latest-imglink img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-latest-card:hover .blog-latest-imglink img { transform: scale(1.05); }
.blog-latest-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px;
}
.blog-latest-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 14px;
  line-height: 1.35;
}
.blog-latest-title a { color: #222; text-decoration: none; }
.blog-latest-title a:hover { color: var(--accent); }
.blog-latest-excerpt {
  color: var(--text-muted-dark);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  margin: 0 0 16px;
}
.blog-latest-foot {
  border-top: 1px solid #eee;
  padding-top: 12px;
  text-align: right;
}
.blog-latest-foot a {
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
}
.blog-latest-foot a:hover { text-decoration: underline; }

/* Catalog sidebar — mirrors original get-steroids.com */
.cat-sidebar .sb-block { margin-bottom: 32px; }

.cat-sidebar .sb-title {
  background: #f7f7f7;
  border-left: 4px solid var(--header-bg);
  color: #555;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  padding: 16px 18px;
}

.cat-sidebar .sb-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-sidebar .sb-list li {
  border-bottom: 1px dotted #ddd;
}

.cat-sidebar .sb-list a {
  display: block;
  position: relative;
  padding: 11px 8px 11px 34px;
  color: #555;
  font-size: 15px;
  text-decoration: none;
}

.cat-sidebar .sb-list a::before {
  content: '\f466'; /* fa-box */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: #1a1a1a;
  font-size: 14px;
}

.cat-sidebar .sb-list a:hover,
.cat-sidebar .sb-list a.active {
  color: var(--accent);
}

/* ==========================================================================
   Blog article page — styled in the site theme
   ========================================================================== */
.blog-section .breadcrumb,
article .breadcrumb { margin-bottom: 0; }

article > .container > h1,
.blog-article h1,
article h1.fw-bold {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--header-bg);
  margin-bottom: 1.25rem;
}

/* Featured/header image */
article .img-fluid.rounded.mb-4.w-100 {
  border-radius: var(--radius-md);
  max-height: 420px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Article body typography */
.blog-article-body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

.blog-article-body p { margin: 0 0 1.2rem; }

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: var(--header-bg);
  line-height: 1.3;
  margin: 2rem 0 1rem;
}
.blog-article-body h2 { font-size: 1.6rem; }
.blog-article-body h3 { font-size: 1.3rem; }
.blog-article-body h4 { font-size: 1.1rem; }

.blog-article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-article-body a:hover { color: var(--header-bg); }

.blog-article-body ul,
.blog-article-body ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.blog-article-body li { margin-bottom: 0.2rem; line-height: 1.45; }

.blog-article-body strong { color: #1a1a1a; }

/* In-content images — clean centered blocks; override WP inline float/width */
.blog-article-body img {
  display: block;
  float: none !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  margin: 1.5rem auto !important;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.blog-article-body figure,
.blog-article-body .wp-caption,
.blog-article-body .alignleft,
.blog-article-body .alignright,
.blog-article-body .aligncenter {
  display: block;
  float: none !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 1.5rem auto !important;
  text-align: center;
}
.blog-article-body figure img,
.blog-article-body .wp-caption img { margin: 0 auto; }
.blog-article-body .wp-caption-text,
.blog-article-body figcaption {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Blockquote */
.blog-article-body blockquote {
  border-left: 4px solid var(--header-bg);
  background: #f7f9fc;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  color: #444;
}

/* Tables */
.blog-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.blog-article-body th,
.blog-article-body td {
  border: 1px solid var(--border-mid);
  padding: 10px 12px;
  text-align: left;
}
.blog-article-body th { background: #f2f2f2; }

/* Table-of-contents block (the leading "Content:" list on some posts) */
.blog-article-body > h3:first-child {
  margin-top: 0;
}

/* Category / tag footer */
.blog-article-meta {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #555;
}
.blog-article-meta strong { color: #1a1a1a; margin-right: 4px; }
.blog-article-meta a {
  display: inline-block;
  background: #f0f3f8;
  color: var(--header-bg);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 4px 6px 0;
  transition: all 0.18s ease;
}
.blog-article-meta a:hover { background: var(--header-bg); color: #fff; }

/* WP content callouts inside articles (alerts, "you may also like" boxes) */
.blog-article-body .alert,
.blog-article-body .laalert {
  opacity: 1 !important;       /* BS3 "fade in" markup leaves opacity:0 in BS5 */
  display: block;
  background: #f7f9fc;
  border: 1px solid var(--border-mid);
  border-left: 4px solid var(--header-bg);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  color: #333;
}
.blog-article-body .alert .close,
.blog-article-body .laalert .close { display: none; }

/* "You may also like" inline-bordered paragraphs -> clean accent callout */
.blog-article-body p[style*="border"] {
  border: 1px solid var(--border-mid) !important;
  border-left: 4px solid var(--accent) !important;
  background: #f0f3f8;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem !important;
  margin: 1.5rem 0;
}

/* "promote-box" content blocks */
.blog-article-body .promote-box {
  background: #f7f9fc;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

/* ==========================================================================
   Static info pages — unified hero header + content (site theme)
   ========================================================================== */
.page-hero {
  background: var(--header-bg);
  padding: 38px 0;
}
.page-hero h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 2.1rem;
  margin: 0;
}
.page-hero .breadcrumb { margin: 0 0 10px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.95); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.45); }
/* trailing separator after the single Home crumb (only when last crumb is a link, not the current page) */
.page-hero .breadcrumb-item:last-child:not(.active)::after {
  content: "/";
  padding-left: 0.5rem;
  color: rgba(255,255,255,0.45);
}
/* slim navy breadcrumb bar (no title), e.g. product page */
.page-hero--bar { padding: 16px 0; }

.static-page {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.static-page > .container { max-width: 880px; }
.static-page p { margin: 0 0 1.1rem; }
.static-page h2 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: var(--header-bg);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}
.static-page h3 {
  font-weight: 700;
  color: var(--header-bg);
  font-size: 1.15rem;
  margin: 1.6rem 0 0.8rem;
}
.static-page ul, .static-page ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.static-page li { margin-bottom: 0.45rem; }
.static-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.static-page a:hover { color: var(--header-bg); }
/* buttons inside static pages must not inherit the link color/underline */
.static-page a.btn { text-decoration: none; }
.static-page a.btn-primary { color: #fff; }
.static-page a.btn-primary:hover { color: #fff; }
.static-page a.btn-outline-primary:hover { color: #fff; }
.static-page strong { color: #1a1a1a; }

/* Contact page cards */
.contact-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 30px;
}
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--header-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.contact-card h2 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--header-bg);
  margin-bottom: 14px;
}
.contact-card ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.contact-card li { margin-bottom: 0.5rem; line-height: 1.6; }

/* Contact "Submit a Ticket" — larger primary CTA */
.contact-ticket-btn {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px 48px;
  border-radius: var(--radius-md);
}

/* Global content sidebar layout — full-width hero above, body + sidebar in 2 columns */
.page-with-sidebar > .container { max-width: var(--container-max); }
.page-with-sidebar__aside { padding-top: 40px; padding-bottom: 40px; }
/* body sections fill the main column (avoid the page section's own container width/padding) */
.page-with-sidebar__main > section > .container,
.page-with-sidebar__main > article > .container,
.page-with-sidebar__main > section,
.page-with-sidebar__main > article { max-width: 100% !important; }
.page-with-sidebar__main > section > .container,
.page-with-sidebar__main > article > .container {
  max-width: 100% !important;
  padding-left: 0;
  padding-right: 0;
}

/* ==========================================================================
   Product page — info column in site (navy) style
   ========================================================================== */
.product-info-col .price {
  color: var(--header-bg);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1.05;
  margin: 3.25rem 0 !important;
}
.product-info-col .price .old-price {
  color: var(--old-price-color);
  font-weight: 400;
  font-size: 1.3rem;
  margin-left: 10px;
}

/* Add to Cart — solid navy CTA, matches catalog/carousel cards */
.product-info-col .btn-modern {
  background: var(--header-bg);
  color: #fff;
  border-radius: var(--radius-md);
  height: 48px;
  padding: 0 42px;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* qty stepper same height as the Add to Cart button */
.product-info-col .product-qty,
.product-info-col .product-qty .btn,
.product-info-col .product-qty .form-control { height: 48px; }
.product-info-col .btn-modern:hover,
.product-info-col .btn-modern:active { background: #022a5a; color: #fff; }
.product-info-col .btn-modern:focus,
.product-info-col .btn-modern:focus-visible { box-shadow: 0 0 0 0.2rem rgba(3,55,114,0.30); }

/* Quantity stepper — navy outline, square to match the theme */
.product-info-col .product-qty .btn {
  border: 1px solid var(--header-bg);
  color: var(--header-bg);
  background: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}
.product-info-col .product-qty .btn:hover { background: var(--header-bg); color: #fff; }
.product-info-col .product-qty .form-control { border-color: var(--header-bg); }
.product-info-col .product-qty .form-control:focus {
  border-color: var(--header-bg);
  box-shadow: 0 0 0 0.2rem rgba(3,55,114,0.15);
}

.product-info-col hr { border-color: var(--border-mid); opacity: 1; margin: 0.35rem 0; }
.product-info-col .stars-row { margin-top: 0.35rem; margin-bottom: 0.5rem !important; justify-content: center; }
.product-info-col .stars-row .stars { font-size: 1.6rem; }

/* Meta block — clean aligned key/value list */
.product-meta { list-style: none; margin: 0; padding: 0; }
.product-meta li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--border-light);
  font-size: 0.98rem;
}
.product-meta li:last-child { border-bottom: none; }
.product-meta .pm-label {
  flex: 0 0 120px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: var(--header-bg);
}
.product-meta .pm-val { color: var(--text-muted-dark); }
.product-meta .pm-val a { color: var(--accent); }
.product-meta .pm-val a:hover { color: var(--header-bg); text-decoration: underline; }

/* Stars + stock badge row */
.product-info-col .stars-row .badge { font-size: 0.8rem; padding: 0.45em 0.8em; }

/* Product info column — centered (title, stars, price, qty + add to cart) */
.product-info-col { text-align: center; }
.product-info-col .product-meta { text-align: left; }

/* Product info column title */
.product-info-col .product-info-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--header-bg);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
@media (max-width: 991px) { .product-info-col .product-info-title { text-align: center; } }
/* "In Stock" as a superscript badge on the title */
.product-info-col .product-stock-badge {
  vertical-align: super;
  font-size: 0.42em;
  font-weight: 600;
  margin-left: 14px;
  padding: 0.45em 0.8em;
  position: relative;
  top: -0.55em;
}

/* ==========================================================================
   Order confirmation page
   ========================================================================== */
.order-confirm-check i {
  font-size: 5rem;
  color: var(--success, #2e9e5b);
}
.order-confirm-cross i {
  font-size: 5rem;
  color: var(--danger, #d9534f);
}
.order-confirm h2 { color: var(--header-bg); }

.order-status-pending { background: #e0a800; }

/* Blog/article listing card thumbnails (replaces repeated inline styles) */
.blog-section .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* About page: image floated left, text wraps around it */
.about-float-img {
  width: 440px;
  max-width: 45%;
}
@media (max-width: 767px) {
  .about-float-img { width: 100%; max-width: 100%; }
}

/* ==========================================================================
   Utility/component classes (replace former inline style= attributes)
   ========================================================================== */
/* Blog article content width + responsive WP caption figures */
.blog-narrow { max-width: 860px; }
.wp-caption { max-width: 100%; }
.wp-caption img { max-width: 100%; height: auto; }

/* Accent color helper (feature icons, prices) */
.text-accent { color: var(--accent); }

/* Narrow centered text blocks */
.mw-720 { max-width: 720px; }
.mw-900 { max-width: 900px; }

/* Sticky cart/checkout summary offset */
.summary-sticky { top: 20px; }

/* Cart quantity input width */
.qty-input-w { width: 140px; }

/* Checkout order-summary thumbnail + payment note */
.checkout-thumb { width: 80px; height: 80px; object-fit: cover; border: 1px solid #eee; }
.checkout-note { border-left: 3px solid var(--accent); background: rgba(0,0,0,0.03); }

/* Mini-cart thumbnail */
.mini-cart-thumb { width: 60px; height: 60px; object-fit: cover; }

/* Best-sellers widget */
.bs-rank { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.bs-thumb { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.fs-065 { font-size: 0.65rem; }
.fs-075 { font-size: 0.75rem; }

/* Catalog sort dropdown */
.sort-select-w { width: 180px; }

/* Account pages (UserController) */
.acct-prod-thumb { height: 80px; object-fit: contain; }
.acct-qr { width: 120px; height: 120px; }
.w-200 { width: 200px; }

.order-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.order-card-header {
  background: var(--header-bg);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 20px;
}
.order-card-body { padding: 20px; }

.order-label {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--header-bg);
  margin-bottom: 2px;
}
.order-value { color: var(--text-muted-dark); }

.order-status-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.4em 0.8em;
  text-transform: capitalize;
}

.order-total {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--header-bg);
}

.order-items-table thead th {
  background: var(--bg-light, #f5f7fa);
  color: var(--header-bg);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  border-bottom: 2px solid var(--border-light);
}
.order-items-table td,
.order-items-table th { padding: 12px 20px; }
.order-bonus-row { background: rgba(46,158,91,0.08); }

/* ==========================================================================
   Mobile overrides (do not affect desktop)
   ========================================================================== */
@media (max-width: 991px) {

  /* Top utility row: stack promo over links, both centered */
  .header-top-nav .container {
    flex-direction: column;
    justify-content: center;
  }

  /* Promo message centered */
  .header-top-promo {
    width: 100%;
    text-align: center;
    padding: 12px 0 18px;
  }

  /* Secondary menu centered with comfortable line spacing */
  .header-top-links {
    justify-content: center;
    width: 100%;
    row-gap: 14px;
    padding: 6px 0 14px;
  }

  /* Remove dividers/edge padding so wrapped, centered rows look even */
  .header-top-links a {
    border-right: none;
    padding: 0 12px;
  }
  .header-top-links a:first-child { padding-left: 12px; }
  .header-top-links a:last-child  { padding-right: 12px; }

  /* Logo row: logo left, cart + burger right, all in one line */
  .header-logo-row { padding: 18px 0; }

  .header-mobile-cart {
    display: inline-flex;
    align-items: center;
    color: var(--header-bg);
    line-height: 1;
    text-decoration: none;
  }
  .header-mobile-cart i { font-size: 1.85rem; }
  .header-mobile-cart .badge { font-size: 0.7rem; }
  .header-mobile-cart:hover { color: var(--accent); }

  .header-mobile-controls .navbar-toggler {
    border-color: var(--header-bg);
    padding: 0.3rem 0.55rem;
  }
  /* Force a dark burger icon (navbar default renders it white here) */
  .header-mobile-controls .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23033772' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* Collapse the now-empty navy bar; it only holds the dropdown menu */
  .navbar-main { padding: 0; }
  .navbar-main .navbar-collapse { padding: 8px 0; }

  /* Footer: center the copyright line */
  .footer-bottom .container { justify-content: center; }
  .footer-copy-text { width: 100%; text-align: center; margin-bottom: 16px; }
}
