/* ============================================================
   Amp & Ohm Shop / Product Archive
   ============================================================ */

:root {
  --shop-bg: #EAF2FF;
  --shop-surface: #FFFFFF;
  --shop-surface-soft: #EEF5FF;
  --shop-surface-muted: #EEF5FF;
  --shop-text: #14213D;
  --shop-heading: #1E2E4D;
  --shop-muted: #5B6B82;
  --shop-soft-text: #5B6B82;
  --shop-border: #D7E3F5;
  --shop-accent: #2563EB;
  --shop-accent-dark: #1E2E4D;
  --shop-blush: #2563EB;
  --shop-sale: #B42318;
  --shop-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shop-heading-font: 'Nunito', 'Inter', system-ui, sans-serif;
  --shop-container: 1280px;
  --shop-pad: 16px;
}

.shop-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, var(--shop-bg) 0, #FFFFFF 260px),
    var(--shop-surface);
  color: var(--shop-text);
  font-family: var(--shop-font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.shop-container {
  width: min(100%, var(--shop-container));
  margin: 0 auto;
  padding: 18px var(--shop-pad) 56px;
}

@media (min-width: 1024px) {
  .shop-container {
    --shop-pad: 24px;
    padding-top: 24px;
    padding-bottom: 72px;
  }
}

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  color: var(--shop-soft-text);
  font-size: 0.8125rem;
  font-weight: 600;
}

.shop-breadcrumb a {
  color: var(--shop-soft-text);
  text-decoration: none;
  transition: color 180ms ease;
}

.shop-breadcrumb a:hover {
  color: var(--shop-heading);
}

.shop-breadcrumb span[aria-hidden="true"] {
  color: var(--shop-accent);
}

.shop-header {
  position: relative;
  margin: 0 0 18px;
  padding: 28px 22px;
  overflow: hidden;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.22), transparent 34%),
    linear-gradient(135deg, #FFFFFF 0%, var(--shop-bg) 52%, var(--shop-surface-muted) 100%);
}

.shop-header::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 180px;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--shop-accent), var(--shop-blush));
  opacity: 0.75;
}

.shop-header__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.shop-header__eyebrow {
  margin: 0 0 12px;
  color: var(--shop-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-header__title {
  margin: 0;
  color: var(--shop-heading);
  font-family: var(--shop-heading-font);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.shop-header__description {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--shop-muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  font-weight: 600;
  line-height: 1.75;
}

.shop-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.shop-header__meta span,
.shop-header__meta a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.shop-header__meta span {
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.68);
  color: var(--shop-heading);
}

.shop-header__meta a {
  background: var(--shop-heading);
  color: #FFFFFF;
  transition: background 180ms ease, transform 120ms ease;
}

.shop-header__meta a:hover {
  background: var(--shop-accent);
}

.shop-header__meta a:active {
  transform: scale(0.98);
}

.shop-category-nav {
  display: flex;
  gap: 10px;
  margin: 0 0 20px;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.05);
  scrollbar-width: thin;
}

.shop-category-nav a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--shop-border);
  border-radius: 999px;
  background: var(--shop-surface);
  color: var(--shop-heading);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.shop-category-nav a:hover,
.shop-category-nav a.is-current {
  border-color: var(--shop-accent);
  background: var(--shop-heading);
  color: #FFFFFF;
}

.shop-category-nav .count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--shop-bg);
  color: var(--shop-accent-dark);
  font-size: 0.74rem;
  font-weight: 900;
}

.shop-category-nav a.is-current .count,
.shop-category-nav a:hover .count {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 24px;
  padding: 12px;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.06);
}

