/* ==========================================================================
   TRICKSTER UI/UX BASE
   ========================================================================== */
* { margin: 0; padding: 0; outline: none; border: none; box-sizing: border-box; }

/* Ensure the [hidden] attribute always wins over component display rules
   (e.g. .market-empty { display: grid }) so JS-toggled fallbacks stay hidden. */
[hidden] { display: none !important; }

/* Restore a visible keyboard focus indicator (the reset above clears outlines). */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

:root {
  --primary: #ff5400;
  --primary-hover: #242424;
  --dark: #242424;
  --dark-light: rgba(36, 36, 36, 0.85);
  --text: rgba(36, 36, 36, 0.7);
  --bg: #f5f5f5;
  --white: #ffffff;
  --border: #f5f5f5;
  --radius: 4px;
  --shadow: 0 4px 10px rgba(36, 36, 36, 0.08);
  --font-main: "Lato", sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.5em;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, a { line-height: 1.2em; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease-in-out; }
ul, ol { list-style: none; }
img { width: 100%; display: block; }
button { cursor: pointer; background: transparent; font-family: var(--font-main); }
input, select { font-family: var(--font-main); }

.container { max-width: 1170px; width: 95%; margin: 0 auto; }
.clearfix:after { content: ''; display: table; clear: both; }

/* ==========================================================================
   TYPOGRAPHY & TITLES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 { color: var(--dark); font-weight: 900; }

.section { padding: 80px 0; }
.section.gray { background-color: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.dark { background-color: var(--dark); }

.section-title {
  font-size: 2em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 15px;
}
.section-subtitle {
  font-size: 1em;
  text-align: center;
  color: var(--text);
  margin-bottom: 30px;
}
.line-separator {
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 0 auto 50px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 30px;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.15s ease-in-out;
  border: 2px solid var(--primary);
  white-space: nowrap;
}
.button:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); color: var(--white); }
.button i { color: var(--white); font-size: 1.2em; transition: color 0.15s ease-in-out; }
.button:hover i { color: #ff5400; }

.button.v2 { background-color: transparent; color: var(--primary); }
.button.v2:hover { background-color: var(--primary); color: var(--white); }
.button.v2 i { color: var(--primary); }
.button.v2:hover i { color: var(--white); }

.button.dark { background-color: var(--dark); border-color: var(--dark); color: var(--white); }
.button.dark:hover { background-color: var(--dark-light); border-color: var(--dark-light); }
.button.dark i { color: var(--white); }

.button.full { width: 100%; }
.button.medium { height: 54px; line-height: 50px; font-size: 0.8125em; }
.button.small { height: 36px; line-height: 32px; padding: 0 20px; font-size: 0.65em; }

/* ==========================================================================
   TOP BAR (WIDGET LINE)
   ========================================================================== */
.widget-line-wrap { background-color: var(--dark); }
.widget-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  font-size: 0.8125em;
  color: rgba(255, 255, 255, 0.7);
}
.actions-list { display: flex; align-items: center; }
.actions-list-item {
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.actions-list-item:first-child { border-left: 1px solid rgba(255, 255, 255, 0.15); }
.actions-list-item.no-border { border: none !important; }
.actions-list-item a { color: rgba(255, 255, 255, 0.7); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.actions-list-item a:hover { color: var(--primary); }
.actions-list-item i { font-size: 1.1em; }
.highlight-text { color: var(--primary); }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.navigation-wrap {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6em;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  max-width: 180px;
}
.logo img {
  width: 180px;
  max-width: 180px;
  height: auto;
  display: block;
}
.logo i { color: var(--primary); font-size: 1.6em; }

.main-menu { display: flex; height: 100%; align-items: center; gap: 30px; }
.main-menu-item > a {
  font-weight: 900;
  color: var(--dark);
  font-size: 0.875em;
  text-transform: uppercase;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.main-menu-item > a:hover { color: var(--primary); }
.main-menu-item > a i { font-size: 1.2em; color: var(--text); }

.cart-dropdown-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   MOBILE DRAWER MENU
   ========================================================================== */
.menu-toggle-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: all 0.2s ease-in-out;
}
.menu-toggle-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(36, 36, 36, 0.15);
  transition: right 0.3s ease-in-out;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.mobile-menu-drawer.active {
  right: 0;
}

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

.drawer-close-btn {
  font-size: 1.6rem;
  color: var(--dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.drawer-close-btn:hover {
  background: var(--bg);
  color: var(--primary);
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-menu-item a {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 36, 36, 0.05);
}
.drawer-menu-item a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.drawer-actions {
  margin-top: auto;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 36, 36, 0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(4px);
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-banner {
  background-color: var(--dark);
  position: relative;
  height: 550px;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  object-position: center center;
}
.hero-slide:nth-child(4) .hero-img {
  object-position: center top;
}
.hero-container-overlay {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 650px;
  pointer-events: auto;
}
.hero-content h1 {
  color: var(--white);
  font-size: 4em;
  text-transform: uppercase;
  line-height: 1.1em;
  margin-bottom: 20px;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125em;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 20px; }

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(36, 36, 36, 0.4);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
}
.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.prev-arrow {
  left: 30px;
}
.next-arrow {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dots .dot:hover, .slider-dots .dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .prev-arrow { left: 10px; }
  .next-arrow { right: 10px; }
  .hero-content h1 { font-size: 2.5em; }
}

/* ========================================================================== 
   MARKETPLACE LISTING FLOW
   ========================================================================== */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.market-page { background: #f7f6f3; }
.market-section { padding: 58px 0 82px; }
.market-hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  padding: 82px 0 76px;
}
.market-hero::before,
.market-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.market-hero::before {
  width: 520px;
  height: 520px;
  background: var(--primary);
  opacity: .95;
  right: -180px;
  top: -360px;
}
.market-hero::after {
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255,255,255,.18);
  right: 12%;
  bottom: -190px;
}
.market-hero .container { position: relative; z-index: 1; }
.market-hero h1 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: .98em;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.market-hero h1 span { color: var(--primary); }
.market-hero > .container > p:last-child {
  max-width: 600px;
  margin-top: 20px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}
.market-hero-compact { padding: 62px 0 58px; }
.market-eyebrow,
.market-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}
.market-hero .market-eyebrow { color: #ff8a4d; }

.post-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}
.post-aside {
  position: sticky;
  top: 116px;
  padding: 24px 20px;
  border-top: 4px solid var(--primary);
  background: var(--dark);
  color: rgba(255,255,255,.7);
}
.post-aside-label {
  margin-bottom: 18px;
  color: var(--white);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.post-stepper { display: grid; gap: 2px; }
.post-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 11px;
  width: 100%;
  padding: 12px 8px;
  color: rgba(255,255,255,.52);
  text-align: left;
}
.post-step span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
}
.post-step b { font-size: .79rem; line-height: 1.25; text-transform: uppercase; }
.post-step small { font-size: .73rem; line-height: 1.2; }
.post-step.active { color: var(--white); background: rgba(255,255,255,.08); }
.post-step.active span,
.post-step.complete span { border-color: var(--primary); background: var(--primary); color: var(--white); }
.post-step.complete { color: #ffc29e; }
.post-aside-help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .74rem;
  line-height: 1.5;
}
.post-aside-help i { color: var(--primary); font-size: 1.25rem; }

.post-card,
.review-card,
.success-card,
.market-filters,
.market-card,
.my-listing-row,
.listing-contact-panel {
  border: 1px solid #e8e4de;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(36,36,36,.06);
}
.post-card { min-width: 0; padding: clamp(24px, 4vw, 52px); }
.post-card h2 { margin: 5px 0 11px; font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.post-intro { max-width: 660px; margin-bottom: 34px; color: var(--text); line-height: 1.65; }
.draft-notice,
.dashboard-note,
.listing-pending-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 13px 15px;
  border-left: 3px solid var(--primary);
  background: #fff3ed;
  color: #784025;
  font-size: .82rem;
  line-height: 1.5;
}
.draft-notice i,
.dashboard-note i { color: var(--primary); font-size: 1.1rem; }
.choice-fieldset,
.photo-fieldset { margin: 0 0 30px; }
.choice-fieldset legend,
.photo-fieldset legend,
.form-field > label {
  display: block;
  margin-bottom: 9px;
  color: var(--dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.choice-fieldset legend span,
.form-field > label span { color: var(--primary); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.choice-card { position: relative; display: flex; gap: 13px; align-items: center; min-height: 82px; padding: 16px; border: 1px solid #ded9d1; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card:has(input:checked) { border-color: var(--primary); background: #fff4ef; }
.choice-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.choice-card b,
.choice-card small { display: block; }
.choice-card b { color: var(--dark); font-size: .95rem; }
.choice-card small { margin-top: 3px; font-size: .76rem; }
.choice-icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--primary); background: #fff0e8; font-size: 1.2rem; }
.field-hint { margin: -3px 0 13px; font-size: .8rem; line-height: 1.5; }
.photo-dropzone {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 32px 20px;
  border: 2px dashed #cfc7bd;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.photo-dropzone:hover,
.photo-dropzone:focus-within,
.photo-dropzone.is-dragover { border-color: var(--primary); background: #fff5ef; color: var(--dark); }
.photo-dropzone > i { color: var(--primary); font-size: 2rem; }
.photo-dropzone strong { color: var(--dark); font-size: .92rem; }
.photo-dropzone span { font-size: .78rem; }
.photo-browse { margin-top: 5px; padding: 7px 12px; background: var(--dark); color: var(--white); font-size: .68rem !important; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.photo-upload-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 9px; font-size: .72rem; }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin-top: 16px; }
.photo-preview { position: relative; overflow: hidden; min-width: 0; border: 1px solid #e7e1d9; background: #f4f1ed; }
.photo-preview.is-main { border: 2px solid var(--primary); }
.photo-preview img { aspect-ratio: 1 / .75; object-fit: cover; }
.photo-preview-controls { display: flex; align-items: stretch; min-height: 34px; }
.photo-preview-controls button { flex: 1; padding: 5px 7px; color: var(--dark); background: var(--white); font-size: .63rem; font-weight: 900; text-transform: uppercase; }
.photo-preview-controls button:disabled { color: var(--primary); }
.photo-preview-controls .photo-remove { flex: 0 0 34px; padding: 0; border-left: 1px solid #e7e1d9; color: #bd321e; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 19px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-field { min-width: 0; margin-bottom: 18px; }
.post-card input:not([type="checkbox"]):not([type="radio"]),
.post-card select,
.post-card textarea,
.market-filters input,
.market-filters select {
  width: 100%;
  border: 1px solid #d8d2ca;
  border-radius: 0;
  background: #fff;
  color: var(--dark);
  font-size: .9rem;
  line-height: 1.35;
  padding: 12px 13px;
  transition: border-color .2s, box-shadow .2s;
}
.post-card textarea { min-height: 110px; resize: vertical; }
.post-card input.has-error,
.post-card select.has-error,
.post-card textarea.has-error { border-color: #bd321e; background: #fff8f6; }
.post-card input:focus-visible,
.post-card select:focus-visible,
.post-card textarea:focus-visible,
.market-filters input:focus-visible,
.market-filters select:focus-visible,
.post-step:focus-visible,
.choice-card:has(input:focus-visible),
.button:focus-visible,
.photo-preview-controls button:focus-visible,
.listing-gallery-thumbnails button:focus-visible { outline: 3px solid rgba(255,84,0,.38); outline-offset: 2px; border-color: var(--primary); }
.input-with-suffix { position: relative; }
.input-with-suffix input { padding-right: 58px !important; }
.input-with-suffix span { position: absolute; top: 50%; right: 13px; color: var(--text); font-size: .75rem; font-weight: 900; transform: translateY(-50%); }
.field-bottom { display: flex; justify-content: space-between; gap: 14px; min-height: 19px; margin-top: 5px; color: var(--text); font-size: .7rem; }
.field-error { min-height: 18px; margin-top: 5px; color: #bd321e; font-size: .74rem; font-weight: 700; line-height: 1.35; }
.technical-summary { margin: 0 0 28px; padding: 18px; border-left: 3px solid var(--primary); background: #f6f5f2; }
.technical-summary strong { display: block; margin-bottom: 12px; color: var(--dark); font-size: .82rem; }
.technical-summary ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.technical-summary li { display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; }
.technical-summary b { color: var(--dark); text-align: right; }
.switch-row { display: flex; gap: 11px; align-items: center; margin: 2px 0 26px; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; }
.switch-control { position: relative; flex: 0 0 39px; height: 22px; border-radius: 99px; background: #cac3ba; transition: background .2s; }
.switch-control::after { content: ""; position: absolute; width: 16px; height: 16px; top: 3px; left: 3px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch-row input:checked + .switch-control { background: var(--primary); }
.switch-row input:checked + .switch-control::after { transform: translateX(17px); }
.switch-row b,
.switch-row small { display: block; }
.switch-row b { color: var(--dark); font-size: .83rem; }
.switch-row small { margin-top: 2px; font-size: .74rem; }
.chip-group,
.contact-options { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-group label,
.contact-options label { position: relative; cursor: pointer; }
.chip-group input,
.contact-options input { position: absolute; opacity: 0; }
.chip-group span,
.contact-options span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; border: 1px solid #d8d2ca; color: var(--dark); font-size: .76rem; font-weight: 700; transition: all .2s; }
.chip-group input:checked + span,
.contact-options input:checked + span { border-color: var(--primary); background: #fff1e9; color: var(--primary); }
.chip-group label:has(input:focus-visible) span,
.contact-options label:has(input:focus-visible) span,
.switch-row:has(input:focus-visible) .switch-control,
.terms-row:has(input:focus-visible) span { outline: 3px solid rgba(255,84,0,.38); outline-offset: 3px; }
.terms-row { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 8px; color: var(--dark); font-size: .79rem; line-height: 1.5; cursor: pointer; }
.terms-row input { margin-top: 3px; accent-color: var(--primary); }
.post-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 23px; border-top: 1px solid #ebe7e1; }
.post-actions .button:first-child { margin-right: auto; }
.review-card { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 25px; margin-top: 26px; padding: 24px; }
.review-card h3 { font-size: 1.25rem; }
.review-note { margin-bottom: 13px; color: var(--text); font-size: .75rem; line-height: 1.5; }
.review-card dl { display: grid; gap: 8px; }
.review-card dl > div { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); gap: 13px; padding-bottom: 8px; border-bottom: 1px solid #eeeae4; font-size: .78rem; }
.review-card dt { color: var(--text); }
.review-card dd { color: var(--dark); font-weight: 700; overflow-wrap: anywhere; }
.success-card { max-width: 760px; margin: 0 auto; padding: clamp(32px, 7vw, 72px); text-align: center; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 19px; border-radius: 50%; color: var(--white); background: var(--primary); font-size: 2.5rem; box-shadow: 0 12px 28px rgba(255,84,0,.28); }
.success-card h2 { margin: 5px auto 14px; font-size: clamp(1.75rem, 4vw, 2.7rem); letter-spacing: -.035em; }
.success-card > p:not(.market-eyebrow) { max-width: 570px; margin: 0 auto; line-height: 1.65; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.market-toolbar { display: flex; justify-content: space-between; gap: 22px; align-items: end; margin-bottom: 24px; }
.market-toolbar h2 { font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.035em; }
.market-toolbar h2 span { color: var(--primary); }
.market-filters { display: grid; grid-template-columns: 1.45fr repeat(4, minmax(120px, 1fr)) auto; gap: 12px; align-items: end; margin-bottom: 30px; padding: 17px; }
.market-filters label { display: block; margin-bottom: 6px; color: var(--dark); font-size: .68rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.filter-search > div { position: relative; }
.filter-search i { position: absolute; left: 12px; top: 50%; color: var(--primary); transform: translateY(-50%); }
.filter-search input { padding-left: 35px; }
.filter-reset { min-height: 43px; padding: 0 8px; color: var(--primary); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.filter-reset:hover { color: var(--dark); }
.market-listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.market-card { min-width: 0; overflow: hidden; transition: transform .22s, box-shadow .22s; }
.market-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(36,36,36,.12); }
.market-card-visual { position: relative; display: grid; place-items: center; min-height: 210px; overflow: hidden; background: #ebe9e4; color: var(--dark); }
.market-card-visual img { width: 100%; height: 210px; object-fit: cover; transition: transform .35s; }
.market-card:hover .market-card-visual img { transform: scale(1.045); }
.market-card-visual > i { font-size: 3.5rem; color: var(--primary); }
.market-card-visual > span:not(.market-status) { padding: 0 20px; color: var(--text); font-size: .72rem; text-align: center; }
.market-status { position: absolute; left: 12px; top: 12px; padding: 6px 8px; background: var(--dark); color: var(--white); font-size: .62rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.market-status.pending { background: var(--primary); }
.market-card-body { padding: 20px; }
.market-card-body .market-kicker { margin-bottom: 7px; font-size: .63rem; }
.market-card h2 { font-size: 1.13rem; line-height: 1.18; }
.market-card h2 a:hover { color: var(--primary); }
.market-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; color: var(--text); font-size: .72rem; }
.market-meta span + span::before { content: "•"; margin-right: 7px; color: var(--primary); }
.market-price { margin-top: 14px; color: var(--dark); font-size: 1.05rem; font-weight: 900; }
.market-empty { display: grid; justify-items: center; gap: 10px; padding: 65px 20px; border: 1px dashed #cfc7bd; color: var(--text); background: var(--white); text-align: center; }
.market-empty > i { color: var(--primary); font-size: 2.5rem; }
.market-empty h1,
.market-empty h2 { font-size: 1.35rem; }
.market-empty p { max-width: 430px; font-size: .85rem; line-height: 1.55; }

.listing-detail-layout { display: grid; grid-template-columns: minmax(240px, .95fr) minmax(300px, 1.15fr) minmax(230px, .75fr); gap: 26px; align-items: start; }
.listing-gallery { min-width: 0; }
.listing-gallery-main { aspect-ratio: 1 / .9; object-fit: cover; background: #ebe9e4; }
.listing-gallery-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.listing-gallery-thumbnails button { overflow: hidden; border: 2px solid transparent; background: #eeeae4; }
.listing-gallery-thumbnails button.active { border-color: var(--primary); }
.listing-gallery-thumbnails img { aspect-ratio: 1; object-fit: cover; }
.listing-photo-placeholder { display: grid; place-items: center; min-height: 300px; padding: 35px; background: #ebe9e4; color: var(--text); text-align: center; }
.listing-photo-placeholder i { margin-bottom: 10px; color: var(--primary); font-size: 3.4rem; }
.listing-photo-placeholder strong { color: var(--dark); }
.listing-photo-placeholder p { margin-top: 8px; font-size: .78rem; line-height: 1.5; }
.listing-main { min-width: 0; }
.listing-title { margin-bottom: 14px; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.045em; line-height: 1.05; }
.listing-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.listing-tags span { padding: 6px 9px; background: #eeeae4; color: var(--dark); font-size: .67rem; font-weight: 900; text-transform: uppercase; }
.listing-tags .listing-pending { background: #fff0e8; color: var(--primary); }
.listing-price { margin: 20px 0 3px; color: var(--primary); font-size: 1.8rem; font-weight: 900; }
.listing-negotiable { color: var(--text); font-size: .8rem; }
.listing-pending-notice { margin-top: 18px; }
.listing-description,
.listing-accessories { margin-top: 29px; }
.listing-description h2,
.listing-accessories h2 { margin-bottom: 10px; font-size: 1.1rem; }
.listing-description p { white-space: pre-line; line-height: 1.65; }
.listing-facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; border: 1px solid #e8e4de; }
.listing-facts dt,
.listing-facts dd { padding: 11px; border-bottom: 1px solid #e8e4de; font-size: .77rem; }
.listing-facts dt:nth-last-of-type(1),
.listing-facts dd:last-child { border-bottom: 0; }
.listing-facts dt { background: #f7f5f2; color: var(--text); font-weight: 700; }
.listing-facts dd { color: var(--dark); font-weight: 900; overflow-wrap: anywhere; }
.listing-accessories ul { display: grid; gap: 7px; }
.listing-accessories li { position: relative; padding-left: 17px; font-size: .83rem; line-height: 1.45; }
.listing-accessories li::before { content: ""; position: absolute; left: 0; top: .48em; width: 7px; height: 7px; background: var(--primary); }
.listing-contact-panel { position: sticky; top: 113px; padding: 23px; }
.listing-contact-panel h2 { margin-bottom: 4px; font-size: 1.3rem; }
.listing-contact-panel > p:not(.market-kicker) { font-size: .8rem; }
.listing-contact-actions { display: grid; gap: 10px; margin: 21px 0; }
.listing-contact-link { padding: 11px 0; border-bottom: 1px solid #e8e4de; color: var(--dark); font-size: .8rem; font-weight: 700; overflow-wrap: anywhere; }
a.listing-contact-link:hover { color: var(--primary); }
.listing-trust { padding-top: 14px; border-top: 1px solid #e8e4de; color: var(--text); font-size: .73rem !important; line-height: 1.5; }

.dashboard-note { max-width: 820px; margin-bottom: 25px; }
.my-listings { display: grid; gap: 13px; }
.my-listing-row { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 21px; }
.my-listing-row h2 { margin: 7px 0 5px; font-size: 1.1rem; }
.my-listing-row p { font-size: .79rem; line-height: 1.45; }
.my-listing-note { margin-top: 6px; color: var(--text); }
.my-listing-status { display: inline-flex; padding: 5px 8px; font-size: .62rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.my-listing-status.pending { background: #fff0e8; color: var(--primary); }
.my-listing-status.draft { background: #ece9e3; color: var(--dark); }
.my-listing-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.my-listing-delete { padding: 8px 0; color: #a8392e; font-size: .69rem; font-weight: 900; text-transform: uppercase; }
.my-listing-delete:hover { color: var(--dark); }
.dashboard-empty { margin-top: 16px; }

@media (max-width: 1050px) {
  .market-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-search { grid-column: span 2; }
  .post-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 22px; }
  .listing-detail-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); }
  .listing-contact-panel { position: static; grid-column: span 2; }
}
@media (max-width: 780px) {
  .market-section { padding: 38px 0 58px; }
  .market-hero { padding: 57px 0 50px; }
  .post-layout { display: block; }
  .post-aside { position: static; margin-bottom: 18px; padding: 16px; }
  .post-stepper { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .post-step { display: flex; justify-content: center; padding: 8px 3px; }
  .post-step span { width: 27px; height: 27px; }
  .post-step b,
  .post-step small {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .post-aside-label,
  .post-aside-help { display: none; }
  .choice-grid,
  .form-grid.three,
  .review-card { grid-template-columns: 1fr; }
  .market-toolbar { align-items: flex-start; flex-direction: column; }
  .market-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .filter-search { grid-column: span 2; }
  .market-listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-detail-layout { grid-template-columns: 1fr; }
  .listing-contact-panel { grid-column: auto; }
  .listing-contact-panel { position: static; }
}
@media (max-width: 540px) {
  .market-hero h1 { font-size: 2.25rem; }
  .post-card { padding: 22px 17px; }
  .post-actions { flex-wrap: wrap; }
  .post-actions .button { width: 100%; }
  .post-actions .button:first-child { margin-right: 0; }
  .form-grid,
  .market-filters,
  .market-listings { grid-template-columns: 1fr; }
  .filter-search { grid-column: auto; }
  .technical-summary ul,
  .listing-facts { grid-template-columns: 1fr; }
  .listing-facts dt { border-bottom: 0; padding-bottom: 2px; }
  .listing-facts dd { padding-top: 2px; }
  .review-card dl > div { grid-template-columns: 1fr; gap: 3px; }
  .market-card-visual,
  .market-card-visual img { min-height: 190px; height: 190px; }
  .my-listing-row { align-items: flex-start; flex-direction: column; }
  .my-listing-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .market-page *,
  .market-page *::before,
  .market-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   FEATURES LIST (3 COLS)
   ========================================================================== */
.features-wrap {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  padding: 60px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.feature-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  color: var(--dark);
  flex-shrink: 0;
  transition: all 0.3s;
}
.feature-item:hover .feature-icon { background: var(--primary); color: var(--white); }
.feature-info h6 { font-size: 1.125em; margin-bottom: 5px; text-transform: uppercase; }
.feature-info p { font-size: 0.875em; }

/* ==========================================================================
   SEARCH FILTER (FORM)
   ========================================================================== */
.search-filter-section {
  background: var(--white);
  padding: 40px 0 0;
}
.search-filter-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.search-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 20px; }
.input-wrap { position: relative; }
.input-wrap select, .input-wrap input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
  color: var(--text);
  font-size: 0.875em;
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.input-wrap select:focus, .input-wrap input:focus { border-color: var(--primary); }
.input-wrap i.ph-caret-down {
  position: absolute; right: 15px; top: 16px; color: var(--text); pointer-events: none;
}

/* ==========================================================================
   PROMO BANNERS (DIVERSE SIZES)
   ========================================================================== */
.promo-banners-section {
  padding: 50px 0;
  background: var(--white);
}

/* 3-Column Promo Grid */
.promo-banners-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.banner-grid-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  background: var(--dark);
}
.banner-grid-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.banner-grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(36, 36, 36, 0.12);
}
.banner-grid-item:hover img {
  transform: scale(1.03);
}

/* Horizontal Banners inside Container */
.horizontal-banner-section {
  padding: 40px 0;
  background-color: var(--white);
}
.horizontal-banner-section.gray {
  background-color: var(--bg);
}
.horizontal-banner-wrap {
  width: 100%;
  background-color: var(--dark);
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.horizontal-banner-wrap img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.horizontal-banner-wrap a {
  display: block;
  overflow: hidden;
}
.horizontal-banner-wrap a:hover img {
  transform: scale(1.02);
}
.horizontal-banner-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(36, 36, 36, 0.1);
}

.banner-ad {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 40px;
  min-height: 240px;
  transition: all 0.3s ease;
}
.banner-ad.banner-large {
  padding: 50px;
  min-height: 510px;
  align-items: flex-end;
}

.banner-ad:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(36, 36, 36, 0.15);
}
.banner-ad img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 0.5s ease;
}
.banner-ad:hover img { transform: scale(1.05); }
.banner-ad.light { background: var(--bg); }
.banner-ad.light img { opacity: 0.8; }

.banner-ad-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 90%;
}
.banner-ad.light .banner-ad-content { color: var(--dark); }

.banner-ad-content h3 {
  font-size: 1.8em;
  color: inherit;
  margin-bottom: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}
.banner-large .banner-ad-content h3 {
  font-size: 2.8em;
}
.banner-ad-content p {
  font-size: 0.95em;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* ==========================================================================
   PRODUCT GRID
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.product-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-item:hover {
  box-shadow: 0 5px 20px rgba(36, 36, 36, 0.08);
  border-color: var(--border);
}
.product-img-wrap {
  position: relative;
  height: 260px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.product-img-wrap img {
  max-width: 85%;
  max-height: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  margin-top: 40px;
}
.product-item:hover .product-img-wrap img { transform: scale(1.08); }

.pin {
  position: absolute;
  top: 15px; left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.6875em;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 2px;
}
.pin.dark { background: var(--dark); }
.pin.blue { background: var(--dark); }

.product-hover-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  opacity: 0;
}
.product-item:hover .product-hover-actions { bottom: 20px; opacity: 1; }
.action-btn-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2em;
  transition: background 0.2s;
}
.action-btn-circle:hover { background: var(--primary); }

.product-info {
  padding: 25px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 0.75em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 5px;
}
.text-header {
  font-size: 1.125em;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
  transition: all 0.2s ease-in-out;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-header:hover {
  color: var(--primary);
}
.product-specs {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 0.8125em;
  color: var(--text);
  margin-bottom: 15px;
}
.product-specs span { display: flex; align-items: center; gap: 4px; }
.product-specs i { color: var(--dark); }

.price {
  font-size: 1.375em;
  font-weight: 900;
  color: var(--primary);
  margin-top: auto;
}
.price .old-price {
  font-size: 0.7em;
  color: var(--text);
  text-decoration: line-through;
  margin-right: 5px;
}

/* ==========================================================================
   COMPARATOR (VS) SECTION
   ========================================================================== */
.vs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.vs-item-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  position: relative;
  transition: all 0.3s;
}
.vs-item-wrap:hover { border-color: var(--primary); box-shadow: var(--shadow); }

.vs-product { width: 40%; text-align: center; }
.vs-product img { height: 140px; object-fit: contain; margin: 0 auto 15px; }
.vs-product h4 { font-size: 1em; margin-bottom: 8px; }
.vs-product .price { font-size: 1.125em; }

.vs-badge-center {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  border: 4px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.125em;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background-color: var(--dark); color: rgba(255, 255, 255, 0.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5em; font-weight: 900; color: var(--white); text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 180px;
}
.footer-logo img {
  width: 180px;
  max-width: 180px;
  height: auto;
  display: block;
}
.footer-logo i { color: var(--primary); font-size: 1.5em; }

.footer-col h6 { color: var(--white); font-size: 1.125em; text-transform: uppercase; margin-bottom: 25px; }
.footer-col ul li { margin-bottom: 15px; font-size: 0.875em; }
.footer-col ul a { color: rgba(255, 255, 255, 0.7); }
.footer-col ul a:hover { color: var(--primary); }

.footer-socials { display: flex; gap: 10px; margin-top: 25px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.footer-socials a:hover { background: var(--primary); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 25px 0; text-align: center; font-size: 0.8125em; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .promo-banners-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .widget-line { display: none; }
  .main-menu { display: none; }
  .menu-toggle-btn { display: flex; }
  .cart-dropdown-control .button {
    height: 38px;
    line-height: 34px;
    padding: 0 15px;
    font-size: 0.7em;
  }
  .navigation {
    height: 70px;
  }
  .logo {
    max-width: 150px;
  }
  .logo img {
    width: 100%;
    max-width: 150px;
    height: auto;
  }
  .footer-logo {
    max-width: 180px;
  }
  .footer-logo img {
    width: 100%;
    max-width: 180px;
    height: auto;
  }
  .hero-content h1 { font-size: 2.5em; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .vs-item-wrap { flex-direction: column; gap: 20px; }
  .vs-product { width: 100%; }
  .vs-badge-center { position: relative; top: 0; left: 0; transform: none; margin: 20px auto; }
  .logo {
    font-size: 1.3em;
    gap: 8px;
  }
  .logo i {
    font-size: 1.3em;
  }
  .cart-dropdown-control .button {
    padding: 0 10px;
    font-size: 0.65em;
    height: 36px;
    line-height: 32px;
  }
}

/* ==========================================================================
   DETAIL PAGE SPECIFIC STYLES
   ========================================================================== */
.detail-page-wrap {
  background-color: var(--white);
}

.breadcrumbs-wrap {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125em;
  color: var(--text);
}
.breadcrumbs a {
  color: var(--text);
  font-weight: 700;
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumbs i {
  font-size: 0.8em;
  color: var(--text);
  opacity: 0.6;
}
.breadcrumbs span {
  color: var(--dark);
  font-weight: 900;
}

.detail-main-section {
  padding: 60px 0;
}
.detail-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.detail-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main-image-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.main-image-wrap img {
  max-width: 85%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.15s ease-in-out;
}
.main-image-wrap .pin {
  z-index: 5;
}

.thumbnail-images-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.thumb-img {
  width: 80px;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}
.thumb-img img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.thumb-img:hover {
  border-color: var(--primary);
}
.thumb-img.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 84, 0, 0.15);
}

.detail-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-brand-tag {
  font-size: 0.75em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 1.5px;
}
.detail-product-title {
  font-size: 2.25em;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1em;
}

.product-quick-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 10px 0 5px;
}
.quick-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.quick-spec-item i {
  font-size: 1.8em;
  color: var(--primary);
}
.quick-spec-item div span {
  display: block;
  font-size: 0.6875em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
}
.quick-spec-item div strong {
  font-size: 0.875em;
  color: var(--dark);
  font-weight: 900;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin: 5px 0;
}
.price-container .price {
  font-size: 2.25em;
  font-weight: 900;
  color: var(--primary);
  margin-top: 0;
}
.price-container .old-price {
  font-size: 1.25em;
  color: var(--text);
  text-decoration: line-through;
  font-weight: 700;
}

.detail-description {
  font-size: 0.95em;
  line-height: 1.6em;
  color: var(--text);
}

.product-status-box {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 15px 20px;
  background-color: rgba(255, 84, 0, 0.04);
  border: 1px dashed rgba(255, 84, 0, 0.3);
  border-radius: var(--radius);
}
.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875em;
  color: var(--dark);
}
.status-item i {
  font-size: 1.2em;
  color: var(--primary);
}

.detail-action-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}
.dealer-info-card, .seller-info-card {
  padding: 18px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dealer-info-card h5, .seller-info-card h5 {
  font-size: 1em;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 2px;
}
.dealer-info-card p, .seller-info-card p {
  font-size: 0.8125em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.dealer-info-card p i, .seller-info-card p i {
  color: var(--primary);
  font-size: 1.2em;
}

.seller-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.seller-actions-grid .button {
  padding: 0 15px;
  font-size: 0.7em;
}

/* Specs Table */
.specs-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child {
  border-bottom: none;
}
.specs-table tr:nth-child(even) {
  background-color: var(--bg);
}
.specs-table th, .specs-table td {
  padding: 16px 24px;
  font-size: 0.875em;
  text-align: left;
}
.specs-table th {
  font-weight: 900;
  color: var(--dark);
  width: 35%;
  border-right: 1px solid var(--border);
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 0.5px;
}
.specs-table td {
  color: var(--text);
}

/* Features Highlights */
.features-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.feature-highlight-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  background-color: var(--white);
}
.feature-highlight-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.feature-highlight-card i {
  font-size: 1.6em;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-highlight-card p {
  font-size: 0.9em;
  line-height: 1.5em;
  color: var(--text);
  margin: 0;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(36, 36, 36, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background-color: var(--white);
  border-radius: var(--radius);
  width: 90%;
  max-width: 480px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(36, 36, 36, 0.15);
  transform: translateY(-20px);
  transition: transform 0.3s ease-in-out;
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.modal-header h4 {
  font-size: 1.25em;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
}
.modal-close-btn {
  font-size: 1.5em;
  color: var(--text);
  cursor: pointer;
  transition: color 0.15s;
}
.modal-close-btn:hover {
  color: var(--primary);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.75em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875em;
  font-family: var(--font-main);
  background-color: var(--bg);
  transition: all 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 84, 0, 0.1);
}

.form-success-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2e7d32;
  font-size: 0.875em;
  font-weight: 700;
  padding: 10px;
  background-color: rgba(46, 125, 50, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

/* Detail Responsive */
@media (max-width: 980px) {
  .detail-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-highlights-grid {
    grid-template-columns: 1fr;
  }
  .main-image-wrap {
    height: 380px;
  }
}
@media (max-width: 580px) {
  .product-quick-specs {
    grid-template-columns: 1fr;
  }
  .seller-actions-grid {
    grid-template-columns: 1fr;
  }
  .main-image-wrap {
    height: 300px;
  }
  .detail-product-title {
    font-size: 1.75em;
  }
  .specs-table th {
    width: 45%;
    padding: 12px 16px;
  }
  .specs-table td {
    padding: 12px 16px;
  }
}

/* ==========================================================================
   CATALOGUE PAGE SPECIFIC STYLES
   ========================================================================== */
.catalogue-page-wrap {
  background-color: var(--white);
}

.catalogue-banner {
  position: relative;
  background-color: #151515;
  background-image: url('../images/GX3_WebsiteBanner2_x2000.webp');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  border-bottom: 3px solid var(--primary);
  overflow: hidden;
}
.catalogue-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 36, 36, 0.75);
  z-index: 1;
}
.catalogue-banner-content {
  position: relative;
  z-index: 2;
}
.catalogue-banner h1 {
  color: var(--white);
  font-size: 2.75em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 0;
}
.catalogue-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05em;
  max-width: 600px;
  margin: 0 auto;
}

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

.catalogue-sidebar {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.filter-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.filter-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-title {
  font-size: 0.8125em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom Premium Radio Buttons */
.filter-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875em;
  color: var(--text);
  cursor: pointer;
  position: relative;
  font-weight: 700;
  transition: color 0.15s ease-in-out;
}
.filter-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-mark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(36, 36, 36, 0.25);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background-color: var(--white);
  transition: all 0.2s ease-in-out;
}
.filter-radio-label:hover {
  color: var(--primary);
}
.filter-radio-label:hover .radio-mark {
  border-color: var(--primary);
}
.filter-radio-label input[type="radio"]:checked + .radio-mark {
  border-color: var(--primary);
  background-color: var(--primary);
}
.filter-radio-label input[type="radio"]:checked + .radio-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--white);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrap input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 15px 0 42px;
  color: var(--text);
  font-size: 0.875em;
  background-color: var(--bg);
  font-family: var(--font-main);
  transition: all 0.2s;
  outline: none;
}
.search-input-wrap input:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 84, 0, 0.08);
}
.search-input-wrap i {
  position: absolute;
  left: 15px;
  font-size: 1.1em;
  color: var(--text);
  pointer-events: none;
}

.catalogue-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  margin-bottom: 5px;
}
.results-count {
  font-size: 0.875em;
  color: var(--text);
  margin: 0;
}
.results-count span {
  font-weight: 900;
  color: var(--dark);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875em;
  color: var(--text);
}
.inline-sort select {
  height: 38px;
  padding: 0 30px 0 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9em;
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-main);
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s;
  outline: none;
  cursor: pointer;
  font-weight: 700;
}
.inline-sort select:focus {
  border-color: var(--primary);
  background-color: var(--white);
}
.inline-sort {
  position: relative;
}
.inline-sort i {
  position: absolute;
  right: 12px;
  top: 13px;
  font-size: 0.9em;
  color: var(--text);
  pointer-events: none;
}

.product-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* Responsive catalogue */
@media (max-width: 1024px) {
  .product-grid.columns-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 980px) {
  .catalogue-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .catalogue-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .filter-group {
    border-bottom: none;
    padding-bottom: 0;
  }
  .catalogue-sidebar .button {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .product-grid.columns-3 {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 660px) {
  .catalogue-sidebar {
    grid-template-columns: 1fr;
  }
  .catalogue-sidebar .button {
    grid-column: span 1;
  }
  .catalogue-banner h1 {
    font-size: 2em;
  }
}

.no-results-box {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 30px auto;
}
.no-results-box i {
  font-size: 3.5em;
  color: var(--primary);
}
.no-results-box h4 {
  font-size: 1.5em;
  font-weight: 900;
  color: var(--dark);
}
.no-results-box p {
  font-size: 0.95em;
  color: var(--text);
  max-width: 420px;
  line-height: 1.5em;
  margin-bottom: 0;
}

/* ==========================================================================
   COMPARATOR PAGE SPECIFIC STYLES
   ========================================================================== */
.compare-page-wrap {
  background-color: var(--white);
}

.compare-select-section {
  background-color: var(--white);
  padding: 40px 0 20px;
}
.compare-selectors-box {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}
.compare-selectors-box .selector-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.compare-selectors-box .selector-col label {
  font-size: 0.75em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
}
.compare-selectors-box .selector-col select {
  width: 100%;
  height: 44px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--dark);
  font-family: var(--font-main);
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.compare-selectors-box .selector-col select:focus {
  border-color: var(--primary);
}

.compare-vs-divider {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1em;
  flex-shrink: 0;
  margin-top: 20px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.compare-table-section {
  padding: 40px 0 80px;
}
.compare-table-wrapper {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-header-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 0;
  border-bottom: 2px solid var(--border);
}
.compare-header-spacer {
  border-right: 1px solid var(--border);
  background-color: var(--bg);
}
.compare-header-card {
  padding: 30px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.compare-header-grid .compare-header-card:last-child {
  border-right: none;
}
.compare-prod-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.compare-prod-img img {
  max-width: 85%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.compare-header-card:hover .compare-prod-img img {
  transform: scale(1.05);
}
.compare-header-card .brand {
  font-size: 0.75em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}
.compare-header-card h3 {
  font-size: 1.25em;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}
.compare-header-card .price {
  font-size: 1.5em;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Compare specs table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table tr {
  border-bottom: 1px solid var(--border);
}
.compare-table tr:last-child {
  border-bottom: none;
}
.compare-table tr:nth-child(even) {
  background-color: var(--bg);
}
.compare-table th, .compare-table td {
  padding: 16px 24px;
  font-size: 0.875em;
}
.compare-table th {
  width: 280px;
  text-align: left;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 0.5px;
  border-right: 1px solid var(--border);
  background-color: var(--bg);
}
.compare-table td {
  width: calc(50% - 140px);
  text-align: center;
  color: var(--text);
  border-right: 1px solid var(--border);
  font-weight: 700;
}
.compare-table td:last-child {
  border-right: none;
}

/* Spec highlight winner */
.compare-table td.highlight-better {
  background-color: rgba(46, 125, 50, 0.05) !important;
  color: #2e7d32 !important;
  font-weight: 900;
  position: relative;
}
.compare-table td.highlight-better::after {
  content: " \2713"; /* Checkmark symbol */
  font-weight: 900;
  margin-left: 5px;
  font-size: 0.9em;
}

/* Responsive comparator styling */
@media (max-width: 980px) {
  .compare-selectors-box {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  .compare-selectors-box .selector-col {
    width: 100%;
  }
  .compare-vs-divider {
    margin-top: 0;
  }
  
  .compare-header-grid {
    grid-template-columns: 1fr 1fr;
  }
  .compare-header-spacer {
    display: none;
  }
  .compare-header-card {
    padding: 20px;
  }
  
  .compare-table tr {
    display: flex;
    flex-direction: column;
  }
  .compare-table th {
    display: block;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 12px;
  }
  .compare-table td {
    display: inline-block;
    width: 50% !important;
    border-bottom: none;
    padding: 12px;
  }
  .compare-table td:first-of-type {
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 580px) {
  .compare-header-card h3 {
    font-size: 1.1em;
  }
  .compare-header-card .price {
    font-size: 1.2em;
    margin-bottom: 15px;
  }
  .compare-prod-img {
    height: 120px;
  }
  .compare-table th, .compare-table td {
    font-size: 0.8125em;
    padding: 10px;
  }
}

/* Progress Bars & Verdict Box for Comparator */
.compare-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.compare-val-text {
  font-weight: 700;
}
.compare-bar-bg {
  width: 100%;
  max-width: 180px;
  height: 6px;
  background-color: var(--bg);
  border: 1px solid rgba(36, 36, 36, 0.05);
  border-radius: 3px;
  overflow: hidden;
}
.compare-bar-fill {
  height: 100%;
  background-color: rgba(36, 36, 36, 0.3);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.compare-table td.highlight-better .compare-bar-fill {
  background-color: #2e7d32;
}

.compare-verdict-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 25px;
}
.compare-verdict-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 84, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  flex-shrink: 0;
}
.compare-verdict-content {
  flex: 1;
}
.compare-verdict-content h4 {
  font-size: 1.25em;
  color: var(--dark);
  margin-bottom: 6px;
  font-weight: 900;
}
.compare-verdict-content p {
  font-size: 0.9em;
  color: var(--text);
  line-height: 1.55em;
}
.compare-verdict-score {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.score-badge {
  background-color: var(--bg);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--dark);
  font-size: 0.85em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.score-badge.winner {
  background-color: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

@media (max-width: 980px) {
  .compare-verdict-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }
  .compare-verdict-score {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 10px;
  }
  .score-badge {
    flex: 1;
    justify-content: center;
  }
}

/* Cell lists and action buttons styling */
.compare-table td ul {
  margin: 0;
  padding: 0;
}
.compare-table td li {
  font-size: 0.875em;
  line-height: 1.4em;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  text-align: left;
}
.compare-table td li i {
  margin-top: 3px;
  font-size: 1.1em;
  flex-shrink: 0;
  margin-right: 6px;
}
.compare-table td .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  height: 32px;
  line-height: 32px;
  padding: 0 15px;
  transition: all 0.2s ease-in-out;
}
.compare-table td .button:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
}

/* ==========================================================================
   SEARCH RESULTS PAGE SPECIFIC STYLES (RECHERCHE)
   ========================================================================== */
.recherche-page-wrap {
  background-color: var(--white);
}

.search-refine-section {
  background-color: var(--white);
  padding: 40px 0 20px;
}
.search-refine-box {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 25px;
  box-shadow: var(--shadow);
}
.search-refine-box .search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* Active filters chips styling */
.active-filters-section {
  background-color: var(--white);
  padding: 10px 0 30px;
}
.active-filters-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.active-filters-label {
  font-size: 0.85em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
}
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8em;
  color: var(--dark);
  font-weight: 500;
}
.filter-chip strong {
  font-weight: 700;
  color: var(--primary);
}
.chip-remove {
  cursor: pointer;
  background: transparent;
  color: var(--text);
  font-size: 1.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s;
}
.chip-remove:hover {
  color: var(--primary);
}
.clear-all-btn {
  font-size: 0.8em;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
  padding: 0;
  margin-left: auto;
}
.clear-all-btn:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .search-refine-box .search-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .active-filters-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .clear-all-btn {
    margin-left: 0;
  }
}

/* ==========================================================================
   CONNEXION / INSCRIPTION PAGE SPECIFIC STYLES (CONNEXION)
   ========================================================================== */
.login-page-wrap {
  background-color: var(--white);
}

.login-section {
  padding: 60px 0 100px;
  background-color: var(--bg);
}
.login-container {
  max-width: 480px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Feedback Alert boxes */
.feedback-alert {
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.875em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: slideInDown 0.3s ease-out;
}
.feedback-alert.success {
  background-color: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.2);
}
.feedback-alert.error {
  background-color: rgba(198, 40, 40, 0.1);
  color: #c62828;
  border: 1px solid rgba(198, 40, 40, 0.2);
}
.feedback-alert i {
  font-size: 1.3em;
  flex-shrink: 0;
}

/* Card layout */
.login-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.login-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.login-tab {
  flex: 1;
  padding: 18px 10px;
  font-size: 0.9em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
  border: none;
  background-color: var(--bg);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.login-tab:hover {
  color: var(--dark);
}
.login-tab.active {
  background-color: var(--white);
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

.login-form-content {
  padding: 40px 30px 20px;
}
.login-form-content .form-title {
  font-size: 1.5em;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 5px;
}
.login-form-content .form-subtitle {
  font-size: 0.85em;
  color: var(--text);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.75em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

/* Custom Input Wrapper */
.input-field-wrap {
  position: relative;
  width: 100%;
}
.input-field-wrap input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 45px 0 40px; /* Left space for icon, right space for password toggle button */
  color: var(--dark);
  font-size: 0.875em;
  font-weight: 700;
  background-color: var(--bg);
  transition: all 0.2s ease;
}
.input-field-wrap input::placeholder {
  color: var(--text);
  opacity: 0.6;
}
.input-field-wrap input:focus {
  border-color: var(--primary);
  background-color: var(--white);
}
.input-field-wrap > i {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 1.15em;
  color: var(--text);
  pointer-events: none;
}

/* Password eye button styling */
.toggle-password {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s;
}
.toggle-password:hover {
  color: var(--primary);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  font-size: 0.85em;
}
.forgot-pass-link {
  color: var(--text);
  text-decoration: underline;
  font-weight: 700;
}
.forgot-pass-link:hover {
  color: var(--primary);
}

/* Custom Checkbox */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 24px;
  cursor: pointer;
  user-select: none;
  text-transform: none !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  font-size: 1em !important;
  margin-bottom: 0 !important;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.2s;
}
.checkbox-container:hover input ~ .checkmark {
  background-color: #e0e0e0;
}
.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-container .checkmark:after {
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Submit loading spinner */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-weight: 900;
  font-size: 0.9em;
  text-transform: uppercase;
}
.btn-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s ease-in-out infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Social SSO wrap styling */
.social-login-wrap {
  padding: 0 30px 40px;
}
.social-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 25px;
  font-size: 0.8em;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.social-divider::before, .social-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.social-divider:not(:empty)::before {
  margin-right: 15px;
}
.social-divider:not(:empty)::after {
  margin-left: 15px;
}
.social-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.social-btn {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--dark);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(36, 36, 36, 0.04);
}
.social-btn i {
  font-size: 1.25em;
}
.social-btn:hover {
  box-shadow: 0 4px 8px rgba(36, 36, 36, 0.08);
  transform: translateY(-1px);
}
.social-btn.google:hover {
  background-color: var(--bg);
  border-color: #ccc;
}
.social-btn.facebook {
  background-color: #1877f2;
  color: var(--white);
  border-color: #1877f2;
}
.social-btn.facebook:hover {
  background-color: #166fe5;
}

@keyframes slideInDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   BLOG & ARTICLES SPECIFIC STYLES
   ========================================================================== */
.blog-grid-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.blog-posts-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Categories Filter */
.blog-categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.blog-cat-btn {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-cat-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.blog-cat-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(255, 84, 0, 0.2);
}

/* Grid & Cards */
.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.blog-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.blog-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}
.blog-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75em;
  font-weight: 900;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.75em;
  color: var(--text);
  margin-bottom: 12px;
  opacity: 0.8;
}
.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-card-title {
  font-size: 1.15em;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.4em;
  margin-bottom: 12px;
}
.blog-card-title a {
  color: var(--dark);
  transition: color 0.2s;
}
.blog-card-title a:hover {
  color: var(--primary);
}
.blog-card-summary {
  font-size: 0.875em;
  color: var(--text);
  line-height: 1.6em;
  margin-bottom: 20px;
  flex-grow: 1;
}
.blog-card-more {
  font-size: 0.85em;
  font-weight: 900;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
  text-decoration: none;
}
.blog-card-more:hover {
  gap: 8px;
}

/* Sidebar Widgets */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sidebar-widget {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
}
.widget-title {
  font-size: 0.9em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
  line-height: 1em;
}

/* Sidebar Search */
.sidebar-search-box {
  position: relative;
  width: 100%;
}
.sidebar-search-box input {
  width: 100%;
  height: 44px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 40px 0 15px;
  color: var(--dark);
  font-size: 0.875em;
  font-weight: 700;
  transition: all 0.2s;
}
.sidebar-search-box input:focus {
  border-color: var(--primary);
  background-color: var(--white);
}
.sidebar-search-box i {
  position: absolute;
  right: 15px;
  top: 14px;
  font-size: 1.1em;
  color: var(--text);
  pointer-events: none;
}

/* Popular Posts Widget */
.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.popular-post-item {
  display: flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
.popular-post-item:hover {
  opacity: 0.9;
}
.popular-post-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.popular-post-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.popular-post-cat {
  font-size: 0.65em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
}
.popular-post-title {
  font-size: 0.85em;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3em;
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.popular-post-date {
  font-size: 0.7em;
  color: var(--text);
}

/* Newsletter Widget Card */
.newsletter-widget {
  background-color: var(--dark);
  color: var(--white);
  border: none;
}
.newsletter-card {
  text-align: center;
}
.newsletter-icon {
  font-size: 2.2em;
  color: var(--primary);
  margin-bottom: 15px;
}
.newsletter-card h5 {
  font-size: 1.1em;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--white);
}
.newsletter-card p {
  font-size: 0.8em;
  color: #b0b0b0;
  line-height: 1.5em;
  margin-bottom: 20px;
}
.newsletter-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-form-group input {
  height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background-color: rgba(255,255,255,0.05);
  padding: 0 15px;
  color: var(--white);
  font-size: 0.875em;
  text-align: center;
}
.newsletter-form-group input:focus {
  border-color: var(--primary);
  background-color: rgba(255,255,255,0.1);
}

/* Empty State */
.blog-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.blog-empty-state i {
  font-size: 3.5em;
  color: var(--text);
  opacity: 0.4;
  margin-bottom: 15px;
}
.blog-empty-state h4 {
  font-size: 1.25em;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.blog-empty-state p {
  font-size: 0.9em;
  color: var(--text);
  margin-bottom: 20px;
}

/* ==========================================================
   BLOG DETAIL PAGE SPECIFIC STYLES
   ========================================================== */
.blog-article-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article-detail-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.article-detail-header {
  margin-bottom: 30px;
}
.article-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 84, 0, 0.1);
  color: var(--primary);
  font-size: 0.75em;
  font-weight: 900;
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: 20px;
  margin-bottom: 15px;
}
.article-detail-title {
  font-size: 2.2em;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25em;
  margin-bottom: 15px;
}
.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8em;
  color: var(--text);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  opacity: 0.9;
}
.article-detail-img-wrap {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 30px;
  max-height: 420px;
}
.article-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rich text presentation */
.article-detail-body {
  font-size: 1.05em;
  line-height: 1.75em;
  color: #3b3b3b;
}
.article-detail-body p {
  margin-bottom: 25px;
}
.article-detail-body h3 {
  font-size: 1.4em;
  font-weight: 900;
  color: var(--dark);
  margin-top: 35px;
  margin-bottom: 15px;
}
.article-detail-body ul, 
.article-detail-body ol {
  margin-bottom: 25px;
  padding-left: 20px;
}
.article-detail-body li {
  margin-bottom: 10px;
  list-style-position: outside;
}
.article-detail-body blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--bg);
  padding: 20px 25px;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.1em;
  color: var(--dark);
  line-height: 1.6em;
  border-radius: 0 4px 4px 0;
}

/* Related articles section */
.related-articles-section {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 40px;
  box-shadow: var(--shadow);
}
.section-subtitle {
  font-size: 1.2em;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}
.related-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.related-article-card {
  display: flex;
  gap: 15px;
  align-items: center;
}
.related-card-img-link {
  width: 90px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.related-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.related-card-img-link:hover .related-card-img {
  transform: scale(1.05);
}
.related-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.related-card-cat {
  font-size: 0.65em;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
}
.related-card-title {
  font-size: 0.9em;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3em;
  margin: 0;
}
.related-card-title a {
  color: var(--dark);
  text-decoration: none;
}
.related-card-title a:hover {
  color: var(--primary);
}
.related-card-date {
  font-size: 0.7em;
  color: var(--text);
}

/* Comments Section */
.comments-section-wrap {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 40px;
  box-shadow: var(--shadow);
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}
.comment-item {
  display: flex;
  gap: 20px;
  align-items: start;
  border-bottom: 1px solid var(--border);
  padding-bottom: 25px;
}
.comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.comment-item.new-added {
  animation: slideInDown 0.4s ease-out;
}
.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  flex-shrink: 0;
}
.comment-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comment-author {
  font-size: 0.95em;
  font-weight: 900;
  color: var(--dark);
  margin: 0;
}
.comment-date {
  font-size: 0.75em;
  color: var(--text);
  opacity: 0.8;
}
.comment-text {
  font-size: 0.9em;
  color: #3b3b3b;
  line-height: 1.6em;
  margin: 0;
}

/* Comment Form */
.comment-form-wrap {
  border-top: 1px solid var(--border);
  padding-top: 35px;
}
.comment-form-wrap h5 {
  font-size: 1.15em;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 5px;
}
.comment-form-note {
  font-size: 0.8em;
  color: var(--text);
  margin-bottom: 25px;
}
.comment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.comment-form-wrap input,
.comment-form-wrap textarea {
  width: 100%;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 15px;
  color: var(--dark);
  font-size: 0.875em;
  font-weight: 700;
  transition: all 0.2s;
}
.comment-form-wrap input:focus,
.comment-form-wrap textarea:focus {
  border-color: var(--primary);
  background-color: var(--white);
}

/* Responsive Overrides */
@media (max-width: 980px) {
  .blog-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .blog-sidebar {
    order: 2;
  }
  .blog-posts-main,
  .blog-article-main {
    order: 1;
  }
}

@media (max-width: 768px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .article-detail-card,
  .related-articles-section,
  .comments-section-wrap {
    padding: 25px 20px;
  }
  .article-detail-title {
    font-size: 1.7em;
  }
  .related-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .comment-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==================================================
   INTERACTIVE WISHLIST & TOAST NOTIFICATIONS
   ================================================== */
.btn-wishlist-pin {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
}
.btn-wishlist-pin:hover {
  transform: scale(1.12);
  color: #ef4444;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.22);
}
.btn-wishlist-pin.is-active {
  background: #ffffff;
  color: #ef4444;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.28);
}
.btn-wishlist-pin.is-active i {
  color: #ef4444;
}

.action-btn-circle.btn-wishlist-hover.is-active {
  background: #ffffff;
  color: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.action-btn-circle.btn-wishlist-hover.is-active i {
  color: #ef4444;
}

/* Toast Notification System */
.site-toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.site-toast {
  background: #111827;
  color: #f9fafb;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9em;
  font-family: 'Lato', sans-serif;
  pointer-events: auto;
  border-left: 4px solid var(--primary);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 420px;
}
.site-toast.remove {
  border-left-color: #ef4444;
}
.site-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.site-toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.site-toast-msg {
  line-height: 1.35;
}
.site-toast-msg strong {
  color: #ffffff;
}
.site-toast-btn {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82em;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.site-toast-btn:hover {
  background: var(--dark);
}
.site-toast-close {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.3em;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}
.site-toast-close:hover {
  color: #ffffff;
}
@media (max-width: 576px) {
  .site-toast-container {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
  .site-toast {
    max-width: 100%;
    font-size: 0.85em;
  }
}

/* ==================================================
   WISHLIST EMPTY STATE EXPLORER BUTTON ICON
   ================================================== */
#wishlist-empty-box a[href*="catalogue.html"].button i,
#wishlist-empty-box a.button i,
.wishlist-explorer-btn i {
  color: #ffffff;
  transition: none !important;
}

#wishlist-empty-box a[href*="catalogue.html"].button:hover i,
#wishlist-empty-box a[href*="catalogue.html"].button.is-hovered i,
#wishlist-empty-box a.button:hover i,
#wishlist-empty-box a.button.is-hovered i,
.wishlist-explorer-btn:hover i,
.wishlist-explorer-btn.is-hovered i {
  color: #ff5400 !important;
  transition: none !important;
}


