:root {
  --brand-orange: #f88227;
  --brand-orange-dark: #e65f00;
  --brand-orange-soft: rgba(255, 107, 0, 0.12);
  --brand-red: #ff3737;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #111111;
  --text-muted: #495057;
  --border-soft: #e9ecef;
  --shadow-sm: 0 8px 24px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 14px 34px rgba(17, 17, 17, 0.09);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --transition-fast: 180ms ease;
}

.admin-news-page .admin-top-title {
  display: grid;
  gap: 0.15rem;
  color: var(--text-dark);
}

.admin-news-page .admin-top-title span,
.admin-muted,
.admin-news-item-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.admin-news-shell {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.admin-section-head,
.admin-editor-head,
.admin-record-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-section-head,
.admin-editor-head {
  margin-bottom: 1rem;
}

.admin-section-head h1,
.admin-editor-head h1 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
}

.admin-news-items {
  display: grid;
  gap: 0.65rem;
}

.admin-news-item {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.admin-news-item:hover,
.admin-news-item:focus,
.admin-news-item.active {
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 10px 24px rgba(37, 43, 50, 0.08);
}

.admin-news-item-title {
  color: var(--text-dark);
  font-weight: 700;
}

.admin-news-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background: rgba(124, 135, 145, 0.12);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-status-published {
  background: rgba(36, 138, 76, 0.12);
  color: #247a49;
}

.admin-status-scheduled {
  background: rgba(255, 107, 0, 0.14);
  color: var(--brand-orange-dark);
}

.admin-empty {
  margin: 0;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(124, 135, 145, 0.1);
  color: var(--text-muted);
}

.admin-form-grid,
.admin-language-grid {
  display: grid;
  gap: 1rem;
}

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

.admin-field,
.admin-language-panel {
  display: grid;
  gap: 0.45rem;
}

.admin-field-wide {
  grid-column: 1 / -1;
}

.admin-field span {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-upload-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-weight: 700;
}

.admin-upload-preview[hidden] {
  display: none;
}

.admin-upload-preview img {
  width: 112px;
  height: 78px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  object-fit: cover;
}

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

.admin-language-panel {
  align-content: start;
  padding: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

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

.admin-language-head h2 {
  margin: 0;
}

.admin-lang-flag {
  width: 34px;
  height: 24px;
  border-radius: 0.35rem;
  object-fit: cover;
}

.admin-news-thumb {
 width: auto;
  height: 190px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.admin-record-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

@media (max-width: 1199.98px) {
  .admin-language-grid {
    grid-template-columns: 1fr;
  }
}

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

  .admin-editor-head,
  .admin-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Roboto, "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

.form-control,
.btn,
.nav-link,
.dropdown-item,
.form-select,
.input-group-text {
  min-height: 44px;
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border: 1px solid #dce1e6;
  padding: 0.8rem 0.95rem;
  font-size: 0.975rem;
  color: var(--text-dark);
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.14);
}

.field-inline {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.125rem 0.35rem;
  margin: -0.125rem -0.35rem;
  background: transparent;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.field-inline:hover {
  border-color: #dce1e6;
}

.field-inline:focus {
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.14);
  background: #fff;
}

.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 0.50rem 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-brand {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active {
  background-color: var(--brand-orange-dark) !important;
  border-color: var(--brand-orange-dark) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.22);
}

.btn-soft {
  background-color: var(--brand-orange-soft);
  border: 1px solid transparent;
  color: var(--brand-orange-dark);
}

.btn-soft:hover,
.btn-soft:focus {
  background-color: rgba(255, 107, 0, 0.18);
  color: var(--brand-orange-dark);
}

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

.section-title {
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.subtle-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* LOGIN PAGE */
.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 0, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.login-shell {
  min-height: 100vh;
}

.login-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(1.5rem, 2vw, 2rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  transition: max-width 0.2s ease;
}

.login-card.register-mode {
  max-width: 760px;
}

.auth-tabs .btn.active {
  background-color: var(--brand-orange-soft);
  border-color: var(--brand-orange);
  color: var(--brand-orange-dark);
  font-weight: 600;
}

.login-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.login-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.login-logo {
  width: auto;
  height: 52px;
  max-width: 190px;
  object-fit: contain;
}

.logo-placeholder {
  width: 76px;
  height: 76px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--brand-orange), #ff8f42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(255, 107, 0, 0.25);
}

.login-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 80, 87, 0.24), transparent);
}

.login-message {
  display: none;
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #dce1e6;
  border-radius: var(--radius-sm);
  background: #f8f9fa;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.login-message:not(:empty) {
  display: block;
}

.login-message.is-danger {
  border-color: rgba(180, 35, 24, 0.26);
  background: #fff1f0;
  color: #b42318;
}

.login-message.is-success {
  border-color: rgba(21, 128, 61, 0.26);
  background: #f0fdf4;
  color: #15803d;
}

.register-fields {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
}

.login-message div + div {
  margin-top: 0.25rem;
}

.contact-note {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* DASHBOARD PAGE */
.dashboard-page {
  background-color: hsl(27.2, 100%, 97%);
}

.dashboard-page .container-xxl {
  width: calc(100% - 2rem);
  max-width: 1920px;
}

.topbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-mark {
  width: auto;
  margin: auto;
  height: 46px;
  max-width: 170px;
  object-fit: contain;
}

.search-shell {
  position: relative;
  width: 100%;
  max-width: 720px;
}

body.search-focus-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1030;
  background: rgba(17, 17, 17, 0.78);
  pointer-events: auto;
}

