:root {
  --fuchsia: #D6006E;
  --fuchsia-dark: #A8004F;
  --fuchsia-soft: #FCE8F1;
  --ink: #2B2530;
  --paper: #FFFBFC;
  --fuscia: #d6006d;
  --fuscia-dark: #a80057;
  --fuscia-subtle: #fce4f0;
}

body {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.order-badge {
  font-weight: 500;
  font-size: 0.72rem;
}
.order-badge-shipping { background: #fdf0d8; color: #8a5a13; }
.order-badge-pickup { background: #eee; color: #666; }

.order-status-select {
  font-weight: 500;
  border-width: 1px;
}
.status-pending   { background: #fdf0d8; color: #8a5a13; border-color: #f0d9ac; }
.status-paid      { background: #e0efe6; color: #1e6b45; border-color: #bfe0cc; }
.status-shipped   { background: #e2ecfb; color: #23528c; border-color: #c3d9f5; }
.status-completed { background: #f6e3ee; color: #7c0f4e; border-color: #edc2dc; }
.status-cancelled { background: #f6e2e2; color: #9c2b2b; border-color: #edc3c3; }

.order-notes-cell { max-width: 220px; }
.order-note-preview {
  font-size: 0.82rem;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.order-status-pill {
  font-weight: 500;
  font-size: 0.78rem;
  padding: 0.35em 0.7em;
  border-radius: 6px;
}

.category-list {
  height: 206px;
  overflow-y: auto;
}
.category-list .list-group-item {
  cursor: pointer;
}

.quantity-button {
  touch-action: manipulation !important;
}

.image-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.image-picker-item {
  position: relative;
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.image-picker-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.image-container {
  position: relative;
}

.tr-fuscia>th {
  background-color: var(--fuscia-dark) !important;
  color: white !important;
  font-weight: 500 !important;
}

.remove-image {
  position: absolute;
  top: 5px;
  right: 5px;

  width: 24px;
  height: 24px;

  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  cursor: pointer;
}

.image-picker-item:hover {
  border-color: #ccc;
}

.image-picker-item.selected {
  border-color: #2b8a3e;
}

.image-picker-check {
  display: none;
  position: absolute;
  top: 4px;
  right: 4px;
  background: #2b8a3e;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
}

.image-picker-item.selected .image-picker-check {
  display: block;
}

a {
  color: var(--fuchsia);
}

.navbar-brand {
  color: var(--fuchsia-dark);
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: .65rem;
}

.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--fuchsia-soft);
}

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

.btn-fuchsia:hover {
  background: var(--fuchsia-dark);
  border-color: var(--fuchsia-dark);
  color: #fff;
}

.btn-outline-fuchsia {
  border-color: var(--fuchsia);
  color: var(--fuchsia-dark);
  background: #fff;
}

.btn-outline-fuchsia:hover {
  background: var(--fuchsia-soft);
  color: var(--fuchsia-dark);
}

.product-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #ddd;
  background: #fff;
  position: relative;
}

.product-image-wrap {
  aspect-ratio: 1 / 1;
  background: #e9e9e9;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-body {
  padding: 1rem;
}

.product-category {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--fuchsia-soft);
  color: var(--fuchsia-dark);
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-title {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  margin-bottom: 0.75rem;
  color: #646060;
  font-size: 0.75rem;
}

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

.product-price {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px;
}

.product-detail-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 18px;
  overflow: hidden;
}

.product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-detail-info {
  padding: 0 0 20px;
}

.product-detail-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.product-detail-category {
  margin: 0 0 32px;
  color: #555;
  font-size: 21px;
}

.product-detail-price {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 500;
}

.quantity-section {
  margin-bottom: 28px;
}

.quantity-section>label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

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

.quantity-control .quantity-button {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
}

.quantity-control .quantity-button:hover {
  background: #f7f7f7;
}

#quantity {
  min-width: 12px;
  text-align: center;
  font-size: 18px;
}

.add-to-cart-button {
  width: 100%;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 15px;
  background: var(--fuchsia-dark);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.add-to-cart-button:hover {
  background: #2b2b2d;
}

.cart-icon {
  font-size: 23px;
}

.category-filter {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.category-filter-toggle {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #a8004f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  cursor: pointer;
}

.category-filter-menu {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 220px;
  max-height: 250px;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  padding: 8px;
  display: none;
}

.category-filter-menu.show {
  display: block;
}

.category-filter-title {
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 4px;
}

.category-filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
}

.category-filter-item:hover {
  background: #fce8f1;
  color: #a8004f;
}

.text-fuscia {
  color: var(--fuscia) !important;
}

.circle-fuscia {
  display: inline-block;
  margin-right: 10px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  background-color: var(--fuchsia-dark);
  color: white !important;
  font-weight: 500;
}

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

.btn-fuscia:hover,
.btn-fuscia:focus {
  background-color: var(--fuscia-dark);
  border-color: var(--fuscia-dark);
  color: #fff;
}

.btn-outline-fuscia {
  color: var(--fuscia);
  border-color: var(--fuscia);
  background-color: transparent;
}

.btn-outline-fuscia:hover {
  background-color: var(--fuscia);
  border-color: var(--fuscia);
  color: #fff;
}

.btn-check:checked+.btn-outline-fuscia {
  background-color: var(--fuscia);
  border-color: var(--fuscia);
  color: #fff;
}

.form-check-input:checked {
  background-color: var(--fuscia);
  border-color: var(--fuscia);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--fuscia);
  box-shadow: 0 0 0 0.2rem rgba(214, 0, 109, 0.15);
}

.product-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.product-thumb-rc {
  width: 115px;
  height: 115px;
  object-fit: cover;
}

.not-found-code {
  font-size: 5rem;
  font-weight: 700;
  color: var(--bs-fuchsia, #d6006e);
  line-height: 1;
}

.category-filter-count {
  font-size: .8rem;
  color: #888;
}

.product-divider {
  margin: 28px 0 32px;
  border: 0;
  border-top: 1px solid #ddd;
}

.product-description h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.product-description p {
  margin: 0;
  color: #555;
  font-size: 18px;
  line-height: 1.65;
}

.cart-item {
  min-height: 120px;
}

.cart-product-image {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f1f1;
}

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

.cart-product-title {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.cart-product-title:hover {
  color: var(--fuchsia);
}

.cart-product-category {
  color: #666;
  font-size: .85rem;
}

.cart-product-ref {
  margin-top: 3px;
  color: #999;
  font-size: .75rem;
}

.cart-product-price {
  margin-top: 8px;
  font-weight: 600;
}

.cart-item-subtotal {
  font-weight: 700;
  white-space: nowrap;
}

.cart-divider {
  margin: 0;
  border-color: #eee;
}

.quantity-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 4px;
}

.quantity-form .quantity-button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.quantity-form .quantity-button:hover:not(:disabled) {
  background: var(--fuchsia-soft);
  color: var(--fuchsia-dark);
}

.quantity-form .quantity-button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.quantity-value {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

.remove-cart-item {
  padding: 0;
  border: 0;
  background: transparent;
  color: #999;
  font-size: .75rem;
  cursor: pointer;
}

.remove-cart-item:hover {
  color: #c00;
}

.cart-summary {
  position: sticky;
  top: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  color: #555;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
}

.empty-cart-icon {
  font-size: 4rem;
}

.checkout-page {
  min-height: 80vh;
  background: #fff;
}

.checkout-back {
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
}

.checkout-back:hover {
  color: var(--fuchsia);
}

.checkout-section {
  margin-bottom: 40px;
}

.checkout-section h2 {
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 650;
}

.checkout-input {
  min-height: 52px;
  border-radius: 10px;
}

.checkout-input:focus {
  border-color: var(--fuchsia);
  box-shadow: 0 0 0 .2rem rgba(214, 0, 110, .1);
}

.shipping-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
}

.shipping-option strong {
  display: block;
}

.shipping-option small {
  display: block;
  margin-top: 4px;
  color: #777;
}

.checkout-submit {
  width: 100%;
  min-height: 56px;
  font-size: 1rem;
  font-weight: 600;
}

.checkout-summary {
  padding: 28px;
  border-radius: 16px;
  background: #f8f8f8;
}

.checkout-summary h2 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.checkout-product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.checkout-product-image {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: visible;
  background: #eee;
}

.checkout-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.checkout-quantity {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #666;
  color: white;
  font-size: .7rem;
}

.checkout-product-info {
  flex: 1;
}

.checkout-product-info strong {
  display: block;
  font-size: .9rem;
}

.checkout-product-info small {
  display: block;
  margin-top: 3px;
  color: #777;
}

.checkout-total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #555;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
}

.admin-logout {
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}

.metric-card {
  min-height: 160px;
  padding: 24px;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 16px;
}

.metric-title {
  color: #555;
  font-size: 1rem;
  font-weight: 500;
}

.metric-value {
  margin-top: 16px;
  font-size: 2rem;
  font-weight: 500;
}

.metric-description {
  margin-top: 8px;
  font-size: .85rem;
}

.admin-panel {
  padding: 24px;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 16px;
}

.admin-panel-header {
  margin-bottom: 20px;
}

.admin-panel-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.admin-panel-header p {
  margin: 4px 0 0;
  color: #888;
  font-size: .85rem;
}

.chart-container {
  position: relative;
  height: 280px;
}

.admin-login-page {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .05);
}

.admin-login-logo {
  margin-bottom: 30px;
  color: var(--fuchsia-dark);
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-login-card h1 {
  margin-bottom: 8px;
}

.admin-login-description {
  margin-bottom: 28px;
  color: #777;
}

.admin-input {
  min-height: 52px;
  border-radius: 10px;
}

.admin-code-input {
  min-height: 60px;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 8px;
  border-radius: 10px;
}

.admin-page {
  min-height: 100vh;
  background: #f6f6f7;
  color: #1f1f1f;
}

.admin-nav {
  background: #f6f6f7;
  color: #1f1f1f;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-header h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 650;
  color: #111;
}

.admin-user {
  display: block;
  margin-top: 5px;
  color: #777;
  font-size: 14px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-primary-button,
.admin-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.admin-primary-button {
  background: #1c1c1f;
  color: white;
}

.admin-primary-button:hover {
  color: white;
  background: #000;
}

.admin-primary-button span {
  font-size: 22px;
  line-height: 1;
}

.admin-secondary-button {
  background: white;
  border: 1px solid #ddd;
  color: #333;
}

.admin-secondary-button:hover {
  color: #111;
  background: #f5f5f5;
}

.admin-products-toolbar {
  background: white;
  border: 1px solid #ddd;
}

.admin-search {
  position: relative;
}

.admin-search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
  color: #666;
}

.admin-search input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 48px;
  border: 1px solid #ddd;
  border-radius: 13px;
  font-size: 16px;
  outline: none;
}

.admin-search input:focus {
  border-color: #999;
}

.admin-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.admin-toolbar-row select {
  height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: white;
  font-size: 14px;
}

.admin-product-count {
  color: #666;
  font-size: 14px;
}

.admin-table-panel {
  overflow: hidden;
  background: white;
  border: 1px solid #ddd;
  border-radius: 18px;
}

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

.admin-products-table th {
  height: 68px;
  padding: 0 20px;
  background: #fafafa;
  border-bottom: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.admin-products-table td {
  padding: 5px 10px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
  white-space: nowrap;
}

.admin-products-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-products-table tbody tr:hover {
  background: #fafafa;
}

.checkbox-column {
  width: 55px;
}

.admin-products-table input[type="checkbox"] {
  width: 19px;
  height: 19px;
}

.admin-product-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #222;
  text-decoration: none;
}

.admin-product-cell:hover {
  color: #111;
}

.admin-product-cell strong {
  display: block;
  font-size: 15px;
}

.admin-product-cell small {
  display: block;
  margin-top: 3px;
  color: #777;
}

.admin-product-image {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background: #f5f5f5;
}

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

.admin-product-placeholder {
  color: #aaa;
  font-size: 20px;
}

.variant-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: #f1f1f1;
}

.inventory-in-stock {
  color: #16845b;
  font-weight: 500;
}

.inventory-out {
  color: #999;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 20px;
  background: #e4f7ef;
  color: #08784f;
  font-size: 12px;
  font-weight: 600;
}

.product-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #555;
  text-decoration: none;
  font-size: 22px;
}

.product-more:hover {
  background: #eee;
  color: #111;
}

.admin-empty {
  padding: 60px 20px !important;
  text-align: center;
  color: #888;
}

.admin-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 20px;
  border-top: 1px solid #e5e5e5;
  color: #666;
  font-size: 14px;
}

.product-editor-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.back-link {
  display: inline-block;
  margin-bottom: 10px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  color: #111;
}

.product-editor-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
}

