@font-face {
  font-family: "SigmaSerif";
  src: url("https://grdesign.cz/plugins/templates/font/SigmaSerif-Text.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SigmaSerifHead";
  src: url("https://grdesign.cz/plugins/templates/font/SigmaSerif-Headline.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #d9dde3;
  --panel: rgba(248, 250, 253, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --text: #1f2937;
  --muted: #667285;
  --line: rgba(10, 34, 63, 0.12);
  --line-strong: rgba(0, 123, 255, 0.22);
  --brand: #007bff;
  --brand-dark: #050b14;
  --accent: #84ceff;
  --danger: #9a3324;
  --shadow: 0 24px 70px rgba(5, 11, 20, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.eshop-page {
  margin: 0;
  color: var(--text);
  font-family: "Barlow", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    radial-gradient(circle at top left, rgba(0, 153, 255, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(5, 11, 20, 0.1), transparent 22%),
    linear-gradient(180deg, #f0f2f5 0%, #dfe4ea 50%, #d4d9df 100%);
}

.eshop-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: 0 0 48px;
  background-color: rgba(240, 240, 240, 0.8);
  background-image: url('/img_template/pozadi_sikme3.webp'), url('/img_template/pozadi_sikme2.webp');
  background-repeat: no-repeat, no-repeat;
  background-position: top center, bottom center;
  background-size: contain, contain;
  overflow-x: clip;
}

body.eshop-page .eshop-shell,
.eshop-section .eshop-shell {
  width: 80%;
  max-width: 2500px;
  margin: 0 auto;
  padding-top: 123px;
}

body.eshop-page img,
.eshop-section img {
  display: block;
  max-width: 100%;
}

body.eshop-page button,
body.eshop-page input,
body.eshop-page select,
body.eshop-page textarea,
.eshop-section button,
.eshop-section input,
.eshop-section select,
.eshop-section textarea {
  font: inherit;
}

body.eshop-page button,
.eshop-section button {
  cursor: pointer;
}

body.eshop-page .page-shell,
.eshop-section .page-shell {
  width: min(2500px, 80%);
  margin: 0 auto;
  padding: 0 0 48px;
}

body.eshop-page .hero,
.eshop-section .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 40px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 253, 0.88));
  border: 1px solid rgba(209, 222, 234, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 60px rgba(31, 54, 78, 0.14);
  overflow: hidden;
  position: relative;
}

body.eshop-page .hero::after,
.eshop-section .hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.12), transparent 70%);
}

.hero_top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 40px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.01), rgba(19, 19, 19, 0.01));

  border-radius: var(--radius-xl);
  box-shadow: 0 22px 50px rgba(19, 19, 19, 0.14);
  overflow: hidden;
  position: relative;
}

.hero_top::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.12), transparent 3%);
}

.hero_top.eshop-intro-hero {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 10px;
  width: 100%;
  margin: 0 0 28px;
  padding: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  justify-items: start;
}

.hero_top.eshop-intro-hero::after {
  content: none;
  display: none;
}

.hero_top.eshop-intro-hero .hero-copy.eshop-intro-copy {
  display: grid;
  gap: 10px;
  align-content: start !important;
  max-width: 980px;
  width: 100%;
  margin: 0;
  padding: 0;
  justify-items: start;
}

body.eshop-page .hero_top.eshop-intro-hero .hero-copy,
.eshop-section .hero_top.eshop-intro-hero .hero-copy {
  align-content: start !important;
}

.eshop-kicker {
  margin: 0 0 2px;
  font: 600 0.82rem/1 "Roboto Flex", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(34, 34, 34, 0.55);
}

.hero_top.eshop-intro-hero .eshop-intro {
  max-width: 980px;
  color: #415565;
  text-align: left;
  font-family: "Quicksand", sans-serif;
  font-size: 1.06rem;
  line-height: 1.85;
  margin: 0;
  padding: 0;
}

.hero_top.eshop-intro-hero .eshop-intro p {
  margin: 0 0 14px;
}

.hero_top.eshop-intro-hero .eshop-intro p:last-child {
  margin-bottom: 0;
}

body.eshop-page .hero_top.eshop-intro-hero .eshop-main-title,
.eshop-section .hero_top.eshop-intro-hero .eshop-main-title {
  margin: 0 0 2rem !important;
  color: #ffffff !important;
  text-align: left !important;
}

.hero-summary-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, max-content));
  gap: 16px;
  justify-content: start;
  margin: 0 0 28px;
}



body.eshop-page .eyebrow,
body.eshop-page .section-eyebrow,
body.eshop-page .status-title,
.eshop-section .eyebrow,
.eshop-section .section-eyebrow,
.eshop-section .status-title {
  margin: 0 0 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brand);
}

