/**
 * Modern Design System - Magnet / SQR
 * Premium e-commerce style overrides for Journal3 theme
 * Rose Gold + Warm Taupe color palette — "Cherish the Moments"
 */

/* ============================================
   1. DESIGN TOKENS (CSS Variables)
   ============================================ */
:root {
  /* ── Rose Gold / Copper ── SQR letters exact color */
  --primary: #C17B62;
  --primary-dark: #AD6B54;
  --primary-light: #D4956F;
  --primary-glow: rgba(193, 123, 98, 0.14);
  /* ── Warm Taupe ── "Magnet" text exact color */
  --secondary: #9B8579;
  --secondary-dark: #857068;
  --secondary-light: #B5A69C;
  /* ── Blush / Soft Pink ── logo box borders */
  --accent-pink: #F0C4B8;
  --accent-blush: #FAE8E2;
  --accent-coral: #E8A898;
  --accent-rose: #D4956F;
  /* ── Status colors ── warm-toned to fit palette */
  --success: #8DB580;
  --danger: #D4716A;
  --warning: #E8C870;
  /* ── Darks ── warm chocolate undertone */
  --dark: #3D2E2A;
  --dark-surface: #4A3833;
  --dark-card: #5C4840;
  /* ── Text ── */
  --text-primary: #3D2E2A;
  --text-secondary: #7A6B64;
  --text-muted: #B5A69C;
  /* ── Backgrounds ── warm cream / blush-white */
  --bg-body: #FFF;
  --bg-white: #ffffff;
  --bg-light: #FBF3F0;
  /* ── Borders ── warm, barely-there blush */
  --border-light: #EDE2DC;
  --border-lighter: #F5ECE8;
  /* ── Shadows ── warm tinted */
  --shadow-sm: 0 2px 8px rgba(61, 46, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(61, 46, 42, 0.07);
  --shadow-lg: 0 8px 32px rgba(61, 46, 42, 0.09);
  --shadow-xl: 0 12px 48px rgba(61, 46, 42, 0.12);
  --shadow-primary: 0 4px 16px rgba(193, 123, 98, 0.25);
  /* ── Radii ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  /* ── Transitions ── */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   2. GLOBAL / BODY
   ============================================ */
body {
  background-color: var(--bg-body) !important;
  color: var(--text-primary) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--primary);
  color: #fff;
}

/* ============================================
   3. HEADER OVERRIDES — Modern Premium Header
   ============================================ */

/* ── Overall header container ── */
html header,
html .desktop-header-active header {
  box-shadow: 0 1px 0 var(--border-lighter), 0 4px 24px rgba(61, 46, 42, 0.04) !important;
  transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
  border: none !important;
}

html header::before,
html .header-classic::before {
  background: #fff !important;
}

/* ── Sticky header — subtle shadow ── */
html.is-sticky header,
html .is-sticky header {
  box-shadow: 0 2px 24px rgba(61, 46, 42, 0.08) !important;
}

/* ── Top bar — minimal ── */
html .top-bar {
  border-bottom: 1px solid var(--border-lighter) !important;
  border-top: none !important;
  font-size: 0.82em;
  letter-spacing: 0.04em;
  padding: 6px 0 !important;
}

html .top-bar::before,
html .top-bar::after {
  border: none !important;
  background: transparent !important;
}

html .top-bar a,
html .top-bar .top-menu a {
  color: var(--text-secondary) !important;
  transition: color var(--transition-fast);
}

html .top-bar a:hover {
  color: var(--primary) !important;
}

/* Remove vertical separators in top bar */
html .top-bar .links-menu .menu-item::before,
html .top-bar .links-menu .menu-item::after,
html .top-bar .top-menu .menu-item+.menu-item::before {
  display: none !important;
}

/* ── Mid bar — spacious, breathable ── */
html .mid-bar {
  padding: 16px 24px !important;
  min-height: 80px !important;
  border: none !important;
  align-items: center;
}

html .mid-bar::before,
html .mid-bar::after {
  border: none !important;
  background: transparent !important;
}

/* ── Logo ── */
html #logo a {
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

html #logo a:hover {
  opacity: 0.88;
}

html #logo img {
  transition: transform var(--transition-normal);
}

html #logo a:hover img {
  transform: scale(1.02);
}

/* ─────────────────────────────────────────────
   SEARCH BAR — Wide, prominent, pill-shaped
   ───────────────────────────────────────────── */
html .desktop-search-wrapper,
html .default-search-wrapper,
html .full-search {
  flex: 1 1 auto !important;
  max-width: 600px !important;
  min-width: 280px !important;
  margin: 0 32px !important;
}

/* Allow the search dropdown-menu and all parents to overflow
   so the tt-menu autocomplete can render outside */
