/* ==========================================================================
   Commercial Fishing Flies - premium product page
   Same layout system as the River Edge Flies product page, restyled to the
   CFF logo palette: deep navy #1b2735, brand red #e1002a, cool paper #f6f7f9.
   Presentation only. No markup logic, prices or cart JS are changed.
   ========================================================================== */

body#product:not(.content_only) #columns { background: #f7f8fa; }
body#product:not(.content_only) #center_column { padding-top: 4px; }

body#product:not(.content_only) #breadcrumb .breadcrumb {
  background: none;
  border: 0;
  padding: 4px 0 20px;
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a94a3;
}
body#product:not(.content_only) #breadcrumb .breadcrumb a { color: #5c6b7a; }
body#product:not(.content_only) #breadcrumb .breadcrumb a:hover { color: #e1002a; }
body#product:not(.content_only) #breadcrumb .navigation-pipe { color: #c2c9d2; }

body#product:not(.content_only) .primary_block {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 46px;
}

/* ---------- two column grid: gallery left, title + buy box right ---------- */
@media (min-width: 992px) {
  body#product:not(.content_only) .primary_block > .row {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    grid-template-areas:
      "gallery info"
      "gallery buy";
    grid-template-rows: auto 1fr;
    column-gap: 52px;
    row-gap: 0;
    margin: 0;
    align-items: start;
  }
  body#product:not(.content_only) .primary_block > .row > * { grid-column: 1 / -1; }

  body#product:not(.content_only) .primary_block .pb-left-column {
    grid-area: gallery;
    width: auto;
    max-width: none;
    float: none;
    padding: 0;
    margin: 0;
  }
  body#product:not(.content_only) .primary_block .pb-center-column {
    grid-area: info;
    width: auto;
    max-width: none;
    float: none;
    padding: 0;
    margin: 0;
  }
  body#product:not(.content_only) .primary_block .pb-right-column {
    grid-area: buy;
    width: auto;
    max-width: none;
    float: none;
    padding: 0;
    margin: 0;
  }
  body#product:not(.content_only) .primary_block > .row > .container { display: none; }
}

/* ---------- gallery ---------- */
body#product:not(.content_only) .pb-left-column #image-block {
  background: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid #e3e7ec;
  border-radius: 22px;
  padding: 30px;
  margin: 0 0 14px;
  box-shadow: 0 34px 60px -46px rgba(27, 39, 53, .55);
}
body#product:not(.content_only) .pb-left-column #image-block img#bigpic {
  width: 100% !important;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
body#product:not(.content_only) .pb-left-column #image-block .span_link {
  bottom: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 50%;
  box-shadow: 0 6px 14px -8px rgba(27, 39, 53, .5);
  transition: border-color .2s ease, transform .2s ease;
}
body#product:not(.content_only) .pb-left-column #image-block .span_link:after {
  display: block;
  color: #3c4a5a;
  font-size: 16px;
  line-height: 40px;
  margin: 0;
}
body#product:not(.content_only) .pb-left-column #image-block .span_link:hover {
  border-color: #e1002a;
  transform: translateY(-1px);
}
body#product:not(.content_only) .pb-left-column #image-block .span_link:hover:after { color: #e1002a; }

/* thumbnails */
body#product:not(.content_only) #views_block { margin-top: 2px; }
body#product:not(.content_only) #thumbs_list { width: auto; float: none; margin: 0; }
body#product:not(.content_only) #thumbs_list ul#thumbs_list_frame {
  display: flex;
  gap: 10px;
  height: auto;
  flex-wrap: wrap;
}
body#product:not(.content_only) #thumbs_list li {
  width: 76px;
  height: 76px;
  margin: 0;
  border: 1px solid #e3e7ec;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease;
}
body#product:not(.content_only) #thumbs_list li:hover,
body#product:not(.content_only) #thumbs_list li.selected { border-color: #e1002a; }
body#product:not(.content_only) #thumbs_list li img { width: 100%; height: 100%; object-fit: contain; margin: 0; }

/* ---------- category eyebrow + title ---------- */
body#product:not(.content_only) .pb-center-column .product-category-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #1e3a6d;
}
body#product:not(.content_only) .pb-center-column .product-category-eyebrow:before {
  content: "";
  width: 26px;
  height: 2px;
  background: #e1002a;
  display: inline-block;
}

