/* ============================================================
   Farnsworth Inn — WooCommerce styles
   Loaded after woocommerce-general.css so these rules win.
   ============================================================ */

/* ─── Variables already defined in style.css ─────────────── */

/* ─── Shop Wrapper Layout ─────────────────────────────────── */
.shop-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* Two-column layout: products on left, sidebar on right */
.shop-layout {
  display: grid !important;
  grid-template-columns: 1fr 280px !important;
  gap: 2.5rem;
  align-items: start;
}

/* Grid item: give explicit width so inner grids calculate correctly */
.shop-main {
  min-width: 0;
  width: 100%;
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    order: -1; /* sidebar moves above products on mobile */
  }
}

/* ─── Shop Sidebar ────────────────────────────────────────── */
.shop-sidebar {
  position: sticky;
  top: 2rem;
}

.shop-sidebar__widget {
  background: var(--gunmetal);
  border: 1px solid rgba(201, 162, 87, 0.2);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.shop-sidebar__widget-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201, 162, 87, 0.2);
}

/* WooCommerce product categories widget */
.shop-sidebar .product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-sidebar .product-categories li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.shop-sidebar .product-categories li:last-child {
  border-bottom: none;
}

.shop-sidebar .product-categories a {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: flex;
  justify-content: space-between;
}

.shop-sidebar .product-categories a:hover,
.shop-sidebar .product-categories .current-cat > a {
  color: var(--brass);
}

.shop-sidebar .product-categories .count {
  color: rgba(242, 232, 213, 0.4);
  font-size: 0.8rem;
}

/* WooCommerce price filter widget */
.shop-sidebar .price_slider_wrapper .ui-slider {
  background: rgba(201, 162, 87, 0.2);
  border: none;
  height: 4px;
  margin: 1rem 0;
}

.shop-sidebar .price_slider_wrapper .ui-slider-range {
  background: var(--brass);
}

.shop-sidebar .price_slider_wrapper .ui-slider-handle {
  background: var(--brass);
  border: none;
  width: 14px;
  height: 14px;
  top: -5px;
  cursor: pointer;
}

.shop-sidebar .price_slider_amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.shop-sidebar .price_slider_amount .price_label {
  font-size: 0.85rem;
  color: var(--parchment);
}

.shop-sidebar .price_slider_amount button {
  background: var(--brass);
  color: var(--charcoal);
  border: none;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shop-sidebar .price_slider_amount button:hover {
  background: #b8923d;
}

/* WooCommerce product search widget */
.shop-sidebar .woocommerce-product-search {
  display: flex;
  gap: 0.5rem;
}

.shop-sidebar .woocommerce-product-search input[type="search"] {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201, 162, 87, 0.3);
  color: var(--parchment);
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
}

.shop-sidebar .woocommerce-product-search input[type="search"]::placeholder {
  color: rgba(242, 232, 213, 0.4);
}

.shop-sidebar .woocommerce-product-search input[type="search"]:focus {
  border-color: var(--brass);
}

.shop-sidebar .woocommerce-product-search button[type="submit"] {
  background: var(--brass);
  color: var(--charcoal);
  border: none;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.shop-sidebar .woocommerce-product-search button[type="submit"]:hover {
  background: #b8923d;
}

/* ─── Category Tile Grid (main /shop/ page) ───────────────── */
.shop-category-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.shop-cat-tile {
  display: block;
  background: var(--gunmetal);
  color: var(--parchment);
  text-decoration: none;
  border: 1px solid rgba(201, 162, 87, 0.25);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.shop-cat-tile:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: var(--parchment);
}

.shop-cat-tile__img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.shop-cat-tile__icon {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: rgba(201, 162, 87, 0.08);
}

.shop-cat-tile__label {
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(201, 162, 87, 0.2);
}

/* ─── Shop Landing Page ───────────────────────────────────── */
.shop-landing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.shop-landing__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.shop-landing__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.6rem;
}

.shop-landing__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--parchment-text);
  margin-bottom: 0.75rem;
}

.shop-landing__sub {
  font-size: 1rem;
  color: #5a5045;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.shop-landing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (max-width: 700px) {
  .shop-landing__grid { grid-template-columns: 1fr; }
}

.shop-landing__tile {
  display: flex;
  flex-direction: column;
  background: var(--gunmetal);
  color: var(--parchment);
  text-decoration: none;
  border: 1px solid rgba(201, 162, 87, 0.22);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-landing__tile:hover {
  border-color: var(--brass);
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  color: var(--parchment);
}

.shop-landing__tile-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.shop-landing__tile-icon {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: rgba(201, 162, 87, 0.06);
  border-bottom: 1px solid rgba(201, 162, 87, 0.15);
  flex-shrink: 0;
}

.shop-landing__tile-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-landing__tile-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--parchment);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.shop-landing__tile-desc {
  font-size: 0.875rem;
  color: rgba(242, 232, 213, 0.65);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.shop-landing__tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  transition: gap 0.2s ease;
}

.shop-landing__tile:hover .shop-landing__tile-cta {
  gap: 0.7rem;
}

