@import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap");

:root {
  --bg: #fff8f3;
  --bg-alt: #f7efe8;
  --text: #2b1f1a;
  --muted: #6d5a52;
  --primary: #a1462f;
  --primary-dark: #7d3423;
  --line: #e8d8ce;
  --card: #fff;
  --font-body: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-accent: "Marcellus", "Cormorant Garamond", Georgia, serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at top right, #fff, var(--bg));
  line-height: 1.6;
}

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

.site-header {
  --header-side-width: clamp(180px, 22vw, 300px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  display: grid;
  grid-template-columns: var(--header-side-width) minmax(0, 1fr) var(--header-side-width);
  grid-template-areas: "brand main actions";
  align-items: center;
  column-gap: 1rem;
  padding: 0.8rem 1rem;
  min-height: 138px;
  transition: background-color 320ms ease, border-color 320ms ease, backdrop-filter 320ms ease;
}

.site-header.scrolled {
  background-color: rgba(20, 14, 12, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}

.brand-name {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.62),
    0 1px 2px rgba(0, 0, 0, 0.5);
}

.main-nav {
  grid-area: main;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.25;
  white-space: nowrap;
  color: #ffffff;
  position: relative;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(0, 0, 0, 0.22);
  -webkit-text-stroke: 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
  opacity: 0.95;
}

.main-nav a + a::before {
  content: none;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav .nav-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.main-nav .header-cart-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  color: currentColor;
}

.main-nav .header-cart-icon circle {
  fill: currentColor;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
  min-width: var(--header-side-width);
  justify-content: flex-end;
}

.mobile-admin-meta {
  display: none;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0.25rem 0;
  margin-right: 16px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

.menu-button span + span {
  margin-top: 4px;
}

.section {
  padding: 4.5rem 1rem;
  scroll-margin-top: 88px;
}

#soldGallery.section,
#shop.section {
  padding: 16px 1rem 32px;
}

#collections.section {
  padding: 16px 1rem;
}

#faq.section,
body.page-cart main > section.section {
  padding: 16px 1rem;
}

.gallery-item-detail-section.section {
  padding: 16px 1rem 32px;
}

body:is(
    .page-gallery,
    .page-gallery-sold,
    .page-about,
    .page-faq,
    .page-contact,
    .page-collections,
    .page-shop,
    .page-cart,
    .page-admin
  ) main::before {
  content: "";
  display: block;
  height: clamp(180px, 28vh, 300px);
  min-height: clamp(180px, 28vh, 300px);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(
      var(--page-hero-overlay-start, rgba(43, 31, 26, 0.42)),
      var(--page-hero-overlay-end, rgba(43, 31, 26, 0.2))
    ),
    var(--page-hero-image, url("../images/hero/slide-1.jpg"));
  box-shadow: inset 0 -22px 42px rgba(0, 0, 0, 0.12);
}

body.page-gallery {
  --page-hero-image: url("../images/hero/slide-1.jpg");
}

body.page-gallery-sold {
  --page-hero-image: url("../images/hero/slide-1.jpg");
}

body.page-gallery-sold-item {
  --page-hero-image: url("../images/hero/slide-1.jpg");
  --page-hero-overlay-start: rgba(28, 21, 17, 0.56);
  --page-hero-overlay-end: rgba(28, 21, 17, 0.28);
}

body.page-about {
  --page-hero-image: url("../images/about/author-handshake.jpg");
}

body.page-about main::before {
  display: none;
}

body.page-contact main::before {
  display: none;
}

body.page-faq {
  --page-hero-image: url("../images/hero/slide-1.jpg");
}

body.page-faq main::before {
  background-position: center 42%;
}

body.page-contact {
  --page-hero-image: url("../images/other-mix/beautiful-view-opt.jpg");
}

body.page-collections {
  --page-hero-image: url("../images/hero/slide-1.jpg");
}

body.page-shop {
  --page-hero-image: url("../images/hero/slide-1.jpg");
}

body.page-shop-product {
  --page-hero-image: url("../images/hero/slide-1.jpg");
}

body.page-cart {
  --page-hero-image: url("../images/hero/slide-1.jpg");
}

body.page-admin {
  --page-hero-image: url("../images/hero/slide-1.jpg");
}

body:is(.page-shop, .page-shop-product, .page-gallery-sold, .page-collections, .page-cart) {
  --page-hero-overlay-start: rgba(28, 21, 17, 0.56);
  --page-hero-overlay-end: rgba(28, 21, 17, 0.28);
}

body.page-admin main::before {
  min-height: clamp(88px, 14vh, 132px);
  background-position: center 38%;
}

body.page-admin .site-header {
  background-color: rgba(20, 14, 12, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

body.page-admin .site-header.scrolled {
  background-color: rgba(20, 14, 12, 0.78);
}

body:is(.page-gallery, .page-gallery-sold, .page-shop, .page-collections)
  main > .section:first-child {
  padding-top: 72px;
}

body:is(.page-shop, .page-gallery-sold) main > .section:first-child {
  padding-top: 36px;
}

body:is(.page-cart, .page-admin) main > .section:first-child {
  padding-top: 7.15rem;
}

body.page-admin main > .section:first-child {
  padding-top: 2.2rem;
}

.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: 82vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #2b1f1a;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
  will-change: opacity;
}

.hero-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 14, 12, 0.58) 0%,
    rgba(24, 18, 15, 0.34) 38%,
    rgba(28, 21, 17, 0.36) 100%
  );
  pointer-events: none;
}

.hero-bg-layer.is-active {
  opacity: 1;
}

.hero-bg-layer.is-leaving {
  opacity: 0;
}

.hero-inner {
  width: min(820px, 100%);
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.5),
    0 0 8px rgba(0, 0, 0, 0.22);
}

