/* ============================================
   LIQUIDATION PALLETS SHOP — MAIN STYLESHEET
   liquidationpalletsshop.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --yellow:    #F5C400;
  --yellow-dk: #D4A900;
  --black:     #0D0D0D;
  --dark:      #1A1A1A;
  --mid:       #2C2C2C;
  --border:    #3A3A3A;
  --white:     #FFFFFF;
  --off-white: #F2F0EC;
  --muted:     #999999;
  --green:     #22C55E;
  --red:       #EF4444;
  --shipping:  #3B82F6;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius:    4px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-dk); }

/* ---- LAYOUT ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- HEADER ---- */
.site-header {
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 44px; width: auto; }
.logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-text span { color: var(--yellow); }

nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
nav a {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--off-white);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
nav a:hover { color: var(--yellow); }
.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--yellow-dk) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(245,196,0,0.03) 60px,
    rgba(245,196,0,0.03) 62px
  );
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  color: var(--yellow);
}
.hero-stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-img {
  position: relative;
}
.hero-img img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}
.hero-img-badge {
  position: absolute;
  bottom: -16px;
  left: 20px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--yellow-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,196,0,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}
.btn-outline:hover {
  background: var(--yellow);
  color: var(--black);
}
.btn-lg { font-size: 18px; padding: 18px 36px; }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--yellow);
  padding: 14px 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
}

/* ---- SECTION HEADERS ---- */
.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
}

/* ---- CATEGORY FILTER TABS ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  background: var(--mid);
  color: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* ---- PRODUCT GRID ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245,196,0,0.15);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mid);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}
.product-cat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 2px;
}
.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}
.product-price-block {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.price-base {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--yellow);
}
.price-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.price-discount {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-top: 4px;
}
.product-card .btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 12px;
}

/* ---- ORDER FORM MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--mid);
  border: none;
  color: var(--white);
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--red); }
.modal-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.modal-product-name {
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* FORM STYLES */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  background: var(--mid);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--yellow); }
.form-control::placeholder { color: var(--muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }

/* PAYMENT METHOD SELECTOR */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.payment-option {
  position: relative;
}
.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: var(--mid);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.payment-label:hover {
  border-color: var(--yellow);
}
.payment-option input:checked + .payment-label {
  border-color: var(--yellow);
  background: rgba(245,196,0,0.08);
}
.payment-icon { font-size: 22px; }
.payment-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}
.payment-note {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}
.payment-note.fee { color: var(--red); }

/* PRICE BREAKDOWN */
.price-breakdown {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 20px 0;
}
.price-breakdown-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.pb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--off-white);
}
.pb-row.discount { color: var(--green); }
.pb-row.fee-row { color: var(--red); }
.pb-row.shipping { color: var(--shipping); }
.pb-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}
.pb-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pb-total-label {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
}
.pb-total-amount {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--yellow);
}

/* HONEYPOT */
.hp-field { display: none !important; }

/* FORM MESSAGES */
.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}
.form-msg.success {
  background: rgba(34,197,94,0.12);
  border: 1px solid var(--green);
  color: var(--green);
  display: block;
}
.form-msg.error {
  background: rgba(239,68,68,0.12);
  border: 1px solid var(--red);
  color: var(--red);
  display: block;
}

/* ---- HOW IT WORKS ---- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.how-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.how-num {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 900;
  color: rgba(245,196,0,0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.how-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.how-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.how-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- FAQ ---- */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-chevron {
  color: var(--yellow);
  font-size: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--yellow);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-text {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand-text span { color: var(--yellow); }
.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 300px;
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ---- SHIPPING BANNER ---- */
.shipping-banner {
  background: var(--mid);
  border: 1px solid var(--border);
  border-left: 4px solid var(--shipping);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.shipping-banner-icon { font-size: 24px; }
.shipping-banner-text { font-size: 14px; color: var(--off-white); }
.shipping-banner-text strong { color: var(--shipping); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav { display: none; }
  nav.mobile-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); border-bottom: 2px solid var(--yellow); padding: 20px; }
  nav.mobile-open ul { flex-direction: column; gap: 16px; }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .hero { padding: 50px 0 40px; }
  .form-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .modal { padding: 24px 18px; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Product image wrap as link */
a.product-img-wrap {
  display: block;
  text-decoration: none;
}