/* ─── Shop Breadcrumb (category pages) ───────────────────── */
.shop-breadcrumb {
  font-size: 0.82rem;
  color: #7a6e62;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.shop-breadcrumb a {
  color: var(--brass);
  font-weight: 700;
  text-decoration: none;
}

.shop-breadcrumb a:hover { text-decoration: underline; }

/* ─── Product Grid ────────────────────────────────────────── */
/* Reset WooCommerce's default float-based grid */
ul.products,
ul.products.columns-1,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4,
ul.products.columns-5 {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 2rem !important;
  float: none !important;
  clear: both;
}

ul.products::before,
ul.products::after { display: none !important; }

@media (max-width: 900px) {
  ul.products,
  ul.products.columns-3,
  ul.products.columns-4,
  ul.products.columns-5 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  ul.products,
  ul.products[class] {
    grid-template-columns: 1fr !important;
  }
}

/* Override WooCommerce's per-column width percentages */
ul.products li.product,
ul.products.columns-3 li.product,
ul.products.columns-4 li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
  background: var(--gunmetal);
  border: 1px solid rgba(201, 162, 87, 0.2);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  display: flex !important;
  flex-direction: column;
}

ul.products li.product:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

ul.products li.product a {
  text-decoration: none;
  color: inherit;
}

ul.products li.product img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--parchment);
  padding: 0.85rem 1rem 0.25rem;
  margin: 0;
  line-height: 1.35;
}

ul.products li.product .price {
  padding: 0 1rem 0.5rem;
  color: var(--brass);
  font-weight: 700;
  font-size: 1rem;
}

ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  display: block;
  margin: auto 1rem 1rem;
  padding: 0.65rem 1rem;
  background: var(--brass);
  color: var(--charcoal);
  border: 2px solid var(--brass);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
  background: transparent;
  color: var(--brass);
}

/* ─── Single Product Page ─────────────────────────────────── */
.farnsworth-single-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .farnsworth-single-product { grid-template-columns: 1fr; }
}

.farnsworth-single-product .summary .product_title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--parchment-text);
  margin-bottom: 0.5rem;
}

.farnsworth-single-product .summary .price {
  font-size: 1.4rem;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.farnsworth-single-product .summary .woocommerce-product-details__short-description {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--parchment-text);
}

/* Add to cart button */
.farnsworth-single-product .summary .single_add_to_cart_button,
.farnsworth-single-product .summary .button {
  background: var(--brass);
  color: var(--charcoal);
  border: 2px solid var(--brass);
  padding: 0.9rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: var(--radius);
}

.farnsworth-single-product .summary .single_add_to_cart_button:hover,
.farnsworth-single-product .summary .button:hover {
  background: transparent;
  color: var(--brass);
}

/* ─── Cart & Checkout ─────────────────────────────────────── */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 1000px;
  margin: 0 auto;
}

.woocommerce table.shop_table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

.woocommerce table.shop_table th {
  background: var(--brick);
  color: var(--parchment);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.woocommerce table.shop_table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: middle;
  color: var(--parchment-text);
}

.woocommerce table.shop_table .product-name a {
  color: var(--brick);
  font-weight: 700;
  text-decoration: none;
}

.woocommerce table.shop_table .product-name a:hover {
  color: var(--brass);
}

/* Checkout / account form inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid #d0c4b0;
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  background: #fdfaf4;
  color: var(--parchment-text);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(201, 162, 87, 0.15);
}

/* Place order / checkout buttons */
.woocommerce #payment #place_order,
.woocommerce button.button.alt {
  background: var(--brass);
  color: var(--charcoal);
  border: 2px solid var(--brass);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: var(--radius);
  width: 100%;
}

.woocommerce #payment #place_order:hover,
.woocommerce button.button.alt:hover {
  background: transparent;
  color: var(--brass);
}

/* ─── Notices ─────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--brass);
  background: #fdf8ee;
  color: var(--parchment-text);
}

.woocommerce-error {
  border-top-color: var(--brick);
  background: #fdf0f0;
  color: var(--brick);
}

/* ─── Result count / ordering bar ────────────────────────── */
.woocommerce-result-count {
  font-size: 0.875rem;
  color: #6b6b6b;
}

.woocommerce-ordering select {
  border: 1px solid #d0c4b0;
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: #fdfaf4;
}

/* ─── Cart Icon in Header ─────────────────────────────────── */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--parchment-text);
  text-decoration: none;
  margin-left: 1.25rem;
  transition: color 0.2s ease;
}

.header-cart:hover {
  color: var(--brass);
}

.header-cart .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--brass);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Hide count bubble when cart is empty */
.header-cart .cart-count:empty,
.header-cart .cart-count[aria-label="0 items in cart"] {
  display: none;
}

/* ─── Pagination ──────────────────────────────────────────── */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid rgba(74, 28, 28, 0.25);
  color: var(--brick);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border-radius: var(--radius);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--charcoal);
}

/* ─── Custom Product Grid & Cards ────────────────────────── */
.farnsworth-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 2.5rem;
  width: 100%;
}

@media (max-width: 1100px) {
  .farnsworth-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .farnsworth-product-grid {
    grid-template-columns: 1fr !important;
  }
}