.kicker {
  display: inline-block;
  color: #fff7e7;
  background: rgba(125, 52, 35, 0.62);
  border: 1px solid rgba(247, 215, 162, 0.55);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.section-head__title {
  font-family: var(--font-accent);
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.section-head__lead {
  font-family: var(--font-body);
}

.hero-copy,
.section-head p,
.quote,
.form-note {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero .hero-copy {
  color: rgba(255, 255, 255, 0.92);
}

.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: #1f1f1f;
  border-color: #fff;
  text-shadow: none;
}

.hero-cta {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #1f1f1f;
  border-radius: 0;
  background: transparent;
  color: #1f1f1f;
  padding: 0.78rem 1.05rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn-primary {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
}

.btn-primary:hover {
  background: transparent;
  color: #1f1f1f;
  border-color: #1f1f1f;
}

.btn-primary:active {
  background: #000;
  border-color: #000;
  transform: translateY(0);
}

.hero .btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.95);
  text-shadow: none;
}

.hero .btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  border-color: #1f1f1f;
  color: #1f1f1f;
  background: transparent;
}

.btn-outline:hover {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
}

.btn-outline:active {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(0);
}

.btn-ghost {
  border-color: rgba(31, 31, 31, 0.35);
  color: #1f1f1f;
  background: rgba(255, 255, 255, 0.86);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.btn-ghost:active {
  transform: translateY(0);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.14);
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.product-type-filters {
  margin-top: 1.1rem;
}

.product-type-filters__label {
  margin: 0;
  font-family: var(--font-accent);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a3b33;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-type-filters__buttons {
  margin-top: 0.55rem;
}

.catalog-toolbar {
  margin-top: 0.85rem;
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
}

.catalog-search {
  flex: 1;
  min-width: 0;
}

.catalog-search input,
.catalog-sort select {
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid #d4c6ba;
  background: #fff;
  color: #2b1f1a;
  padding: 0.56rem 0.72rem;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
}

.catalog-sort {
  margin-left: auto;
  width: min(320px, 100%);
}

.category-filter-btn {
  border: 1px solid #d4c6ba;
  background: #fff;
  color: #2b1f1a;
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.category-filter-btn:hover {
  border-color: #1f1f1f;
}

.category-filter-btn.is-active {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
}

.is-filter-hidden {
  display: none !important;
}

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

.card,
.product-card,
.gallery-card,
.quote,
.faq-list details,
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.card h3,
.product-card h3,
.gallery-card h3 {
  font-size: 1.05rem;
}

.product-thumb {
  height: 160px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e5b9a9, #d68d74);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}

.product-thumb-image,
.gallery-item-thumb-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.product-media,
.gallery-item-media {
  position: relative;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 0.8rem;
  background: #f2ece7;
}

.product-media .swap-image,
.gallery-item-media .swap-image {
  transition: opacity 220ms ease;
  position: relative;
  z-index: 1;
}

.product-media .swap-hover-layer,
.gallery-item-media .swap-hover-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 900ms ease;
  -webkit-user-drag: none;
  user-select: none;
}

.product-media .swap-hover-layer.is-visible,
.gallery-item-media .swap-hover-layer.is-visible {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-media .swap-image {
    opacity: 0.98;
  }

  .gallery-card:hover .gallery-item-media .swap-image {
    opacity: 0.98;
  }
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.65rem;
  margin-top: 2rem;
}

.gallery-grid .product-card,
.gallery-grid .gallery-card {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.gallery-grid .product-card[data-gallery-item-slug],
.gallery-grid .gallery-card[data-gallery-item-slug] {
  cursor: pointer;
}

.gallery-grid .product-card[data-gallery-item-slug] .product-thumb-image,
.gallery-grid .gallery-card[data-gallery-item-slug] .gallery-item-thumb-image,
.gallery-grid .gallery-card[data-gallery-item-slug] .product-thumb-image {
  cursor: pointer;
}

.gallery-grid .product-thumb-image {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  background: transparent;
  border-radius: 0;
}

.gallery-model-banner {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-model-banner .product-media {
  margin-bottom: 0;
  background: #111;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-model-banner .banner-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 720ms ease;
  will-change: opacity;
}

.gallery-model-banner .banner-layer.is-active {
  opacity: 1;
}

.gallery-model-banner .banner-dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gallery-model-banner .banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.gallery-model-banner .banner-dot.is-active {
  background: #fff;
}

.gallery-model-banner .banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
  opacity: 0;
  pointer-events: none;
}

.gallery-model-banner .banner-arrow span {
  display: block;
  line-height: 1;
  transform: translateY(-2px);
}

.gallery-model-banner .banner-arrow:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.7);
}

.gallery-model-banner .banner-arrow-prev {
  left: 0.6rem;
}

.gallery-model-banner .banner-arrow-next {
  right: 0.6rem;
}

.gallery-model-banner:hover .banner-dots,
.gallery-model-banner:focus-within .banner-dots,
.gallery-model-banner:hover .banner-arrow,
.gallery-model-banner:focus-within .banner-arrow {
  opacity: 1;
  pointer-events: auto;
}

.gallery-grid .product-media,
.gallery-grid .gallery-item-media {
  border: 0;
  border-radius: 0;
  margin: 0;
  background: #fff;
}

.gallery-grid .product-card h3,
.gallery-grid .product-card p,
.gallery-grid .gallery-card h3,
.gallery-grid .gallery-card p {
  padding-inline: 0;
}

.gallery-grid .product-card h3,
.gallery-grid .gallery-card h3 {
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b1b1b;
  line-height: 1.35;
}

.rolling-realizacje-section {
  --rolling-card-size: clamp(128px, 14vw, 220px);
  --rolling-gap: 0.9rem;
  --rolling-lane-pad: 0.9rem;
  position: relative;
  z-index: 0;
  padding: 0.8rem 0 1.1rem;
  overflow: hidden;
  overflow: clip;
}

.rolling-realizacje-mount {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: var(--rolling-card-size);
}

.rolling-realizacje-lane {
  position: relative;
  z-index: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  overflow-y: hidden;
  cursor: grab;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  contain: layout paint;
}

.rolling-realizacje-lane::-webkit-scrollbar {
  display: none;
}

.rolling-realizacje-lane.is-dragging {
  cursor: grabbing;
}

.rolling-realizacje-track {
  position: relative;
  z-index: 0;
  display: flex;
  width: max-content;
  gap: var(--rolling-gap);
  padding: 0 var(--rolling-lane-pad);
  contain: layout paint;
  will-change: transform;
}

.rolling-realizacje-item {
  width: var(--rolling-card-size);
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
}

.rolling-realizacje-link {
  display: block;
  text-decoration: none;
  color: inherit;
  line-height: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.rolling-realizacje-link:focus-visible {
  outline: 2px solid #1b1b1b;
  outline-offset: 3px;
}

.rolling-realizacje-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}

.rolling-realizacje-track--skeleton {
  width: max-content;
}

.rolling-realizacje-item--skeleton {
  border-color: rgba(0, 0, 0, 0.06);
  background: linear-gradient(120deg, rgba(235, 235, 235, 0.9) 0%, rgba(247, 247, 247, 1) 45%, rgba(235, 235, 235, 0.9) 100%);
  background-size: 220% 100%;
  animation: rolling-skeleton-shimmer 1.3s linear infinite;
}

@keyframes rolling-skeleton-shimmer {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: -120% 50%;
  }
}

@keyframes rolling-realizacje-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rolling-realizacje-track {
    animation: none;
  }
}