.save-message {
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid #bde7d4;
  border-radius: 10px;
  background: #eaf8f1;
  color: #08784f;
  font-size: 14px;
  font-weight: 500;
}

.editor-card {
  margin-bottom: 20px;
  overflow: hidden;
  background: white;
  border: 1px solid #ddd;
  border-radius: 16px;
}

.editor-card-header {
  padding: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.editor-card-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.editor-card-header p {
  margin: 5px 0 0;
  color: #666;
  font-size: 14px;
}

.editor-section {
  padding: 22px 24px;
}

.editor-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 24px 22px;
}

.editor-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.editor-input,
.editor-textarea,
.variant-field {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: white;
  color: #222;
  outline: none;
}

.editor-input {
  height: 46px;
  padding: 0 13px;
}

.editor-textarea {
  padding: 13px;
  resize: vertical;
  line-height: 1.5;
}

.editor-input:focus,
.editor-textarea:focus,
.variant-field:focus {
  border-color: #777;
}

.description-input {
  min-height: 180px;
}

.price-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 46px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
}

.price-input span {
  padding-left: 14px;
  color: #666;
}

.price-input input {
  width: 100%;
  height: 100%;
  padding: 0 12px;
  border: 0;
  outline: 0;
}

.product-media-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.product-media,
.add-media {
  width: 132px;
  height: 132px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 12px;
}