.search-focus-active .topbar {
  z-index: 1045;
}

.search-focus-active .search-shell {
  z-index: 1046;
}

.search-shell .input-group {
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.04);
}

.search-shell .input-group-text,
.search-shell .form-control {
  border: none;
  background: transparent;
}

.search-shell .form-control {
  padding-left: 0;
}

.search-shell .form-control::placeholder {
  color: #7c8791;
}

.search-preview {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 1040;
  width: min(92vw, 860px);
  max-width: calc(100vw - 2rem);
  max-height: 88vh;
  overflow-y: auto;
  padding: 0.8rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  scrollbar-width: thin;
}

.search-preview-head,
.cart-preview-head,
.cart-preview-total,
.cart-preview-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.search-preview-head {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.search-preview-pill {
  flex: 0 0 auto;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.search-preview-list,
.cart-preview-list {
  display: grid;
  gap: 0.45rem;
}

.search-preview .product-badge{
  margin: initial;
}

.cart-item-name {
  display: block;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.cart-item-meta {
  display: block;
  margin-top: 0.18rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.search-result-price {
  font-weight: 800;
  color: var(--text-dark);
}

.search-empty {
  padding: 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-product-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1.45fr) minmax(5.5rem, 0.3fr) 3.8rem 118px minmax(7.25rem, 0.2fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(17, 17, 17, 0.07);
}

.search-product-row:first-child {
  border-top: 0;
}

.search-product-image {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 0.65rem;
  background: #f8f9fa;
}

.search-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-product-name {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.search-product-name strong {
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.search-product-art,
.search-product-price {
  min-width: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.search-product-price {
  color: var(--text-dark);
}

.search-quantity-stepper {
  display: grid;
  grid-template-columns: 34px minmax(3rem, 1fr) 34px;
  align-items: center;
  width: 118px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.search-quantity-btn {
  width: 34px;
  height: 38px;
  border: 0;
  background: #f8f9fa;
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.search-quantity-btn:hover,
.search-quantity-btn:focus {
  background: #fff7f1;
  color: var(--brand-orange-dark);
}

.search-quantity-input {
  width: 100%;
  height: 38px;
  border: 0;
  border-inline: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--text-dark);
  font-weight: 800;
  text-align: center;
  appearance: textfield;
}

.search-quantity-input::-webkit-outer-spin-button,
.search-quantity-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.search-quantity-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255, 107, 0, 0.22);
}

.search-cart-btn {
  min-height: 40px;
  padding-block: 0.55rem;
  white-space: nowrap;
}

.search-show-all-btn {
  justify-self: center;
  width: min(100%, 18rem);
  margin-top: 0.35rem;
}

.lang-switch .btn {
  min-width: 48px;
  padding: 0.35rem 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-switch .btn.active {
  background-color: var(--brand-orange-soft);
  border-color: var(--brand-orange);
  color: #fff;
}

.lang-switch img {
  width: auto;
  height: 30px;
  object-fit: contain;
}

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 0.95rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.04);
}

.icon-btn:hover,
.icon-btn:focus {
  color: var(--brand-orange-dark);
  border-color: rgba(255, 107, 0, 0.22);
}

.history-icon-btn {
  text-decoration: none;
}

.history-icon-btn.active {
  border-color: rgba(255, 107, 0, 0.38);
  background: var(--brand-orange-soft);
}

.history-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--brand-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid #fff;
}

.cart-preview {
  position: absolute;
  width: min(96vw, 970px);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  scrollbar-width: thin;
}

.order-result-modal .modal-content {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.order-result-modal .modal-header,
.order-result-modal .modal-footer {
  border-color: rgba(17, 17, 17, 0.08);
}

.order-result-modal .modal-title {
  font-weight: 800;
}

.order-result-modal-success .modal-title {
  color: #12693d;
}

.order-result-modal-error .modal-title {
  color: #b42318;
}

.order-result-modal .modal-body {
  color: var(--text-dark);
  font-weight: 700;
}

.cart-preview-title {
  font-weight: 800;
}

.cart-preview-list {
  margin: 0.85rem 0;
}

.cart-preview-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1.35fr) minmax(5rem, 0.7fr) 4.8rem 104px 5.3rem auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(17, 17, 17, 0.07);
}

.cart-item-image {
  width: 74px;
  height: 74px;
  padding: 0.3rem;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 0.65rem;
  background: #f8f9fa;
  object-fit: contain;
}

.cart-item-name-cell,
.cart-item-art {
  min-width: 0;
}

.cart-item-art,
.cart-item-price,
.cart-line-subtotal {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.cart-item-art {
  overflow-wrap: anywhere;
}

.cart-line-subtotal {
  color: var(--text-dark);
}

.cart-quantity-stepper {
  display: grid;
  grid-template-columns: 30px minmax(2rem, 1fr) 30px;
  align-items: center;
  width: 104px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
}

.cart-quantity-btn {
  width: 30px;
  height: 34px;
  border: 0;
  background: #f8f9fa;
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1;
}

.cart-quantity-btn:hover,
.cart-quantity-btn:focus {
  background: #fff7f1;
  color: var(--brand-orange-dark);
}

.cart-quantity-value {
  width: 100%;
  min-width: 0;
  height: 34px;
  border: 0;
  border-inline: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--text-dark);
  font-weight: 800;
  text-align: center;
  appearance: textfield;
}

.cart-quantity-value::-webkit-outer-spin-button,
.cart-quantity-value::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.cart-quantity-value:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255, 107, 0, 0.22);
}

.cart-delete-btn {
  min-height: 34px;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 0.65rem;
  background: #fff;
  color: #b42318;
  font-size: 0.8rem;
  font-weight: 800;
}

.cart-delete-btn:hover,
.cart-delete-btn:focus {
  background: #fff4f2;
}

.cart-empty {
  padding: 0.75rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-preview-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  align-items: end;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.cart-preview-summary {
  display: grid;
  gap: 0.85rem;
}

.cart-preview-comment-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-preview-comment-input {
  display: block;
  width: 75%;
  min-height: 76px;
  max-height: 180px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--text-dark);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  resize: vertical;
}

.cart-preview-comment-input::placeholder {
  color: var(--text-muted);
}

.cart-preview-comment-input:focus {
  border-color: rgba(255, 107, 0, 0.38);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.cart-preview-total {
  justify-content: end;
  padding-top: 0;
  border-top: 0;
}

.cart-preview-actions {
  justify-content: end;
  margin-top: 0;
}

.cart-order-btn {
  min-width: 10rem;
}


.profile-dropdown {
  flex: 0 0 auto;
}

.profile-btn {
  min-height: 48px;
  width: 48px;
  padding: 0.35rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0.95rem;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-dark);
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.04);
}