body.eshop-page .eshop-hero-title,
body.eshop-page .eshop-section-title,
.eshop-section .eshop-hero-title,
.eshop-section .eshop-section-title {
  margin: 0 !important;
  font-family: "SigmaSerifHead", serif !important;
  font-weight: 400 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.04em !important;
  text-align: left !important;
  left: auto !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
}

body.eshop-page .eshop-hero-title::after,
body.eshop-page .eshop-section-title::after,
body.eshop-page .eshop-detail-title::after,
body.eshop-page .eshop-info-title::after,
.eshop-section .eshop-hero-title::after,
.eshop-section .eshop-section-title::after,
.eshop-section .eshop-detail-title::after,
.eshop-section .eshop-info-title::after {
  content: none !important;
  display: none !important;
}

body.eshop-page .eshop-hero-title,
.eshop-section .eshop-hero-title {
  max-width: 11ch !important;
  font-size: clamp(2.8rem, 6vw, 5.4rem) !important;
  color: var(--brand-dark) !important;
}

body.eshop-page .eshop-main-title,
.eshop-section .eshop-main-title {
  margin: 0 0 2rem !important;
  font-family: "SigmaSerifHead", serif !important;
  font-weight: 700 !important;
  font-size: 5rem !important;
  line-height: 0.95 !important;
  letter-spacing: -1px !important;
  color: #fff !important;
  text-align: left !important;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8) !important;
  position: static !important;
  left: auto !important;
}

body.eshop-page .eshop-main-title::after,
.eshop-section .eshop-main-title::after {
  content: none !important;
  display: none !important;
}

body.eshop-page .eshop-section-title,
.eshop-section .eshop-section-title {
  font-size: clamp(2rem, 3vw, 2.7rem) !important;
  color: var(--brand-dark) !important;
}

body.eshop-page .hero-text,
.eshop-section .hero-text {
  max-width: 64ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

body.eshop-page .hero-summary,
.eshop-section .hero-summary {
  display: none;
}

body.eshop-page .summary-card,
body.eshop-page .cart-card,
body.eshop-page .order-card,
body.eshop-page .catalog-panel,
.eshop-section .summary-card,
.eshop-section .cart-card,
.eshop-section .order-card,
.eshop-section .catalog-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(246, 250, 253, 0.44));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(209, 222, 234, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 60px rgba(31, 54, 78, 0.14);
}


body.eshop-page .summary-card,
.eshop-section .summary-card {
  padding: 22px;
}

.summary-label {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

body.eshop-page .summary-card strong,
.eshop-section .summary-card strong {
  font-size: 2rem;
  color: var(--brand);
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.catalog-panel,
.cart-card,
.order-card {
  padding: 24px;
}

.catalog-toolbar,
.catalog-status,
body.eshop-page .section-heading,
body.eshop-page .summary-row,
body.eshop-page .cart-item,
body.eshop-page .cart-item-main,
body.eshop-page .product-card-footer,
body.eshop-page .product-meta,
body.eshop-page .detail-meta,
body.eshop-page .detail-top,
body.eshop-page .detail-footer,
body.eshop-page .form-row,
.eshop-section .section-heading,
.eshop-section .summary-row,
.eshop-section .cart-item,
.eshop-section .cart-item-main,
.eshop-section .product-card-footer,
.eshop-section .product-meta,
.eshop-section .detail-meta,
.eshop-section .detail-top,
.eshop-section .detail-footer,
.eshop-section .form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.catalog-toolbar,
.catalog-status {
  flex-wrap: wrap;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.eshop-page .category-button,
body.eshop-page .ghost-button,
body.eshop-page .primary-button,
body.eshop-page .detail-close,
body.eshop-page .quantity-control button,
body.eshop-page .remove-button,
body.eshop-page .thumb-button,
.eshop-section .category-button,
.eshop-section .ghost-button,
.eshop-section .primary-button,
.eshop-section .detail-close,
.eshop-section .quantity-control button,
.eshop-section .remove-button,
.eshop-section .thumb-button {
  border: 1px solid transparent;
  transition: 0.2s ease;
}

body.eshop-page .category-button,
body.eshop-page .ghost-button,
.eshop-section .category-button,
.eshop-section .ghost-button {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border-color: var(--line);
}

body.eshop-page .category-button:hover,
body.eshop-page .ghost-button:hover,
body.eshop-page .thumb-button:hover,
body.eshop-page .remove-button:hover,
.eshop-section .category-button:hover,
.eshop-section .ghost-button:hover,
.eshop-section .thumb-button:hover,
 {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

body.eshop-page .category-button.is-active,
body.eshop-page .primary-button,
body.eshop-page .quantity-control button,
.eshop-section .category-button.is-active,
.eshop-section .primary-button,
.eshop-section .quantity-control button {
  background: linear-gradient(135deg, #0099ff, #0066cc);
  color: #fff;
  border-color: transparent;
}

.search-box {
  min-width: min(100%, 320px);
  flex: 1 1 260px;
}

.search-box span,
.order-form label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-box input,
.order-form input,
.order-form select,
.order-form textarea,
.quantity-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.search-box input:focus,
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.quantity-input:focus {
  outline: 2px solid rgba(30, 115, 190, 0.14);
  border-color: rgba(30, 115, 190, 0.42);
}


.status-text {
  margin: 4px 0 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.product-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  min-height: 100%;
  padding: 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  cursor: pointer;
}

.special-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(132, 206, 255, 0.22));
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(10, 34, 63, 0.08);
}

.product-card.is-special {
  background:
    linear-gradient(145deg, rgba(10, 19, 31, 0.95), rgba(22, 58, 89, 0.96)),
    var(--panel-strong);
  border-color: rgba(132, 206, 255, 0.22);
  color: #f5f8fc;
}

.product-card.is-special .product-category,
.product-card.is-special p,
.product-card.is-special .stock-pill {
  color: #eaf4ff;
}

.product-card.is-special .price-pill {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(132, 206, 255, 0.26));
  color: #fff;
}

.detail-panel .price-pill,
.detail-panel .stock-pill,
.detail-panel .product-category,
.detail-panel .eshop-detail-title,
.detail-panel .variant-control span {
  color: #101820 !important;
}

.product-card.is-special .special-badge,
.special-badge-detail {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(132, 206, 255, 0.24));
  color: #f8fbff;
  border-color: rgba(132, 206, 255, 0.22);
}

.product-image {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(30, 115, 190, 0.14), rgba(15, 23, 36, 0.14));
}

