:root {
  color-scheme: light;
  --ink: #2d2417;
  --muted: #786f61;
  --paper: #fff8e8;
  --surface: #ffffff;
  --line: #eadfca;
  --teal: #2b9a9a;
  --teal-dark: #1b6d70;
  --coral: #d96f56;
  --gold: #d9aa37;
  --gold-dark: #8a5b11;
  --gold-deep: #5f3b08;
  --brand-gold: #8a671c;
  --leaf: #74864a;
  --lilac: #8e6bbf;
  --cream: #fff3d7;
  --shadow: 0 20px 50px rgba(62, 44, 19, 0.14);
  --ui-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(43, 154, 154, 0.13), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 100%);
  color: var(--ink);
  font-family: var(--ui-font);
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 248, 232, 0.92);
  border-bottom: 1px solid rgba(174, 128, 48, 0.22);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: clamp(170px, 18vw, 245px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #62543f;
  font-weight: 700;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-dark);
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--teal);
}

.account-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.account-button svg {
  width: 17px;
  height: 17px;
}

.button-symbol {
  font-weight: 900;
  line-height: 1;
}

.bag-symbol {
  position: relative;
  width: 16px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.bag-symbol::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: -7px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.icon-button svg,
.button svg,
.search-box svg,
.collection-panel svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 20px;
}

.hero {
  position: relative;
  min-height: clamp(540px, 72vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 232, 0.98) 0%, rgba(255, 248, 232, 0.86) 36%, rgba(255, 248, 232, 0.08) 75%),
    radial-gradient(circle at 8% 24%, rgba(43, 154, 154, 0.25), transparent 22%);
}

.hero > picture,
.hero > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > picture > img {
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 86px);
  padding: 48px 0 92px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  color: #584836;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-logo-image {
  width: min(680px, 100%);
  height: auto;
  margin-bottom: 20px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--gold);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--gold-dark);
}

.button.secondary {
  color: var(--gold-dark);
  background: rgba(255, 250, 240, 0.88);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.store-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(168, 116, 32, 0.2);
  border-bottom: 1px solid var(--line);
}

.store-strip div {
  min-height: 106px;
  padding: 24px clamp(18px, 4vw, 44px);
  background: #fffaf0;
}

.store-strip strong,
.store-strip span {
  display: block;
}

.store-strip strong {
  color: var(--gold-dark);
  font-size: 1.35rem;
}

.store-strip span {
  color: var(--muted);
}