.profile-btn:hover,
.profile-btn:focus {
  border-color: rgba(255, 107, 0, 0.22);
  color: var(--brand-orange-dark);
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.profile-menu {
  min-width: 180px;
  padding: 0.45rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.profile-menu .dropdown-item {
  border-radius: 0.65rem;
  font-weight: 700;
}

.top-exit-btn {
  width: 48px;
  /* min-height: 48px; */
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.content-wrap {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.order-history-wrap {
  max-width: 1260px;
}

.order-history-shell {
  display: grid;
  gap: 1.25rem;
}

.order-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-history-kicker {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.order-history-list {
  display: grid;
  gap: 1.85rem;
}

.order-history-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.3);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.035);
}

.order-history-summary {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0.45rem 1.4rem;
  align-items: start;
  justify-content: start;
}

.order-history-summary > div,
.order-history-comment {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.order-history-summary span,
.order-history-comment span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.order-history-summary strong {
  overflow-wrap: anywhere;
}

.order-history-number small {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.order-history-total strong {
  color: var(--brand-orange-dark);
}

.order-history-comment {
  padding: 0.8rem;
  border-radius: 0.8rem;
  background: #f8f9fa;
}

.order-history-comment p {
  margin: 0;
  color: var(--text-dark);
}

.order-history-detail {
  border-top: 1px solid rgba(17, 17, 17, 0.07);
  padding-top: 0.85rem;
}

.order-history-detail summary {
  cursor: pointer;
  color: var(--brand-orange-dark);
  font-weight: 800;
}

.order-items-table-wrap {
  margin-top: 0.85rem;
  overflow-x: auto;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-sm);
}

.order-items-table {
  width: 100%;
  min-width: 790px;
  border-collapse: collapse;
}

.order-items-table th,
.order-items-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
  vertical-align: middle;
}

.order-items-table th {
  background: #f8f9fa;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.order-items-table tr:last-child td {
  border-bottom: 0;
}

.order-item-thumb {
  width: 54px;
  height: 54px;
  padding: 0.25rem;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 0.65rem;
  background: #fff;
  object-fit: contain;
}

.order-history-empty {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(17, 17, 17, 0.16);
  border-radius: var(--radius-md);
  background: #fff;
}

.order-history-empty img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.order-history-empty div {
  display: grid;
  gap: 0.2rem;
}

.order-history-empty span {
  color: var(--text-muted);
}

.sidebar-card {
  position: sticky;
  top: 96px;
  z-index: 1;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.sidebar-title {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.9rem;
}

.category-nav {
  min-width: 0;
}

.category-tree,
.category-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-tree {
  display: grid;
  gap: 0.35rem;
}

.category-tree ul {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.35rem;
  margin-left: 0.55rem;
  padding-left: 0.65rem;
  border-left: 1px solid #49505754;
}

.category-item,
.category-branch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  padding: 0rem 0.85rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid transparent;
  background: transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.category-sale{
  color: var(--brand-red);
  font-weight: 800;
}

.category-branch {
  cursor: pointer;
}

.category-branch::-webkit-details-marker {
  display: none;
}

.category-branch::marker {
  content: "";
}

.category-label {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.55rem;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.category-branch .category-label::after {
  content: "";
  margin-left: auto;
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.58;
  transform: rotate(-45deg);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.category-node details[open] > .category-branch .category-label::after {
  opacity: 0.82;
  transform: rotate(45deg);
}

.category-item:hover,
.category-item:focus,
.category-branch:hover,
.category-branch:focus {
  background-color: #fff7f1;
  border-color: rgba(255, 107, 0, 0.14);
  transform: translateX(2px);
  color: var(--text-dark);
  outline: none;
}

.category-item:focus-visible,
.category-branch:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.16);
}

.category-item.active {
  background-color: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
  border-color: rgba(255, 107, 0, 0.22);
  font-weight: 500;
}

.category-branch.active-parent {
  background-color: rgba(255, 107, 0, 0.16);
  color: var(--brand-orange-dark);
  border-color: rgba(255, 107, 0, 0.16);
  font-weight: 500;
}

.category-branch.active-parent .category-label::after {
  opacity: 1;
}

.category-count {
  min-width: 28px;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.category-item.active .category-count {
  background: rgba(255, 107, 0, 0.18);
}

.category-branch.active-parent .category-count {
  background: rgba(255, 107, 0, 0.12);
}

.product-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-catalog {
  position: relative;
}

.catalog-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 220px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-orange-dark);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  backdrop-filter: blur(2px);
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.product-catalog.is-loading .catalog-loading-overlay {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.catalog-loading-spinner {
  width: 2.4rem;
  height: 2.4rem;
  border: 4px solid rgba(255, 107, 0, 0.18);
  border-top-color: var(--brand-orange);
  border-radius: 50%;
  animation: catalog-spinner 700ms linear infinite;
  box-shadow: 0 8px 18px rgba(255, 107, 0, 0.16);
}

.catalog-loading-text {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 107, 0, 0.16);
  border-radius: 999px;
  background: #fff7f1;
  box-shadow: var(--shadow-sm);
  line-height: 1;
}

.product-catalog.is-loading #productGrid,
.product-catalog.is-loading .product-rows,
.product-catalog.is-loading .row-bulk-cart {
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}

@keyframes catalog-spinner {
  to {
    transform: rotate(360deg);
  }
}

.view-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0.25rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.04);
}

.view-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1;
}