@media (max-width: 900px) {
  .rolling-realizacje-lane {
    touch-action: pan-x;
    cursor: auto;
  }
}

.product-link-card,
.gallery-item-link-card {
  display: block;
  cursor: pointer;
}

.gallery-cta-card {
  display: grid;
  place-items: center;
  min-height: 100%;
  border: 1px solid #1f1f1f !important;
  background: #ffffff;
  padding: 1.2rem;
}

.gallery-cta-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100%;
  text-align: center;
  padding: 0.78rem 1.05rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f1f1f;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.gallery-cta-button:hover {
  background: transparent;
  color: #1f1f1f;
}

#gallery .section-head {
  text-align: left;
  max-width: none;
  width: 100%;
}

#gallery .section-head .section-head__lead {
  color: #6a6a6a;
  font-size: 1.04rem;
}

#soldGallery .section-head .section-head__lead {
  color: #6a6a6a;
  font-size: 1.04rem;
}

#shop .section-head .section-head__lead {
  color: #6a6a6a;
  font-size: 1.04rem;
}

#collections .section-head .section-head__lead {
  color: #6a6a6a;
  font-size: 1.04rem;
}

.product-card p,
.gallery-card p {
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.78rem;
  margin: 1.2rem auto 0;
  max-width: 1080px;
}

.collection-card {
  grid-column: span 4;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.collection-card.collection-hero {
  grid-column: span 6;
  grid-row: span 2;
}

.collection-card.collection-tall {
  grid-column: span 3;
  grid-row: span 2;
}

.collection-card.collection-wide {
  grid-column: span 6;
}

.collection-card img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.collection-card.collection-hero img,
.collection-card.collection-tall img {
  max-height: 540px;
}

.collection-card figcaption {
  padding: 0.7rem 0.9rem 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}

#collections .collection-card figcaption {
  display: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-profile {
  grid-column: 2;
  max-width: 680px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
}

#about {
  position: relative;
  min-height: 72vh;
  background-image: linear-gradient(
      rgba(22, 15, 12, 0.72),
      rgba(22, 15, 12, 0.72)
    ),
    url("../images/about/author-handshake.jpg");
  background-size: cover;
  background-position: top left;
}

body.page-about #about {
  min-height: 88vh;
  padding-top: 7.25rem;
}

body.page-about #about .about-layout {
  min-height: calc(88vh - 9rem);
  align-items: end;
  padding-bottom: 1.4rem;
}

.about-copy-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0.14)
  );
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 2rem 1.3rem;
}

body.page-about .about-copy-card {
  transform: translateY(32px);
}

.about-copy-card h2 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.about-avatar-inline {
  display: block;
  width: clamp(98px, 14vw, 132px);
  height: clamp(98px, 14vw, 132px);
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  margin: 0 auto 0.9rem;
}

.about-center-copy {
  max-width: 56ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.14rem;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.about-center-copy-secondary {
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.about-signature {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.quote {
  font-style: italic;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reviews-heading {
  text-align: center;
}

.quote.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

#contact {
  position: relative;
  background-image: linear-gradient(
      rgba(22, 15, 12, 0.7),
      rgba(22, 15, 12, 0.7)
    ),
    url("../images/other-mix/beautiful-view-opt.jpg");
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

#contact h2,
#contact p,
#contact label span {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

#contact .contact-wrap > div,
#contact .contact-form {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  padding: 1.1rem;
}

.instagram-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-direct-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.55rem 0 0.75rem;
}

.contact-direct-item {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  line-height: 1.35;
}

.contact-direct-item svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.contact-direct-item a {
  color: inherit;
  text-decoration: none;
}

.contact-direct-item a:hover {
  text-decoration: underline;
}

.contact-author {
  margin-top: 0.95rem;
  display: grid;
  justify-items: start;
  gap: 0.5rem;
}

.contact-author-avatar {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.contact-author-question {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
}

#contact input,
#contact textarea {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
}

#contact .btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.95);
}

#contact .btn-primary:hover {
  background: #fff;
  border-color: #fff;
}

#contact .form-note {
  color: rgba(255, 255, 255, 0.88);
}

body.page-contact #contact {
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
}

body.page-contact #contact .contact-wrap {
  margin-bottom: 1.2rem;
}

body.page-about #contact {
  background-image: none;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.page-about #contact h2,
body.page-about #contact p,
body.page-about #contact label span {
  color: var(--text);
  text-shadow: none;
}

body.page-about #contact .contact-wrap > div,
body.page-about #contact .contact-form {
  background: #fff;
  border-color: var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.page-about #contact .instagram-link {
  color: var(--primary);
}

body.page-about #contact .contact-direct-item {
  color: var(--text);
}

body.page-about #contact .contact-author-avatar {
  border-color: var(--line);
}

body.page-about #contact .contact-author-question {
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 1rem 1.4rem;
  text-align: center;
  color: var(--muted);
}

.sponsors-strip {
  border-top: 1px solid var(--line);
  background: #fff;
}

.sponsors-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.95rem 0;
  flex-wrap: wrap;
}

.sponsors-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.sponsor-logo {
  height: 40px;
  width: auto;
  display: block;
}

.sponsor-event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.sponsor-event-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4b433d;
  font-size: 0.86rem;
  line-height: 1.3;
}

.sponsor-event-icon {
  width: 1rem;
  height: 1rem;
  display: inline-grid;
  place-items: center;
}

