:root {
  --fnpc-navy: #111b26;
  --fnpc-navy-2: #0c151f;
  --fnpc-gold: #c9a461;
  --fnpc-light-gold: #dfc487;
  --fnpc-cream: #f5f1e8;
  --fnpc-white: #ffffff;
  --fnpc-muted: #b7b8b5;
  --fnpc-line: rgba(201, 164, 97, .36);
  --fnpc-line-soft: rgba(255, 255, 255, .08);
}

.fnpc,
.fnpc * { box-sizing: border-box; }

.fnpc {
  width: 100%;
  color: var(--fnpc-cream);
  background: transparent;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

.fnpc button,
.fnpc input { font: inherit; }

.fnpc a { color: inherit; text-decoration: none; }

.fnpc-shell {
  width: min(1380px, calc(100% - 60px));
  margin: 0 auto;
  padding: 22px 0 70px;
}

/* Category navigation: compact horizontal rail + searchable all-categories menu. */
.fnpc .fnpc-category-nav {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--fnpc-line-soft);
}

.fnpc .fnpc-category-strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.fnpc .fnpc-category-strip::-webkit-scrollbar { display: none; }

.fnpc .fnpc-cat-btn {
  flex: 0 0 auto !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  background: transparent !important;
  background-image: none !important;
  color: var(--fnpc-cream) !important;
  padding: 13px 14px 12px !important;
  margin: 0 !important;
  cursor: pointer;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap;
  letter-spacing: .02em !important;
  text-transform: none !important;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease !important;
}

.fnpc .fnpc-cat-btn:hover,
.fnpc .fnpc-cat-btn:focus-visible,
.fnpc .fnpc-cat-btn.is-active,
.fnpc .fnpc-cat-btn:active {
  background: rgba(201,164,97,.07) !important;
  background-image: none !important;
  color: var(--fnpc-light-gold) !important;
  border-bottom-color: var(--fnpc-light-gold) !important;
  box-shadow: none !important;
}

.fnpc .fnpc-cat-arrow,
.fnpc .fnpc-category-menu-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid var(--fnpc-line) !important;
  background: rgba(255,255,255,.018) !important;
  background-image: none !important;
  color: var(--fnpc-light-gold) !important;
  box-shadow: none !important;
  cursor: pointer;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
}

.fnpc .fnpc-cat-arrow {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 24px !important;
  line-height: 1 !important;
}

/* The left category arrow is hidden until the visitor has moved the rail right. */
.fnpc .fnpc-cat-prev.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.fnpc .fnpc-cat-arrow:hover,
.fnpc .fnpc-cat-arrow:focus-visible,
.fnpc .fnpc-category-menu-toggle:hover,
.fnpc .fnpc-category-menu-toggle:focus-visible,
.fnpc .fnpc-category-menu-toggle[aria-expanded="true"] {
  background: rgba(201,164,97,.10) !important;
  border-color: var(--fnpc-gold) !important;
  color: var(--fnpc-cream) !important;
}

.fnpc .fnpc-category-menu-wrap {
  position: relative;
  padding-bottom: 1px;
}

.fnpc .fnpc-category-menu-toggle {
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
}

.fnpc .fnpc-category-menu-chevron {
  font-size: 11px;
  transition: transform .18s ease;
}

.fnpc .fnpc-category-menu-toggle[aria-expanded="true"] .fnpc-category-menu-chevron {
  transform: rotate(180deg);
}

.fnpc .fnpc-category-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 10px);
  right: 0;
  width: min(760px, 78vw);
  max-height: min(560px, 70vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  border: 1px solid var(--fnpc-line);
  border-radius: 8px;
  background: #0d1721;
  box-shadow: 0 20px 50px rgba(0,0,0,.34);
}

.fnpc .fnpc-category-menu[hidden] { display: none !important; }

.fnpc .fnpc-category-search-wrap {
  display: block;
  margin-bottom: 13px;
}

.fnpc .fnpc-category-search {
  width: 100% !important;
  height: 42px !important;
  padding: 0 13px !important;
  margin: 0 !important;
  border: 1px solid var(--fnpc-line) !important;
  border-radius: 4px !important;
  outline: none !important;
  box-shadow: none !important;
  background: var(--fnpc-navy) !important;
  color: var(--fnpc-cream) !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 13px !important;
}

.fnpc .fnpc-category-search::placeholder { color: rgba(245,241,232,.55); }
.fnpc .fnpc-category-search:focus { border-color: var(--fnpc-gold) !important; }