.product-detail-trigger {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
}

.product-image-trigger {
  border-radius: 18px;
  overflow: hidden;
}

.product-copy-trigger {
  cursor: pointer;
}

.product-copy-trigger h3,
.product-copy-trigger p,
.product-copy-trigger .product-category,
.product-copy-trigger .product-meta {
  pointer-events: none;
}

.product-description-trigger {
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-short {
  margin-top: 2px;
}

.product-detail-trigger:hover .product-image,
.product-detail-trigger:focus-visible .product-image {
  transform: scale(1.02);
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.product-image {
  transition: transform 0.2s ease;
}

.product-detail-trigger:focus-visible {
  outline: 2px solid rgba(30, 115, 190, 0.35);
  outline-offset: 4px;
}

.product-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand);
}

body.eshop-page .eshop-product-title,
body.eshop-page .eshop-detail-title,
.eshop-section .eshop-product-title,
.eshop-section .eshop-detail-title {
  margin: 4px 0 0 !important;
  font-size: 1.95rem !important;
  font-family: "SigmaSerifHead", serif !important;
  font-weight: 400 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
  left: auto !important;
  position: static !important;
}

body.eshop-page .eshop-product-title-standard,
.eshop-section .eshop-product-title-standard {
  color: var(--brand-dark) !important;
  font-size: 1.75rem !important;
}

body.eshop-page .eshop-product-title-special,
.eshop-section .eshop-product-title-special {
	color: #eaf4ff !important;
	font-size: 1.75rem!important;
}

.product-card p,
.detail-copy p,
.empty-state,
.form-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-meta,
.detail-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--text);
  font-weight: 600;
}

.meta-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30, 115, 190, 0.08);
}

.price-pill {
	padding: 9px 15px;
	border-radius: 5px;
	background: linear-gradient(135deg, rgba(15, 23, 36, 0.12), rgba(255, 255, 255, 0.18));
	color: var(--brand);
	font-size: 1.14rem;
	font-weight: 300;
	letter-spacing: 0.02em;
	font-family: "Cal Sans";
}

