/* ------------------------------
   Hero Gallery
------------------------------ */

.bone-hero-gallery {
  display: block;
  width: 100%;
}

.bone-hero-gallery__main {
  margin-bottom: 16px;
}

.bone-hero-gallery__main-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.bone-hero-gallery__thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.bone-hero-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1 1 auto;
  min-width: 0;
  padding: 4px 2px;
}

.bone-hero-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.bone-hero-gallery__thumb {
  width: 90px;
  flex: 0 0 90px;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
}

.bone-hero-gallery__thumb.is-active {
  border-color: #999;
}

.bone-hero-gallery__thumb-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.bone-hero-gallery__arrow {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.bone-hero-gallery__arrow:hover {
  background: #f5f5f5;
}

.bone-hero-gallery__arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

@media (max-width: 640px) {
  .bone-hero-gallery__thumb {
    width: 72px;
    flex: 0 0 72px;
  }

  .bone-hero-gallery__arrow {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* ------------------------------
   Images
------------------------------ */

.bone-brand-logo img,
.bone-swatch img,
.bone-lifestyle img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------
   Title + Subtitle
------------------------------ */

.bone-product-title,
.bone-product-title *,
.bone-product-subtitle,
.bone-product-subtitle *,
.bone-product-subtitle p {
  text-align: center !important;
}

.bone-product-title {
  margin: 10px 0 6px;
}

.bone-product-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ------------------------------
   Pricing
------------------------------ */

/* Center Beaver module wrappers too */
.fl-module:has(.bone-msrp),
.fl-module:has(.bone-price) {
  text-align: center;
}

/* Fallback centering on all inner wrappers */
.bone-msrp,
.bone-msrp *,
.bone-price,
.bone-price * {
  text-align: center !important;
}

/* MSRP styling */
.bone-msrp {
  display: block;
  width: 100%;
  margin: 0 0 2px 0;
  color: #666;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* Force strike-through */
.bone-msrp,
.bone-msrp span,
.bone-msrp .amount,
.bone-msrp .amount *,
.bone-msrp del,
.bone-msrp bdi {
  text-decoration: line-through !important;
}

/* Current price styling */
.bone-price {
  display: block;
  width: 100%;
  margin: 0 0 18px 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.bone-price::before {
  content: "Starting at";
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
}

/* ------------------------------
   Size Price Toggle
------------------------------ */

.bone-size-price-toggle {
  text-align: center;
  margin: 22px auto 26px;
  width: 100%;
}

.bone-size-price-label {
  display: block;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.bone-size-price-options {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bone-size-price-option {
  appearance: none;
  border: 1px solid #c9c9c9;
  background: linear-gradient(#f4f4f4, #d8d8d8);
  color: #333;
  border-radius: 6px;
  padding: 11px 18px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transition: all 0.18s ease;
}

.bone-size-price-option:hover,
.bone-size-price-option:focus {
  background: linear-gradient(#ffffff, #e6e6e6);
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.bone-size-price-option.is-active {
  background: #eeebf4;
  color: #333;
  border-color: #aaa;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.16);
}

.bone-size-price-sku {
  margin-top: 18px;
  text-align: center;
  font-size: 1.05rem;
  color: #666;
}

.bone-size-price-sku-value {
  font-weight: 700;
  color: #333;
}

/* ------------------------------
   Anchor Navigation
------------------------------ */

.bone-anchor-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: none;
  border-bottom: 1px solid #ccc;
}

.bone-anchor-nav a {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #333;
  background: linear-gradient(#f4f4f4, #d8d8d8);
  padding: 14px 26px;
  border: 1px solid #c9c9c9;
  border-bottom-color: #aaa;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  transition: all 0.18s ease;
}

.bone-anchor-nav a:hover,
.bone-anchor-nav a:focus {
  background: linear-gradient(#ffffff, #e6e6e6);
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.22);
}

/* ------------------------------
   Sections
------------------------------ */

.bone-section {
  padding: 42px 0;
}

.bone-section h2 {
  margin-bottom: 18px;
}

.bone-checklist {
  margin: 18px 0 0 20px;
}

.bone-checklist li {
  margin-bottom: 10px;
}

.bone-lifestyle {
  margin-top: 18px;
}

.bone-cta-box {
  background: #f7f7f7;
  padding: 28px;
  border-radius: 10px;
}

html {
  scroll-behavior: smooth;
}

.bone-msrp-wrap,
.bone-price-wrap {
  text-align: center !important;
}

.bone-hero-gallery__thumb {
  width: 90px;
  flex: 0 0 90px;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
}

.bone-hero-gallery__thumb.is-active {
  border-color: #999;
}

.bone-hero-gallery__thumb-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.bone-store-button-wrap {
  text-align: center;
  margin: 20px 0;
}

.bone-store-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

/* ------------------------------
   Beaver Builder Product Tabs
------------------------------ */

.fl-tabs-labels {
  gap: 8px;
}

.fl-tabs-label {
  background: #eeebf4 !important;
  border: 1px solid #ffffff !important;
  border-radius: 6px 6px 0 0;
  padding: 16px 28px !important;
  font-weight: 700 !important;
  color: #333 !important;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.14);
  transition: all 0.2s ease;
}

.fl-tabs-label:hover {
  background: #ffffff !important;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
}

.fl-tabs-label.fl-tab-active {
  background: #ffffff !important;
  border-bottom-color: #ffffff !important;
  color: #111 !important;
  box-shadow: 0 -1px 0 #fff inset, 0 4px 9px rgba(0, 0, 0, 0.16);
}

.bone-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
}

.bone-spec-table th {
  background: #eeebf4;
  color: #333;
  font-weight: 700;
  padding: 16px;
  border: 1px solid #e5e5e5;
}

.bone-spec-table td {
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
}

.bone-spec-table tbody tr:nth-child(even) {
  background: #f8f8f8;
}

.bone-spec-table tbody tr:hover {
  background: #f3f3f3;
}

.bone-spec-table td:first-child {
  font-weight: 600;
}

/* ------------------------------
   Product Feature Layout
------------------------------ */

.bone-feature-layout {
  width: 100%;
}

.bone-feature-copy {
  width: 100%;
  margin-bottom: 24px;
}

.bone-feature-copy h3 {
  margin-top: 0;
}

.bone-feature-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 32px;
  align-items: start;
}

.bone-feature-accordions {
  min-width: 0;
}

.bone-feature-media {
  min-width: 0;
}

.bone-feature-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.bone-feature-accordion-item {
  margin: 0 0 12px;
}

.bone-feature-accordion-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  white-space: normal;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit;
  font-weight: 700;
  color: #333 !important;
  cursor: pointer;
  text-align: left;
  text-decoration: none !important;
  line-height: 1.35;
}

.bone-feature-accordion-title:hover,
.bone-feature-accordion-title:focus {
  color: #333 !important;
  text-decoration: none !important;
}

.bone-feature-accordion-title span:last-child {
  min-width: 0;
}

.bone-feature-accordion-icon {
  flex: 0 0 16px;
  width: 16px;
  text-align: center;
}

.bone-feature-accordion-content {
  display: none;
  margin-top: 8px;
  padding-left: 24px;
}

.bone-feature-accordion-content p {
  margin: 0;
}

.bone-feature-accordion-item.is-open .bone-feature-accordion-content {
  display: block;
}

.bone-feature-accordion-item.is-open .bone-feature-accordion-icon {
  font-size: 0;
}

.bone-feature-accordion-item.is-open .bone-feature-accordion-icon::before {
  content: "−";
  font-size: 1rem;
}

@media (max-width: 768px) {
  .bone-feature-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bone-feature-accordions {
    order: 1;
  }

  .bone-feature-media {
    order: 2;
  }
}

/* ------------------------------
   Swatch Accordion
------------------------------ */

.bone-swatch-accordion {
  width: 100%;
  text-align: center;
  margin: 18px 0 0;
}

.bone-swatch-accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(#f4f4f4, #d8d8d8);
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.bone-swatch-accordion-title:hover,
.bone-swatch-accordion-title:focus {
  background: linear-gradient(#ffffff, #e6e6e6);
}

.bone-swatch-accordion-icon {
  width: 16px;
  text-align: center;
}

.bone-swatch-accordion-content {
  display: none;
  margin-top: 18px;
}

.bone-swatch-accordion.is-open .bone-swatch-accordion-content {
  display: block;
}

.bone-swatch-accordion.is-open .bone-swatch-accordion-icon {
  font-size: 0;
}

.bone-swatch-accordion.is-open .bone-swatch-accordion-icon::before {
  content: "−";
  font-size: 1rem;
}

/* ------------------------------
   Product Badges
------------------------------ */

.bone-product-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
  text-align: center;
}

.bone-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 3px 6px rgba(0,0,0,0.14);
}

.bone-badge-stocked {
  background: #2f6b3c;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

.bone-badge-usa {
  background: #eef2fb;
  color: #344f9f;
  border: 1px solid #c7d2f0;
}

.bone-badge-usa-image {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.bone-badge-usa-image img {
  display: block;
  max-width: 110px;
  height: auto;
}

.bone-product-badges {
  align-items: center;
}

.bone-badge-stocked-image {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.bone-badge-stocked-image img {
  display: block;
  max-width: 110px;
  height: auto;
}

/* Product card badges */
.bone-card-badges .bone-product-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 10px 0 12px;
}

.bone-card-badges .bone-badge {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.bone-card-badges .bone-badge img {
  display: block;
  max-height: 48px;
  width: auto;
}

/* ------------------------------
   Product Card Badge Overlay
------------------------------ */

.bone-card-image-wrap {
  position: relative;
}

.bone-card-badge-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  pointer-events: none;
}

.bone-card-badge-overlay .bone-product-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin: 0;
}

.bone-card-badge-overlay .bone-badge,
.bone-card-badge-overlay .bone-badge-stocked-image,
.bone-card-badge-overlay .bone-badge-usa-image {
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

.bone-card-badge-overlay .bone-badge img {
  display: block !important;
  max-width: 74px;
  height: auto;
  border-radius: 8px !important;
}

/* Product page badge links should be clickable */
.single-product .bone-product-badges .bone-badge-map-link {
  pointer-events: auto !important;
  cursor: pointer;
  display: inline-block;
}

.single-product .bone-product-badges .bone-badge-map-link img {
  transition: transform 0.18s ease;
}

.single-product .bone-product-badges .bone-badge-map-link:hover img {
  transform: translateY(-2px);
}

.bone-local-inventory-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.bone-local-inventory-modal.is-open {
  display: block;
}

.bone-local-inventory-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.bone-local-inventory-modal__box {
  position: relative;
  max-width: 460px;
  margin: 10vh auto;
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  text-align: center;
}

.bone-local-inventory-modal__close {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;

  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #333 !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  cursor: pointer !important;
  opacity: 1 !important;
  z-index: 2 !important;
}

.bone-local-inventory-modal__close:hover,
.bone-local-inventory-modal__close:focus {
  color: #000 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.bone-local-inventory-modal__store {
  margin: 18px 0;
}

.bone-local-inventory-modal__button {
  display: inline-block;
  background: #2f6b3c;
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.bone-local-inventory-modal__button:hover {
  background: #24552f;
}

/* ------------------------------
   Nearest Store Map
------------------------------ */

.bone-nearest-store {
  max-width: 1100px;
  margin: 30px auto;
}

.bone-nearest-store__heading {
  text-align: center;
  margin-bottom: 20px;
}

.bone-nearest-store__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.bone-nearest-store__map iframe {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.bone-nearest-store__info {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bone-nearest-store__info .locationTitle {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .bone-nearest-store__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------
   Product Section Show More
------------------------------ */

.bone-product-show-more .bone-hidden-product {
  display: none !important;
}

.bone-show-more-wrap {
  text-align: center;
  margin: 24px 0 10px;
}

.bone-show-more-button {
  display: inline-block;
  background: linear-gradient(#f4f4f4, #d8d8d8);
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  padding: 12px 22px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

.bone-show-more-button:hover {
  background: linear-gradient(#ffffff, #e6e6e6);
}

@media (max-width: 768px) {
  .bone-logo-row-no-stack > .fl-row-content-wrap > .fl-row-content > .fl-col-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .bone-logo-row-no-stack > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: 33.333% !important;
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
  }

  .bone-logo-row-no-stack .fl-col-content {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .bone-logo-row-no-stack img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ------------------------------
   Product Brand Logo Size
------------------------------ */

.bone-logo-row-no-stack img.brand_logo {
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
}