:root {
  --black: #111111;
  --white: #ffffff;
  --grey: #6f6f6f;
  --light-grey: #e5e5e0;
  --off-white: #f5f5f0;
  --accent: #0f1b3d;
  --accent-dark: #0a1328;
  --coral: #e2704f;
  --coral-light: #f2a584;
  --cream: #f3e9da;
  --max-width: 1200px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.04), 0 2px 8px rgba(17, 17, 17, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 17, 17, 0.08), 0 2px 6px rgba(17, 17, 17, 0.05);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--light-grey);
  position: sticky;
  top: 0;
  z-index: 100;
}

.utility-bar {
  background: var(--accent-dark);
  color: var(--white);
  font-size: 0.78rem;
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.utility-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.utility-badges span {
  white-space: nowrap;
}

.utility-bar a {
  color: var(--white);
  opacity: 0.85;
  white-space: nowrap;
}

.utility-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}

.header-top {
  background: var(--coral);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.logo-icon {
  font-size: 2.1rem;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.logo-tagline {
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border-radius: 8px;
  padding: 10px 16px;
  flex: 0 1 300px;
  min-width: 0;
}

.search-icon {
  width: 16px;
  height: 16px;
  color: var(--grey);
  flex-shrink: 0;
}

.search-bar input {
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--black);
  width: 100%;
  min-width: 0;
}

.search-bar input::placeholder {
  color: var(--grey);
}

.nav-row {
  background: var(--cream);
}

.nav-row-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--accent);
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--white);
}

.cart-link:hover {
  opacity: 0.8;
}

.basket-icon {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 4px 8px;
}

/* Hero */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.25) 55%, rgba(10, 10, 10, 0) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 24px 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--white);
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  max-width: 620px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

.btn.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn.btn-light:hover {
  background: var(--off-white);
}

/* Promo banner */
.promo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.promo-visual {
  position: relative;
  background: var(--accent-dark);
  overflow: hidden;
}

.promo-circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.promo-circle-back {
  width: 62%;
  aspect-ratio: 1 / 1;
  top: 12%;
  left: 6%;
}

.promo-circle-front {
  width: 38%;
  aspect-ratio: 1 / 1;
  bottom: 10%;
  right: 10%;
  border: 6px solid var(--accent-dark);
  background: var(--white);
}

.promo-badge {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.promo-badge span {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.promo-text {
  background: var(--coral);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}

.promo-label {
  color: var(--white);
  opacity: 0.85;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}

.promo-text h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 28px;
  max-width: 420px;
}

/* Section headings */
.section {
  padding: 64px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.section-title.center {
  text-align: center;
}

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

.product-card {
  display: block;
}

.product-card .thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--off-white);
  margin-bottom: 12px;
  border-radius: var(--radius);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sold-out-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--accent-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-card.sold-out img {
  opacity: 0.45;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card:hover img {
  transform: scale(1.04);
}

.product-card .name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.product-card .price {
  font-size: 0.9rem;
  color: var(--grey);
  margin: 0;
}

/* Why section */
.why {
  background: var(--off-white);
  padding: 80px 24px;
}

.why-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-intro {
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--grey);
  font-size: 1.05rem;
}

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

.why-icon {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 16px;
}

.why-item h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.why-item p {
  color: var(--grey);
  font-size: 0.95rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 24px 0;
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
  margin: 0;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.8rem;
  text-align: center;
}

/* Filters (winkel.html) */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--light-grey);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.filter-btn:hover {
  border-color: var(--black);
}

.filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Product detail page */
.breadcrumb {
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--grey);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.product-detail .thumb {
  position: relative;
  background: var(--off-white);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.product-info h1 {
  font-size: 1.75rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.product-info .price {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 24px;
}

.product-info .description {
  color: #333;
  margin: 0 0 32px;
}

.size-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.size-row label {
  font-size: 0.9rem;
  font-weight: 600;
}

.size-row select {
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--black);
}

.size-error {
  font-size: 0.85rem;
  color: #b3261e;
  margin: -16px 0 16px;
  display: none;
}

.size-error.show {
  display: block;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--light-grey);
  border-radius: 24px;
  overflow: hidden;
}

.qty-control button {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.qty-control button:hover {
  background: var(--off-white);
}

.qty-control input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  padding: 14px 28px;
  border-radius: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

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

.btn.btn-outline {
  background: var(--white);
  color: var(--black);
}

.btn.btn-outline:hover {
  background: var(--off-white);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.add-confirm {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--grey);
  opacity: 0;
  transition: opacity 0.2s;
}

.add-confirm.show {
  opacity: 1;
}

/* Cart page */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.cart-table th {
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--light-grey);
}

.cart-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--light-grey);
  vertical-align: middle;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-info img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: var(--off-white);
}

.cart-item-info .name {
  font-weight: 600;
  font-size: 0.95rem;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--grey);
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0;
  margin-top: 4px;
}

.remove-btn:hover {
  color: var(--black);
}

.cart-summary {
  max-width: 360px;
  margin-left: auto;
  text-align: right;
}

.cart-summary .total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cart-summary .subtotal-row {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--grey);
  margin-bottom: 10px;
}

.empty-cart {
  text-align: center;
  padding: 80px 24px;
  color: var(--grey);
}

/* Confirmation page */
.confirmation {
  text-align: center;
  padding: 96px 24px;
  max-width: 600px;
  margin: 0 auto;
}

.confirmation .icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.confirmation h1 {
  font-size: 1.75rem;
  margin: 0 0 16px;
}

.confirmation p {
  color: var(--grey);
  margin: 0 0 32px;
}

.confirmation .order-number {
  font-family: monospace;
  font-size: 0.9rem;
  background: var(--off-white);
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: 480px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .promo-banner {
    grid-template-columns: 1fr;
  }

  .promo-visual {
    min-height: 320px;
  }

  .promo-text {
    padding: 40px 24px;
  }

  .promo-text h2 {
    font-size: 2rem;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .utility-badges span:not(:first-child) {
    display: none;
  }

  .header-top-inner {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .logo-tagline {
    display: none;
  }

  .search-bar {
    order: 3;
    flex: 1 1 100%;
  }

  .nav-row-inner {
    padding-top: 0;
    padding-bottom: 12px;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    display: none;
  }

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

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 40px 20px;
  }

  .why {
    padding: 56px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero {
    height: 420px;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .cart-item-info img {
    width: 56px;
    height: 56px;
  }

  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) {
    display: none;
  }
}

/* Checkout page */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.checkout-form h3,
.checkout-summary h3 {
  font-size: 1.1rem;
  margin: 0 0 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--black);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--black);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--grey);
}

.checkout-summary {
  background: var(--off-white);
  border-radius: 12px;
  padding: 28px;
}

.checkout-items {
  width: 100%;
  border-collapse: collapse;
}

.checkout-items td {
  padding: 6px 0;
  font-size: 0.9rem;
}

.checkout-items td:last-child {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.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;
}