.sponsor-event-icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.sponsor-event-date {
  white-space: nowrap;
}

.footer-panels {
  background: #f6efe9;
  border-top: 1px solid var(--line);
}

.footer-panels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 2rem 0 1.7rem;
}

.footer-panel h3 {
  font-family: var(--font-accent);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  color: #2b1f1a;
}

.footer-panel p {
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.footer-links a,
.footer-socials a,
.footer-panel p a {
  color: #2b1f1a;
  text-decoration: none;
}

.footer-links a:hover,
.footer-socials a:hover,
.footer-panel p a:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

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

.product-page,
.gallery-item-page {
  padding-top: 0;
}

.product-mini-hero,
.gallery-item-mini-hero {
  min-height: clamp(180px, 28vh, 300px);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.product-mini-hero-bg,
.gallery-item-mini-hero-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(
      var(--page-hero-overlay-start, rgba(43, 31, 26, 0.42)),
      var(--page-hero-overlay-end, rgba(43, 31, 26, 0.2))
    ),
    var(--page-hero-image, url("../images/hero/slide-1.jpg"));
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.55rem;
  font-size: 0.96rem;
  color: #6a6a6a;
}

.breadcrumbs a {
  color: #3a3a3a;
}

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

.product-detail-layout,
.gallery-item-detail-layout {
  display: grid;
  grid-template-columns: 92px minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 1.7rem;
  align-items: start;
}

.product-detail-thumbs,
.gallery-item-detail-thumbs {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.product-thumb-button,
.gallery-item-thumb-button {
  border: 0;
  background: #fff;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-thumb-button img,
.gallery-item-thumb-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease, opacity 180ms ease;
}

.product-thumb-button::after,
.gallery-item-thumb-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  transition: background 180ms ease, opacity 180ms ease;
  pointer-events: none;
}

.product-thumb-button.is-active::after,
.gallery-item-thumb-button.is-active::after {
  background: rgba(255, 255, 255, 0);
}

.product-thumb-button:hover::after,
.gallery-item-thumb-button:hover::after {
  background: rgba(255, 255, 255, 0.22);
}

.product-thumb-button:hover img,
.gallery-item-thumb-button:hover img {
  transform: scale(1.02);
}

.product-detail-gallery,
.gallery-item-detail-gallery {
  display: block;
}

.product-detail-image,
.gallery-item-detail-image {
  border: 1px solid #e5dfd9;
  background: #fff;
  cursor: pointer !important;
}

.product-detail-image img,
.gallery-item-detail-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: pointer !important;
  -webkit-user-drag: none;
  user-select: none;
  transition: opacity 220ms ease;
}

.product-detail-image img.is-swapping,
.gallery-item-detail-image img.is-swapping {
  opacity: 0.28;
}

.product-detail-aside,
.gallery-item-detail-aside {
  position: sticky;
  top: 6.6rem;
  border: 1px solid #ddd5ce;
  background: #fff;
  padding: 1.15rem 1.2rem 1.25rem;
}