.view-switch-btn:hover,
.view-switch-btn:focus {
  color: var(--brand-orange-dark);
}

.view-switch-btn.active {
  background: var(--brand-orange);
  color: #fff;
}

.row-sort-control {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.row-sort-control[hidden] {
  display: none;
}

.row-sort-select {
  min-height: 38px;
  padding: 0.4rem 2.1rem 0.4rem 0.75rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0.65rem;
  background-color: #fff;
  color: var(--text-dark);
  font-weight: 800;
}

.notifications-page {
  display: grid;
  gap: 1.25rem;
}

.notifications-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.notifications-head h1 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
}

.notifications-view-switch {
  margin-left: auto;
}

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

.notification-card {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.04);
  overflow: hidden;
}

.notification-background {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.notification-background::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.12), rgba(17, 17, 17, 0.22));
  content: "";
}

.notification-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notification-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.65rem;
  background: var(--bg-light);
  object-fit: cover;
}

.notification-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.notification-date {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.notification-body h2 {
  margin: 0 0 0.45rem;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 800;
}

.notification-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.notifications-page[data-news-view="vertical"] .notifications-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notifications-page[data-news-view="vertical"] .notification-card {
  grid-template-columns: 1fr;
  align-content: start;
}

.notifications-page[data-news-view="vertical"] .notification-image {
  aspect-ratio: 16 / 10;
}

.notifications-page[data-news-view="vertical"] .notification-body {
  display: flex;
  flex-direction: column;
}

.notifications-page[data-news-view="vertical"] .notification-body h2 {
  order: 1;
}

.notifications-page[data-news-view="vertical"] .notification-body p {
  order: 2;
}

.notifications-page[data-news-view="vertical"] .notification-date {
  order: 3;
  margin: 0.7rem 0 0;
}

.notifications-page[data-news-view="background"] .notification-card {
  min-height: 292px;
  background: #111;
}

.notifications-page[data-news-view="background"] .notification-background {
  display: block;
}

.notifications-page[data-news-view="background"] .notification-image {
  visibility: hidden;
}

.notifications-page[data-news-view="background"] .notification-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: 1.1rem 1.15rem;
  border-radius: 2rem 0.8rem 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.18);
}

.notifications-page[data-news-view="background"] .notification-body p {
  color: #4d5963;
}

.notifications-empty {
  margin: 0;
  padding: 1rem;
  border: 1px dashed rgba(17, 17, 17, 0.16);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 700;
}

.toolbar-loading-indicator {
  position: absolute;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-orange-dark);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.toolbar-loading-indicator[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.toolbar-loading-spinner {
  width: 2.4rem;
  height: 2.4rem;
  border: 4px solid rgba(255, 107, 0, 0.18);
  border-top-color: var(--brand-orange);
  border-radius: 50%;
  animation: catalog-spinner 700ms linear infinite;
  box-shadow: 0 8px 18px rgba(255, 107, 0, 0.16);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.05);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

@media (min-width: 1400px) {
  .dashboard-page .search-preview {
    width: min(1040px, calc(100vw - 2rem));
  }

  #productGrid > .col-xxl-3 {
    flex: 0 0 auto;
    width: 20%;
  }
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.08);
  border-color: rgba(255, 107, 0, 0.18);
}