.stock-pill {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(18, 33, 56, 0.05);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 200;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.variant-control {
  display: grid;
  gap: 8px;
  min-width: 0;
  flex: 1 1 100%;
}

.variant-control span,
.quantity-control span {
  min-width: 0;
}

.variant-control {
  display: grid;
  gap: 8px;
}

.variant-control span {
  font-size: 0.92rem;
  color: var(--muted);
}

.variant-control select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.variant-control.is-special select {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(132, 206, 255, 0.26);
}

.variant-control.is-tiled {
  display: grid;
  gap: 10px;
}

.variant-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.variant-tile {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 108px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: #101820;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.variant-tile strong,
.variant-tile span {
  color: #101820 !important;
}

.variant-tile span {
  font-size: 0.94rem;
  opacity: 0.88;
}
/* celý tile – základní font */
.variant-tile[data-variant-product="autorske-tisky"] {
	font-family: 'Cal Sans', sans-serif; /* nebo co používáš */
	color: #999999!important;
}

/* název varianty */
.variant-tile[data-variant-product="autorske-tisky"] strong {
  font-size: 0.8rem;
  font-weight: 400;
}

/* cena */
.variant-tile[data-variant-product="autorske-tisky"] span {
  font-size: 0.95rem;
  font-weight: 600;
}
.variant-tile.is-active {
  border-color: rgba(0, 0, 0, 0.10);
background: linear-gradient(135deg, rgba(226, 226, 226, 1), rgba(255, 255, 255, 1));
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.16);
}

.cart-item-variant {
  color: var(--brand);
  font-weight: 700;
}

.quantity-input {
  width: 84px;
  text-align: center;
  flex: 0 0 84px;
}

.product-card-footer {
  margin-top: auto;
  align-items: stretch;
  flex-direction: column;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: stretch;
  width: 100%;
}

.product-actions .ghost-button,
.product-actions .primary-button {
  min-width: 0;
  flex: 1 1 160px;
  padding-top: 8px;
  padding-bottom: 8px;
}

body.eshop-page .ghost-button,
body.eshop-page .primary-button,
.eshop-section .ghost-button,
.eshop-section .primary-button {
  padding: 12px 16px;
  border-radius: 14px;
}

body.eshop-page .primary-button:hover,
body.eshop-page .quantity-control button:hover,
.eshop-section .primary-button:hover,
.eshop-section .quantity-control button:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.catalog-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-info {
  min-width: 120px;
  text-align: center;
  font-weight: 700;
  color: var(--brand-dark);
}

.cart-panel {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 18px;
}

.empty-state {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed var(--line-strong);
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cart-checkout-anchor {
  width: 100%;
  margin-top: 18px;
}

.cart-item {
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  padding-right: 56px;
  cursor: pointer;
}

.cart-item-main {
  align-items: flex-start;
  justify-content: flex-start;
}

.cart-thumb {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.14), rgba(5, 11, 20, 0.12));
}

.cart-item-title {
  margin: 0 0 4px;
  font-weight: 600;
  color: #101820;
}

.cart-item-copy {
  display: grid;
  gap: 4px;
  width: 100%;
}

.cart-item-info {
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-item-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}

.cart-item-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-button {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 36, 0.08);
  background: rgba(15, 23, 36, 0.06);
  color: #51606f;
  font-size: 1.15rem;
  font-weight: 700;
}
.cart-qty-button:hover {
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
	background-color: #FFFFFF;
	transition: background 0.5s ease;
}

.cart-item-pricing {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  justify-self: end;
}

.cart-item-qty-label {
  color: var(--brand-dark);
  font-weight: 800;
}

.cart-item-total {
  color: #0f4c81;
  font-weight: 800;
  font-size: 1.05rem;
}

.remove-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--danger);
  background: rgba(154, 51, 36, 0.08);
  border-color: rgba(154, 51, 36, 0.18);
}

.cart-summary {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.summary-row {
  gap: 12px;
}

.cart-summary .summary-row,
.cart-summary .summary-row span,
.cart-summary .summary-row strong,
.cart-summary .total-row,
.cart-summary .total-row span,
.cart-summary .total-row strong {
  color: #111 !important;
}

.total-row {
  font-size: 1.14rem;
}

.order-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.checkout-total-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 23, 36, 0.08), rgba(30, 115, 190, 0.14));
  border: 1px solid rgba(30, 115, 190, 0.14);
}

.checkout-total-card span {
  color: var(--muted);
}

.checkout-total-card strong {
  font-size: 1.45rem;
  color: var(--brand);
}

.order-submit-button {
  width: 100%;
  min-height: 64px;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #ff8a00, #ff5a1f) !important;
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 34px rgba(255, 122, 26, 0.32);
}

.order-submit-button:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(255, 122, 26, 0.38);
}

.terms-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.terms-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.terms-consent span {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.inline-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
}

.form-row {
  align-items: start;
}

.form-row label {
  flex: 1;
}

.form-message {
  min-height: 24px;
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: #296141;
}

.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 20020;
  display: grid;
  place-items: center;
  padding: 20px;
}

.detail-overlay[hidden] {
  display: none !important;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 20, 0.72);
  backdrop-filter: blur(10px);
}

.detail-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  padding: 26px;
  box-sizing: border-box;
  background: rgba(252, 253, 255, 0.98);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(5, 11, 20, 0.24);
}