.product-detail-aside h1,
.gallery-item-detail-aside h1 {
  font-family: var(--font-display);
  font-size: clamp(1.48rem, 2.8vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-detail-aside p,
.gallery-item-detail-aside p {
  color: #4f4f4f;
  font-size: 1.03rem;
  line-height: 1.75;
}

.shop-product-description,
.sold-product-description {
  white-space: pre-wrap;
}

.shop-product-price {
  margin: 0 0 0.3rem;
  color: #1f1f1f !important;
  font-weight: 700;
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
}

.product-image-modal,
.gallery-item-image-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}

.product-image-modal.open,
.gallery-item-image-modal.open {
  display: flex;
}

.product-image-zoom,
.gallery-item-image-zoom {
  width: min(72vw, 900px);
  height: min(72vh, 620px);
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 220%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  cursor: zoom-out !important;
}

@media (max-width: 900px) {
  .cards-3,
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-model-banner {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .collection-card,
  .collection-card.collection-wide,
  .collection-card.collection-hero,
  .collection-card.collection-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .product-detail-layout,
  .gallery-item-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-thumbs,
  .gallery-item-detail-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    order: 2;
  }

  .product-detail-gallery,
  .gallery-item-detail-gallery {
    order: 1;
  }

  .product-detail-aside,
  .gallery-item-detail-aside {
    position: static;
    order: 3;
  }

  .about-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about-profile {
    grid-column: 1;
    margin: 0 auto;
  }

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

@media (max-width: 1220px) and (min-width: 761px) {
  .site-header {
    --header-side-width: clamp(120px, 15vw, 190px);
    column-gap: 0.6rem;
    padding: 0.65rem 0.7rem;
    min-height: 96px;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .brand-name {
    font-size: 1.18rem;
    letter-spacing: 0.04em;
  }

  .main-nav {
    gap: 0.68rem;
  }

  .main-nav a {
    font-size: 0.99rem;
    letter-spacing: 0.04em;
  }

  .main-nav a + a::before {
    left: -0.52rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-areas: "brand actions";
    grid-template-columns: minmax(0, 1fr) auto;
    --header-side-width: auto;
    min-height: 96px;
  }

  .menu-button {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 14, 12, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.8rem 1rem;
    display: none;
    flex-direction: column;
    gap: 0.7rem;
  }

  .admin-pill,
  .admin-logout-link {
    display: none !important;
  }

  .mobile-admin-meta {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.55rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-admin-email {
    font-size: 0.84rem;
    color: #f2dcc9;
    overflow-wrap: anywhere;
  }

  .mobile-admin-logout {
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    cursor: pointer;
  }

  .main-nav a + a::before {
    content: none;
  }

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

  .cards-3,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .gallery-model-banner {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-model-banner,
  .gallery-cta-card {
    aspect-ratio: 4 / 5;
  }

  .gallery-model-banner .product-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .gallery-model-banner .banner-layer {
    position: absolute;
    inset: 0;
  }

  .gallery-cta-card {
    border: 1px solid #1f1f1f !important;
    padding: 0;
  }

  .gallery-cta-button {
    min-height: 100%;
    width: 100%;
  }

  .gallery-model-banner .banner-dots,
  .gallery-model-banner .banner-arrow {
    opacity: 1;
    pointer-events: auto;
  }

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

  .collection-card img,
  .collection-card.collection-hero img,
  .collection-card.collection-tall img {
    max-height: 260px;
  }

  .product-detail-gallery,
  .gallery-item-detail-gallery {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .footer-panels-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 1.7rem;
  }

  .sponsors-wrap {
    padding: 0.95rem 1rem;
  }

  body.page-contact #contact {
    min-height: auto;
    align-items: flex-start;
    padding-top: 8.25rem;
  }

  body.page-contact #contact .contact-wrap {
    margin-bottom: 0;
  }
}

/* Admin/shop rollout */
.admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  margin-right: 0.5rem;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-logout-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  margin-right: 0.6rem;
  cursor: pointer;
}

html.auth-pending [data-admin-only],
html.auth-pending [data-shop-public] {
  visibility: hidden;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.shop-gallery-grid {
  margin-top: 1.6rem;
}

.shop-gallery-grid .gallery-card {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}

.shop-gallery-grid .gallery-item-media {
  border: 0;
  border-radius: 0;
  margin: 0;
  background: #fff;
  position: relative;
}

.shop-gallery-grid .shop-card-media-link {
  display: block;
  cursor: pointer;
}

.shop-gallery-grid .shop-card-media-link .gallery-item-media {
  transition: transform 110ms ease;
}

.shop-gallery-grid .shop-card-media-link:active .gallery-item-media {
  transform: scale(0.985);
}

.shop-gallery-grid .shop-gallery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.product-card-unified {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.product-card-unified .product-card-media {
  border: 0;
  border-radius: 0;
  margin: 0;
  background: #fff;
  position: relative;
}

.shop-gallery-grid .gallery-item-thumb-image {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  background: transparent;
  border-radius: 0;
}

.product-card-unified .gallery-item-thumb-image {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  background: transparent;
  border-radius: 0;
}

.shop-gallery-grid .gallery-card h3 {
  margin-top: 0.2rem;
  margin-bottom: 5px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b1b1b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.35em * 2);
  padding-inline: 8px;
}

.product-card-unified h3 {
  margin-top: 0.2rem;
  margin-bottom: 5px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b1b1b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.35em * 2);
  padding-inline: 8px;
}

.shop-gallery-grid .shop-gallery-price {
  display: block !important;
  padding-inline: 8px !important;
  margin-top: 0.8rem;
  margin-bottom: 0.15rem;
  color: #1b1b1b;
  font-weight: 700;
}

.product-card-unified .product-card-price {
  display: block !important;
  padding-inline: 8px;
  margin-top: 0.8rem;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.shop-card-cart-fab {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 4;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.96);
  color: #1f1f1f;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.shop-card-cart-fab svg {
  width: 1.08rem;
  height: 1.08rem;
}

.shop-card-cart-fab:hover,
.shop-card-cart-fab:focus-visible {
  transform: translateY(-1px) scale(1.03);
  background: #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.shop-card-cart-fab:active,
.shop-card-cart-fab.is-clicked {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.shop-card-skeleton {
  pointer-events: none;
}

.shop-skeleton-block {
  position: relative;
  overflow: hidden;
  border-radius: 0.4rem;
  background: #efe8e2;
}

.shop-skeleton-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 140%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.72) 50%, transparent 100%);
  animation: shop-skeleton-shimmer 1.2s ease-in-out infinite;
}

.shop-gallery-grid .shop-skeleton-media {
  aspect-ratio: 4 / 5;
  border-radius: 0;
}

.shop-gallery-grid .shop-skeleton-title {
  margin-top: 0.4rem;
  width: 72%;
  height: calc(1.35em * 2);
}

.shop-gallery-grid .shop-skeleton-price {
  margin-top: 0.8rem;
  width: 34%;
  height: 1.15em;
}

@media (max-width: 700px) {
  .shop-card-cart-fab {
    width: 2rem;
    height: 2rem;
    top: 0.45rem;
    right: 0.45rem;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-sort {
    margin-left: 0;
    width: 100%;
  }
}

@keyframes shop-skeleton-shimmer {
  100% {
    left: 120%;
  }
}

.shop-purchase-note {
  margin-top: 0.6rem;
  color: #6a5b51;
  font-size: 0.92rem;
}

.shop-admin-edit-link {
  margin-top: 0.65rem;
  display: inline-flex;
}

.shop-other-section .shop-gallery-grid {
  margin-top: 1rem;
}

.shop-other-empty {
  margin-top: 0.9rem;
  color: #5a5a5a;
}

.shop-other-more-wrap {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.shop-other-more-wrap .btn {
  margin-inline: auto;
}

.sold-gallery-grid {
  margin-top: 1.6rem;
}

.sold-gallery-card {
  cursor: pointer;
}

.sold-gallery-grid .sold-gallery-card {
  border: 0;
  background: #fff;
  padding: 0;
  border-radius: 0;
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.08);
  min-width: 0;
}

.shop-gallery-grid .gallery-card {
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.08);
}

.gallery-card.product-card-unified.product-card--active.shop-gallery-card {
  background: #fff;
}

.sold-gallery-grid .sold-gallery-media {
  border: 0;
  border-radius: 0;
  margin: 0;
  background: #fff;
  position: relative;
}

.sold-gallery-grid .gallery-item-thumb-image {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 900px) {
  #shopProducts.shop-gallery-grid,
  #soldGalleryGrid.sold-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #shopProducts.shop-gallery-grid,
  #soldGalleryGrid.sold-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.sold-gallery-grid .sold-gallery-card h3 {
  margin-top: 0.2rem;
  margin-bottom: 0;
  font-family: "Tenor Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b1b1b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}

.sold-gallery-price-strike {
  display: block !important;
  padding-inline: 8px !important;
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
  color: #7a726d;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 0.12em;
}

.shop-product-price.sold-gallery-price-strike {
  padding-inline: 0 !important;
}

.shop-gallery-grid .gallery-card .product-card-price,
.sold-gallery-grid .gallery-card .product-card-price {
  padding-inline: 8px !important;
}

.sold-gallery-date {
  margin-top: 0.35rem;
  color: #5a5a5a;
  font-size: 0.8rem;
  padding-inline: 8px !important;
}

.sold-gallery-empty {
  margin-top: 1.1rem;
  color: #5a5a5a;
}

.catalog-pagination {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.catalog-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.catalog-pagination__arrow,
.catalog-pagination__page {
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: #fff;
  color: #1f1f1f;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.catalog-pagination__arrow:hover,
.catalog-pagination__page:hover {
  background: #f5efea;
  border-color: rgba(0, 0, 0, 0.32);
}

.catalog-pagination__arrow:active,
.catalog-pagination__page:active {
  transform: scale(0.97);
}

.catalog-pagination__page.is-active {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
}

.catalog-pagination__arrow[disabled],
.catalog-pagination__page[disabled] {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.catalog-pagination__ellipsis {
  min-width: 1.3rem;
  text-align: center;
  color: #6b625a;
}

.sold-gallery-empty a {
  color: #2b1f1a;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.sold-archive-cta-wrap {
  margin-top: 0.72rem;
}

.sold-archive-cta {
  min-width: 182px;
}

.sold-card-skeleton {
  pointer-events: none;
}

.sold-skeleton-media {
  aspect-ratio: 4 / 5;
  border-radius: 0;
}

.sold-skeleton-title {
  margin-top: 0.4rem;
  width: 72%;
  height: calc(1.35em * 2);
}

.sold-skeleton-date {
  margin-top: 0.4rem;
  width: 55%;
  height: 1.1em;
}

.sold-item-skeleton-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.sold-item-skeleton-main {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.sold-item-skeleton-title {
  width: 78%;
  height: calc(1.22em * 2);
  margin-bottom: 0.55rem;
}

.sold-item-skeleton-copy {
  width: 100%;
  height: 1.1em;
  margin-top: 0.45rem;
}

.sold-item-aside .sold-item-status {
  margin-top: 0.9rem;
  font-weight: 700;
  color: #2b1f1a;
}

.sold-item-aside .sold-item-date {
  margin-top: 0.2rem;
  color: #5c514a;
}

.shop-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.shop-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
}

.shop-price {
  font-weight: 700;
}

.shop-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.shop-product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.9fr);
  gap: 1.2rem;
}

.shop-product-media > img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.shop-product-gallery {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.45rem;
}

.shop-product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: center;
  max-width: 680px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.cart-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.8rem;
}

.checkout-shell {
  display: grid;
  gap: 1rem;
}

.checkout-steps {
  --checkout-progress: 0%;
  position: relative;
  padding-top: 0.3rem;
}

.checkout-steps::before,
.checkout-steps::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 0.85rem;
  height: 2px;
  border-radius: 999px;
}

.checkout-steps::before {
  background: rgba(0, 0, 0, 0.14);
}

.checkout-steps::after {
  background: #1f1f1f;
  width: var(--checkout-progress);
  right: auto;
}

.checkout-steps__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.checkout-step {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.4rem;
  z-index: 1;
}

.checkout-step__dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.checkout-step__label {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.7);
}