.fnpc .fnpc-category-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.fnpc .fnpc-cat-menu-item {
  width: 100% !important;
  min-height: 40px !important;
  padding: 10px 11px !important;
  border: 1px solid rgba(201,164,97,.18) !important;
  border-radius: 4px !important;
  background: rgba(255,255,255,.018) !important;
  text-align: left !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  font-size: 11px !important;
}

.fnpc .fnpc-cat-menu-item:hover,
.fnpc .fnpc-cat-menu-item:focus-visible,
.fnpc .fnpc-cat-menu-item.is-active {
  border-color: var(--fnpc-gold) !important;
  border-bottom-color: var(--fnpc-gold) !important;
  background: rgba(201,164,97,.09) !important;
}

.fnpc .fnpc-cat-menu-item[hidden] { display: none !important; }

.fnpc .fnpc-quick-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 26px;
}

.fnpc .fnpc-quick-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-width: 88px;
  border: 1px solid var(--fnpc-line) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  padding: 10px 18px !important;
  margin: 0 !important;
  background: rgba(255,255,255,.025) !important;
  background-image: none !important;
  color: var(--fnpc-cream) !important;
  cursor: pointer;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease !important;
}

.fnpc .fnpc-quick-btn:hover,
.fnpc .fnpc-quick-btn:focus-visible,
.fnpc .fnpc-quick-btn.is-active,
.fnpc .fnpc-quick-btn:active {
  color: var(--fnpc-navy) !important;
  background: var(--fnpc-light-gold) !important;
  background-image: none !important;
  border-color: var(--fnpc-light-gold) !important;
  box-shadow: none !important;
}

.fnpc-table-head,
.fnpc-product-row {
  display: grid;
  align-items: center;
  grid-template-columns: 88px minmax(300px, 1.35fr) minmax(300px, 2fr) minmax(110px, .7fr) minmax(160px, .92fr);
  column-gap: 22px;
}