.shop-toolbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-toolbar__count {
  color: var(--shop-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.shop-filter-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--shop-border);
  border-radius: 999px;
  background: var(--shop-surface);
  color: var(--shop-heading);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.shop-filter-btn:hover,
.shop-filter-btn:focus-visible {
  border-color: var(--shop-accent);
  background: var(--shop-surface-soft);
  color: var(--shop-accent-dark);
}

@media (min-width: 1024px) {
  .shop-filter-btn {
    display: none;
  }
}

.woocommerce-ordering {
  float: none;
  margin: 0;
}

.woocommerce-ordering select,
.shop-sort select {
  min-height: 42px;
  max-width: 100%;
  padding: 0 40px 0 14px;
  border: 1px solid var(--shop-border);
  border-radius: 999px;
  background-color: var(--shop-surface);
  color: var(--shop-heading);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.woocommerce-ordering select:focus,
.shop-sort select:focus {
  border-color: var(--shop-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.shop-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .shop-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
  }
}

.shop-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  visibility: hidden;
  background: rgba(20, 33, 61, 0.44);
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.shop-sidebar-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.shop-sidebar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  max-height: 86vh;
  padding: 18px 16px 28px;
  overflow-y: auto;
  border-radius: 8px 8px 0 0;
  background: var(--shop-surface);
  box-shadow: 0 -20px 50px rgba(20, 33, 61, 0.2);
  transform: translateY(100%);
  transition: transform 240ms ease;
}

.shop-sidebar.is-open {
  transform: translateY(0);
}

.shop-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--shop-border);
}

.shop-sidebar__mobile-title {
  margin: 0;
  color: var(--shop-heading);
  font-size: 1rem;
  font-weight: 800;
}

.shop-sidebar__close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shop-border);
  border-radius: 999px;
  background: var(--shop-bg);
  color: var(--shop-heading);
  cursor: pointer;
}

.shop-sidebar__close:hover {
  background: var(--shop-surface-soft);
}

@media (min-width: 1024px) {
  .shop-sidebar-overlay {
    display: none;
  }

  .shop-sidebar {
    position: sticky;
    top: 92px;
    max-height: calc(100vh - 112px);
    padding: 18px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(20, 33, 61, 0.06);
    transform: none;
  }

  .shop-sidebar__header {
    display: none;
  }
}

.shop-sidebar__widget,
.widget_product_categories,
.widget_price_filter,
.woocommerce-widget-layered-nav {
  margin: 0 0 24px;
}

.shop-sidebar__widget:last-child,
.shop-sidebar .widget:last-child {
  margin-bottom: 0;
}

.shop-sidebar__title,
.shop-sidebar .widgettitle {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--shop-border);
  color: var(--shop-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-sidebar__categories,
.widget_product_categories ul,
.woocommerce-widget-layered-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-sidebar__categories li,
.widget_product_categories li,
.woocommerce-widget-layered-nav-list__item {
  margin: 0;
}

.shop-sidebar__categories a,
.widget_product_categories a,
.woocommerce-widget-layered-nav-list__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--shop-muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.shop-sidebar__categories a:hover,
.shop-sidebar__categories a[aria-current="page"],
.widget_product_categories a:hover,
.woocommerce-widget-layered-nav-list__item a:hover,
.woocommerce-widget-layered-nav-list__item--chosen a {
  background: var(--shop-bg);
  color: var(--shop-heading);
}

.shop-sidebar__categories .count,
.widget_product_categories .count,
.woocommerce-widget-layered-nav-list__item .count {
  color: var(--shop-soft-text);
  font-size: 0.78rem;
  font-weight: 800;
}

.widget_price_filter .price_slider_wrapper {
  padding-top: 8px;
}

.widget_price_filter .ui-slider-horizontal {
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: var(--shop-border);
}

.widget_price_filter .ui-slider-range,
.widget_price_filter .ui-slider-handle {
  background: var(--shop-accent);
}

.widget_price_filter .ui-slider-handle {
  top: -6px;
  width: 17px;
  height: 17px;
  border: 3px solid var(--shop-surface);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(20, 33, 61, 0.2);
}

.widget_price_filter .price_label {
  margin-top: 12px;
  color: var(--shop-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.widget_price_filter .button,
.shop-sidebar .button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--shop-heading);
  color: #FFFFFF;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease;
}

.widget_price_filter .button:hover,
.shop-sidebar .button:hover {
  background: var(--shop-accent);
}

.shop-main {
  min-width: 0;
  width: 100%;
}

.shop-main ul.products,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .shop-main ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1180px) {
  .shop-main ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

.woocommerce ul.products li.product,
ul.products li.product,
.product-card {
  float: none;
  width: auto;
  margin: 0;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  background: var(--shop-surface);
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 18px 38px rgba(20, 33, 61, 0.12);
  transform: translateY(-3px);
}

.product-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.product-card__shell,
.product-card__inner {
  position: relative;
  overflow: hidden;
}

.product-card__shell {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(234, 242, 255, 0.72), rgba(248, 242, 238, 0.9)),
    var(--shop-surface-muted);
}