body#product:not(.content_only) .pb-center-column h1[itemprop="name"] {
  float: none;
  font-size: 38px;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: capitalize;
  color: #1b2735;
  margin: 0 0 16px;
  padding: 0 0 18px;
  border-bottom: 1px solid #e7eaee;
  position: relative;
}
body#product:not(.content_only) .pb-center-column h1[itemprop="name"]:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: #e1002a;
}

/* reference / condition pills */
body#product:not(.content_only) .pb-center-column .product-meta-block {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body#product:not(.content_only) .pb-center-column .product-meta-block p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #e3e7ec;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  color: #5c6b7a;
}
body#product:not(.content_only) .pb-center-column .product-meta-block label {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #97a1ae;
}
body#product:not(.content_only) .pb-center-column .product-meta-block .editable {
  color: #1b2735;
  font-weight: 600;
}

/* short description */
body#product:not(.content_only) .pb-center-column #short_description_block {
  float: none;
  width: auto;
  background: #eef2f7;
  border: 1px solid #e0e7ef;
  border-left: 3px solid #1e3a6d;
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 0 16px;
  color: #45535f;
}
body#product:not(.content_only) .pb-center-column #short_description_content {
  font-size: 14px;
  line-height: 1.7;
  color: #45535f;
  padding: 0;
}

/* stock + availability */
body#product:not(.content_only) .pb-center-column #pQuantityAvailable {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  padding: 6px 12px;
  background: #eef2f7;
  border: 1px solid #e0e7ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #1e3a6d;
}
body#product:not(.content_only) .pb-center-column #pQuantityAvailable span { font-weight: 600; }
body#product:not(.content_only) .pb-center-column #availability_statut {
  float: none;
  display: inline-block;
  margin: 0 0 10px;
}
body#product:not(.content_only) .pb-center-column #availability_value,
body#product:not(.content_only) .pb-center-column #last_quantities {
  background: #eaf3e8;
  color: #3c6633;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  margin: 0;
}
body#product:not(.content_only) .pb-center-column #availability_value.warning_inline {
  background: #fdecec;
  color: #b3251f;
}

/* hide the print link - keeps the buy column clean */
body#product:not(.content_only) .pb-center-column #usefull_link_block { display: none; }

/* ---------- buy card ---------- */
body#product:not(.content_only) .pb-right-column #buy_block { margin: 0; }

body#product:not(.content_only) .pb-right-column .box-info-product {
  float: none;
  width: auto;
  background: #ffffff;
  border: 1px solid #e3e7ec;
  border-radius: 20px;
  padding: 26px 26px 24px;
  margin: 0 0 18px;
  box-shadow: 0 30px 54px -42px rgba(27, 39, 53, .55);
}

body#product:not(.content_only) .pb-right-column .content_prices {
  float: none;
  border-bottom: 1px solid #eceff2;
  padding: 0 0 18px;
  margin: 0 0 20px;
}
body#product:not(.content_only) .pb-right-column .content_prices .price,
body#product:not(.content_only) .pb-right-column .our_price_display { float: none; margin: 0; }
body#product:not(.content_only) .pb-right-column #our_price_display {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #1b2735;
}
body#product:not(.content_only) .pb-right-column .price-per-unit {
  display: inline-block;
  margin-left: 7px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #e1002a;
  vertical-align: baseline;
}
body#product:not(.content_only) .pb-right-column .price-tax-label {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #97a1ae;
}

/* per-dozen note */
body#product:not(.content_only) .pb-right-column .price-dozen-info {
  margin: 12px 0 0;
  padding: 0;
  background: none;
  border: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #7a8695;
}
body#product:not(.content_only) .pb-right-column .price-dozen-info strong {
  display: inline;
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #45535f;
}
body#product:not(.content_only) .pb-right-column .price-dozen-info br { display: none; }
body#product:not(.content_only) .pb-right-column .price-dozen-info strong:after { content: " -"; }

/* ---------- attributes ---------- */
body#product:not(.content_only) .pb-right-column .product_attributes { border: 0; padding: 0; }
body#product:not(.content_only) .pb-right-column #attributes .attribute_fieldset {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
body#product:not(.content_only) .pb-right-column .attribute_label {
  display: block;
  float: none;
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5c6b7a;
}
body#product:not(.content_only) .pb-right-column #attributes .attribute_list { float: none; width: 100%; min-width: 0; }