html .full-search #search,
html .default-search-wrapper #search {
  overflow: visible !important;
}

/* User-requested fix for search container positioning */
html .full-search #search>.dropdown-menu {
  z-index: 1 !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
  -webkit-transform: translate3d(0, 0, 0) scale(1) !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-width: initial !important;
  width: 100% !important;
  height: 53px !important;
  top: -5px !important;
  overflow: visible !important;
}

html .full-search #search>.j-dropdown,
html .default-search-wrapper #search>.dropdown-menu,
html .default-search-wrapper #search>.j-dropdown {
  overflow: visible !important;
}

html .header-search {
 
}

html .header-search:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--primary-glow) !important;
  background: var(--bg-white) !important;
}

/* Typeahead wrapper (.twitter-typeahead span) —
   position: relative so .tt-menu positions within it */
html .header-search>span.twitter-typeahead,
html .header-search>span {
  flex: 1 1 auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  position: relative !important;
}

html .header-search input,
html .header-search .search-input,
html .header-search .tt-input {
  border: none !important;
  background: transparent !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  color: var(--text-primary) !important;
  height: 44px !important;
  width: 100% !important;
  min-width: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

/* Hide the typeahead ghost hint input completely */
html .header-search .tt-hint {
  display: none !important;
}

html .header-search input::placeholder {
  color: var(--text-muted) !important;
  font-size: 13px;
}

html .header-search input:focus {
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

/* Search button — clean, rounded right side */
html .header-search .search-button,
html .header-search button[type="button"] {
  background: var(--primary) !important;
  border: none !important;
  padding: 0 18px !important;
  height: 36px !important;
  margin: 4px 4px 4px 0 !important;
  color: #fff !important;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  border-radius: var(--radius-pill) !important;
  min-width: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html .header-search .search-button:hover,
html .header-search button[type="button"]:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
  transform: scale(1.05);
}

html .header-search .search-button::before,
html .header-search button[type="button"]::before {
  color: #fff !important;
  font-size: 16px !important;
}

/* Search categories dropdown */
html .header-search .search-categories {
  border-right: 1px solid var(--border-light) !important;
  border-left: none !important;
}

/* ── Typeahead dropdown (tt-menu) ── */
html .tt-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  width: 100% !important;
  margin-top: 8px !important;
  background: var(--bg-white) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-xl) !important;
  border: 1px solid var(--border-lighter) !important;
  max-height: 420px;
  overflow: hidden;
}

html .tt-menu::before {
  display: none !important;
}

html .tt-menu>div {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Search result items inside typeahead */
html .tt-menu .search-result>a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 12px;
  color: var(--text-primary) !important;
  text-decoration: none;
  transition: background-color var(--transition-fast);
  border-bottom: 1px solid var(--border-lighter);
}

html .tt-menu .search-result>a:hover,
html .tt-menu .tt-cursor>a,
html .tt-menu .tt-selectable:hover {
  background-color: var(--primary-glow) !important;
}

html .tt-menu .search-result:last-child>a {
  border-bottom: none;
}

html .tt-menu .search-result img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

html .tt-menu .search-result .product-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.3;
}

html .tt-menu .search-result .price {
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 13px;
}

html .tt-menu .search-result .price-new {
  color: var(--primary) !important;
  font-weight: 700;
}

html .tt-menu .search-result .price-old {
  color: var(--text-muted) !important;
  text-decoration: line-through;
  font-size: 11px;
}

html .tt-menu .search-result.view-more>a {
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
  padding: 12px 14px;
  background: var(--bg-light);
}

html .tt-menu .search-result.view-more>a:hover {
  background: var(--primary-glow) !important;
}

html .tt-menu .search-result.no-results>a {
  justify-content: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 16px;
}

/* ─────────────────────────────────────────────
   CART & ICONS — No separator lines at all
   ───────────────────────────────────────────── */
html .classic-cart-wrapper,
html .desktop-cart-wrapper,
html .default-cart-wrapper {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

html .classic-cart-wrapper::before,
html .classic-cart-wrapper::after,
html .desktop-cart-wrapper::before,
html .desktop-cart-wrapper::after,
html .default-cart-wrapper::before,
html .default-cart-wrapper::after {
  display: none !important;
  border: none !important;
  content: none !important;
  width: 0 !important;
}

/* Remove separators between secondary menu items */
html .secondary-menu .menu-item,
html .secondary-menu .menu-item::before,
html .secondary-menu .menu-item::after {
  border: none !important;
}

html .classic-cart-wrapper .secondary-menu::before,
html .classic-cart-wrapper .secondary-menu::after {
  display: none !important;
}

/* All icon links in header — clean, no borders */
html .mid-bar .secondary-menu a,
html .mid-bar .top-menu a,
html #cart>a,
html .cart-heading {
  border: none !important;
  padding: 8px 10px !important;
  border-radius: var(--radius-sm) !important;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: var(--text-primary) !important;
  position: relative;
}

html .mid-bar .secondary-menu a:hover,
html .mid-bar .top-menu a:hover,
html #cart>a:hover,
html .cart-heading:hover {
  background-color: var(--primary-glow) !important;
  color: var(--primary) !important;
  transform: translateY(-1px);
}

html .mid-bar .secondary-menu a i,
html #cart>a>i,
html .cart-heading>i {
  font-size: 20px !important;
  color: inherit !important;
  border: none !important;
}

/* Cart badge */
html .count-badge,
html #cart-items {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  min-width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  border-radius: 50% !important;
  text-align: center;
  padding: 0 4px !important;
  border: 2px solid #fff !important;
}

