.shop-shell { --shop-teal: #09666a; --shop-teal-dark: #084e51; color: #202b2c; letter-spacing: 0; }
.shop-shell * { min-width: 0; letter-spacing: 0; }
.shop-shell a { overflow-wrap: anywhere; }
.shop-shell h1, .shop-shell h2, .shop-shell p, .shop-shell address { overflow-wrap: anywhere; }
.shop-shell .btn, .shop-shell .form-control, .shop-shell .form-select, .shop-shell .alert, .shop-shell .card { border-radius: 6px; }
.shop-shell .btn { white-space: normal; }
.shop-shell .btn-primary { --bs-btn-bg: var(--shop-teal); --bs-btn-border-color: var(--shop-teal); --bs-btn-hover-bg: var(--shop-teal-dark); --bs-btn-hover-border-color: var(--shop-teal-dark); --bs-btn-active-bg: var(--shop-teal-dark); }
.shop-shell .btn-outline-primary { --bs-btn-color: var(--shop-teal); --bs-btn-border-color: var(--shop-teal); --bs-btn-hover-bg: var(--shop-teal); --bs-btn-hover-border-color: var(--shop-teal); }
.shop-shell a:not(.btn) { color: var(--shop-teal); }
.shop-shell :focus-visible { outline: 3px solid #277eaa; outline-offset: 3px; }
.shop-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; border-bottom: 1px solid #d7dede; }
.shop-nav a { padding: 12px 2px; text-decoration: none; border-bottom: 3px solid transparent; font-weight: 600; }
.shop-nav a[aria-current] { border-bottom-color: var(--shop-teal); }
.shop-product-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #f5f7f7; }
.shop-catalog-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #f5f7f7; }
.shop-product-info { max-width: 600px; }
.shop-product-form { max-width: 440px; }
.shop-product-form input[type="number"] { width: 100px; }
.shop-color-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-color-preview { width: 56px; height: 56px; flex: 0 0 56px; padding: 2px; border: 2px solid #bdcccd; border-radius: 6px; background: #fff; }
.shop-color-preview img { display: block; width: 48px; height: 48px; object-fit: contain; }
.shop-color-preview[aria-pressed="true"] { border-color: var(--shop-teal); box-shadow: 0 0 0 1px var(--shop-teal); }
.shop-image-caption { min-height: 3em; }
.shop-option-status { min-height: 2.5em; }
.shop-thumbnail { width: 64px; height: 64px; flex: 0 0 64px; object-fit: contain; background: #f5f7f7; border-radius: 4px; }
/* Keep absolute accessibility labels inside the table's horizontal scrollport. */
.shop-table-wrap { position: relative; width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.shop-table { min-width: 600px; table-layout: fixed; margin-bottom: 0; }
.shop-table th, .shop-table td { padding: 16px 10px; overflow-wrap: anywhere; }
.shop-table thead th { color: #526264; font-size: 13px; font-weight: 600; background: #f3f6f6; }
.shop-table th:first-child { width: 34%; }
.shop-table th:last-child:has(.visually-hidden) { width: 62px; }
.shop-table.shop-orders-table { min-width: 800px; }
.shop-table.shop-inventory-table { min-width: 880px; }
.shop-inventory-table th:first-child { width: 24%; }
.shop-inventory-table th:nth-child(4) { width: 26%; }
.shop-orders-table th:first-child { width: 18%; }
.shop-orders-table th:nth-child(4) { width: 24%; }
.shop-money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-quantity-form { display: flex; align-items: center; gap: 8px; }
.shop-quantity-form input { width: 72px; padding-inline: 8px; }
.shop-icon { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; font-size: 20px; }
.shop-glyph { width: 20px; height: 20px; flex: 0 0 20px; display: block; background: currentColor; mask-size: contain; mask-repeat: no-repeat; mask-position: center; }
.shop-glyph--check { mask-image: url("../vendor/lucide/check.0618588d9138.svg"); }
.shop-glyph--x { mask-image: url("../vendor/lucide/x.613f6e881105.svg"); }
.shop-glyph--pencil { mask-image: url("../vendor/lucide/pencil.11ff92f2c0c5.svg"); }
.shop-cart-summary { max-width: 380px; }
.shop-form { max-width: 660px; }
.shop-address-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.shop-address-form > .alert, .shop-address-form > .shop-form-actions, .shop-address-form > div:has([name="email"]), .shop-address-form > div:has([name="name"]), .shop-address-form > div:has([name="address1"]), .shop-address-form > div:has([name="address2"]) { grid-column: 1 / -1; }
.shop-summary-lines li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e2e7e7; }
.shop-summary-product { overflow-wrap: anywhere; }
.shop-summary-lines li > span:last-child { flex-shrink: 0; }
.shop-totals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 12px; }
.shop-totals dt { font-weight: 500; }
.shop-totals dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.shop-totals [data-shop-total-label], .shop-totals [data-shop-total-amount] { min-height: 4em; }
.shop-shipping-options > div { border-bottom: 1px solid #e2e7e7; padding: 12px 0; }
.shop-shipping-options label { display: flex; gap: 12px; align-items: baseline; cursor: pointer; overflow-wrap: anywhere; }
.shop-shipping-options input { accent-color: var(--shop-teal); flex-shrink: 0; }
.shop-status { color: #166534; font-weight: 600; }
.shop-shell .errorlist { padding-left: 20px; margin-bottom: 0; }
/* Filter navigation lands immediately, including when scripts are disabled. */
html:has(.shop-catalog) { scroll-behavior: auto; }
.shop-catalog { scroll-margin-top: 120px; }
.shop-catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.shop-catalog-search { flex: 0 1 360px; }
.shop-catalog-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; align-items: start; }
.shop-filter-panel { --bs-offcanvas-width: 340px; --bs-offcanvas-bg: #eff6f5; border-right: 1px solid #b9cccd; padding-right: 24px; }
.shop-filter-panel .offcanvas-body { display: block; padding: 0; }
.shop-filter-panel:not(.offcanvas-lg) .offcanvas-header { display: none; }
.shop-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.shop-filter-heading a { font-size: 13px; }
.shop-filter-group { border-bottom: 1px solid #c4d5d5; padding: 14px 0; }
.shop-filter-group summary { font-weight: 650; cursor: pointer; }
.shop-filter-options { max-height: 260px; overflow-y: auto; margin-top: 10px; }
.shop-filter-option { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 5px 2px; font-size: 14px; cursor: pointer; }
.shop-filter-option .form-check-input { flex: 0 0 17px; margin-top: 0; border-color: #769b9e; }
.shop-filter-option .form-check-input:checked { background-color: var(--shop-teal); border-color: var(--shop-teal); }
.shop-filter-count { margin-left: auto; color: #526264; font-variant-numeric: tabular-nums; }
.shop-price-filter { padding-block: 18px; }
.shop-filter-actions { padding-block: 12px; }
.shop-catalog-toolbar { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #b9cccd; }
.shop-catalog-sort { display: flex; align-items: center; gap: 8px; }
.shop-catalog-sort label { flex-shrink: 0; font-size: 14px; }
.shop-catalog-sort select { max-width: 200px; }
.shop-applied-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; }
.shop-applied-filters a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 0; margin-right: 10px; text-decoration: none; border-bottom: 1px solid #7fa9ab; font-size: 14px; }
.shop-applied-filters .shop-glyph { width: 14px; height: 14px; flex-basis: 14px; }
.shop-product-group { margin-top: 24px; }
.shop-group-title { font-size: 20px; margin-bottom: 18px; }
.shop-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shop-catalog .shop-catalog-card { overflow: hidden; border: 1px solid #c2d4d3; box-shadow: none; background: #f2f7f6; }
.shop-catalog-card h4 { line-height: 1.45; }
.shop-catalog-card h4 a { text-decoration: none; color: inherit; }
.shop-catalog-card h4 a:hover { text-decoration: underline; }
.shop-catalog-card .card-body { padding: 16px; }
.shop-collection-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--shop-teal); margin-bottom: 8px; }
.shop-catalog-empty { text-align: center; padding: 64px 12px; }
.shop-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 32px; }
.shop-filter-toggle { display: inline-flex; align-items: center; gap: 8px; }
.shop-glyph--filters { mask-image: url("../vendor/lucide/sliders-horizontal.542a017c584c.svg"); }
@media (min-width: 992px) {
  .shop-catalog .shop-filter-toggle { display: none; }
  .shop-filter-panel { position: sticky; top: 100px; max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; }
  .shop-filter-panel .offcanvas-body { overflow: visible; }
  .shop-filter-panel .shop-filter-actions { position: sticky; bottom: 0; background: #d8e8e8; }
}
@media (max-width: 1199.98px) {
  .shop-catalog-layout { gap: 24px; grid-template-columns: 210px minmax(0, 1fr); }
  .shop-product-grid { gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .shop-catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-filter-panel.offcanvas-lg { padding: 0; border: 0; }
  .shop-filter-panel.offcanvas-lg .offcanvas-body { padding: 12px 20px 24px; }
  .shop-filter-panel.offcanvas-lg .shop-filter-actions { position: sticky; bottom: -24px; background: var(--bs-offcanvas-bg); }
  .shop-catalog-heading { align-items: start; flex-direction: column; }
  .shop-catalog-search { flex: auto; width: 100%; max-width: 480px; }
}
@media (max-width: 575.98px) {
  .shop-catalog-toolbar { flex-wrap: wrap; }
  .shop-catalog-sort { width: 100%; justify-content: space-between; }
  .shop-catalog-sort select { flex: 1; max-width: none; }
  .shop-product-grid { gap: 12px; }
  .shop-catalog-card .card-body { padding: 12px; }
  .shop-catalog-card h4 { font-size: 14px; }
  .shop-catalog-card .btn { font-size: 13px; }
  .shop-catalog-heading h2 { font-size: 24px; }
}
@media (max-width: 359.98px) {
  .shop-product-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .shop-nav { gap: 4px 18px; }
  .shop-address-form { grid-template-columns: minmax(0, 1fr); }
  .shop-table { min-width: 560px; }
  .shop-cart-table, .shop-cart-table tbody { display: block; min-width: 0; width: 100%; }
  .shop-cart-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .shop-cart-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "item item" "quantity remove" "total total"; gap: 12px; padding: 16px; margin-bottom: 12px; border: 1px solid #cadbdc; border-radius: 6px; background: #eef5f5; }
  .shop-cart-table td { display: block; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .shop-cart-item { grid-area: item; }
  .shop-cart-quantity { grid-area: quantity; }
  .shop-cart-remove { grid-area: remove; }
  .shop-cart-table .shop-cart-total { grid-area: total; display: flex; justify-content: space-between; gap: 12px; }
  .shop-shell h1 { font-size: 26px; }
}