.product-card__inner,
.product-card__img-wrap {
  width: 100%;
  height: 100%;
}

.product-card__img,
.woocommerce ul.products li.product a img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 420ms ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.035);
}

.product-card__badge,
.onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--shop-sale);
  box-shadow: 0 8px 18px rgba(20, 33, 61, 0.12);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
}

.product-card__cta {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(20, 33, 61, 0.9);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.product-card:hover .product-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.product-card__meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 13px;
}

@media (min-width: 768px) {
  .product-card__meta {
    padding: 15px;
  }
}

.product-card__info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.product-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--shop-heading);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-card__cat {
  color: var(--shop-soft-text);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: auto;
  color: var(--shop-heading);
  font-size: 1rem;
  font-weight: 900;
}

.product-card__price ins {
  color: var(--shop-sale);
  text-decoration: none;
}

.product-card__price del {
  color: var(--shop-soft-text);
  font-size: 0.86rem;
  font-weight: 700;
}

.product-card__price .woocommerce-Price-amount {
  color: inherit;
  font-weight: inherit;
}

.product-card__rating .star-rating,
.star-rating {
  color: var(--shop-accent);
}

.woocommerce ul.products li.product .button,
.add_to_cart_button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--shop-heading);
  color: #FFFFFF;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease;
}

.woocommerce ul.products li.product .button:hover,
.add_to_cart_button:hover {
  background: var(--shop-accent);
  color: #FFFFFF;
}

.woocommerce ul.products li.product .button:active,
.add_to_cart_button:active {
  transform: scale(0.98);
}

.shop-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--shop-border);
}

.woocommerce-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--shop-border);
  border-radius: 999px;
  background: var(--shop-surface);
  color: var(--shop-heading);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.woocommerce-pagination .page-numbers li a:hover {
  border-color: var(--shop-accent);
  background: var(--shop-bg);
}

.woocommerce-pagination .page-numbers li span.current {
  border-color: var(--shop-heading);
  background: var(--shop-heading);
  color: #FFFFFF;
}

.shop-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 70px 18px;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  background: var(--shop-bg);
  text-align: center;
}

.shop-empty p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 1rem;
  font-weight: 700;
}

.shop-empty a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--shop-accent);
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: none;
}

.shop-empty a:hover {
  background: var(--shop-heading);
}

@media (max-width: 480px) {
  .shop-toolbar {
    align-items: stretch;
  }

  .woocommerce-ordering,
  .woocommerce-ordering select {
    width: 100%;
  }

  .product-card__cta {
    display: none;
  }

  .product-card__meta {
    padding: 11px;
  }

  .product-card__title {
    font-size: 0.875rem;
  }
}

/* ============================================================
   Shop polish overrides
   Scoped selectors keep WooCommerce and Tailwind resets from
   flattening the archive layout.
   ============================================================ */

.shop-page {
  --shop-bg: #EEF5FF;
  --shop-surface-soft: #F8FBFF;
  --shop-surface-muted: #EEF5FF;
  --shop-ring: rgba(37, 99, 235, 0.18);
  --shop-shadow-sm: 0 10px 28px rgba(20, 33, 61, 0.06);
  --shop-shadow-md: 0 20px 48px rgba(20, 33, 61, 0.09);
  background:
    linear-gradient(180deg, #EAF2FF 0, #F8FBFF 360px, #FFFFFF 100%),
    #FFFFFF;
}

.shop-page *,
.shop-page *::before,
.shop-page *::after {
  box-sizing: border-box;
}

.shop-page .shop-container {
  width: min(100%, 1264px);
  padding: clamp(20px, 2.2vw, 30px) clamp(16px, 3vw, 28px) 72px;
}

.shop-page .shop-breadcrumb {
  margin-bottom: 20px;
  font-size: 0.82rem;
  line-height: 1.2;
}

.shop-page .shop-header {
  min-height: 0;
  margin-bottom: 16px;
  padding: clamp(26px, 4vw, 46px);
  border-color: rgba(37, 99, 235, 0.22);
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.24), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(37, 99, 235, 0.18), transparent 30%),
    linear-gradient(135deg, #FFFFFF 0%, #EAF2FF 54%, #EEF5FF 100%);
  box-shadow: var(--shop-shadow-sm);
}