.product-media {
  background: #f5f5f5;
}

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

.add-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  background: #fafafa;
  color: #666;
}

.add-media span {
  font-size: 28px;
  line-height: 1;
}

.add-media small {
  margin-top: 8px;
}

.options-list {
  padding: 0 24px;
}

.option-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid #e5e5e5;
}

.option-name {
  font-weight: 600;
}

.option-values {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.option-pill {
  padding: 5px 9px;
  border-radius: 7px;
  background: #f1f1f1;
  color: #444;
  font-size: 13px;
}

.option-menu {
  border: 0;
  background: transparent;
  font-size: 20px;
  color: #666;
}

.add-option-button {
  margin: 18px 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5b35d5;
  font-weight: 600;
}

.empty-options {
  padding: 24px;
  color: #888;
}

.variants-table-wrapper {
  overflow-x: auto;
}

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

.variants-table th {
  padding: 13px 14px;
  background: #f8f8f9;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
}

.variants-table td {
  padding: 14px;
  border-bottom: 1px solid #e5e5e5;
}

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

.variant-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
  font-weight: 500;
}

.variant-name img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #f5f5f5;
}

.variant-input {
  display: flex;
  align-items: center;
  width: 140px;
  height: 40px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 9px;
}

.variant-input span {
  padding-left: 10px;
  color: #777;
}