html .count-badge.count-zero {
  display: none !important;
}

/* ── Main menu bar ── */
html .desktop-main-menu-wrapper {
  border-top: 1px solid var(--border-lighter) !important;
  border-bottom: none !important;
  padding: 0 !important;
  min-height: 46px !important;
}

html .desktop-main-menu-wrapper::before,
html .desktop-main-menu-wrapper::after {
  border: none !important;
  background: transparent !important;
}

/* Menu items — uppercase, spaced */
html .main-menu>.j-menu>.menu-item>a,
html .main-menu>.menu-item>a {
  letter-spacing: 0.05em;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  text-transform: uppercase;
  padding: 14px 16px !important;
  transition: color var(--transition-fast);
  position: relative;
  color: var(--text-primary) !important;
}

/* Hover underline — rose gold gradient */
html .main-menu>.j-menu>.menu-item>a::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--primary), var(--primary-light)) !important;
  transition: width var(--transition-normal), left var(--transition-normal) !important;
  border-radius: 2px !important;
}

html .main-menu>.j-menu>.menu-item>a:hover::after,
html .main-menu>.j-menu>.menu-item.current>a::after,
html .main-menu>.j-menu>.menu-item.active>a::after {
  width: 60% !important;
  left: 20% !important;
}

html .main-menu>.j-menu>.menu-item>a:hover,
html .main-menu>.j-menu>.menu-item.current>a,
html .main-menu>.j-menu>.menu-item.active>a {
  color: var(--primary) !important;
}

/* Mega menu dropdown */
html .mega-menu,
html .j-dropdown {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border-lighter) !important;
  margin-top: 0 !important;
  overflow: hidden;
}


/* ============================================
   4. PRODUCT CARDS
   ============================================ */
/* ============================================
   4. PRODUCT CARDS — Premium & Modern
   ============================================ */
.product-layout .product-thumb,
.product-thumb {
  background: #fff !important;
  border: 1px solid var(--border-lighter) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative;
}

.product-layout .product-thumb:hover,
.product-thumb:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--primary-glow) !important;
  z-index: 2;
}

/* Product Image Area */
.product-thumb .image {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 12px 12px 0 0 !important;
  margin: 0 !important;
  background: #f9f9f9 !important;
}

.product-thumb .image img {
  width: 100% !important;
  height: auto !important;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  border-radius: 12px 12px 0 0 !important;
}

.product-thumb:hover .image img {
  transform: scale(1.08) !important;
}

/* Badges (New, Sale, Stock) */
.product-thumb .product-label,
.label-new,
.label-sale,
.label-stock,
.outofstock {
  border-radius: 4px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 4px 8px !important;
  
  top: 10px !important;
  line-height: 1 !important;
}

.label-new {
  background: var(--text-primary) !important;
  color: #fff !important;
  right: 10px !important;
  left: auto !important;
}

.label-sale {
  background: var(--primary) !important;
  color: #fff !important;
  left: 10px !important;
  right: auto !important;
}

.outofstock {
  background: #999 !important;
  color: #fff !important;
  top: 10px !important;
}

/* Product Content Caption */
.product-thumb .caption {
  padding: 15px !important;
  text-align: center !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  min-height: 110px;
}

