:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #f9fafb;
  --surface-strong: #eef1f4;
  --text: #202733;
  --muted: #6b7280;
  --line: #e2e6eb;
  --accent: #c9202f;
  --accent-dark: #941825;
  --ink: #111827;
  --dark: #242a33;
  --whatsapp: #1f9d55;
  --warning-bg: #fff7ed;
  --warning-text: #9a3412;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.09);
  --shadow-soft: 0 10px 26px rgba(17, 24, 39, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 8px;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
.button:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

button.secondary,
.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--dark);
}

button.secondary:hover,
.button.secondary:hover {
  border-color: #cbd1d8;
  background: var(--surface-strong);
  color: var(--ink);
}

.whatsapp-button {
  background: var(--whatsapp);
}

.whatsapp-button:hover {
  background: #147a40;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  gap: 12px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #5f1218);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(201, 32, 47, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-search {
  display: flex;
  gap: 8px;
  width: 100%;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(201, 32, 47, 0.14);
  border-color: rgba(201, 32, 47, 0.55);
}

.site-search input {
  min-width: 0;
}

.site-search button {
  flex: 0 0 auto;
}

.mobile-menu {
  position: relative;
}

.mobile-menu > summary,
.category-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.mobile-menu > summary::-webkit-details-marker,
.category-menu > summary::-webkit-details-marker {
  display: none;
}

.header-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 8px;
}

.header-actions a,
.header-actions form,
.login-button {
  width: 100%;
}

.header-actions a,
.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.category-menu {
  position: relative;
}

.category-menu-panel {
  display: grid;
  gap: 6px;
  padding-top: 8px;
}

.cart-button {
  gap: 8px;
}

.cart-button span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
}

.whatsapp-header {
  border-color: rgba(31, 157, 85, 0.28) !important;
  color: #13733e !important;
}

.page {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.hero-section {
  display: grid;
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 248, 0.94)),
    radial-gradient(circle at 92% 10%, rgba(201, 32, 47, 0.13), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-content {
  display: grid;
  gap: 16px;
}

.hero-section h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(34px, 9vw, 64px);
  line-height: 1.02;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0;
  color: #4b5563;
  font-size: 17px;
}

.hero-actions,
.b2b-actions {
  display: grid;
  gap: 10px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 2px;
}

.hero-metrics span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.hero-metrics strong {
  color: var(--accent);
  font-size: 18px;
}