.variant-input input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 8px;
  border: 0;
  outline: 0;
}

.variant-field {
  width: 130px;
  height: 40px;
  padding: 0 10px;
}

.variants-empty {
  padding: 40px !important;
  text-align: center;
  color: #888;
}

.order-stepper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
}

.order-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 70px;
  color: #aaa;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.order-step.completed {
  color: #198754;
  font-weight: 600;
}

.order-step-dot {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
  color: #aaa;
  font-size: 14px;
  font-weight: 600;
}

.order-step.completed .order-step-dot {
  border-color: #198754;
  background: #198754;
  color: #fff;
}

.order-step-line {
  flex: 1;
  height: 2px;
  margin-top: 15px;
  background: #ddd;
}

.order-step-line.completed {
  background: #198754;
}

.editor-save-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 5px 0 30px;
}

.order-reference {
  font-size: 14px;
}

.order-reference strong {
  margin-left: 6px;
}

.order-total {
  font-size: 22px;
}

.order-product {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
}

.order-product-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
}

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

.order-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}

.order-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.order-product-info strong {
  font-size: 15px;
}

.order-product-info span {
  font-size: 13px;
  color: #777;
}

.order-product-price {
  text-align: right;
  white-space: nowrap;
}

.order-product-price strong {
  display: block;
}