/* Product Name */
.product-thumb .name,
.product-thumb .caption h4,
.product-thumb .caption h4 a,
.product-thumb .product-name,
.product-thumb .name a {
  font-family: inherit !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
  white-space: normal !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.product-thumb .name a:hover,
.product-thumb .caption h4 a:hover,
.product-thumb .product-name:hover {
  color: var(--primary) !important;
}

/* Product Price */
.product-thumb .price {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin: auto auto 10px auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.product-thumb .price-new {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.product-thumb .price-old {
  color: var(--text-muted) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

/* Action Buttons (Cart, Wishlist, Compare) */
.product-thumb .button-group,
.product-thumb .btn-group,
.product-thumb .product-btn {
  border-top: 1px solid #f0f0f0 !important;
  background: #fff !important;
  overflow: hidden !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 10px 0 5px 0 !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
}

.product-thumb .button-group button,
.product-thumb .btn-group button,
.product-thumb .product-btn button {
  background: #fff !important;
  border: 1px solid #eee !important;
  color: #555 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
  margin: 0 !important;
}

.product-thumb .button-group button i,
.product-thumb .btn-group button i {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.product-thumb .button-group button span {
  display: none !important;
}

.product-thumb .button-group button:hover,
.product-thumb .btn-group button:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Cart Button Special Emphasis (optional) */
.product-thumb .button-group button[onclick*="cart"]:hover {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
}

/* Staggered animation for product grid */
@keyframes productFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-products .product-layout,
.product-grid .product-layout {
  animation: productFadeIn 0.4s ease forwards;
}

.main-products .product-layout:nth-child(1) {
  animation-delay: 0.05s;
}

.main-products .product-layout:nth-child(2) {
  animation-delay: 0.1s;
}

.main-products .product-layout:nth-child(3) {
  animation-delay: 0.15s;
}

.main-products .product-layout:nth-child(4) {
  animation-delay: 0.2s;
}

.main-products .product-layout:nth-child(5) {
  animation-delay: 0.25s;
}

.main-products .product-layout:nth-child(6) {
  animation-delay: 0.3s;
}

.main-products .product-layout:nth-child(7) {
  animation-delay: 0.35s;
}

.main-products .product-layout:nth-child(8) {
  animation-delay: 0.4s;
}

/* Product label badges */
.product-label {
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
}


/* ============================================
   5. BUTTONS
   ============================================ */
.btn-primary,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-primary) !important;
  transition: all var(--transition-normal) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  text-shadow: none !important;
}

.btn-primary:hover,
.btn-primary:active {
  background: linear-gradient(135deg, var(--primary-dark), #A0614E) !important;
  box-shadow: 0 6px 20px rgba(193, 123, 98, 0.4) !important;
  transform: translateY(-2px);
}

.btn-default {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-light) !important;
  transition: all var(--transition-fast) !important;
  font-weight: 500 !important;
}

.btn-default:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background-color: var(--primary-glow) !important;
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #7AA36E) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #C05E57) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
}

/* ============================================
   6. FORMS
   ============================================ */
.form-control:not(.search-input):not(.tt-input),
input[type="text"]:not(.search-input):not(.tt-input),
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
  border: 2px solid var(--border-light) !important;
  border-radius: var(--radius-sm) !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  padding: 10px 14px !important;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-glow) !important;
  outline: none !important;
}

/* ============================================
   7. BREADCRUMBS
   ============================================ */
.breadcrumb {
  background: transparent !important;
  padding: 12px 0 !important;
}

.breadcrumb>li a {
  transition: color var(--transition-fast);
}

.breadcrumb>li a:hover {
  color: var(--primary) !important;
}

.breadcrumb>li+li::before {
  color: var(--text-muted) !important;
}

/* ============================================
   8. PAGE TITLE
   ============================================ */
h1.page-title,
h1.page-title>span {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

/* ============================================
   9. ALERTS / NOTIFICATIONS
   ============================================ */
.alert {
  border-radius: var(--radius-md) !important;
  border: none !important;
  font-weight: 500;
}

.alert-success {
  background: linear-gradient(135deg, rgba(141, 181, 128, 0.12), rgba(141, 181, 128, 0.05)) !important;
  color: #5A7A4E !important;
  border-left: 4px solid var(--success) !important;
}

.alert-danger {
  background: linear-gradient(135deg, rgba(212, 113, 106, 0.12), rgba(212, 113, 106, 0.05)) !important;
  color: #9B4740 !important;
  border-left: 4px solid var(--danger) !important;
}

.alert-info {
  background: linear-gradient(135deg, rgba(193, 123, 98, 0.12), rgba(193, 123, 98, 0.05)) !important;
  color: var(--primary-dark) !important;
  border-left: 4px solid var(--primary) !important;
}

/* ============================================
   10. TABLES
   ============================================ */
.table {
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

.table>thead>tr>td,
.table>thead>tr>th {
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-light) !important;
}

.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th {
  border-color: var(--border-lighter) !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: var(--bg-light) !important;
}

.table>tbody>tr {
  transition: background-color var(--transition-fast);
}

.table>tbody>tr:hover {
  background-color: var(--primary-glow) !important;
}

/* ============================================
   11. PAGINATION
   ============================================ */
.pagination>li>a,
.pagination>li>span {
  border-radius: var(--radius-sm) !important;
  margin: 0 3px;
  border: 1px solid var(--border-light) !important;
  color: var(--text-secondary) !important;
  transition: all var(--transition-fast);
  font-weight: 600;
  min-width: 38px;
  text-align: center;
}

.pagination>li>a:hover {
  background-color: var(--primary-glow) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: var(--shadow-primary);
}

/* ============================================
   12. FOOTER
   ============================================ */
footer {
  position: relative;
}

footer a {
  transition: color var(--transition-fast), transform var(--transition-fast) !important;
}

footer a:hover {
  color: var(--secondary-light) !important;
  transform: translateX(3px);
  display: inline-block;
}

/* ============================================
   13. CART DROPDOWN
   ============================================ */
.cart-content {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-xl) !important;
  border: 1px solid var(--border-lighter) !important;
  overflow: hidden;
}