.cart-fab-button {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 125;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8b18, #ff6a00);
  color: #fff;
  box-shadow: 0 18px 34px rgba(255, 106, 0, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.cart-fab-button.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cart-fab-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.cart-fab-count {
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.92rem;
}

.info-panel {
  width: min(760px, 100%);
}

.info-content {
  display: grid;
  gap: 18px;
}

.terms-text {
  color: var(--muted);
  line-height: 1.7;
}

body.eshop-page .eshop-info-title,
.eshop-section .eshop-info-title,
body.eshop-page .terms-text h3,
.eshop-section .terms-text h3 {
  color: var(--text) !important;
  margin: 0 0 10px !important;
  font-family: "SigmaSerifHead", serif !important;
  font-weight: 400 !important;
  text-align: left !important;
  left: auto !important;
  position: static !important;
}

.terms-text p {
  margin: 0 0 10px;
}

.payment-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: start;
}

.payment-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.payment-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  color: var(--brand);
}

.payment-grid {
  display: grid;
  gap: 12px;
}

.payment-grid span {
  color: var(--muted);
  display: block;
}

.payment-qr {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  padding: 12px;
}

.payment-note {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.02fr) minmax(320px, 0.98fr);
  gap: 24px;
}

.detail-gallery {
  display: grid;
  gap: 14px;
}

.detail-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.14), rgba(5, 11, 20, 0.12));
}

.detail-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb-button {
  padding: 0;
  width: 88px;
  height: 70px;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  border-color: var(--line);
}

.thumb-button.is-active {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.detail-close {
  position: sticky;
  top: 0;
  left: calc(100% - 44px);
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
}

body.eshop-page .hero,
body.eshop-page .catalog-panel,
body.eshop-page .cart-card,
body.eshop-page .order-card,
body.eshop-page .product-card,
body.eshop-page .cart-item,
body.eshop-page .payment-card,
.eshop-section .hero,
.eshop-section .catalog-panel,
.eshop-section .cart-card,
.eshop-section .order-card,
.eshop-section .product-card,
.eshop-section .cart-item,
.eshop-section .payment-card {
  position: relative;
  overflow: hidden;
}

body.eshop-page .hero::before,
body.eshop-page .catalog-panel::before,
body.eshop-page .cart-card::before,
body.eshop-page .order-card::before,
body.eshop-page .product-card::before,
.eshop-section .hero::before,
.eshop-section .catalog-panel::before,
.eshop-section .cart-card::before,
.eshop-section .order-card::before,
.eshop-section .product-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 115, 190, 0.08), transparent 70%);
  pointer-events: none;
}

body.eshop-page .catalog-panel::before,
body.eshop-page .cart-card::before,
body.eshop-page .order-card::before,
body.eshop-page .product-card::before,
.eshop-section .catalog-panel::before,
.eshop-section .cart-card::before,
.eshop-section .order-card::before,
.eshop-section .product-card::before {
  width: 140px;
  height: 140px;
}

.product-card:hover,
.cart-item:hover,
.payment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(18, 33, 56, 0.14);
  border-color: rgba(30, 115, 190, 0.16);
}


body.eshop-page .hero-copy,
.eshop-section .hero-copy {
  display: grid;
  align-content: center;
}

.catalog-status {
  align-items: end;
}

body.eshop-page .status-title,
body.eshop-page .section-eyebrow,
.eshop-section .status-title,
.eshop-section .section-eyebrow {
  color: var(--brand-dark);
}

.detail-footer {
  justify-content: flex-start;
  flex-wrap: wrap;
}

body.eshop-page .hidden,
.eshop-section .hidden {
  display: none !important;
}

@media (max-width: 1120px) {
  body.eshop-page .shop-layout,
  body.eshop-page .hero,
  body.eshop-page .detail-layout,
  body.eshop-page .payment-summary,
  .eshop-section .shop-layout,
  .eshop-section .hero,
  .eshop-section .detail-layout,
  .eshop-section .payment-summary {
    grid-template-columns: 1fr;
  }

  body.eshop-page .cart-panel,
  .eshop-section .cart-panel {
    position: static;
  }
}