.catalog,
.collections,
.contact-band,
.legal-page {
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 70px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(620px, 100%);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 320px;
  min-height: 46px;
  padding: 0 14px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-box input,
.select-box select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.select-box {
  display: flex;
  align-items: center;
  flex: 0 1 190px;
  min-height: 46px;
  padding: 0 12px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.source-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.source-panel strong,
.source-panel span {
  display: block;
}

.source-panel span {
  color: var(--muted);
  font-size: 0.94rem;
}

.file-button {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-chip {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--muted);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.category-chip.is-active {
  color: #fff;
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

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

.product-card {
  display: grid;
  grid-template-rows: 178px 1fr;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 460px;
}

.product-card-real {
  grid-template-rows: 230px 1fr;
}

.product-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 230px;
  padding: 0;
  overflow: hidden;
  background: #f8f1e3;
  border: 0;
  cursor: pointer;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

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

.product-placeholder {
  color: var(--muted);
  font-weight: 800;
}

.image-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(45, 36, 23, 0.76);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.6), transparent 42%),
    var(--product-bg, #f7eedc);
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.product-visual::before {
  width: 104px;
  height: 104px;
  background: var(--product-color, var(--teal));
  box-shadow:
    -42px 24px 0 -18px var(--product-alt, var(--coral)),
    48px 26px 0 -22px var(--gold);
}

.product-visual::after {
  width: 128px;
  height: 8px;
  transform: rotate(-24deg);
  background: rgba(30, 37, 39, 0.42);
}

.product-card[data-shape="tools"] .product-visual::before {
  width: 154px;
  height: 12px;
  border-radius: 999px;
  transform: rotate(34deg);
  box-shadow:
    0 28px 0 -2px var(--product-alt, var(--coral)),
    0 -28px 0 -2px var(--gold);
}

.product-card[data-shape="notions"] .product-visual::before {
  width: 42px;
  height: 42px;
  box-shadow:
    -46px -8px 0 0 var(--product-alt, var(--coral)),
    44px 10px 0 0 var(--gold),
    2px 48px 0 -4px var(--leaf);
}

.product-card[data-shape="set"] .product-visual::before {
  width: 128px;
  height: 92px;
  border-radius: 8px;
  box-shadow:
    -44px 32px 0 -18px var(--product-alt, var(--coral)),
    52px -24px 0 -20px var(--gold);
}

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

.product-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.product-meta span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.stock-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.stock-badge.in-stock {
  color: #0d5657;
  background: #dff5ee;
}

.stock-badge.out-stock {
  color: #8a3d2e;
  background: #ffe5df;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-list span {
  padding: 5px 8px;
  color: #6f572b;
  background: #fff4d7;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.product-grid-more {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  padding: 8px 0 2px;
}

.price {
  font-size: 1.2rem;
  font-weight: 900;
}

.buy-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button.compact {
  min-height: 38px;
  padding: 8px 12px;
}

.add-button,
.qty-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--teal);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.add-button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.add-button:hover,
.qty-button:hover {
  background: var(--teal-dark);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.collection-panel {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.collection-panel p {
  color: #3f4b4e;
}

.panel-coral {
  background: #fff1ee;
}

.panel-teal {
  background: #eaf8f5;
}

.panel-gold {
  background: #fff7df;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(90deg, rgba(45, 36, 23, 0.95), rgba(123, 85, 23, 0.92)),
    var(--gold-dark);
  color: #fff;
}

.contact-band p:not(.eyebrow) {
  max-width: 680px;
  color: #d7e1df;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: end;
  background: rgba(30, 37, 39, 0.42);
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(30, 37, 39, 0.46);
}

.account-modal.is-open {
  display: flex;
}

.account-panel {
  position: relative;
  width: min(520px, 100%);
  padding: 24px;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.account-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

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

.account-form,
.checkout-form {
  display: grid;
  gap: 12px;
}

.account-form label,
.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.account-form input,
.account-form textarea,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  resize: vertical;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(30, 37, 39, 0.46);
}

.product-modal.is-open {
  display: flex;
}

.product-modal-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(840px, calc(100vh - 36px));
  overflow: auto;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  padding: 24px;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f8f1e3;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.detail-thumbs button {
  padding: 0;
  overflow: hidden;
  background: #fffaf0;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.detail-thumbs button.is-active {
  border-color: var(--gold);
}

.detail-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-copy {
  padding-right: 36px;
}

.detail-copy h2 {
  margin-bottom: 16px;
}

.detail-price {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 2rem;
}

.attribute-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.attribute-list div {
  padding: 10px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.attribute-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.attribute-list dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.cart-drawer.is-open {
  display: flex;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100%);
  height: 100%;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cart-header,
.cart-footer {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.cart-header h2 {
  font-size: 1.5rem;
}

.cart-items {
  overflow: auto;
  padding: 16px 20px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-button {
  width: 30px;
  height: 30px;
  color: var(--ink);
  background: #eef4f2;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.cart-total strong {
  font-size: 1.5rem;
}

.empty-state {
  margin: 18px 0;
  color: var(--muted);
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-page article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.legal-page p,
.legal-page li {
  color: #3d4b4e;
}

.panel-body {
  background: #fffaf0;
}

.panel-shell {
  padding: clamp(28px, 5vw, 56px);
}

.panel-login-shell {
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 36px 18px;
}

.panel-login-card {
  width: min(420px, 100%);
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-login-card img {
  display: block;
  width: 152px;
  height: auto;
  margin-bottom: 18px;
}

.panel-login-card h1 {
  margin: 0 0 18px;
}

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

.panel-login-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.panel-login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.panel-login-error {
  min-height: 22px;
  margin: 0;
  color: #b42318;
  font-weight: 800;
}

.panel-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.panel-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.panel-hero p {
  max-width: 720px;
  color: var(--muted);
}

.panel-domain {
  min-width: 250px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-domain span,
.panel-domain strong {
  display: block;
}

.panel-domain span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.panel-domain strong {
  color: var(--gold-dark);
  font-size: 1.2rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.panel-grid article,
.panel-card,
.panel-note {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-grid article {
  padding: 18px;
}

.panel-grid span,
.panel-grid strong {
  display: block;
}

.panel-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.panel-grid strong {
  margin-top: 6px;
  font-size: 1.8rem;
}

.panel-card {
  margin-bottom: 18px;
  padding: 20px;
}

.panel-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-card-heading p,
.panel-status,
.panel-note p {
  color: var(--muted);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketplace-actions .button {
  min-height: 44px;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.integration-grid article {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.integration-grid article:last-child {
  border-right: 0;
}

.integration-grid span,
.integration-grid strong {
  display: block;
}

.integration-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.integration-grid strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 1.22rem;
}

.sync-log {
  display: grid;
  gap: 0;
}

.sync-log-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(180px, 0.65fr);
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.sync-log-row:last-child {
  border-bottom: 0;
}

.sync-log-row strong {
  color: var(--gold-dark);
}

.sync-log-row span,
.sync-log-row small {
  color: var(--muted);
}

.sync-log-row small {
  grid-column: 2;
}

.sync-log-row.is-error strong,
.sync-log-row.is-error small {
  color: #a63232;
}

.panel-search {
  width: min(420px, 100%);
}

.panel-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.panel-table th,
.panel-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.panel-table th {
  background: #fff4d7;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.panel-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}

.panel-note {
  padding: 18px;
}

.panel-note strong {
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 1020px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .store-strip,
  .collection-grid,
  .panel-grid,
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-grid article:nth-child(2n) {
    border-right: 0;
  }

  .panel-hero,
  .panel-card-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 156px;
    height: 52px;
  }

  .account-button {
    min-width: 42px;
    padding: 0 10px;
  }

  .account-button span {
    font-size: 0;
  }

  .account-button span::before {
    content: "Üye";
    font-size: 0.84rem;
  }

  .hero {
    min-height: 620px;
    align-items: end;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 248, 232, 0.08) 0%, rgba(255, 248, 232, 0.95) 46%, rgba(255, 248, 232, 0.99) 100%);
  }

  .hero > picture,
  .hero > picture > img {
    height: 54%;
  }

  .hero > picture > img {
    object-position: center top;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 300px 0 44px;
  }

  .hero-logo-image {
    width: min(100%, 480px);
  }

  .store-strip,
  .product-grid,
  .collection-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .integration-grid {
    grid-template-columns: 1fr;
  }

  .integration-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .integration-grid article:last-child {
    border-bottom: 0;
  }

  .sync-log-row {
    grid-template-columns: 1fr;
  }

  .sync-log-row small {
    grid-column: auto;
  }

  .section-heading,
  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-tools,
  .source-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box,
  .select-box {
    width: 100%;
    flex-basis: auto;
  }

  .product-card-real {
    grid-template-rows: 240px 1fr;
  }

  .detail-layout {
    padding: 16px;
  }

  .detail-copy {
    padding-right: 0;
  }

  .attribute-list,
  .detail-thumbs,
  .checkout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .checkout-grid,
  .attribute-list,
  .detail-thumbs {
    grid-template-columns: 1fr;
  }
}