body#product:not(.content_only) .pb-right-column #attributes select.attribute_select,
body#product:not(.content_only) .pb-right-column #attributes .form-control {
  width: 100%;
  max-width: none;
  height: 48px;
  padding: 0 14px;
  background-color: #fff;
  border: 1px solid #d7dde4;
  border-radius: 10px;
  font-size: 14.5px;
  color: #1b2735;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%235c6b7a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
body#product:not(.content_only) .pb-right-column #attributes select.attribute_select:focus,
body#product:not(.content_only) .pb-right-column #attributes .form-control:focus {
  border-color: #e1002a;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(225, 0, 42, .10);
}

/* uniform selector wrapper */
body#product:not(.content_only) .pb-right-column #attributes .attribute_list div.selector {
  width: 100% !important;
  max-width: none;
  height: 48px;
  padding: 0 0 0 14px;
  background: #fff;
  border: 1px solid #d7dde4;
  border-radius: 10px;
  box-sizing: border-box;
  overflow: hidden;
}
body#product:not(.content_only) .pb-right-column #attributes .attribute_list div.selector span {
  width: auto !important;
  height: 46px;
  line-height: 46px;
  padding: 0 44px 0 0;
  background: none;
  font-size: 14.5px;
  color: #1b2735;
  position: relative;
  cursor: pointer;
}
body#product:not(.content_only) .pb-right-column #attributes .attribute_list div.selector span:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  margin-top: -3px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #5c6b7a;
}
body#product:not(.content_only) .pb-right-column #attributes .attribute_list div.selector.focus,
body#product:not(.content_only) .pb-right-column #attributes .attribute_list div.selector.hover {
  border-color: #e1002a;
}
body#product:not(.content_only) .pb-right-column #attributes .attribute_list div.selector select {
  width: 100% !important;
  height: 46px;
  padding: 0;
  border: 0;
  background: none;
}

/* ---------- quantity stepper ---------- */
body#product:not(.content_only) .pb-right-column #quantity_wanted_p {
  float: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0 0 20px;
  font-size: 0;
}
body#product:not(.content_only) .pb-right-column #quantity_wanted_p label {
  display: block;
  flex: 0 0 100%;
  width: auto;
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5c6b7a;
  text-align: left;
}
body#product:not(.content_only) .pb-right-column #quantity_wanted_p input {
  order: 2;
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 48px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: #1b2735;
  background: #fff;
  border: 1px solid #d7dde4;
  border-radius: 10px;
  box-sizing: border-box;
  -moz-appearance: textfield;
}
body#product:not(.content_only) .pb-right-column #quantity_wanted_p input::-webkit-outer-spin-button,
body#product:not(.content_only) .pb-right-column #quantity_wanted_p input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body#product:not(.content_only) .pb-right-column #quantity_wanted_p input:focus {
  border-color: #e1002a;
  box-shadow: 0 0 0 3px rgba(225, 0, 42, .10);
  outline: 0;
}
body#product:not(.content_only) .pb-right-column #quantity_wanted_p .btn {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  background: #fff;
  background-image: none;
  border: 1px solid #d7dde4;
  border-radius: 10px;
  color: #3c4a5a;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  box-shadow: none;
  text-shadow: none;
}
body#product:not(.content_only) .pb-right-column #quantity_wanted_p .button-minus { order: 1; }
body#product:not(.content_only) .pb-right-column #quantity_wanted_p .button-plus { order: 3; }
body#product:not(.content_only) .pb-right-column #quantity_wanted_p .btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1;
}
body#product:not(.content_only) .pb-right-column #quantity_wanted_p .btn:hover {
  background: #fdeef0;
  border-color: #e1002a;
  color: #b3251f;
}
body#product:not(.content_only) .pb-right-column #quantity_wanted_p .btn:hover span { background: transparent; }
body#product:not(.content_only) .pb-right-column #quantity_wanted_p .flies-helper {
  order: 4;
  flex: 0 0 100%;
  display: block;
  margin: 8px 0 0;
  font-size: 12px;
  color: #8a94a3;
}

body#product:not(.content_only) .pb-right-column #minimal_quantity_wanted_p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #8a94a3;
  margin: -8px 0 16px;
}
body#product:not(.content_only) .pb-right-column #minimal_quantity_wanted_p strong { color: #45535f; }