.cart-content .table {
  margin-bottom: 0;
}

.cart-content .btn-primary {
  border-radius: var(--radius-pill) !important;
}

.cart-content .btn-default {
  border-radius: var(--radius-pill) !important;
}

/* ============================================
   14. PRODUCT DETAIL PAGE
   ============================================ */
.product-info .product-details .title {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.product-info .price,
#product .price {
  color: var(--primary) !important;
  font-weight: 800 !important;
}

.product-info .price-old,
#product .price-old {
  color: var(--text-muted) !important;
}

/* Tabs */
.nav-tabs {
  border-bottom: 2px solid var(--border-light) !important;
}

.nav-tabs>li>a {
  border: none !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  transition: all var(--transition-fast);
  position: relative;
  padding: 12px 20px !important;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
  color: var(--primary) !important;
  border: none !important;
  border-bottom: 3px solid var(--primary) !important;
  background: transparent !important;
}

.nav-tabs>li>a:hover {
  color: var(--primary) !important;
  background: var(--primary-glow) !important;
}

.tab-content {
  padding: 20px 0 !important;
}

/* Review stars */
.fa-star {
  color: var(--accent-orange) !important;
}

/* Rating */
.rating .fa-stack {
  color: var(--accent-orange) !important;
}

/* Quantity input */
.product-info #product .form-group .qty-group,
.product-info .product-quantity {
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}

/* Add to cart button on product page */
.product-info .cart-group .btn-cart,
.product-info #button-cart,
button#button-cart {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-primary) !important;
  transition: all var(--transition-normal) !important;
}

.product-info .cart-group .btn-cart:hover,
.product-info #button-cart:hover,
button#button-cart:hover {
  box-shadow: 0 8px 28px rgba(193, 123, 98, 0.45) !important;
  transform: translateY(-2px);
}

/* Wishlist / Compare buttons on product page */
.product-info .wishlist-compare button,
.product-info .wishlist-compare a {
  border-radius: var(--radius-sm) !important;
  transition: all var(--transition-fast) !important;
}

.product-info .wishlist-compare button:hover,
.product-info .wishlist-compare a:hover {
  color: var(--primary) !important;
  background-color: var(--primary-glow) !important;
}

/* Product image gallery */
.product-info .image-container {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
}

.product-info .image-additional .swiper-slide {
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  border: 2px solid transparent !important;
  transition: border-color var(--transition-fast);
}

.product-info .image-additional .swiper-slide:hover,
.product-info .image-additional .swiper-slide.active {
  border-color: var(--primary) !important;
}

/* ============================================
   15. SIDE COLUMN / FILTER
   ============================================ */
.side-column .panel,
.side-column .box,
.column-block {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-lighter) !important;
}

.side-column .panel-heading,
.side-column .box-heading {
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

/* ============================================
   16. WELL / PANELS
   ============================================ */
.well {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-lighter) !important;
  box-shadow: var(--shadow-sm);
  background: var(--bg-white) !important;
}

.panel {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-lighter) !important;
  box-shadow: var(--shadow-sm);
}

.panel-heading {
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

/* ============================================
   17. MODALS
   ============================================ */
.modal-content {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-xl) !important;
  border: none !important;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--border-lighter) !important;
}

.modal-footer {
  border-top: 1px solid var(--border-lighter) !important;
}

/* ============================================
   18. SWIPER / CAROUSEL
   ============================================ */
.swiper-button-prev,
.swiper-button-next {
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast) !important;
  background: var(--bg-white) !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.1);
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

/* ============================================
   19. SCROLL TO TOP
   ============================================ */
.scroll-top {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary) !important;
  transition: all var(--transition-normal) !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 99999 !important;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(193, 123, 98, 0.5) !important;
}

.scroll-top i {
  font-size: 20px !important;
  color: #fff !important;
}

.scroll-top.scroll-top-active {
  display: flex !important;
}

/* ============================================
   20. CATEGORY PAGE FILTER BAR
   ============================================ */