.hero-visual {
  position: relative;
  min-height: 250px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, #2b313a, #111827 62%),
    var(--dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.label-roll {
  position: absolute;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 0 22%, #d7dce2 23% 31%, transparent 32%),
    repeating-radial-gradient(circle at center, #ffffff 0 11px, #eef1f4 12px 21px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.roll-one {
  width: 160px;
  height: 160px;
  top: 26px;
  right: 26px;
}

.roll-two {
  width: 106px;
  height: 106px;
  bottom: 24px;
  left: 24px;
  opacity: 0.9;
}

.print-strip {
  position: absolute;
  right: 18px;
  bottom: 28px;
  left: 82px;
  display: grid;
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  gap: 8px;
  transform: rotate(-5deg);
}

.print-strip span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px dashed rgba(17, 24, 39, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  font-weight: 900;
}

.features-section,
.category-grid,
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.features-section,
.category-showcase,
.popular-section,
.b2b-cta-section {
  margin-top: 28px;
}

.feature-card,
.category-card,
.product-card,
.sidebar,
.order-summary,
.checkout-form,
.cart-table,
.product-image-panel,
.product-info-panel,
.description-box,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #fff1f2;
  color: var(--accent);
  font-weight: 900;
}

.feature-card h2,
.feature-card p {
  margin: 0;
}

.feature-card h2 {
  color: var(--ink);
  font-size: 18px;
}

.feature-card p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 6vw, 38px);
  line-height: 1.12;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.category-card {
  position: relative;
  display: grid;
  gap: 6px;
  overflow: hidden;
  min-height: 148px;
  padding: 18px;
  color: #fff;
  background: var(--dark);
  box-shadow: var(--shadow-soft);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 132px;
  height: 132px;
  border: 16px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.category-card span,
.category-card small {
  position: relative;
  z-index: 1;
}

.category-card span {
  align-self: end;
  font-size: 20px;
  font-weight: 900;
}

.category-card small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.category-kuşe {
  background: linear-gradient(135deg, #343b46, #c9202f);
}

.category-opak {
  background: linear-gradient(135deg, #1f2937, #59616d);
}

.category-seffaf {
  background: linear-gradient(135deg, #2f3844, #8f98a5);
}

.category-termal {
  background: linear-gradient(135deg, #4a2027, #c9202f);
}

.category-ozel {
  background: linear-gradient(135deg, #111827, #3f4855);
}

.layout,
.checkout-layout,
.product-detail {
  display: grid;
  gap: 18px;
}

.sidebar,
.order-summary,
.checkout-form,
.product-info-panel,
.empty-state {
  padding: 18px;
}

.sidebar h2,
.order-summary h2,
.description-box h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
}

.sidebar ul {
  display: flex;
  gap: 8px;
  padding: 0 0 2px;
  margin: 0;
  overflow-x: auto;
  list-style: none;
}

.sidebar a {
  display: block;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

.product-card {
  display: grid;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.product-card-media {
  display: block;
  background: var(--surface-soft);
}

.product-card img,
.product-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card img,
.image-placeholder {
  aspect-ratio: 4 / 3;
}

.product-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-card h2,
.product-card p {
  margin: 0;
}

.product-card h2 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

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

.price {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.stock-pill.out {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.product-button {
  width: 100%;
}

.image-placeholder {
  display: grid;
  min-height: 190px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(201, 32, 47, 0.08), rgba(17, 24, 39, 0.05)),
    repeating-linear-gradient(90deg, #f4f6f8 0 18px, #ffffff 19px 38px);
  color: var(--muted);
  font-weight: 900;
}

.image-placeholder.large {
  aspect-ratio: 1 / 1;
  min-height: 320px;
}

.b2b-cta-section {
  display: grid;
  gap: 18px;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px 18px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(36, 42, 51, 0.95)),
    var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.b2b-cta-section h2,
.b2b-cta-section p {
  margin: 0;
}

.b2b-cta-section h2 {
  max-width: 720px;
  font-size: clamp(25px, 7vw, 42px);
  line-height: 1.12;
}

.b2b-cta-section div:first-child {
  display: grid;
  gap: 10px;
}

.b2b-cta-section p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.product-detail {
  align-items: start;
}

.product-image-panel {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-info-panel {
  display: grid;
  gap: 16px;
}

.product-info-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.15;
}

.stock-line {
  margin: 0;
  color: var(--muted);
}

.stock-line strong {
  color: var(--text);
}

.description-box {
  padding: 16px;
  background: var(--surface-soft);
}

.description-box p {
  margin: 0;
  color: var(--muted);
}

.add-cart,
.quantity-form {
  display: grid;
  gap: 10px;
}

.add-cart label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 800;
}

.add-cart input,
.quantity-form input {
  width: 110px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.cart-table th,
.cart-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.cart-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.messages {
  margin-bottom: 18px;
}

.message {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
}

.message.warning {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.empty-state {
  display: grid;
  gap: 8px;
  min-height: 220px;
  place-content: center;
  text-align: center;
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state p {
  color: var(--muted);
}

.site-footer {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-contact,
.footer-tags {
  display: grid;
  gap: 8px;
}

.footer-contact a {
  color: var(--text);
  font-weight: 800;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
}

.footer-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(20, 122, 64, 0.3);
}

.floating-whatsapp:hover {
  background: #147a40;
  color: #fff;
}

.quote-hero {
  display: grid;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.94)),
    radial-gradient(circle at 100% 0, rgba(201, 32, 47, 0.16), transparent 36%);
  box-shadow: var(--shadow);
}

.quote-hero h1,
.success-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 8vw, 54px);
  line-height: 1.06;
}

.quote-hero p:not(.eyebrow),
.success-panel p:not(.eyebrow) {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.quote-hero-panel {
  display: grid;
  gap: 10px;
}

.quote-hero-panel span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--dark);
  font-weight: 900;
}

.quote-layout {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.quote-form,
.quote-aside,
.success-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.form-section {
  display: grid;
  gap: 14px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading.compact h2 {
  font-size: 22px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--dark);
  font-weight: 900;
}

.form-field small {
  color: var(--muted);
}

.errorlist {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.quote-form-actions {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.quote-aside {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 18px;
}

.quote-aside h2,
.quote-aside p {
  margin: 0;
}

.quote-aside h2 {
  color: var(--ink);
  font-size: 22px;
}

.quote-aside ol {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.quote-contact-box {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  padding: 16px;
  background: var(--surface-soft);
}

.quote-contact-box strong {
  color: var(--ink);
}

.success-panel {
  display: grid;
  gap: 16px;
  min-height: 420px;
  place-content: center;
  padding: 30px 18px;
  text-align: center;
}

.success-panel .hero-actions {
  justify-content: center;
}

@media (min-width: 560px) {
  .hero-actions,
  .b2b-actions,
  .cart-actions,
  .add-cart {
    display: flex;
    align-items: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features-section,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-actions {
    justify-content: flex-end;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-field.full {
    grid-column: 1 / -1;
  }

  .quote-form-actions {
    display: flex;
  }
}

@media (min-width: 820px) {
  .header-inner {
    grid-template-columns: 258px minmax(320px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
  }

  .mobile-menu > summary {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0;
  }

  .mobile-menu:not([open]) .header-actions {
    display: flex;
  }

  .header-actions a,
  .header-actions form,
  .login-button {
    width: auto;
    white-space: nowrap;
  }

  .category-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 25;
    min-width: 220px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .category-menu:not([open]) .category-menu-panel {
    display: none;
  }

  .category-menu-panel a {
    justify-content: flex-start;
    border: 0;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    padding: 42px;
  }

  .features-section {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .section-heading.split {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .b2b-cta-section {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 34px;
  }

  .b2b-actions {
    justify-content: end;
  }

  .layout {
    grid-template-columns: 250px 1fr;
    gap: 24px;
  }

  .checkout-layout,
  .product-detail {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
  }

  .sidebar {
    position: sticky;
    top: 100px;
  }

  .sidebar ul {
    display: grid;
    overflow: visible;
  }

  .sidebar a {
    border-radius: 8px;
  }

  .site-footer {
    grid-template-columns: 1.2fr 0.6fr 1fr;
    align-items: start;
  }

  .quote-hero {
    grid-template-columns: 1fr 320px;
    align-items: center;
    padding: 36px;
  }

  .quote-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 24px;
  }

  .quote-form,
  .quote-aside {
    padding: 24px;
  }
}

@media (min-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 819px) {
  .mobile-menu:not([open]) .header-actions {
    display: none;
  }
}

@media (max-width: 760px) {
  .cart-table {
    display: block;
    overflow-x: auto;
  }
}