.checkout-step.is-complete .checkout-step__dot {
  border-color: #1f1f1f;
  background: #1f1f1f;
}

.checkout-step.is-complete .checkout-step__label {
  color: #1f1f1f;
}

.checkout-step.is-current .checkout-step__dot {
  border-color: #1f1f1f;
  background: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(31, 31, 31, 0.12);
}

.checkout-step.is-current .checkout-step__label {
  color: #1f1f1f;
}

.checkout-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.95rem;
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.checkout-panel h1 {
  margin-bottom: 0.2rem;
}

.checkout-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.checkout-summary {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.8rem;
  padding: 0.9rem;
}

.checkout-form {
  display: grid;
  gap: 0.65rem;
}

.checkout-form label {
  display: grid;
  gap: 0.25rem;
}

.checkout-form label > span {
  font-size: 0.92rem;
  font-weight: 600;
}

.checkout-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.checkout-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

.checkout-notice {
  margin: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(193, 18, 31, 0.28);
  background: rgba(193, 18, 31, 0.06);
  color: #8f0f1a;
  border-radius: 0.7rem;
  font-size: 0.95rem;
}

.admin-wrap {
  display: grid;
  gap: 0.85rem;
}

.page-admin .container.admin-wrap {
  width: min(1760px, 100%);
}

.admin-boot-panel {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: clamp(320px, calc(100vh - 220px), 680px);
  display: grid;
  place-items: center;
}

.admin-boot-loader-wrap {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  color: #4a4a4a;
}

.admin-boot-loader {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 3px solid rgba(0, 0, 0, 0.16);
  border-top-color: rgba(0, 0, 0, 0.62);
  animation: admin-spin 0.9s linear infinite;
}

.admin-shell {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.admin-saving-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.admin-saving-overlay[hidden] {
  display: none !important;
}

.admin-saving-overlay-inner {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  color: #3f3b38;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0.7rem;
  padding: 0.8rem 1rem;
  min-width: 170px;
}

.admin-shell.is-saving > *:not(.admin-saving-overlay) {
  pointer-events: none;
}

.admin-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(193, 18, 31, 0.28);
  background: rgba(193, 18, 31, 0.07);
  color: #8f0f1a;
  border-radius: 0.7rem;
  font-size: 0.95rem;
}

.admin-sidebar {
  background: #fff;
  border-radius: 0.82rem;
  padding: 0.55rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 6.9rem;
  align-self: start;
  margin-left: 0;
}

.admin-sidebar-welcome {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.admin-sidebar-nav {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.3rem;
}

.admin-sidebar-nav button {
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.48rem 0.58rem;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.admin-sidebar-nav button.is-active {
  border-color: #0b63c9;
  box-shadow: inset 0 0 0 1px rgba(11, 99, 201, 0.2);
  background: #f5eee8;
}

.admin-sidebar-nav button:hover,
.admin-sidebar-nav button:focus-visible {
  border-color: rgba(11, 99, 201, 0.55);
  background: #f8f3ef;
}

.admin-main {
  display: grid;
  gap: 1rem;
}

.admin-panel {
  background: #fff;
  border-radius: 0.92rem;
  padding: 0.8rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  min-width: 0;
}

#adminViewProducts.is-busy {
  position: relative;
}

#adminViewProducts.is-busy > * {
  pointer-events: none;
}