.product-media {
  position: relative;
  /* TODO: Looks promising for admin */
  /* aspect-ratio: 4 / 3;
  /*
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(255, 255, 255, 0.6)),
    repeating-linear-gradient(45deg, rgba(73, 80, 87, 0.04) 0 12px, rgba(73, 80, 87, 0.02) 12px 24px);
  display: flex; */
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  color: #6c757d;
  font-weight: 600;
  overflow: hidden;
  text-decoration: none;
}

.product-media:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.35);
  outline-offset: -3px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.04);
}

.product-badges {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: calc(100% - 1.3rem);
  width: 100%
}

.product-badge {
display: inline-flex;
  margin: auto;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.3rem 0.55rem;
  border-radius: 5px;
  background: #ffede0;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.1);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.mark-new {
  color: #0f766e;
}

.mark-sale {
  color: #b42318;
}

.mark-no-discount {
  color: #495057;
}

.product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.product-meta {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
  margin-bottom: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 17, 17, 0.20);
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.price-tag {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
}

.product-rows {
  display: grid;
  gap: 0.65rem;
}

.row-bulk-cart {
  position: sticky;
  top: 92px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 107, 0, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.row-bulk-cart[hidden] {
  display: none !important;
}

.row-bulk-cart strong {
  display: block;
  line-height: 1.2;
}

.row-bulk-cart span {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.row-bulk-cart-btn {
  flex: 0 0 auto;
  min-width: 9.5rem;
}

.row-bulk-cart-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

#productGrid[hidden],
.product-rows[hidden] {
  display: none !important;
}

.product-row {
  display: grid;
  grid-template-columns: 76px minmax(8rem, 0.9fr) minmax(0, 5.5fr) minmax(5.75rem, .6fr) 132px minmax(7.25rem, .7fr);
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.035);
}

.product-row-head {
  padding-block: 0.5rem;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.row-product-image {
  position: relative;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 0.65rem;
  background: #f8f9fa;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.row-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.row-product-hover-preview {
  position: absolute;
  right: calc(100% + 0.6rem);
  top: 50%;
  z-index: 100;
  display: none;
  width: 250px;
  height: 250px;
  padding: 0.75rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
}

.row-product-hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.row-product-image:hover .row-product-hover-preview,
.row-product-image:focus .row-product-hover-preview {
  display: block;
}

.row-product-art {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.row-product-name {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.35rem;
  min-width: 0;
}

.row-product-badge-slot {
  width: 100%;
  min-height: 1.7rem;
  min-width: 0;
}

.row-product-badge-slot .product-badges {
  position: static;
  width: auto;
  max-width: 100%;
}

.search-product-name .product-badges {
  position: static;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.25rem;
}

.search-art-badges {
  position: static;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.3rem;
}

.variant-badges {
  position: static;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.35rem;
}

.search-art-badges .product-badge,
.variant-badges .product-badge {
  margin: 0;
  white-space: nowrap;
}

.row-product-badge-slot .product-badge {
  max-width: 100%;
  white-space: nowrap;
}

.row-product-name strong {
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.row-product-price {
  font-weight: 800;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 36px minmax(3rem, 1fr) 36px;
  align-items: center;
  width: 132px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.quantity-btn {
  width: 36px;
  height: 38px;
  border: 0;
  background: #f8f9fa;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.quantity-btn:hover,
.quantity-btn:focus {
  background: #fff7f1;
  color: var(--brand-orange-dark);
}

.quantity-input {
  width: 100%;
  height: 38px;
  border: 0;
  border-inline: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--text-dark);
  font-weight: 800;
  text-align: center;
  appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.quantity-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255, 107, 0, 0.22);
}

.row-cart-btn {
  min-height: 40px;
  padding-block: 0.55rem;
  white-space: nowrap;
}

.category-menu-toggle {
  display: none;
}

.offcanvas.offcanvas-start {
  width: min(92vw, 420px);
}

.offcanvas-header,
.offcanvas-body {
  background-color: var(--bg-white);
}

.scroll-top-btn {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
  background: var(--brand-orange-dark);
  color: #fff;
}

.footer-note {
  color: #6c757d;
  font-size: 0.9rem;
}

/* PRODUCT DETAIL PAGE */
.product-detail-shell {
  display: grid;
  gap: 1rem;
}

.product-page-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  min-width: 0;
}

.product-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.product-breadcrumbs {
  min-width: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.product-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-breadcrumbs li {
  min-width: 0;
}

.product-breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: #adb5bd;
}

.product-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.product-breadcrumbs a:hover,
.product-breadcrumbs a:focus {
  color: var(--brand-orange-dark);
}

.product-breadcrumbs [aria-current="page"] {
  display: block;
  max-width: min(48vw, 640px);
  overflow: hidden;
  color: var(--text-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.product-info-panel,
.product-gallery-panel,
.product-gallery-mobile-slot,
.product-gallery-desktop-slot {
  min-width: 0;
}

.product-info-panel {
  display: grid;
  gap: 1rem;
}

.product-gallery-desktop-slot:empty,
.product-gallery-mobile-slot:empty {
  display: none;
}

.product-info-block {
  display: grid;
  gap: 0.85rem;
}

.product-reset-btn {
  justify-self: start;
}

.product-page-title {
  font-size: clamp(1.8rem, 1.35rem + 1.9vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.product-brand-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  color: var(--text-muted);
}

.product-brand-line span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-brand-line strong {
  color: var(--text-dark);
}

.product-description {
  max-width: 68ch;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.product-filter-card {
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: var(--radius-md);
  background: #fff;
}

.product-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.product-filter-head h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.length-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.length-filter-btn {
  min-width: 54px;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--text-dark);
  font-weight: 800;
}

.length-filter-btn:hover,
.length-filter-btn:focus,
.color-filter-btn:hover,
.color-filter-btn:focus {
  border-color: rgba(255, 107, 0, 0.22);
  background: #fff7f1;
}

.length-filter-btn.active,
.color-filter-btn.active {
  border-color: rgba(255, 107, 0, 0.42);
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
  box-shadow: 0 0 0 0.18rem rgba(255, 107, 0, 0.12);
}

.length-filter-btn:disabled,
.color-filter-btn:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  filter: grayscale(1);
}

.length-filter-btn:disabled:hover,
.length-filter-btn:disabled:focus,
.color-filter-btn:disabled:hover,
.color-filter-btn:disabled:focus {
  border-color: rgba(17, 17, 17, 0.1);
  background: #fff;
}

.color-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 0.75rem;
}

.color-filter-btn {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  min-height: 112px;
  padding: 0.6rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0.8rem;
  background: #fff;
  color: var(--text-dark);
  font-weight: 800;
}

.color-filter-btn img {
  width: 64px;
  height: 58px;
  object-fit: contain;
}

.color-filter-btn span {
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.product-gallery-panel {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1100px) {
  .product-gallery-desktop-slot {
    position: sticky;
    top: 96px;
    align-self: start;
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.main-product-photo {
  width: 100%;
  min-height: 360px;
  padding: 1.25rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-product-photo img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
}

.product-thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.50rem;
}

.product-thumb-btn {
  aspect-ratio: 1;
  padding: 0.55rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0.8rem;
  background: #fff;
}

.product-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumb-btn.active {
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 0 0 0.18rem rgba(255, 107, 0, 0.12);
}

.variants-section {
  position: relative;
  z-index: 30;
  margin-top: 1.5rem;
}

.variants-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.variant-bulk-cart {
  margin-bottom: 1rem;
}

.variants-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
}

@media (min-width: 992px) {
  .variants-table-wrap {
    overflow: visible;
  }
}

.variants-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}

.variants-table th,
.variants-table td {
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
  vertical-align: middle;
  white-space: collapse;
}

.variants-table th {
  background: #f8f9fa;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.variants-table tr:last-child td {
  border-bottom: 0;
}

.variants-table tbody tr {
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.variants-table tbody tr:hover {
  background: #fff7f1;
}

.variants-table tbody tr.variant-row-highlight {
  background: var(--brand-orange-soft);
  box-shadow: inset 4px 0 0 var(--brand-orange);
}

.variant-thumb-wrap {
  position: relative;
  display: inline-flex;
}

.variant-thumb {
  width: 54px;
  height: 54px;
  padding: 0.25rem;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 0.65rem;
  background: #fff;
  object-fit: contain;
}

.variant-hover-preview {
  position: absolute;
  right: calc(100% + 0.6rem);
  top: 50%;
  z-index: 100;
  display: none;
  width: 250px;
  height: 250px;
  padding: 0.75rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
}

.variant-hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.variant-thumb-wrap:hover .variant-hover-preview,
.variant-thumb-wrap:focus-within .variant-hover-preview {
  display: block;
}

.variant-quantity {
  width: 120px;
  grid-template-columns: 34px minmax(3rem, 1fr) 34px;
}

.variant-quantity .quantity-btn {
  width: 34px;
}

.variant-add-btn {
  min-height: 38px;
  padding: 0.45rem 0.75rem;
}

 .sidebar-desktop{
  padding-right: 0;
  padding-left: 0;
 }

@media (max-width: 1510px) {
  .category-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-desktop {
    display: none;
  }

  .sidebar-desktop + section {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}



@media (max-width: 1130px) {
 .cart-preview{
  max-width: calc(90vw - 3.25rem);
 }

}

@media (max-width: 991.98px) {
  .dashboard-page .container-xxl {
    width: calc(100% - 1.25rem);
  }


  .search-preview {
      width: min(82vw, 860px);
      max-width: calc(100vw - 2rem);
    }

  .cart-preview {
    width: calc(90vw - 1.25rem);
    max-width: calc(90vw - 1.25rem);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .cart-preview-head {
    align-items: flex-start;
  }

  .cart-preview-list {
    gap: 0.7rem;
  }

  .cart-preview-item {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 0.55rem 0.75rem;
    padding: 0.85rem 0;
  }

  .cart-item-image {
    grid-row: span 4;
  }

  .cart-item-name-cell,
  .cart-item-art,
  .cart-item-price,
  .cart-quantity-stepper {
    grid-column: 2;
  }

  .cart-line-subtotal,
  .cart-delete-btn {
    grid-column: 3;
  }

  .cart-line-subtotal {
    grid-row: 2;
    align-self: start;
    justify-self: end;
  }

  .cart-delete-btn {
    grid-row: 3;
    align-self: start;
    justify-self: end;
  }

  .cart-preview-actions {
    flex-direction: column;
  }

  .top-exit-btn {
    display: none;
  }

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

  .main-product-photo {
    min-height: 300px;
  }

  .product-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .view-switch {
    align-self: flex-end;
  }

  .row-sort-control {
    align-self: stretch;
    justify-content: space-between;
    margin-left: 0;
  }

  .row-bulk-cart {
    top: 84px;
  }

  .product-row {
    grid-template-columns: 68px minmax(7rem, 0.85fr) minmax(0, 1.4fr) minmax(5rem, 0.5fr) 120px minmax(6.75rem, 0.7fr);
    overflow-x: visible;
  }

  .quantity-stepper {
    width: 120px;
    grid-template-columns: 34px minmax(3rem, 1fr) 34px;
  }

  .quantity-btn {
    width: 34px;
  }
}

@media (max-width: 1099.98px) {
  .product-main-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery-mobile-slot {
    margin-block: 0.25rem 0.35rem;
  }
}



@media (min-width: 550.02px) and (max-width: 1099.98px) {
  .product-gallery-panel {
    grid-template-columns: minmax(0, 0.5fr) minmax(100px, 0.25fr);
    align-items: stretch;
    gap: 0.85rem;
  }

  .main-product-photo {
    min-height: 300px;
  }

  .product-thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }
}



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

 .product-gallery-panel {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 0.25fr);
  }
}

@media (max-width: 880.98px) {
  .product-gallery-panel {
    grid-template-columns: minmax(0, 0.6fr) minmax(100px, 0.4fr);
    align-items: stretch;
    gap: 0.85rem;
  }
}



@media (max-width: 1510px) {
  .variant-hover-preview,
  .row-product-hover-preview {
    right: auto;
    left: calc(100% + 0.6rem);
    top: 50%;
    transform: translateY(-50%);
  }


}

@media (max-width: 1250px) {
   .notifications-grid {
    grid-template-columns: 1fr;
  }
  .notifications-page[data-news-view="background"] .notification-card{
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

@media (max-width: 1110px) {
 

  .notifications-page[data-news-view="vertical"] .notifications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .variants-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .variants-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .variants-table,
  .variants-table thead,
  .variants-table tbody,
  .variants-table tr,
  .variants-table th,
  .variants-table td {
    display: block;
  }

  .variants-table {
    min-width: 0;
  }

  .variants-table thead {
    display: none;
  }

  .variants-table tbody {
    display: grid;
    gap: 0.85rem;
  }

  .variants-table tr {
    display: grid;
    grid-template-columns: 10% repeat(4, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
    padding: 0.85rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 6px 16px rgba(17, 17, 17, 0.035);
  }

  .variants-table td {
    min-width: 0;
    padding: 0;
    border-bottom: 0;
    white-space: normal;
  }

  .variants-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.18rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .variants-table td[data-label="Image"] {
    grid-row: span 4;
  }

  .variants-table td[data-label="Image"]::before,
  .variants-table td[data-label="Add"]::before {
    display: none;
  }

  .variants-table td[data-label="Article"] {
    grid-column: 2 / 5;
  }

  .variants-table td[data-label="Quantity"] {
    grid-column: 2;
  }

  .variants-table td[data-label="Add"] {
    grid-column: 4;
    align-self: end;
  }

  .variants-table .variant-thumb {
    width: 74px;
    height: 74px;
  }

  .variant-add-btn {
    width: 100%;
  }
}

@media (max-width: 880px) {
 .order-history-summary {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 767.98px) {
  .content-wrap {
    padding-top: 1rem;
  }

  .order-history-page .topbar .container-xxl {
    flex-wrap: wrap;
  }

  .order-history-back {
    display: none;
  }

  .order-history-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .order-items-table-wrap {
    overflow: visible;
    border: 0;
  }

  .order-items-table,
  .order-items-table thead,
  .order-items-table tbody,
  .order-items-table tr,
  .order-items-table th,
  .order-items-table td {
    display: block;
  }

  .order-items-table {
    min-width: 0;
  }

  .order-items-table thead {
    display: none;
  }

  .order-items-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .order-items-table tr {
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: var(--radius-sm);
    background: #fff;
  }

  .order-items-table td {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0;
    border-bottom: 0;
    text-align: right;
  }

  .order-items-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
  }

  .notifications-head {
    align-items: stretch;
    flex-direction: column;
  }

  .notifications-view-switch {
    margin-left: 0;
  }

  .notifications-page[data-news-view="vertical"] .notifications-grid {
    grid-template-columns: 1fr;
  }

  .notifications-page[data-news-view="background"] .notification-card {
    display: flex;
    align-items: flex-end;
    min-height: 330px;
  }

  .notifications-page[data-news-view="background"] .notification-image {
    display: none;
  }

  .notifications-page[data-news-view="background"] .notification-body {
    width: 100%;
    border-radius: 1.35rem;
  }

  .search-shell {
    max-width: none;
  }

  .search-preview {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    
  }

  .search-product-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0.6rem 0.8rem;
  }

  .search-product-image {
    grid-row: span 5;
  }

  .search-product-name,
  .search-product-art,
  .search-product-price,
  .search-quantity-stepper,
  .search-cart-btn {
    grid-column: 2;
  }

  .search-product-name {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-quantity-stepper {
    width: min(100%, 118px);
  }

  .search-cart-btn {
    width: min(100%, 11rem);
  }

  .row-bulk-cart {
    align-items: stretch;
    flex-direction: column;
    top: 78px;
  }

  .row-bulk-cart-btn {
    width: 100%;
  }

  .cart-preview {
    width: calc(80vw - 0.75rem);
    max-width: calc(80vw - 0.75rem);
    padding: 0.85rem;
  }

  .cart-preview-head {
    flex-direction: column;
  }

  .cart-preview-item {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .cart-item-image {
    grid-row: span 6;
  }

  .cart-item-name-cell,
  .cart-item-art,
  .cart-item-price,
  .cart-quantity-stepper,
  .cart-line-subtotal,
  .cart-delete-btn {
    grid-column: 2;
  }

  .cart-line-subtotal,
  .cart-delete-btn {
    grid-row: auto;
    justify-self: start;
  }

  .cart-delete-btn {
    width: min(100%, 7rem);
  }

  .product-page-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .product-breadcrumbs {
    width: 100%;
  }

  .product-breadcrumbs [aria-current="page"] {
    max-width: 100%;
  }

  .product-page-title {
    font-size: clamp(1.65rem, 1.35rem + 1.6vw, 2.25rem);
  }

 
  .variants-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .variants-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .variants-table,
  .variants-table thead,
  .variants-table tbody,
  .variants-table tr,
  .variants-table th,
  .variants-table td {
    display: block;
  }

  .variants-table {
    min-width: 0;
  }

  .variants-table thead {
    display: none;
  }

  .variants-table tbody {
    display: grid;
    gap: 0.85rem;
  }

  .variants-table tr {
    display: grid;
    grid-template-columns: 26% repeat(3, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
    padding: 0.85rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 6px 16px rgba(17, 17, 17, 0.035);
  }

  .variants-table td {
    min-width: 0;
    padding: 0;
    border-bottom: 0;
    white-space: normal;
  }

  .variants-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.18rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .variants-table td[data-label="Image"] {
    grid-row: span 4;
  }

  .variants-table td[data-label="Image"]::before,
  .variants-table td[data-label="Add"]::before {
    display: none;
  }

  .variants-table td[data-label="Article"] {
    grid-column: 2 / 4;
  }

  .variants-table td[data-label="Quantity"] {
    grid-column: 2;
  }

  .variants-table td[data-label="Add"] {
    grid-column: 3;
    align-self: end;
  }

  .variants-table .variant-thumb {
    width: 74px;
    height: 74px;
  }

  .variant-add-btn {
    width: 100%;
  }

  .view-switch {
    width: 100%;
  }

  .view-switch-btn {
    flex: 1 1 0;
  }

  .row-sort-control {
    width: 100%;
  }

  .row-sort-select {
    flex: 1 1 auto;
  }

  .notification-card {
    grid-template-columns: 1fr;
  }

  .product-row-head {
    display: none;
  }

  .product-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0.7rem 0.85rem;
    padding: 0.85rem;
    overflow-x: visible;
  }

  .row-product-image {
    grid-row: span 4;
    width: 74px;
    height: 74px;
  }

  .row-product-art,
  .row-product-price,
  .quantity-stepper,
  .row-cart-btn {
    grid-column: 2;
  }

  .row-product-name {
    grid-column: 2;
    align-items: flex-start;
  }

  .row-product-art {
    font-size: 0.78rem;
  }

  .quantity-stepper {
    width: min(100%, 132px);
  }

  .row-cart-btn {
    width: min(100%, 11rem);
  }

  .offcanvas-body {
    padding: 1rem 0.85rem;
  }

  .category-tree {
    gap: 0.28rem;
  }

  .category-tree ul {
    gap: 0.25rem;
    margin-left: 0.35rem;
    padding-left: 0.5rem;
  }

  .category-item,
  .category-branch {
    gap: 0.55rem;
    padding: 0.68rem 0.65rem;
  }

  .category-count {
    min-width: 24px;
    height: 24px;
    font-size: 0.76rem;
  }
}

@media (max-width: 550px) {
  .cart-preview-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cart-preview-actions {
    justify-content: stretch;
  }

  .cart-order-btn {
    width: 100%;
  }

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

  .variants-table tr {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .variants-table td[data-label="Image"] {
    grid-row: span 9;
  }

  .variants-table td:not([data-label="Image"]) {
    grid-column: 2;
  }

  .variants-table td[data-label="Add"] {
    align-self: start;
  }
}

@media (max-width: 420px) {
  .notification-card {
    grid-template-columns: 1fr;
  }

  .offcanvas.offcanvas-start {
    width: 94vw;
  }

  .login-card-head {
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }

  .login-logo {
    height: 48px;
  }

  .category-tree ul {
    margin-left: 0.2rem;
    padding-left: 0.42rem;
  }

  .category-label {
    gap: 0.45rem;
    font-size: 0.92rem;
  }

  .variants-table tr {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .variants-table td[data-label="Article"],
  .variants-table td[data-label="Quantity"],
  .variants-table td[data-label="Add"] {
    grid-column: 2;
  }

  .variant-quantity {
    width: min(100%, 120px);
  }
.product-thumb-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
    
}

.product-badge.mark-new,
.product-badge .mark-new {
  border-color: #12693d;
  background: #12693d;
  color: #fff;
}

.product-badge.mark-no-discount,
.product-badge .mark-no-discount {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