.shop-page .shop-header::after {
  right: clamp(22px, 3vw, 38px);
  width: min(180px, 30%);
  height: 4px;
}

.shop-page .shop-header__content {
  max-width: 880px;
}

.shop-page .shop-header__eyebrow {
  margin-bottom: 10px;
  color: #1D4ED8;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.shop-page .shop-header__title {
  max-width: 780px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.shop-page .shop-header__description {
  max-width: 760px;
  margin-top: 16px;
  color: #4A5A75;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  font-weight: 550;
  line-height: 1.65;
}

.shop-page .shop-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.shop-page .shop-header__meta span,
.shop-page .shop-header__meta a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.shop-page .shop-header__meta span {
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: var(--shop-heading);
}

.shop-page .shop-header__meta a {
  background: var(--shop-heading);
  color: #FFFFFF;
  box-shadow: 0 10px 20px rgba(30, 46, 77, 0.14);
}

.shop-page .shop-header__meta a:hover {
  background: #1D4ED8;
}

.shop-page .shop-category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 12px;
  overflow: visible;
  border: 1px solid rgba(215, 227, 245, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shop-shadow-sm);
}

.shop-page .shop-category-nav a {
  display: inline-flex;
  min-height: 38px;
  max-width: 100%;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--shop-border);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--shop-heading);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.shop-page .shop-category-nav a:hover,
.shop-page .shop-category-nav a.is-current {
  border-color: #1D4ED8;
  background: #1E2E4D;
  color: #FFFFFF;
}

.shop-page .shop-category-nav .count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #EAF2FF;
  color: #1D4ED8;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.shop-page .shop-category-nav a:hover .count,
.shop-page .shop-category-nav a.is-current .count {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.shop-page .shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 24px;
  padding: 12px;
  border: 1px solid rgba(215, 227, 245, 0.95);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: var(--shop-shadow-md);
}

.shop-page .shop-toolbar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.shop-page .shop-toolbar__count {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #EEF5FF;
  color: var(--shop-heading);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
}

.shop-page .woocommerce-ordering {
  float: none;
  margin: 0;
}

.shop-page .woocommerce-ordering select {
  width: min(100%, 248px);
  min-height: 42px;
  border-radius: 999px;
  background-color: #FFFFFF;
}

.shop-page .woocommerce-ordering select:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 4px var(--shop-ring);
}

.shop-page .shop-layout {
  display: grid;
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}