#adminViewProducts.is-busy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 4;
}

#adminViewProducts.is-busy::before {
  content: "Aktualizuję...";
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  font-size: 0.74rem;
  color: #5a524c;
}

.anahit-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(43, 31, 26, 0.34);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.anahit-modal[hidden] {
  display: none !important;
}

.anahit-modal__dialog {
  position: relative;
}

.anahit-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.admin-login-panel {
  --bg: #fff8f3;
  --bg-alt: #f7efe8;
  --text: #2b1f1a;
  --muted: #6d5a52;
  --primary: #a1462f;
  --primary-dark: #7d3423;
  --line: #e8d8ce;
  --card: #fff;
  --font-body: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-accent: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --page-hero-image: url("../images/hero/slide-3.jpg");
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  display: grid;
  place-items: center;
  min-height: clamp(320px, calc(100vh - 220px), 680px);
}

.admin-login-panel[hidden] {
  display: none !important;
}

.admin-login-card {
  box-sizing: border-box;
  padding: 2rem;
  width: min(460px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.admin-login-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.admin-login-copy {
  padding: 0.4rem 0.6rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(rgba(255, 248, 243, 0.9), rgba(255, 248, 243, 0.94)),
    var(--page-hero-image) center / cover no-repeat;
  border: 1px solid var(--line);
}

.admin-login-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  margin-bottom: 0.6rem;
}

.admin-login-copy p {
  color: var(--muted);
}

.admin-login-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
}

.admin-error {
  color: #c1121f;
  font-weight: 600;
}

.admin-login-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  justify-content: center;
}

.admin-login-actions .btn {
  min-width: 0;
  flex: 0 0 auto;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.72rem;
}

.admin-panel-head h2,
.admin-panel-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.admin-form {
  display: grid;
  gap: 0.68rem;
}

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

.admin-form label {
  display: grid;
  gap: 0.3rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 0.5rem;
  padding: 0.6rem 0.7rem;
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

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

.admin-product-builder {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: 0.82rem;
  align-items: start;
}

.admin-product-media-builder {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 0.62rem;
}

.admin-upload-thumbs {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  max-height: 520px;
  overflow: auto;
  padding-right: 0.2rem;
}

.admin-upload-empty {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0 0 0.15rem;
}

.admin-upload-thumb {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  padding: 0.3rem;
}

.admin-upload-thumb.is-main {
  border-color: #1f1f1f;
}

.admin-upload-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.admin-advanced-section {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin-top: 0.3rem;
  padding-top: 0.2rem;
}

.admin-advanced-toggle {
  list-style: none;
  cursor: pointer;
  padding: 0.45rem 0;
  display: grid;
  place-items: center;
}

.admin-advanced-toggle::-webkit-details-marker {
  display: none;
}

.admin-advanced-chevron {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 150ms ease;
}

.admin-advanced-section[open] .admin-advanced-chevron {
  transform: rotate(180deg);
}

.admin-advanced-content {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.3rem;
}

.admin-upload-thumb-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin-top: 0.32rem;
}