@media (min-width: 1320px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 720px) {
  body.eshop-page .page-shell,
  .eshop-section .page-shell {
    width: calc(100% - 20px);
  }

  body.eshop-page .eshop-shell,
  .eshop-section .eshop-shell {
    width: calc(100% - 20px);
    padding-top: 80px;
  }

  body.eshop-page .hero,
  body.eshop-page .catalog-panel,
  body.eshop-page .cart-card,
  body.eshop-page .order-card,
  body.eshop-page .detail-panel,
  .eshop-section .hero,
  .eshop-section .catalog-panel,
  .eshop-section .cart-card,
  .eshop-section .order-card,
  .eshop-section .detail-panel {
    padding: 18px;
    border-radius: 22px;
  }

  body.eshop-page .detail-panel,
  .eshop-section .detail-panel {
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
    max-height: none;
    border-radius: 18px;
    margin: 0 auto;
    overflow-x: hidden;
    padding-bottom: 96px;
  }

  .detail-overlay {
    place-items: start center;
    padding-top: var(--detail-overlay-offset, 90px);
    padding-bottom: 22px;
    overflow: auto;
    padding-left: 9px;
    padding-right: 9px;
    overflow-x: hidden;
  }

  body.eshop-page .detail-layout,
  .eshop-section .detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    min-width: 0;
  }

  .detail-gallery,
  .detail-copy,
  .detail-footer,
  .detail-thumbs,
  .variant-selector,
  .quantity-control,
  #detailContent {
    min-width: 0;
  }

  .detail-main-image,
  .detail-thumbs,
  .thumb-button,
  .thumb-button img {
    max-width: 100%;
  }

  .detail-copy p,
  .eshop-detail-title,
  .product-category {
    overflow-wrap: anywhere;
  }

  .detail-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .detail-footer > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .detail-footer .variant-control,
  .detail-footer .quantity-control {
    display: grid;
    gap: 8px;
    justify-content: stretch;
  }

  .detail-footer .quantity-control .quantity-input,
  .detail-footer .variant-control select,
  .detail-footer #detailAddButton {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .detail-footer #detailAddButton {
    margin: 0;
  }

  .detail-overlay.is-product-detail .detail-close {
    position: fixed;
    left: 50%;
    top: auto;
    bottom: 18px;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border-radius: 999px;
    box-shadow: 0 18px 34px rgba(5, 11, 20, 0.24);
    z-index: 61;
  }

  body.eshop-page .eshop-section-title,
  .eshop-section .eshop-section-title,
  body.eshop-page .eshop-hero-title,
  .eshop-section .eshop-hero-title {
    text-align: left !important;
    left: auto !important;
  }

  body.eshop-page .eshop-main-title,
  .eshop-section .eshop-main-title {
    font-size: clamp(3rem, 12vw, 4.5rem) !important;
  }

  .eshop-intro {
    font-size: 1rem;
  }

  .form-row,
  .catalog-toolbar,
  .product-card-footer,
  .detail-top {
    flex-direction: column;
    align-items: stretch;
  }

  .product-actions {
    width: 100%;
    flex-direction: row;
    gap: 10px;
  }

  .product-actions .ghost-button,
  .product-actions .primary-button {
    width: auto;
    text-align: center;
  }
}

@media (min-width: 861px) {
  .cart-fab-button {
    display: none;
  }
}

/* Mobile catalog simplification and readable detail text */
.detail-panel,
.detail-panel .detail-copy,
.detail-panel .detail-copy p,
.detail-panel .product-category,
.detail-panel .stock-pill,
.detail-panel .eshop-detail-title {
  color: var(--text) !important;
}

.detail-panel .eshop-detail-title {
  color: #101820 !important;
}

.detail-panel .special-badge-detail {
  color: #101820 !important;
  background: rgba(0, 153, 255, 0.12);
  border-color: rgba(0, 153, 255, 0.22);
}
  .product-meta span {
	justify-content: center;
	width: auto;
	margin-right: auto;
	margin-left: auto;
  }

@media (max-width: 860px) {
  .product-card.is-special {
    justify-items: center;
    text-align: center;
  }

  .product-card.is-special .product-detail-trigger {
    text-align: center;
  }

  .product-card.is-special .product-meta,
  .product-card.is-special .product-actions,
  .product-card.is-special .product-card-footer {
    justify-content: center;
    align-items: center;
  }

  .product-card.is-special .eshop-product-title-special {
    color: #fff !important;
    text-align: center !important;
  }


  .product-description-trigger > p {
    display: none !important;
  }
  .search-box {
    width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    margin-bottom: 20px;
    padding: 0;
  }

  .product-card {
    gap: 10px;
    padding: 12px;
  }

  .product-category,
  .stock-pill {
    font-size: 0.72rem;
  }

  body.eshop-page .eshop-product-title,
  .eshop-section .eshop-product-title {
    color: #101820 !important;
    font-size: 1.1rem !important;
    text-align: center !important;
  }

  .product-card.is-special .product-category,
  .product-card.is-special .stock-pill {
    color: rgba(255, 255, 255, 0.88) !important;
  }

  .product-meta {
    justify-content: center;
    gap: 8px;
  }

  .price-pill {
    font-size: 1.08rem;
  }

  .price-pill,
  .stock-pill,
  .variant-tile {
    padding: 7px 9px;
  }

  .product-actions .ghost-button,
  .product-actions .primary-button {
    flex: 1 1 calc(50% - 5px);
    padding: 8px 8px;
    font-size: 0.88rem;
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }

  .variant-tiles {
    width: 100%;
  }

  .quantity-control {
    justify-content: center;
  }

  .cart-item-row {
    flex-wrap: wrap;
  }

  .cart-item-pricing {
    width: 100%;
    justify-content: space-between;
  }
}

