/* ===================================
   Sowieso Workwear - Stylesheet
   =================================== */

:root {
  --yellow: #F5B800;
  --yellow-dark: #d4a000;
  --bg: #111111;
  --bg-alt: #1a1a1a;
  --bg-card: #0d0d0d;
  --border: #2a2a2a;
  --border-light: #333333;
  --text: #f0f0f0;
  --text-muted: #999999;
  --text-faint: #666666;
  --radius: 6px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--yellow);
  color: #111;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 12px;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo img {
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 20px;
  position: relative;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.icon-btn:hover { color: var(--yellow); }

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--yellow);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #eee;
  font-size: 26px;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, rgba(17,17,17,0.75) 0%, rgba(17,17,17,0.92) 100%), url("images/hero-bg.png");
  background-size: cover;
  background-position: center 30%;
  padding: 100px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--yellow); }

.hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: all 0.15s;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--yellow);
  color: #111;
}

.btn-primary:hover {
  background: var(--yellow-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ===== Section labels ===== */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
}

.section-header .view-all {
  font-size: 13px;
  color: var(--yellow);
  font-weight: 600;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

/* ===== Category cards ===== */
.categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.category-overlay h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.category-overlay span {
  color: var(--yellow);
}

/* ===== Filters ===== */
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filter-pill {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  transition: all 0.15s;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
  font-weight: 600;
}

/* ===== Product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-alt);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-img-wrap .img-back {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .img-back {
  opacity: 1;
}

.product-card:hover .img-front {
  opacity: 0;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: #111;
  letter-spacing: 0.04em;
  z-index: 2;
}

.product-info {
  padding: 14px 16px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.product-sub {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--yellow);
}

.add-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.15s;
}

.add-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ===== USP / Perks bar ===== */
.perks-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.perk-item i {
  font-size: 26px;
  color: var(--yellow);
  margin-bottom: 8px;
  display: block;
}

.perk-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.perk-item p {
  font-size: 12px;
  color: var(--text-faint);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 12px;
  color: var(--text-faint);
  padding: 18px 0;
}

.breadcrumb a:hover { color: var(--yellow); }

.breadcrumb .current { color: var(--yellow); }

/* ===== Product Detail Page ===== */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.pdp-gallery .main-image {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.pdp-gallery .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-row {
  display: flex;
  gap: 10px;
}

.thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-alt);
}

.thumb.active { border-color: var(--yellow); }

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pdp-info .product-sub {
  font-size: 13px;
  margin-bottom: 16px;
}

.pdp-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 20px;
}

.pdp-price .price-note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-faint);
  margin-top: 4px;
}

.option-group {
  margin-bottom: 22px;
}

.option-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.option-group label .selected-value {
  color: var(--yellow);
  text-transform: none;
  letter-spacing: normal;
}

.option-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.option-btn {
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.15s;
  min-width: 48px;
  text-align: center;
}

.option-btn.active {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
  font-weight: 600;
}

.option-btn:hover:not(.active) {
  border-color: var(--text-muted);
  color: #eee;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  font-family: var(--font);
}

.qty-btn:hover { border-color: var(--yellow); color: var(--yellow); }

.qty-num {
  font-size: 16px;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
}

.pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.pdp-actions .btn {
  width: 100%;
  padding: 16px;
  font-size: 15px;
}

.added-msg {
  display: none;
  font-size: 13px;
  color: var(--yellow);
  font-weight: 600;
  text-align: center;
}

.added-msg.show { display: block; }

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.perks-list .perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.perks-list .perk i {
  color: var(--yellow);
  font-size: 17px;
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  padding: 14px 20px 14px 0;
  margin-right: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-faint);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s;
}

.tab.active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.tab-content {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  display: none;
}

.tab-content.active { display: block; }

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 4px;
}

.size-table th {
  text-align: left;
  padding: 10px 14px;
  color: var(--text-faint);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.size-table td {
  padding: 10px 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

/* ===== Related products ===== */
.related {
  border-top: 1px solid var(--border);
  padding-top: 50px;
}

/* ===== Over ons ===== */
.about-hero {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17,17,17,0.6) 0%, rgba(17,17,17,0.85) 100%), url("images/over-ons-bg.png");
  background-size: cover;
  background-position: center 40%;
}

.about-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 12px;
}

.about-hero h1 span { color: var(--yellow); }

.about-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0;
  font-size: 16px;
  color: var(--text-muted);
}

.about-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 12px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.value-card i {
  font-size: 28px;
  color: var(--yellow);
  margin-bottom: 12px;
  display: block;
}

.value-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 60px 0;
}

.contact-info h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-item i {
  color: var(--yellow);
  font-size: 18px;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Cart drawer ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.cart-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  color: var(--text-faint);
  padding: 60px 20px;
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
}

.cart-item-remove {
  font-size: 11px;
  color: var(--text-faint);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  text-decoration: underline;
}

.cart-item-remove:hover { color: var(--yellow); }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cart-subtotal span:last-child { color: var(--yellow); }

.cart-footer .btn {
  width: 100%;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-faint);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: all 0.15s;
}

.footer-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-faint);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .categories { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; gap: 18px; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .menu-toggle { display: block; }

  .hero { padding: 56px 0; background-position: center 20%; }

  .section { padding: 40px 0; }

  .cart-drawer { width: 100%; }
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 30px; }
  .pdp-price { font-size: 24px; }
}