.admin-upload-thumb-actions button {
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 0.4rem;
  background: #fff;
  padding: 0.35rem 0.4rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.admin-upload-thumb-actions button[data-action="remove"] {
  grid-column: 1 / -1;
}

.admin-upload-main-wrap {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  padding: 0.65rem;
}

.admin-upload-main {
  border: 1px dashed rgba(0, 0, 0, 0.2);
  background: #faf8f6;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #5f5f5f;
  padding: 0.65rem;
}

.admin-upload-main img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.admin-upload-picker {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.admin-upload-picker input {
  width: 100%;
}

.admin-product-fields {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  padding: 0.72rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.admin-product-fields label {
  display: grid;
  gap: 0.3rem;
}

.admin-field-error {
  margin: -0.35rem 0 0;
  color: #c1121f;
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-input-invalid {
  border-color: #c1121f !important;
}

.admin-slug-preview-wrap {
  margin: -0.15rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.admin-slug-preview {
  color: #5d5d5d;
  font-size: 0.82rem;
}

.admin-slug-edit-link {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  font-size: 0.82rem;
  color: #1f1f1f;
  cursor: pointer;
}

.admin-slug-editor[hidden] {
  display: none;
}

.admin-product-fields input,
.admin-product-fields textarea,
.admin-product-fields select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  padding: 0.6rem 0.7rem;
  background: #fff;
}

.admin-product-fields textarea[name="description_pl"] {
  resize: vertical;
}

.admin-product-actions {
  margin-top: 0.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-product-actions .btn {
  width: 100%;
}

.admin-field-help {
  color: #5d5d5d;
  font-size: 0.82rem;
  line-height: 1.45;
}

.admin-block {
  margin-top: 0.7rem;
}

#adminProductEditorBlock {
  margin-top: 0;
}

.admin-kpi-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-kpi-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.85rem;
  display: grid;
  gap: 0.32rem;
}

.admin-kpi-card span {
  color: #69635d;
  font-size: 0.86rem;
}

.admin-kpi-card strong {
  font-size: 1.35rem;
  line-height: 1.15;
}

.admin-quick-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-settings-card {
  margin-top: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.85rem;
}

.admin-settings-card h3 {
  margin-bottom: 0.3rem;
}

.admin-settings-help {
  margin: 0;
  color: #615a54;
  font-size: 0.92rem;
}

.admin-toolbar-grid {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.admin-toolbar-grid label {
  display: grid;
  gap: 0.2rem;
}

.admin-toolbar-grid span {
  font-size: 0.78rem;
  color: #5d5d5d;
}

.admin-toolbar-grid input,
.admin-toolbar-grid select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.45rem;
  padding: 0.48rem 0.55rem;
  background: #fff;
}

.admin-bulk-row {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-inline.admin-inline-select-all {
  min-width: 1.25rem;
  margin-right: 0.1rem;
}

.admin-bulk-row #adminBulkInfo {
  margin: 0;
  white-space: nowrap;
}

.admin-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-product-thumb {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 0.4rem;
}

.admin-row-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.admin-row-actions button {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 0.4rem;
  padding: 0.28rem 0.4rem;
  font-size: 0.72rem;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 90ms ease;
}

.admin-row-actions button:hover,
.admin-row-actions button:focus-visible {
  background: #f5f1ed;
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.admin-row-actions button:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.admin-mini-actions-cell {
  text-align: center !important;
  vertical-align: middle;
}

.admin-mini-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  white-space: nowrap;
}

.admin-mini-actions .admin-action-share,
.admin-mini-actions .admin-action-trash {
  border-radius: 0.3rem;
  padding: 0.12rem;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.admin-mini-actions .admin-action-share {
  color: #33625b;
  transition: color 140ms ease, transform 90ms ease;
}

.admin-mini-actions .admin-action-trash {
  color: #9e2f24;
  transition: color 140ms ease, transform 90ms ease;
}

.admin-mini-actions .admin-action-share:hover,
.admin-mini-actions .admin-action-share:focus-visible {
  color: #214b45;
}

.admin-mini-actions .admin-action-trash:hover,
.admin-mini-actions .admin-action-trash:focus-visible {
  color: #7f2019;
}

.admin-mini-actions .admin-action-share:active,
.admin-mini-actions .admin-action-trash:active {
  transform: translateY(1px) scale(0.97);
}

.admin-action-share-icon,
.admin-action-trash-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.admin-product-name-main {
  line-height: 1.25;
}

.admin-product-name-slug {
  margin-top: 0.18rem;
  color: #6b625d;
  font-size: 0.78rem;
  line-height: 1.2;
}

.admin-table-wrap {
  overflow-x: hidden;
  max-width: 100%;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-products-table {
  min-width: 100%;
  table-layout: fixed;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.45rem;
  text-align: left;
  vertical-align: middle;
  font-size: 0.86rem;
}

.admin-products-table th:nth-child(1),
.admin-products-table td:nth-child(1) { width: 40px; }
.admin-products-table th:nth-child(2),
.admin-products-table td:nth-child(2) { width: 90px; }
.admin-products-table th:nth-child(3),
.admin-products-table td:nth-child(3) { width: 260px; }
.admin-products-table th:nth-child(4),
.admin-products-table td:nth-child(4) { width: 90px; }
.admin-products-table th:nth-child(5),
.admin-products-table td:nth-child(5) { width: 110px; }
.admin-products-table th:nth-child(6),
.admin-products-table td:nth-child(6) { width: 90px; }
.admin-products-table th:nth-child(7),
.admin-products-table td:nth-child(7) { width: 90px; }
.admin-products-table th:nth-child(8),
.admin-products-table td:nth-child(8) { width: 320px; }
.admin-products-table th:nth-child(9),
.admin-products-table td:nth-child(9) { width: 92px; }

.admin-products-table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-products-table td:nth-child(3),
.admin-products-table td:nth-child(8) {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.admin-product-editor-meta {
  margin-top: -0.2rem;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
}

.admin-pagination {
  margin-top: 0.62rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-products-table-wrap {
  overflow-x: auto;
}

@keyframes admin-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-existing-images {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.admin-existing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 0.4rem;
}

.admin-existing-item {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  padding: 0.32rem;
}

.admin-existing-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.admin-existing-item button {
  margin-top: 0.3rem;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 0.36rem;
  padding: 0.25rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.admin-attributes-list {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.35rem;
}

.admin-attribute-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) 92px auto auto;
  gap: 0.35rem;
}

.admin-attribute-row input[type=\"text\"],
.admin-attribute-row input[type=\"number\"] {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.45rem;
  padding: 0.45rem 0.55rem;
  background: #fff;
}

.admin-attribute-row button {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 0.45rem;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}

.admin-order-detail {
  margin-top: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.8rem;
  padding: 0.85rem;
  display: grid;
  gap: 0.7rem;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
}

.admin-order-items ul {
  margin-left: 1rem;
}

.admin-order-actions {
  display: flex;
  gap: 0.55rem;
  align-items: end;
  flex-wrap: wrap;
}

.admin-media-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.admin-media-group {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.82);
  margin-top: 0.6rem;
  overflow: hidden;
}

.admin-media-group-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.58rem 0.7rem;
  cursor: pointer;
  background: rgba(247, 239, 232, 0.7);
}

.admin-media-group-summary::-webkit-details-marker {
  display: none;
}

.admin-media-group-title {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.admin-media-group-count {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  padding: 0.1rem 0.46rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.admin-media-group-grid {
  margin-top: 0;
  padding: 0.6rem;
  gap: 0.5rem;
}

.admin-media-upload-preview {
  display: grid;
  gap: 0.55rem;
}

.admin-media-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
}

.admin-media-upload-item {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  padding: 0.35rem;
  background: #fff;
}

.admin-media-upload-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.35rem;
}

.admin-media-upload-item p {
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-media-card {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.65rem;
  background: #fff;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  grid-template-areas:
    "thumb path action"
    "thumb meta action";
  gap: 0.3rem 0.6rem;
  align-items: center;
}

.admin-media-card img {
  grid-area: thumb;
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 0.45rem;
}

.admin-media-card p {
  margin: 0;
}

.admin-media-card p:first-of-type {
  grid-area: path;
}

.admin-media-card p:last-of-type {
  grid-area: meta;
  color: #635a54;
  font-size: 0.84rem;
}

.admin-media-card button {
  grid-area: action;
  margin-top: 0;
  width: auto;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 0.45rem;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}

.narrow {
  max-width: 620px;
}

@media (max-width: 860px) {
  .admin-login-card {
    padding: 1rem;
  }

  .admin-login-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

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

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

  .admin-attribute-row {
    grid-template-columns: 1fr;
  }

  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .admin-media-card {
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-areas:
      "thumb path"
      "thumb meta"
      "action action";
  }

  .admin-media-card img {
    width: 74px;
    height: 74px;
  }

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

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-builder {
    grid-template-columns: 1fr;
  }

  .admin-product-media-builder {
    grid-template-columns: 1fr;
  }

  .admin-upload-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    max-height: none;
  }

  .admin-product-actions {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .checkout-steps__list {
    gap: 0.35rem;
  }

  .checkout-step__label {
    font-size: 0.74rem;
  }

  .checkout-steps::before,
  .checkout-steps::after {
    left: 0.25rem;
    right: 0.25rem;
  }

  .checkout-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