/* ---------- add to cart ---------- */
body#product:not(.content_only) .pb-right-column .box-cart-bottom { border: 0; padding: 0; }
body#product:not(.content_only) .pb-right-column #add_to_cart { padding: 0; margin: 0; }
body#product:not(.content_only) .pb-right-column #add_to_cart button.exclusive {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  background: #e1002a !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 12px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 18px 30px -20px rgba(225, 0, 42, .9);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
body#product:not(.content_only) .pb-right-column #add_to_cart button.exclusive i { font-size: 17px; }
body#product:not(.content_only) .pb-right-column #add_to_cart button.exclusive span {
  padding: 0 !important;
  background: none !important;
  font-size: inherit;
  line-height: 1;
  color: inherit !important;
}
body#product:not(.content_only) .pb-right-column #add_to_cart button.exclusive:hover {
  background: #b80022 !important;
  transform: translateY(-1px);
  box-shadow: 0 22px 34px -20px rgba(184, 0, 34, .95);
}
body#product:not(.content_only) .pb-right-column #add_to_cart button.exclusive:active { transform: translateY(0); }

/* ---------- trust strip ---------- */
body#product:not(.content_only) .riv-prod-trust {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #eceff2;
  display: grid;
  gap: 9px;
}
body#product:not(.content_only) .riv-prod-trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5966;
  margin: 0;
}
body#product:not(.content_only) .riv-prod-trust i {
  color: #1e3a6d;
  font-size: 13px;
  line-height: 1.6;
  flex: 0 0 auto;
}

/* ---------- tabs / more info ---------- */
body#product:not(.content_only) .more_info_block { margin-top: 46px; }
body#product:not(.content_only) .more_info_block .nav-tabs {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
body#product:not(.content_only) .more_info_block .nav-tabs > li { margin: 0; float: none; }
body#product:not(.content_only) .more_info_block .nav-tabs > li > a {
  border: 0;
  border-radius: 999px;
  background: #eceff4;
  padding: 11px 22px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4b5966;
}
body#product:not(.content_only) .more_info_block .nav-tabs > li.active > a,
body#product:not(.content_only) .more_info_block .nav-tabs > li > a:hover {
  background: #1b2735;
  color: #ffffff;
  border: 0;
}
body#product:not(.content_only) .more_info_block .tab-content {
  background: #ffffff;
  border: 1px solid #e3e7ec;
  border-radius: 20px;
  padding: 30px 32px;
  margin-top: 14px;
  box-shadow: 0 26px 48px -44px rgba(27, 39, 53, .55);
}
body#product:not(.content_only) .more_info_block .tab-content .page-product-box { padding: 0; }
body#product:not(.content_only) .more_info_block .rte {
  font-size: 15px;
  line-height: 1.85;
  color: #3d4a57;
}
body#product:not(.content_only) .more_info_block .rte p { margin: 0 0 14px; }
body#product:not(.content_only) .more_info_block .rte p:last-child { margin-bottom: 0; }
body#product:not(.content_only) .more_info_block .table-data-sheet { border-color: #eceff2; }
body#product:not(.content_only) .more_info_block table.table-product-discounts { border-color: #eceff2; }

/* ---------- related / cross selling spacing ---------- */
body#product:not(.content_only) #crossselling,
body#product:not(.content_only) #productscategory,
body#product:not(.content_only) .accessories-block { margin-top: 46px; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  body#product:not(.content_only) .primary_block .pb-left-column,
  body#product:not(.content_only) .primary_block .pb-center-column,
  body#product:not(.content_only) .primary_block .pb-right-column {
    float: none;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  body#product:not(.content_only) .pb-left-column #image-block { padding: 20px; border-radius: 18px; }
  body#product:not(.content_only) .pb-center-column { margin-top: 26px; }
  body#product:not(.content_only) .pb-right-column { margin-top: 4px; }
  body#product:not(.content_only) .pb-center-column h1[itemprop="name"] { font-size: 30px; }
  body#product:not(.content_only) .pb-right-column .box-info-product { padding: 22px 20px; border-radius: 18px; }
  body#product:not(.content_only) .pb-right-column #our_price_display { font-size: 34px; }
  body#product:not(.content_only) .more_info_block .tab-content { padding: 22px 20px; }
}

@media (max-width: 479px) {
  body#product:not(.content_only) .pb-center-column h1[itemprop="name"] { font-size: 25px; }
  body#product:not(.content_only) .pb-right-column #our_price_display { font-size: 30px; }
  body#product:not(.content_only) .pb-right-column #attributes select.attribute_select { font-size: 14px; }
}