.farnsworth-product-card {
  background: var(--gunmetal);
  border: 1px solid rgba(201, 162, 87, 0.18);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Brass accent line at top of each card */
.farnsworth-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), #b8923d);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.farnsworth-product-card:hover {
  border-color: var(--brass);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.farnsworth-product-card:hover::before {
  opacity: 1;
}

.farnsworth-product-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
}

.farnsworth-product-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}

.farnsworth-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.farnsworth-product-card:hover .farnsworth-product-card__img img {
  transform: scale(1.06);
}

/* Placeholder when no product image is set */
.farnsworth-product-card__no-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(37,37,40,1) 0%, rgba(50,42,32,1) 100%);
  border-bottom: 1px solid rgba(201, 162, 87, 0.15);
  position: relative;
  overflow: hidden;
}

/* Decorative corner ornament */
.farnsworth-product-card__no-img::before,
.farnsworth-product-card__no-img::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(201, 162, 87, 0.12);
}

.farnsworth-product-card__no-img::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.farnsworth-product-card__no-img::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.farnsworth-product-card__placeholder-icon {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
}

.farnsworth-product-card__body {
  padding: 1rem 1.1rem 0.6rem;
  border-top: 1px solid rgba(201, 162, 87, 0.1);
}

.farnsworth-product-card__name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--parchment);
  margin: 0 0 0.5rem;
  line-height: 1.4;
  /* Limit to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.farnsworth-product-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brass);
  margin: 0;
  letter-spacing: 0.02em;
}

.farnsworth-product-card__actions {
  padding: 0.6rem 1.1rem 1rem;
}

.farnsworth-product-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brass);
  color: var(--charcoal);
  border: 2px solid var(--brass);
  padding: 0.55rem 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.farnsworth-product-card__btn:hover {
  background: transparent;
  color: var(--brass);
}

.farnsworth-product-card__btn--outline {
  background: transparent;
  color: var(--brass);
}

.farnsworth-product-card__btn--outline:hover {
  background: var(--brass);
  color: var(--charcoal);
}

/* ─── Category heading on archive pages ──────────────────── */
.shop-category-header {
  margin-bottom: 1.75rem;
}

.shop-category-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--parchment-text);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.shop-category-header .shop-product-count {
  font-size: 0.8rem;
  color: #9a8e82;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Category description ────────────────────────────────── */
.shop-category-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #5a5045;
  margin-bottom: 2rem;
  max-width: 680px;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--brass);
  background: rgba(201, 162, 87, 0.04);
}

/* ─── No products message ─────────────────────────────────── */
.shop-no-products {
  padding: 3rem 0;
  color: #7a6e62;
  font-size: 1rem;
}

/* ─── Shop Pagination ─────────────────────────────────────── */
.shop-pagination {
  margin-top: 2.5rem;
}

.shop-pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.shop-pagination ul li a,
.shop-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--parchment);
  background: transparent;
  border: 1px solid rgba(201, 162, 87, 0.3);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-pagination ul li a:hover {
  background: rgba(201, 162, 87, 0.15);
  border-color: var(--brass);
  color: var(--brass);
}

.shop-pagination ul li span.current {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--charcoal);
}

.farnsworth-product-card {
  background: var(--gunmetal);
  border: 1px solid rgba(201, 162, 87, 0.2);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.farnsworth-product-card:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.farnsworth-product-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
}

.farnsworth-product-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

.farnsworth-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.farnsworth-product-card:hover .farnsworth-product-card__img img {
  transform: scale(1.04);
}

.farnsworth-product-card__no-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
}

.farnsworth-product-card__body {
  padding: 1rem 1.1rem 0.75rem;
}

.farnsworth-product-card__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--parchment);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.farnsworth-product-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brass);
  margin: 0;
}

.farnsworth-product-card__actions {
  padding: 0.75rem 1.1rem 1.1rem;
}

.farnsworth-product-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brass);
  color: var(--charcoal);
  border: 2px solid var(--brass);
  padding: 0.6rem 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.farnsworth-product-card__btn:hover {
  background: transparent;
  color: var(--brass);
}

.farnsworth-product-card__btn--outline {
  background: transparent;
  color: var(--brass);
}

.farnsworth-product-card__btn--outline:hover {
  background: var(--brass);
  color: var(--charcoal);
}

/* ─── Category description ────────────────────────────────── */
.shop-category-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #5a5045;
  margin-bottom: 2rem;
  max-width: 680px;
}

/* ─── No products message ─────────────────────────────────── */
.shop-no-products {
  padding: 3rem 0;
  color: #7a6e62;
  font-size: 1rem;
}

/* ─── Shop Pagination ─────────────────────────────────────── */
.shop-pagination {
  margin-top: 2.5rem;
}

.shop-pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.shop-pagination ul li a,
.shop-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--parchment);
  background: transparent;
  border: 1px solid rgba(201, 162, 87, 0.3);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-pagination ul li a:hover {
  background: rgba(201, 162, 87, 0.15);
  border-color: var(--brass);
  color: var(--brass);
}

.shop-pagination ul li span.current {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--charcoal);
}