.fnpc-table-head {
  min-height: 58px;
  padding: 0 18px;
  background: rgba(7, 15, 23, .45);
  border-top: 1px solid var(--fnpc-line-soft);
  border-bottom: 1px solid var(--fnpc-line);
  color: var(--fnpc-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* The Title label and search box intentionally share the title header cell.
   This places Search visually between Title and Description without creating
   a fake product-data column underneath it. */
.fnpc-head-thumb,
.fnpc-head-title-group,
.fnpc-head-description,
.fnpc-head-price,
.fnpc-head-action {
  min-width: 0;
}

.fnpc-head-title-group {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 34px;
}

.fnpc-head-title {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Keep the search field visually centred between Title and Description,
   independent of the Title label width. */
.fnpc-head-search {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 165px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fnpc-search-wrap {
  display: block;
  width: min(165px, 100%);
  min-width: 0;
  max-width: 165px;
}

.fnpc .fnpc-search {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 165px !important;
  height: 34px !important;
  padding: 0 11px !important;
  margin: 0 !important;
  border: 1px solid rgba(201,164,97,.58) !important;
  border-radius: 3px !important;
  outline: none !important;
  box-shadow: none !important;
  background: rgba(255,255,255,.035) !important;
  background-image: none !important;
  color: var(--fnpc-white) !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 34px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}

.fnpc .fnpc-search::placeholder { color: rgba(245,241,232,.55) !important; }
.fnpc .fnpc-search:focus {
  border-color: var(--fnpc-light-gold) !important;
  background: rgba(255,255,255,.055) !important;
  box-shadow: 0 0 0 2px rgba(201,164,97,.10) !important;
}

.fnpc-head-description {
  padding-left: 4px;
}

.fnpc-mobile-tools { display: none; }

.fnpc-status-row {
  display: flex;
  justify-content: flex-end;
  min-height: 34px;
  align-items: center;
  padding: 4px 4px 5px;
  color: var(--fnpc-muted);
  font-size: 11px;
}

.fnpc-products {
  width: 100%;
  background: rgba(8,20,30,.16);
  transition: opacity .16s ease;
}

.fnpc-product-row {
  position: relative;
  min-height: 120px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--fnpc-line-soft);
  background: rgba(7, 15, 23, .22);
  transition: background .18s ease, border-color .18s ease;
}

.fnpc-product-row:nth-child(even) { background: rgba(7, 15, 23, .32); }
.fnpc-product-row:hover {
  background: rgba(201,164,97,.055);
  border-bottom-color: var(--fnpc-line);
}

.fnpc-product-thumb {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(201,164,97,.48);
  background: rgba(255,255,255,.035);
}

.fnpc-product-thumb a { display: block; width: 100%; height: 100%; }
.fnpc-product-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.fnpc-product-title {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
  color: var(--fnpc-white);
}

.fnpc-product-title a {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
  transition: color .18s ease;
}
.fnpc-product-title a:hover { color: var(--fnpc-light-gold); }

.fnpc-product-category {
  color: var(--fnpc-light-gold);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.fnpc-product-category a { color: inherit; }

.fnpc-product-sku {
  margin-top: 5px;
  color: rgba(245,241,232,.68);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.fnpc-product-description {
  color: var(--fnpc-muted);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.fnpc-product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.fnpc-price-main,
.fnpc-price-main .woocommerce-Price-amount,
.fnpc-price-main bdi {
  color: var(--fnpc-light-gold) !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}

.fnpc-price-main del { opacity: .55; margin-right: 4px; }
.fnpc-price-main ins { text-decoration: none; }

.fnpc-price-unit {
  color: var(--fnpc-muted);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.fnpc-cart-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.fnpc-qty {
  display: grid;
  grid-template-columns: 28px 40px 28px;
  align-items: stretch;
  height: 36px;
  border: 1px solid rgba(201,164,97,.5);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.025);
}

.fnpc-qty-btn,
.fnpc-qty-input,
.fnpc-cart-btn,
.fnpc-view-btn,
.fnpc-page-btn,
.fnpc-page-arrow {
  appearance: none;
  -webkit-appearance: none;
}

.fnpc .fnpc-qty-btn {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--fnpc-cream) !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px !important;
}

.fnpc .fnpc-qty-btn:hover { color: var(--fnpc-light-gold) !important; }

.fnpc-qty-input {
  width: 40px;
  border: 0 !important;
  border-left: 1px solid rgba(201,164,97,.2) !important;
  border-right: 1px solid rgba(201,164,97,.2) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--fnpc-white) !important;
  text-align: center;
  outline: none;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
.fnpc-qty-input::-webkit-inner-spin-button,
.fnpc-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.fnpc .fnpc-cart-btn,
.fnpc .fnpc-view-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  height: 36px;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 15px !important;
  margin: 0 !important;
  cursor: pointer;
  background: var(--fnpc-light-gold) !important;
  background-image: none !important;
  color: var(--fnpc-navy) !important;
  box-shadow: none !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  transition: transform .18s ease, background-color .18s ease !important;
}

.fnpc .fnpc-cart-btn:hover,
.fnpc .fnpc-view-btn:hover,
.fnpc .fnpc-cart-btn:focus-visible,
.fnpc .fnpc-view-btn:focus-visible {
  background: var(--fnpc-gold) !important;
  color: var(--fnpc-navy) !important;
  transform: translateY(-1px);
}

/* Desktop order alignment: keep the Add button's outer edge aligned with
   the catalogue's right content edge. This mirrors the 18px spacing used
   before the product thumbnail on the left side of each row. */
@media (min-width: 921px) {
  /* Align the ORDER heading with the left edge of the quantity pill below.
     The order controls occupy 178px (qty + spacing + Add), so the heading
     starts at that same point rather than at the far-left of the action cell. */
  .fnpc-head-action {
    padding-left: max(0px, calc(100% - 178px));
    white-space: nowrap;
    text-align: left;
  }

  .fnpc-product-action {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
  }

  .fnpc-product-action .fnpc-cart-form {
    width: 100%;
    justify-content: flex-end;
  }

  .fnpc .fnpc-cart-btn {
    margin-left: 8px !important;
    margin-right: 0 !important;
  }

  .fnpc .fnpc-view-btn {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}

.fnpc-cart-icon { display:inline-flex; width:14px; height:14px; margin-right:5px; }
.fnpc-cart-icon svg { width:100%; height:100%; fill:currentColor; display:block; }


.fnpc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 10px 4px;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.fnpc-pagination[hidden] { display: none !important; }

.fnpc-page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.fnpc .fnpc-page-btn,
.fnpc .fnpc-page-arrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(201,164,97,.42) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.02) !important;
  background-image: none !important;
  color: var(--fnpc-cream) !important;
  box-shadow: none !important;
  cursor: pointer;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease !important;
}

.fnpc .fnpc-page-arrow {
  font-size: 21px !important;
}

.fnpc .fnpc-page-btn:hover,
.fnpc .fnpc-page-btn:focus-visible,
.fnpc .fnpc-page-arrow:hover,
.fnpc .fnpc-page-arrow:focus-visible {
  border-color: var(--fnpc-gold) !important;
  background: rgba(201,164,97,.10) !important;
  color: var(--fnpc-light-gold) !important;
  transform: translateY(-1px);
}

.fnpc .fnpc-page-btn.is-active {
  border-color: var(--fnpc-light-gold) !important;
  background: var(--fnpc-light-gold) !important;
  color: var(--fnpc-navy) !important;
}

.fnpc .fnpc-page-btn:disabled,
.fnpc .fnpc-page-arrow:disabled {
  opacity: .35;
  cursor: default;
  transform: none !important;
}

.fnpc-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 38px;
  color: var(--fnpc-muted);
  font-size: 14px;
}

.fnpc-empty {
  padding: 60px 20px;
  text-align: center;
}
.fnpc-empty h3 {
  margin: 0 0 8px;
  color: var(--fnpc-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}
.fnpc-empty p { margin: 0; color: var(--fnpc-muted); }

.fnpc-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 25px;
  color: var(--fnpc-muted);
  font-size: 11px;
}
.fnpc-loader[hidden] { display: none !important; }

.fnpc-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(201,164,97,.25);
  border-top-color: var(--fnpc-light-gold);
  border-radius: 50%;
  animation: fnpc-spin .65s linear infinite;
}
@keyframes fnpc-spin { to { transform: rotate(360deg); } }

.fnpc-admin-notice {
  padding: 15px 18px;
  border-left: 4px solid #c9a461;
  background: #fff8e8;
  color: #222;
}

@media (max-width: 1100px) {
  .fnpc-shell { width: calc(100% - 48px); }
  .fnpc-table-head,
  .fnpc-product-row {
    grid-template-columns: 78px minmax(260px, 1.2fr) minmax(220px, 1.5fr) minmax(95px, .65fr) minmax(145px, .85fr);
    column-gap: 14px;
  }
  .fnpc-head-title-group { gap: 12px; }
  .fnpc-search-wrap { width: min(140px, 100%); max-width: 140px; }
  .fnpc .fnpc-search { max-width: 140px !important; }
  .fnpc-product-title { font-size: 19px; }
  .fnpc-product-description { font-size: 14px; }
}

@media (max-width: 920px) {
  .fnpc-table-head { display: none; }
  .fnpc-mobile-tools { display: block; margin: 0 0 16px; }
  .fnpc-mobile-search-wrap { display: block; width: 100%; }
  .fnpc .fnpc-search-mobile { height: 46px !important; line-height: 46px !important; border-radius: 5px !important; }
  .fnpc-status-row { justify-content: flex-start; padding: 0 0 10px; }

  .fnpc-product-row {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb title price"
      "thumb desc desc"
      "thumb action action";
    gap: 8px 14px;
    min-height: 0;
    padding: 18px 8px;
  }
  .fnpc-product-thumb { grid-area: thumb; width: 64px; height: 64px; }
  .fnpc-product-title-cell { grid-area: title; grid-column: auto; }
  .fnpc-product-description { grid-area: desc; grid-column: auto; padding-right: 2px; }
  .fnpc-product-price { grid-area: price; grid-column: auto; align-items: flex-end; text-align: right; }
  .fnpc-product-action { grid-area: action; grid-column: auto; padding-top: 4px; }
  .fnpc-product-title { font-size: 20px; }
  .fnpc-price-main,
  .fnpc-price-main .woocommerce-Price-amount,
  .fnpc-price-main bdi { font-size: 20px; }
}

@media (max-width: 700px) {
  .fnpc-shell { width: calc(100% - 28px); padding-top: 14px; }
  .fnpc .fnpc-category-nav {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  .fnpc .fnpc-category-strip,
  .fnpc .fnpc-cat-arrow { display: none !important; }
  .fnpc .fnpc-category-menu-wrap { width: 100%; }
  .fnpc .fnpc-category-menu-toggle { width: 100% !important; min-height: 44px !important; justify-content: space-between; }
  .fnpc .fnpc-category-menu { position: static; width: 100%; max-height: 420px; margin-top: 10px; }
  .fnpc .fnpc-category-menu-grid { grid-template-columns: 1fr; }
  .fnpc .fnpc-cat-menu-item { font-size: 12px !important; }
  .fnpc-quick-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .fnpc-quick-btn { min-width: 82px; }
  .fnpc-product-row {
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas:
      "thumb title"
      "thumb price"
      "desc desc"
      "action action";
    gap: 8px 12px;
  }
  .fnpc-product-thumb { width: 54px; height: 54px; }
  .fnpc-product-price { align-items: flex-start; text-align: left; }
  .fnpc-product-description { margin-top: 4px; }
  .fnpc-product-action { padding-top: 7px; }
  .fnpc-cart-form { justify-content: space-between; }
  .fnpc-qty { grid-template-columns: 30px 42px 30px; }
  .fnpc-cart-btn { min-width: 88px; }
}


/* Elementor can place the shortcode inside a narrow desktop container even when
   the browser viewport is wide. Container queries make the catalogue respond
   to its actual available width, preventing header controls from colliding. */
.fnpc-shell { container-type: inline-size; }

@container (max-width: 900px) {
  .fnpc-table-head { display: none; }
  .fnpc-mobile-tools { display: block; margin: 0 0 16px; }
  .fnpc-mobile-search-wrap { display: block; width: 100%; }
  .fnpc .fnpc-search-mobile { width: 100% !important; max-width: 100% !important; height: 46px !important; line-height: 46px !important; border-radius: 5px !important; }
}

@media (max-width: 700px) {
  .fnpc-pagination { gap: 5px; padding-top: 24px; }
  .fnpc-page-numbers { gap: 4px; }
  .fnpc .fnpc-page-btn,
  .fnpc .fnpc-page-arrow {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    font-size: 11px !important;
  }
  .fnpc .fnpc-page-arrow { font-size: 19px !important; }
  .fnpc-page-ellipsis { height: 34px; min-width: 14px; }
}

/* =========================================================
   MOBILE PRODUCT CARD LAYOUT - v1.2.4
   Image -> product info -> price -> description -> order controls
   ========================================================= */
@media (max-width: 700px) {
  .fnpc-product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "thumb"
      "title"
      "price"
      "desc"
      "action";
    gap: 0;
    align-items: start;
    min-height: 0;
    padding: 20px 16px 24px;
  }

  /* Product image first and full-width on mobile. */
  .fnpc-product-thumb {
    grid-area: thumb;
    width: 100%;
    height: clamp(190px, 48vw, 300px);
    margin: 0 0 20px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.025);
  }

  .fnpc-product-thumb a {
    display: block;
    width: 100%;
    height: 100%;
  }

  .fnpc-product-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
  }

  /* Product information follows the image. */
  .fnpc-product-title-cell {
    grid-area: title;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .fnpc-product-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .fnpc-product-category {
    font-size: 13px;
    line-height: 1.5;
  }

  .fnpc-product-sku {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }

  /* Price remains part of the product-info block visually. */
  .fnpc-product-price {
    grid-area: price;
    width: 100%;
    align-items: flex-start;
    text-align: left;
    margin: 12px 0 18px;
  }

  .fnpc-price-main,
  .fnpc-price-main .woocommerce-Price-amount,
  .fnpc-price-main bdi {
    font-size: 27px;
    line-height: 1.05;
  }

  .fnpc-price-unit {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Give the description the full card width so it reads normally. */
  .fnpc-product-description {
    grid-area: desc;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0 0 22px;
    padding: 0;
    color: var(--fnpc-muted);
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  /* Quantity and Add button stay next to each other. */
  .fnpc-product-action {
    grid-area: action;
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .fnpc-product-action .fnpc-cart-form,
  .fnpc-cart-form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0;
  }

  .fnpc-qty {
    flex: 0 0 auto;
    grid-template-columns: 30px 42px 30px;
    height: 38px;
  }

  .fnpc .fnpc-cart-btn,
  .fnpc .fnpc-view-btn {
    flex: 0 0 auto;
    min-width: 94px;
    height: 38px;
    padding: 0 17px !important;
  }
}

/* =========================================================
   MOBILE SEARCH WIDTH MATCHES ALL CATEGORIES - v1.2.5
   ========================================================= */
@media (max-width: 700px) {
  .fnpc .fnpc-category-nav,
  .fnpc .fnpc-category-menu-wrap,
  .fnpc .fnpc-category-menu-toggle,
  .fnpc .fnpc-mobile-tools,
  .fnpc .fnpc-mobile-search-wrap,
  .fnpc .fnpc-search-mobile {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .fnpc .fnpc-mobile-tools {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .fnpc .fnpc-search-mobile {
    display: block !important;
    box-sizing: border-box !important;
  }
}



/* =========================================================
   SINGLE PRODUCT PAGE - FORK & NICE WEBSITE STYLING - v1.2.7
   ========================================================= */
body.single-product,
body.single-product #page,
body.single-product .site,
body.single-product .site-content,
body.single-product main,
body.single-product .content-area {
  background: #111b26 !important;
  color: #f5f1e8 !important;
}

body.single-product .site-main,
body.single-product .woocommerce-notices-wrapper,
body.single-product div.product,
body.single-product .related.products,
body.single-product .upsells.products {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
}

/* Keep the WooCommerce content aligned to the same generous site width. */
body.single-product .site-main > .woocommerce-breadcrumb,
body.single-product .site-main > div.product,
body.single-product .site-main > .related,
body.single-product .site-main > .upsells,
body.single-product .woocommerce-notices-wrapper {
  width: min(1380px, calc(100% - 60px)) !important;
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-product .woocommerce-breadcrumb {
  padding-top: 28px !important;
  margin-bottom: 30px !important;
  color: #b7b8b5 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: .02em !important;
}

body.single-product .woocommerce-breadcrumb a {
  color: #dfc487 !important;
  text-decoration: none !important;
}

body.single-product .woocommerce-breadcrumb a:hover {
  color: #fcda9a !important;
}

/* Main product area */
body.single-product div.product {
  display: flow-root;
  padding: 34px !important;
  margin-bottom: 74px !important;
  border: 1px solid rgba(201,164,97,.58) !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,.015) !important;
  box-shadow: none !important;
}

body.single-product div.product div.images,
body.single-product div.product div.summary {
  margin-bottom: 0 !important;
}

body.single-product div.product div.images {
  padding: 0 !important;
}

body.single-product div.product div.images img {
  width: 100% !important;
  height: auto !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.025) !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a {
  border-radius: 22px !important;
  overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: 100% !important;
  margin: 0 !important;
}

body.single-product div.product div.summary {
  padding: 12px 8px 8px 40px !important;
}

body.single-product div.product .product_title {
  margin: 0 0 14px !important;
  color: #c9a461 !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: clamp(42px, 4vw, 64px) !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.single-product div.product .summary .price,
body.single-product div.product .summary .price .woocommerce-Price-amount,
body.single-product div.product .summary .price bdi {
  color: #dfc487 !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: 34px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

body.single-product div.product .summary .price {
  margin: 0 0 22px !important;
}

body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-product-details__short-description p,
body.single-product div.product .summary p,
body.single-product div.product .summary li {
  color: #d9d9d6 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
}

body.single-product .woocommerce-product-details__short-description {
  margin-bottom: 26px !important;
}

/* Quantity and add-to-cart controls */
body.single-product div.product form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 28px 0 24px !important;
}

body.single-product div.product form.cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product div.product form.cart .qty {
  width: 82px !important;
  min-width: 82px !important;
  height: 52px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(201,164,97,.72) !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

body.single-product div.product form.cart .qty:focus {
  border-color: #dfc487 !important;
}

body.single-product div.product form.cart .single_add_to_cart_button,
body.single-product div.product form.cart button.button,
body.single-product div.product .button {
  min-height: 52px !important;
  padding: 0 30px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fcda9a !important;
  background-image: none !important;
  color: #161d27 !important;
  box-shadow: none !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 52px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
  transition: transform .2s ease, background-color .2s ease !important;
}

body.single-product div.product form.cart .single_add_to_cart_button:hover,
body.single-product div.product form.cart button.button:hover,
body.single-product div.product .button:hover {
  background: #dfc487 !important;
  color: #161d27 !important;
  transform: translateY(-2px);
}

/* Variations */
body.single-product div.product form.variations_form table.variations,
body.single-product div.product form.variations_form table.variations tbody,
body.single-product div.product form.variations_form table.variations tr,
body.single-product div.product form.variations_form table.variations td,
body.single-product div.product form.variations_form table.variations th {
  border: 0 !important;
  background: transparent !important;
}

body.single-product div.product form.variations_form table.variations {
  margin: 0 0 22px !important;
}

body.single-product div.product form.variations_form table.variations th,
body.single-product div.product form.variations_form table.variations label {
  color: #dfc487 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

body.single-product div.product form.variations_form select {
  min-height: 48px !important;
  padding: 0 44px 0 14px !important;
  border: 1px solid rgba(201,164,97,.72) !important;
  border-radius: 8px !important;
  background-color: #172330 !important;
  color: #f5f1e8 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

body.single-product div.product form.variations_form .reset_variations {
  color: #dfc487 !important;
  font-size: 12px !important;
}

/* SKU / category metadata */
body.single-product div.product .product_meta {
  padding-top: 20px !important;
  margin-top: 22px !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  color: #b7b8b5 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.9 !important;
}

body.single-product div.product .product_meta > span {
  display: block !important;
}

body.single-product div.product .product_meta a,
body.single-product div.product .sku {
  color: #dfc487 !important;
}

/* Tabs / full description */
body.single-product .woocommerce-tabs {
  clear: both !important;
  width: 100% !important;
  padding-top: 56px !important;
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 0 26px !important;
  border: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
  content: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(201,164,97,.48) !important;
  border-radius: 999px !important;
  background: transparent !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 10px 18px !important;
  color: #f5f1e8 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active,
body.single-product .woocommerce-tabs ul.tabs li:hover {
  border-color: #dfc487 !important;
  background: rgba(201,164,97,.09) !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li:hover a {
  color: #dfc487 !important;
}

body.single-product .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: 34px !important;
  border: 1px solid rgba(201,164,97,.42) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.012) !important;
  color: #d9d9d6 !important;
}

body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel h3,
body.single-product .woocommerce-tabs .panel h4 {
  margin: 0 0 16px !important;
  color: #c9a461 !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

body.single-product .woocommerce-tabs .panel h2 { font-size: 34px !important; }
body.single-product .woocommerce-tabs .panel h3 { font-size: 28px !important; }
body.single-product .woocommerce-tabs .panel h4 { font-size: 23px !important; }

body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel li,
body.single-product .woocommerce-tabs .panel td,
body.single-product .woocommerce-tabs .panel th {
  color: #d9d9d6 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

/* Related / upsell products */
body.single-product .related.products,
body.single-product .upsells.products {
  padding: 0 0 80px !important;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
  margin: 0 0 34px !important;
  color: #c9a461 !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: clamp(38px, 3vw, 52px) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(201,164,97,.42) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.012) !important;
  text-align: left !important;
}

body.single-product .related.products ul.products li.product img,
body.single-product .upsells.products ul.products li.product img {
  margin: 0 0 16px !important;
  border-radius: 16px !important;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #f5f1e8 !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.single-product .related.products ul.products li.product .price,
body.single-product .upsells.products ul.products li.product .price,
body.single-product .related.products ul.products li.product .price .woocommerce-Price-amount,
body.single-product .upsells.products ul.products li.product .price .woocommerce-Price-amount {
  color: #dfc487 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
}

body.single-product .related.products ul.products li.product .button,
body.single-product .upsells.products ul.products li.product .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  margin-top: 12px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fcda9a !important;
  color: #161d27 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

/* WooCommerce notices */
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
  border: 1px solid rgba(201,164,97,.48) !important;
  border-top: 1px solid rgba(201,164,97,.48) !important;
  border-radius: 12px !important;
  background: #172330 !important;
  color: #f5f1e8 !important;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
}

body.single-product .woocommerce-message::before,
body.single-product .woocommerce-info::before,
body.single-product .woocommerce-error::before {
  color: #dfc487 !important;
}

@media (max-width: 1024px) {
  body.single-product .site-main > .woocommerce-breadcrumb,
  body.single-product .site-main > div.product,
  body.single-product .site-main > .related,
  body.single-product .site-main > .upsells,
  body.single-product .woocommerce-notices-wrapper {
    width: calc(100% - 48px) !important;
  }

  body.single-product div.product {
    padding: 28px !important;
  }

  body.single-product div.product div.summary {
    padding-left: 28px !important;
  }

  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.single-product .site-main > .woocommerce-breadcrumb,
  body.single-product .site-main > div.product,
  body.single-product .site-main > .related,
  body.single-product .site-main > .upsells,
  body.single-product .woocommerce-notices-wrapper {
    width: calc(100% - 28px) !important;
  }

  body.single-product .woocommerce-breadcrumb {
    padding-top: 18px !important;
    margin-bottom: 20px !important;
  }

  body.single-product div.product {
    padding: 18px !important;
    margin-bottom: 54px !important;
    border-radius: 24px !important;
  }

  body.single-product div.product div.images,
  body.single-product div.product div.summary {
    float: none !important;
    width: 100% !important;
  }

  body.single-product div.product div.summary {
    padding: 26px 2px 4px !important;
  }

  body.single-product div.product .product_title {
    font-size: clamp(36px, 11vw, 48px) !important;
    line-height: 1.02 !important;
  }

  body.single-product div.product .summary .price,
  body.single-product div.product .summary .price .woocommerce-Price-amount,
  body.single-product div.product .summary .price bdi {
    font-size: 30px !important;
  }

  body.single-product .woocommerce-product-details__short-description,
  body.single-product .woocommerce-product-details__short-description p,
  body.single-product div.product .summary p,
  body.single-product div.product .summary li {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  body.single-product div.product form.cart {
    align-items: stretch !important;
    gap: 10px !important;
  }

  body.single-product div.product form.cart .qty {
    height: 48px !important;
  }

  body.single-product div.product form.cart .single_add_to_cart_button,
  body.single-product div.product form.cart button.button,
  body.single-product div.product .button {
    min-height: 48px !important;
    padding: 0 22px !important;
    line-height: 48px !important;
    font-size: 11px !important;
  }

  body.single-product .woocommerce-tabs {
    padding-top: 38px !important;
  }

  body.single-product .woocommerce-tabs .panel {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }

  body.single-product .woocommerce-tabs .panel h2 { font-size: 30px !important; }
  body.single-product .woocommerce-tabs .panel p,
  body.single-product .woocommerce-tabs .panel li,
  body.single-product .woocommerce-tabs .panel td,
  body.single-product .woocommerce-tabs .panel th {
    font-size: 14px !important;
  }

  body.single-product .related.products,
  body.single-product .upsells.products {
    padding-bottom: 58px !important;
  }

  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products {
    grid-template-columns: 1fr !important;
  }

  body.single-product .related.products > h2,
  body.single-product .upsells.products > h2 {
    font-size: 36px !important;
  }
}

/* =========================================================
   SINGLE PRODUCT POLISH - v1.2.8
   Fix related grid, add heading breathing room, reduce main image only
   ========================================================= */

/* WooCommerce clearfix pseudo-elements become grid items unless removed. */
body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after,
body.single-product .upsells.products ul.products::before,
body.single-product .upsells.products ul.products::after {
  content: none !important;
  display: none !important;
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
}

/* Keep all four related products in one clean row on desktop. */
body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
  grid-auto-flow: row !important;
  align-items: stretch !important;
}

/* Push the Related Products heading away from the divider above it. */
body.single-product .related.products,
body.single-product .upsells.products {
  padding-top: 54px !important;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
  margin-top: 0 !important;
}

/* Keep related-product buttons sitting consistently near the bottom of cards. */
body.single-product .related.products ul.products li.product .button,
body.single-product .upsells.products ul.products li.product .button {
  align-self: flex-start !important;
  margin-top: auto !important;
  transform: translateY(12px);
  margin-bottom: 12px !important;
}

/* Reduce ONLY the main single-product gallery; summary/layout column stays put. */
body.single-product div.product div.images .woocommerce-product-gallery {
  width: 84% !important;
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1024px) {
  body.single-product .related.products,
  body.single-product .upsells.products {
    padding-top: 46px !important;
  }

  body.single-product div.product div.images .woocommerce-product-gallery {
    width: 88% !important;
    max-width: 400px !important;
  }
}

@media (max-width: 700px) {
  body.single-product .related.products,
  body.single-product .upsells.products {
    padding-top: 38px !important;
  }

  body.single-product div.product div.images .woocommerce-product-gallery {
    width: 90% !important;
    max-width: 360px !important;
  }
}

/* =========================================================
   SINGLE PRODUCT POLISH - v1.2.9
   Remove gallery zoom trigger and align image with summary heading
   ========================================================= */

/* Remove the WooCommerce magnifying-glass zoom button from the main image. */
body.single-product .woocommerce-product-gallery__trigger {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Align the top of the main product image with the product title column. */
@media (min-width: 701px) {
  body.single-product div.product div.images {
    padding-top: 16px !important;
  }

  body.single-product div.product div.summary {
    padding-top: 12px !important;
  }
}

/* Keep the stacked mobile layout natural. */
@media (max-width: 700px) {
  body.single-product div.product div.images {
    padding-top: 0 !important;
  }
}

/* =========================================================
   SINGLE PRODUCT WIDTH - v1.3.1
   Match the Fork & Nice website content container exactly
   ========================================================= */

/* Let the theme's outer wrappers span the page so they cannot squeeze
   the WooCommerce single-product content into a narrower default width. */
body.single-product .site-main,
body.single-product .content-area,
body.single-product .site-content,
body.single-product main {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Same desktop container used throughout the Fork & Nice website. */
body.single-product .site-main > .woocommerce-breadcrumb,
body.single-product .site-main > div.product,
body.single-product .site-main > .related,
body.single-product .site-main > .upsells,
body.single-product .woocommerce-notices-wrapper {
  width: min(1380px, calc(100% - 60px)) !important;
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Match the site's tablet container spacing. */
@media (max-width: 1024px) {
  body.single-product .site-main > .woocommerce-breadcrumb,
  body.single-product .site-main > div.product,
  body.single-product .site-main > .related,
  body.single-product .site-main > .upsells,
  body.single-product .woocommerce-notices-wrapper {
    width: calc(100% - 48px) !important;
    max-width: none !important;
  }
}

/* Match the site's mobile container spacing. */
@media (max-width: 700px) {
  body.single-product .site-main > .woocommerce-breadcrumb,
  body.single-product .site-main > div.product,
  body.single-product .site-main > .related,
  body.single-product .site-main > .upsells,
  body.single-product .woocommerce-notices-wrapper {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }
}