.products-filter {
  border-radius: var(--radius-md) !important;
  background: var(--bg-white);
  padding: 12px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-lighter);
}

.products-filter .view-btn {
  border-radius: var(--radius-sm) !important;
  transition: all var(--transition-fast);
}

.products-filter .view-btn.active,
.products-filter .view-btn:hover {
  color: var(--primary) !important;
  background-color: var(--primary-glow) !important;
}

.products-filter select {
  border-radius: var(--radius-sm) !important;
}

/* ============================================
   21. SUBCATEGORY CARDS
   ============================================ */
.refine-item a {
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-normal) !important;
  overflow: hidden;
}

.refine-item a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   22. CHECKOUT PAGE
   ============================================ */
.checkout-cart .table-responsive {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#checkout .panel {
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px !important;
}

#checkout .panel-heading {
  font-weight: 700 !important;
}

/* ============================================
   23. ACCOUNT PAGES
   ============================================ */
#account-login .well,
#account-register .well,
#account-account .list-group {
  border-radius: var(--radius-lg) !important;
  padding: 28px !important;
}

/* ============================================
   24. LOGIN PAGE MODERN
   ============================================ */
#account-login .well h2 {
  font-weight: 700 !important;
  margin-bottom: 16px;
}

/* ============================================
   25. MOBILE HEADER
   ============================================ */