@media (min-width: 1024px) {
  .shop-page .shop-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

.shop-page .shop-sidebar {
  background: #FFFFFF;
}

@media (min-width: 1024px) {
  .shop-page .shop-sidebar {
    top: 104px;
    padding: 18px;
    border-color: rgba(215, 227, 245, 0.95);
    box-shadow: var(--shop-shadow-sm);
  }
}

.shop-page .shop-sidebar__title,
.shop-page .shop-sidebar .widgettitle {
  margin-bottom: 14px;
  padding-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.shop-page .shop-sidebar__categories {
  display: grid;
  gap: 4px;
}

.shop-page .shop-sidebar__categories a,
.shop-page .widget_product_categories a,
.shop-page .woocommerce-widget-layered-nav-list__item a {
  min-height: 42px;
  padding: 9px 10px;
  color: #5B6B82;
  line-height: 1.35;
}

.shop-page .shop-sidebar__categories a:hover,
.shop-page .shop-sidebar__categories a[aria-current="page"],
.shop-page .widget_product_categories a:hover,
.shop-page .woocommerce-widget-layered-nav-list__item a:hover,
.shop-page .woocommerce-widget-layered-nav-list__item--chosen a {
  background: #EAF2FF;
  color: #1E2E4D;
}

.shop-page .shop-main ul.products,
.shop-page.woocommerce ul.products,
.shop-page .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
}

@media (min-width: 760px) {
  .shop-page .shop-main ul.products,
  .shop-page.woocommerce ul.products,
  .shop-page .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .shop-page .shop-main ul.products,
  .shop-page.woocommerce ul.products,
  .shop-page .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.shop-page .woocommerce ul.products li.product,
.shop-page ul.products li.product,
.shop-page .product-card {
  float: none;
  width: auto;
  margin: 0;
}

.shop-page .product-card {
  border-color: rgba(215, 227, 245, 0.95);
  background: #FFFFFF;
  box-shadow: var(--shop-shadow-sm);
}

.shop-page .product-card:hover {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 22px 46px rgba(20, 33, 61, 0.13);
}

.shop-page .product-card__shell {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(135deg, #EEF5FF 0%, #F8FBFF 48%, #EAF2FF 100%);
}

.shop-page .product-card__img,
.shop-page .woocommerce ul.products li.product a img {
  object-fit: cover;
}

.shop-page .product-card__meta {
  gap: 12px;
  padding: 16px;
  border-top: 1px solid rgba(215, 227, 245, 0.8);
}

.shop-page .product-card__title {
  font-size: 0.96rem;
  line-height: 1.35;
}

.shop-page .product-card__cat {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
}

.shop-page .product-card__price {
  font-size: 1.02rem;
}

@media (max-width: 640px) {
  .shop-page .shop-container {
    padding-bottom: 48px;
  }

  .shop-page .shop-header {
    padding: 24px 18px;
  }

  .shop-page .shop-header__meta,
  .shop-page .shop-toolbar,
  .shop-page .shop-toolbar__left {
    align-items: stretch;
  }

  .shop-page .shop-header__meta span,
  .shop-page .shop-header__meta a,
  .shop-page .shop-toolbar__count,
  .shop-page .shop-filter-btn,
  .shop-page .woocommerce-ordering,
  .shop-page .woocommerce-ordering select {
    width: 100%;
  }

  .shop-page .shop-category-nav {
    flex-wrap: nowrap;
    margin-inline: calc(clamp(16px, 3vw, 28px) * -1);
    padding-inline: clamp(16px, 3vw, 28px);
    overflow-x: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}


/* ============================================================
   Shop banner (TheDadPacks) - replaces the old boxed shop header
   ============================================================ */

.shop-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 20px;
  align-items: center;
  margin: 0 0 22px;
  padding: 26px 22px;
  overflow: hidden;
  border-radius: 24px;
  background: #2563EB url("../img/photos/banner-dad.jpg") center / cover no-repeat;
  color: #FFFFFF;
}

.shop-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #2563EB 0%, rgba(37, 99, 235, 0.94) 50%, rgba(37, 99, 235, 0.7) 100%);
}

.shop-banner__content {
  max-width: 640px;
}

.shop-banner__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.shop-banner__crumbs a {
  color: inherit;
  text-decoration: none;
}

.shop-banner__crumbs a:hover {
  text-decoration: underline;
}

.shop-banner__eyebrow {
  margin: 18px 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #DCEBFF;
}

.shop-banner__title {
  margin: 6px 0 0;
  font-family: var(--shop-heading-font);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.shop-banner__description {
  max-width: 520px;
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.shop-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.shop-banner__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.shop-banner__art {
  display: none;
  width: 100%;
  max-width: 260px;
  height: auto;
  justify-self: end;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.25);
}

@media (min-width: 820px) {
  .shop-banner {
    grid-template-columns: 1.4fr 0.6fr;
    padding: 34px 40px;
  }

  .shop-banner__art {
    display: block;
  }
}

/* Category chips: loose pill row instead of a boxed bar */
.shop-page .shop-category-nav {
  padding: 2px 0 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.shop-page .shop-category-nav a:hover,
.shop-page .shop-category-nav a.is-current {
  border-color: #2563EB;
  background: #2563EB;
  color: #FFFFFF;
}

.shop-page .shop-category-nav a.is-current .count,
.shop-page .shop-category-nav a:hover .count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Product cards: rounder, lift on hover */
.shop-page .product-card__shell {
  border-radius: 18px;
}

.shop-page .product-card {
  transition: transform 250ms var(--ease-fluid, ease), box-shadow 250ms var(--ease-fluid, ease);
}

.shop-page .product-card:hover {
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
  .shop-page .product-card {
    transition: none;
  }
}