.order-product-price small {
  color: #777;
}

.delivery-box {
  padding: 16px;
  border-radius: 10px;
  background: #f8f8f8;
  line-height: 1.7;
}

.payment-number {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 20px 0;
}

.payment-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.payment-amount strong {
  font-size: 20px;
}

.product-card.is-inactive::after {
  content: "Esgotado";
  position: absolute;
  inset: 0;
  background: rgba(128, 128, 128, 0.6);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hamburger icon lines — Bootstrap handles positioning/spacing */
#filterToggle {
  background-color: var(--fuchsia);
  border-color: var(--fuchsia);
}

#filterToggle span,
#filterToggle span::before,
#filterToggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: all 0.2s ease-in-out;
}

#filterToggle span::before {
  position: absolute;
  top: -7px;
}

#filterToggle span::after {
  position: absolute;
  top: 7px;
}

#filterToggle.open span {
  background: transparent;
}

#filterToggle.open span::before {
  transform: rotate(45deg);
  top: 0;
}

#filterToggle.open span::after {
  transform: rotate(-45deg);
  top: 0;
}

#categoryMenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease-in-out;
}

#categoryMenu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.category-item.active {
  background-color: var(--fuchsia) !important;
  color: #fff !important;
  border-color: var(--fuchsia) !important;
}

.category-item.active .badge {
  background-color: rgba(255, 255, 255, 0.25) !important;
}

.text-bg-fuscia{
  background-color: var(--fuchsia-dark);
  color: white;
}

.category-list-checkbox {
  cursor: pointer;
}

.offcanvas.offcanvas-bottom {
  height: 45vh!important;
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 16px 48px;
  }

  .product-detail-title {
    font-size: 28px;
  }

  .product-detail-category {
    font-size: 18px;
  }

  .product-description p {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .cart-item {
    min-height: auto;
  }

  .cart-product-image {
    width: 80px;
    height: 80px;
  }

  .quantity-form {
    gap: 4px;
  }

  .quantity-form .quantity-button {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 991px) {
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-products-table th,
  .admin-products-table td {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 576px) {
  .order-step {
    min-width: 55px;
    font-size: 11px;
  }

  .order-step-dot {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .order-step-line {
    margin-top: 13px;
  }

  .order-product {
    align-items: flex-start;
  }

  .order-product-image {
    width: 65px;
    height: 65px;
  }

  .order-product-price {
    font-size: 14px;
  }

  .order-product-price small {
    display: none;
  }

  .payment-number {
    font-size: 24px;
  }
}

/* Cookie Consent - mobile */
@media (max-width: 576px) {

  .termsfeed-com---nb .cc-nb-main-container {
    padding: 20px !important;
  }

  .termsfeed-com---nb .cc-nb-title {
    font-size: 1.2rem !important;
    line-height: 1 !important;
    margin-bottom: 12px !important;
  }

  .termsfeed-com---nb .cc-nb-text {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
  }

  .termsfeed-com---nb .cc-nb-buttons-container {
    gap: 5px !important;
  }

  .termsfeed-com---nb .cc-nb-buttons-container button {
    font-size: 0.85rem !important;
    padding: 9px 12px !important;
  }
}