.mobile-header-active .mobile-header .mobile-bar.sticky-bar {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.mobile-header-active .mobile-bar-group .menu-trigger,
.mobile-header-active .mobile-cart-wrapper a,
.mobile-header-active .mobile-search-wrapper {
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.mobile-header-active .mobile-bar-group .menu-trigger:active,
.mobile-header-active .mobile-cart-wrapper a:active {
  opacity: 0.8;
  transform: scale(0.95);
}

/* Mobile menu */
.mobile-main-menu-container {
  box-shadow: var(--shadow-xl) !important;
}

.mobile-main-menu-container .mobile-wrapper-header {
  border-bottom: 1px solid var(--border-lighter);
}

/* ============================================
   26. SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* ============================================
   27. LOADING SPINNER
   ============================================ */
.journal-loading-overlay {
  background: rgba(255, 250, 248, 0.7) !important;
  backdrop-filter: blur(4px);
}

/* ============================================
   28. MISC ENHANCEMENTS
   ============================================ */
/* Links */
a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

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

/* Cards general */
.panel-body {
  padding: 20px !important;
}

/* Badge */
.badge,
.label {
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
}

.label-info {
  background-color: var(--primary) !important;
}

.label-success {
  background-color: var(--success) !important;
}

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

/* Cart count badge */
.cart-badge,
.count-badge,
.cart-count {
  background: linear-gradient(135deg, var(--danger), #C05E57) !important;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50% !important;
  font-size: 10px;
}

/* Smooth page transitions */
.site-wrapper>.container {
  animation: pageLoad 0.4s ease;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Journal3 popup modal */
.journal-popup .popup-body {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
}

/* Info blocks hover */
.info-block {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal) !important;
}

.info-block:hover {
  transform: translateY(-4px);
}

/* Module titles */
.title-module h3 {
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

/* Tooltip */
.tooltip-inner {
  border-radius: var(--radius-sm) !important;
  font-weight: 500;
  padding: 6px 12px;
}

/* Dropdown menu */
.dropdown-menu {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border-lighter) !important;
  padding: 8px !important;
}

.dropdown-menu>li>a {
  border-radius: var(--radius-sm) !important;
  padding: 8px 14px !important;
  transition: all var(--transition-fast);
}

.dropdown-menu>li>a:hover {
  background-color: var(--primary-glow) !important;
  color: var(--primary) !important;
}

/* Compare page improvements */
.compare-info {
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

/* Wishlist improvements */
.wishlist-info .table {
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

/* Image thumbnail hover */
.img-thumbnail {
  transition: all var(--transition-normal) !important;
}

.img-thumbnail:hover {
  box-shadow: var(--shadow-md);
}

/* Empty state */
#content h1+p:only-of-type:last-child {
  text-align: center;
  padding: 40px 20px !important;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Category description */
.category-description {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  margin-bottom: 20px;
}

.category-text {
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Refine categories */
.refine-categories {
  margin-bottom: 24px;
}

.refine-title {
  font-weight: 700 !important;
  margin-bottom: 16px !important;
}

/* Banner modules */
.module-banners {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
}

.module-banners img {
  transition: transform var(--transition-slow) !important;
}

.module-banners:hover img {
  transform: scale(1.03);
}

/* ============================================
   29. JOURNAL3 DYNAMIC OVERRIDES
   Force brand palette over admin-panel generated colors
   ============================================ */

/* ── Header backgrounds ── */
html header,
html header::before,
html .top-bar,
html .top-bar::before,
html .mid-bar,
html .mid-bar::before,
html .bottom-bar,
html .bottom-bar::before {
  background-color: #fff !important;
}

/* ── Main menu links ── brand taupe */
html .main-menu>.j-menu>.menu-item>a,
html .main-menu .menu-item>a {
  color: var(--text-primary) !important;
}

html .main-menu>.j-menu>.menu-item>a:hover,
html .main-menu .menu-item>a:hover,
html .main-menu>.j-menu>.menu-item.current>a,
html .main-menu .menu-item.current>a {
  color: var(--primary) !important;
}

/* ── Menu underline / indicator ── rose gold */
html .main-menu>.j-menu>.menu-item>a::after {
  background: linear-gradient(90deg, var(--primary), var(--accent-coral)) !important;
}

/* ── Top bar links ── */
html .top-bar a,
html .top-bar .links-menu a {
  color: var(--text-secondary) !important;
}

html .top-bar a:hover {
  color: var(--primary) !important;
}

/* ── Icon colors (cart, wishlist, account) ── */
html .desktop-header .icon-wrapper i,
html .desktop-header .cart-icon i,
html .desktop-header [class*="icon"] i {
  color: var(--text-primary) !important;
}

/* ── Journal3 buttons — primary action ── */
html .btn-primary,
html .j-btn,
html button.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

html .btn-primary:hover,
html .j-btn:hover,
html button.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #A0614E) !important;
}

/* ── Product price color ── rose gold */
html .product-thumb .price,
html .product-thumb .price-new,
html .price .price-new,
html .product-info .price,
html .product-info .price-new,
html .product-page .price-new {
  color: var(--primary) !important;
}

/* ── Product old price ── muted taupe */
html .product-thumb .price-old,
html .price .price-old,
html .product-info .price-old,
html .product-page .price-old {
  color: var(--text-muted) !important;
}

/* ── Cart button in product card ── */
html .product-thumb .cart-group button:first-child,
html .product-thumb .button-group>button:first-child,
html .product-thumb .btn-cart {
  background-color: var(--primary) !important;
  color: #fff !important;
  transition: all var(--transition-fast) !important;
}

html .product-thumb .cart-group button:first-child:hover,
html .product-thumb .button-group>button:first-child:hover,
html .product-thumb .btn-cart:hover {
  background-color: var(--primary-dark) !important;
}

/* ── Wishlist & Compare icons in product card ── */
html .product-thumb .wishlist-btn:hover,
html .product-thumb .compare-btn:hover,
html .product-thumb .quick-view-btn:hover {
  color: var(--primary) !important;
}

/* ── Journal3 Swiper pagination ── */
html .swiper-pagination-bullet-active {
  background-color: var(--primary) !important;
}

html .swiper-pagination-bullet {
  background-color: var(--accent-pink) !important;
  opacity: 1 !important;
}

/* ── Journal3 tab pills ── */
html .tab-bar .tab-item.active,
html .tab-bar .tab-item:hover {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* ── Pagination active ── */
html .pagination>.active>a,
html .pagination>.active>span {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

html .pagination>li>a:hover {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  background-color: var(--primary-glow) !important;
}

/* ── Footer background ── warm dark */
html footer {
  background-color: var(--dark) !important;
}

html footer::before {
  background-color: var(--dark) !important;
}

html footer h5,
html footer .footer-title,
html footer .title {
  color: var(--accent-pink) !important;
}

html footer a {
  color: var(--secondary-light) !important;
}

html footer a:hover {
  color: var(--accent-pink) !important;
}

html footer .powered,
html footer .copyright,
html footer p {
  color: var(--text-muted) !important;
}

/* ── Header Notice bar ── blush accent */
html .notice-module .module-body,
html .notice-module .hn-body {
  background-color: var(--accent-blush) !important;
  color: var(--primary-dark) !important;
}

/* ── Sale / Discount badge ── */
html .product-label.sale,
html .product-label.special {
  background-color: var(--danger) !important;
}

html .product-label.new {
  background-color: var(--primary) !important;
}

/* ── Scroll to top ── */
html .scroll-top {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

html .scroll-top i {
  color: #fff !important;
}

/* ── Journal3 side menu / mobile menu links ── */
html .mobile-main-menu-wrapper .j-menu a,
html .side-menu a {
  color: var(--text-primary) !important;
}

html .mobile-main-menu-wrapper .j-menu a:hover,
html .side-menu a:hover {
  color: var(--primary) !important;
}

/* ── Journal3 module titles ── warm taupe */
html .title-module h3,
html .module-title h3 {
  color: var(--dark) !important;
}

/* ── Selection color ── */
::selection {
  background-color: var(--primary) !important;
  color: #fff !important;
}

/* ── Page title ── */
html h1.page-title,
html h1.page-title span,
html h2.page-title {
  color: var(--dark) !important;
}

/* ── Breadcrumb links ── */
html .breadcrumb a {
  color: var(--text-secondary) !important;
}

html .breadcrumb a:hover {
  color: var(--primary) !important;
}

/* ── Info blocks / USPs ── */
html .info-block::before {
  color: var(--primary) !important;
}

/* ── Journal3 category page filter bar ── */
html .products-filter .view-btn.active {
  color: var(--primary) !important;
}

/* ── Side column filter checkbox/radio ── */
html .side-column input[type="checkbox"]:checked+label::before,
html .side-column input[type="radio"]:checked+label::before {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* ── Links throughout the site ── */
html a {
  color: var(--primary);
}

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

/* ── Journal3 popup newsletter ── */
html .journal-popup .popup-bg {
  background: linear-gradient(135deg, var(--accent-blush), var(--accent-pink)) !important;
}

html .journal-popup .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}
/* ============ MODERN FOOTER OVERRIDES (Journal3) ============ */
footer {
    background: var(--bg-dark) !important;
    padding: 80px 0 40px;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

footer .footer-col {
    margin-bottom: 30px;
}

footer h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Brand Section */
.brand-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff !important;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-desc {
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

.contact-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
}

.contact-info li i {
    width: 25px;
    color: var(--primary);
    font-size: 16px;
}

/* Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
    text-decoration: none;
}

/* Newsletter */
.newsletter-input-group {
    display: flex;
    width: 100%;
}

.newsletter-input-group .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    height: 45px;
    border-radius: 4px 0 0 4px;
    box-shadow: none;
}

.newsletter-input-group .form-control:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.newsletter-input-group .btn {
    height: 45px;
    background: var(--primary);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.newsletter-input-group .btn:hover {
    background: var(--primary-dark);
}

/* Social Icons */
.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.social-links.mt-20 {
    margin-top: 20px;
}

/* Divider & Bottom */
.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    padding-top: 0px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.payment-methods {
    opacity: 0.7;
}

.payment-methods i {
    font-size: 28px;
    margin-left: 10px;
    color: #fff;
    transition: opacity 0.3s;
}

.payment-methods i:hover {
    opacity: 1;
}

/* Tablet / Mobile Adjustments */
@media (max-width: 768px) {
    footer {
        padding: 50px 0 30px;
        text-align: center;
    }
    
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .footer-bottom .col-sm-6 {
        text-align: center !important;
        margin-bottom: 15px;
    }
    
    .payment-methods {
        justify-content: center;
        display: flex;
    }
    
    .payment-methods i {
        margin: 0 5px;
    }
    
    .social-links {
        justify-content: center;
    }
}


/* ============ JOURNAL3 FOOTER MODERN STYLING ============ */
/* Applying modern look to existing Journal3 footer structure */

footer {
  background: var(--bg-dark) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding-top: 1px;
    padding-bottom: 0px;
    border-top: none !important;
}

/* Titles */
footer .module-title,
footer .title,
footer h3,
footer h4,
footer h5 {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px !important;
    padding-bottom: 15px;
    position: relative;
    border-bottom: none !important;
    background: transparent !important;
}

footer .module-title::after,
footer .title::after,
footer h3::after,
footer h4::after,
footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Links */
footer a,
footer .links a,
footer ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    padding: 5px 0;
    display: inline-block;
}

footer a:hover,
footer .links a:hover,
footer ul li a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
    background: transparent !important;
}

/* Text Paragraphs */
footer p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Newsletter Input (if present) */
footer input[type='text'],
footer input[type='email'] {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 4px !important;
    height: 45px !important;
}

footer input[type='text']:focus,
footer input[type='email']:focus {
    border-color: var(--primary) !important;
    background: rgba(255,255,255,0.1) !important;
}

/* Newsletter Button */
footer .btn,
footer .button {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    transition: background 0.3s ease;
}

footer .btn:hover,
footer .button:hover {
    background: var(--primary-dark) !important;
}

/* Icons in Footer */
footer .fa,
footer i {
    color: var(--primary);
    margin-right: 8px;
}

/* Social Icons (Generic Journal Classes) */
footer .social-icon,
footer .icons a {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: inline-block;
    margin-right: 5px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

footer .social-icon:hover,
footer .icons a:hover {
    background: var(--primary) !important;
    transform: translateY(-3px);
    border-color: var(--primary);
}

footer .social-icon i,
footer .icons a i {
    margin-right: 0 !important;
    color: #fff !important;
}

/* Copyright Row */
footer .copyright-text,
footer .bottom-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 40px;
    padding-top: 20px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    text-align: center;
}