.product-page-body {
  background:
    radial-gradient(circle at top center, rgba(0, 153, 255, 0.09), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
  min-height: 100vh;
}

.product-page-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at top center, rgba(0, 153, 255, 0.09), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
}

.product-page-background-frame {
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transform: scale(1.03);
  filter: saturate(0.92) blur(0px);
  transition: opacity 0.55s ease, transform 0.75s ease;
}

body.has-homepage-background .product-page-background-frame {
  opacity: 1;
  transform: scale(1);
}

.product-page-background-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.7)),
    radial-gradient(circle at top center, rgba(0, 0, 0, 0.18), transparent 40%),
    rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.product-page-main {
  position: relative;
  z-index: 2;
  padding: 148px 20px 48px;
}

.product-page-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.product-page-card,
.product-page-empty {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 36, 0.08);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(10, 24, 40, 0.16);
  padding: 28px;
  backdrop-filter: blur(16px);
}

.product-page-card.detail-panel {
  width: min(1080px, 100%);
  max-height: none;
  overflow: visible;
  padding: 26px;
  background: rgba(252, 253, 255, 0.98);
  box-shadow: 0 28px 80px rgba(5, 11, 20, 0.24);
}

.product-page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.product-page-breadcrumbs a {
  color: var(--brand-dark);
  text-decoration: none;
}

.product-page-breadcrumbs a:hover {
  text-decoration: underline;
}

.product-page-title {
  margin-top: 6px;
  font-family: "SigmaSerifHead", serif !important;
  font-weight: 400 !important;
  font-size: 1.95rem !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
}

.product-page-short {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.product-page-description {
  display: grid;
  gap: 12px;
  color: var(--text);
}

.product-page-description p {
  margin: 0;
}

.product-page-footer {
  align-items: start;
}

.product-page-card .detail-meta.product-page-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.product-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-page-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 36, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #101820;
  text-decoration: none;
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(10, 24, 40, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.product-page-close:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 28px rgba(10, 24, 40, 0.14);
  background: #ffffff;
}

.product-page-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.product-page-message.is-success {
  color: #296141;
}

.product-page-message.is-error {
  color: var(--danger);
}

.product-page-variant-note {
  font-weight: 600;
  color: var(--text);
}

.product-page-variant-fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.product-page-variant-fieldset legend,
.product-page-variant-select span,
.product-page-quantity span {
  font-weight: 400;
  color: var(--text);
}

.product-page-variant-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.product-page-variant-tile {
  cursor: pointer;
}

.product-page-variant-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-page-variant-tile-inner {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 36, 0.12);
  background: rgba(255, 255, 255, 0.88);
  transition: 0.2s ease;
}

.product-page-variant-tile.is-active .product-page-variant-tile-inner,
.product-page-variant-tile input:checked + .product-page-variant-tile-inner {
  border-color: rgba(0, 153, 255, 0.36);
  background: rgba(0, 153, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0, 153, 255, 0.16);
}

.product-page-variant-select {
  display: grid;
  gap: 8px;
}

.product-page-variant-select select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 36, 0.12);
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.product-page-quantity input,
.product-page-quantity .quantity-input,
.product-page-quantity [data-product-qty] {
	min-height: 56px;
	border-radius: 18px;
	font-size: 1rem;
	margin-top: 12px;
	margin-bottom: 12px;
	padding-top: 0;
	padding-right: 16px;
	padding-bottom: 0;
	padding-left: 16px;
}

.product-page-detail-layout {
  gap: 28px;
}

.product-page-empty h1 {
  margin: 0 0 12px;
  color: var(--text);
}

.product-page-empty p {
  margin: 0 0 18px;
  color: var(--muted);
}

.product-page-navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  background-color: rgba(19, 19, 19, 0.9);
  background-image: url('/img_template/pozadi_h.webp');
  background-repeat: no-repeat;
  background-position: -10% 0%;
  background-size: auto 200px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(10, 24, 40, 0.18);
}

.product-page-navbar ul.creative-menu {
  background: transparent;
}

.product-page-navbar .creative-menu a,
.product-page-navbar .logo-link,
.product-page-navbar .mobile-logo a {
  color: #f5f8fc !important;
}

.product-page-navbar .creative-menu a.active {
  color: #9dd8ff !important;
}

.product-page-navbar .hamburger,
.product-page-navbar .hamburger-middle,
.product-page-navbar .menu-btn::before,
.product-page-navbar .menu-btn::after {
  background: #ffffff !important;
}

.product-page-card .product-category,
.product-page-card .eshop-detail-title,
.product-page-card .product-page-description,
.product-page-card .product-page-description p,
.product-page-card .product-page-short,
.product-page-card .product-page-variant-note,
.product-page-card .product-page-variant-fieldset legend,
.product-page-card .product-page-variant-select span,
.product-page-card .product-page-quantity span {
  color: #101820 !important;
}

.product-page-card .detail-top {
  position: relative;
  align-items: flex-start;
  padding-right: 64px;
}

.product-page-card .product-category {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-page-card .product-page-description,
.product-page-card .product-page-description p {
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

.product-page-card .special-badge-detail {
  color: #101820 !important;
  background: rgba(0, 153, 255, 0.12);
  border-color: rgba(0, 153, 255, 0.22);
}

.product-page-card .stock-pill {
  color: #425364 !important;
  background: rgba(15, 23, 36, 0.06);
}

.product-page-card .price-pill {
  color: #0f4c81 !important;
  background: linear-gradient(135deg, rgba(15, 23, 36, 0.08), rgba(0, 153, 255, 0.12));
  font-size: 1.32rem;
  font-weight: 500;
  justify-self: end;
  white-space: nowrap;
}

.product-page-card .thumb-button {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 36, 0.1);
  box-shadow: 0 10px 22px rgba(10, 24, 40, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-page-card .thumb-button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 153, 255, 0.26);
  box-shadow: 0 16px 28px rgba(10, 24, 40, 0.14);
}

.product-page-card .thumb-button.is-active {
  border-color: rgba(0, 153, 255, 0.42);
  box-shadow: 0 0 0 2px rgba(0, 153, 255, 0.12), 0 18px 30px rgba(0, 123, 255, 0.16);
}

.product-page-add-button,
.product-page-return-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px !important;
  font-weight: 400;
  text-decoration: none;
}

.product-page-add-button {
	min-width: 220px;
	border-radius: 18px !important;
	border: 1px solid transparent !important;
	background: linear-gradient(135deg, #0099ff, #0066cc) !important;
	color: #ffffff !important;
	font-size: 1.08rem;
	box-shadow: 0 16px 30px rgba(0, 123, 255, 0.22);
	margin-top: 15px;
}

.product-page-add-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 22px 36px rgba(0, 123, 255, 0.28);
}

.product-page-return-button {
  min-width: 220px;
  border-radius: 18px !important;
  border-color: rgba(15, 23, 36, 0.12) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #101820 !important;
  font-size: 1.08rem;
  box-shadow: 0 16px 30px rgba(0, 123, 255, 0.22);
  margin-top: 15px;
}

.product-page-return-button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 153, 255, 0.24) !important;
  box-shadow: 0 18px 30px rgba(10, 24, 40, 0.1);
}

@media (max-width: 860px) {
  .product-page-navbar ul.creative-menu,
  .product-page-navbar ul.creative-menu.is-open,
  .product-page-navbar ul.creative-menu.open-down,
  .product-page-navbar ul.creative-menu.open-up,
  .product-page-navbar #menu-toggle:checked ~ .creative-menu {
    background: rgba(0, 0, 0, 0.92);
    background-image: url('/img_template/creative.webp');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: auto, auto, min(72vw, 280px) auto;
  }

  .product-page-main {
    padding: 118px 14px 32px;
  }

  .product-page-shell {
    width: 100%;
  }

  .product-page-card,
  .product-page-empty {
    padding: 18px;
    border-radius: 22px;
  }

  .product-page-card.detail-panel {
    padding: 18px;
    border-radius: 22px;
    width: 100%;
    overflow: hidden;
  }

  .product-page-card .detail-layout.product-page-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-page-card .detail-gallery,
  .product-page-card .detail-copy {
    min-width: 0;
    width: 100%;
  }

  .product-page-card .detail-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .product-page-card .detail-meta.product-page-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-page-card .price-pill,
  .product-page-card .stock-pill {
    justify-self: stretch;
    width: 100%;
    text-align: center;
  }

  .product-page-close {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }

  .product-page-card .detail-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .product-page-card .thumb-button,
  .product-page-card .thumb-button img {
    width: 100%;
  }

  .product-page-variant-tiles {
    grid-template-columns: 1fr;
  }

  .product-page-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .product-page-add-button,
  .product-page-return-button {
    min-width: 0;
    width: 100%;
  }

  .product-page-quantity input,
  .product-page-quantity .quantity-input,
  .product-page-quantity [data-product-qty] {
    width: 100%;
    max-width: 100%;
  }
}
