/**
 * Main Template CSS Stylesheet
 * 
 * BOOTSTRAP v3.4.0
 *
 */
.clearBoth {
   clear: both;
}
.forward {
    float: right;
}
.back {
    float: left;
}

/* This is used to re-size images */
img {
    max-width: 100%;
    height: auto;
    border: 0;
}

.qmix > br {
    display: none;
}

.normalprice, .productSpecialPriceSale {
    text-decoration: line-through;
}

#back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    z-index: 1;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}

#back-to-top.show {
    opacity: 1;
    z-index: 1;
}

/* set height of scrollable area in mobile menu */
div#navbarSupportedContent {
    max-height:90vh;
    overflow-y:auto;
}

.zca-banner {
    text-align: center;
}

.ot-title {
    text-align: right;
}
.ot-text,
.totalCell {
    text-align: right;
}

.centeredContent {
    text-align: center;
    padding: 1rem;
}

table.tabTable td {
    padding: 0.5rem;
}
#indexProductList-cat-wrap {
    margin-bottom: 1rem;
}
#productsListing-bottomRow {
    margin-top: 1rem;
}

.sideBoxContent select {
    margin-bottom: 1rem;
}
#navCatTabs a,
#navCatTabs a:hover {
    border: 0.125rem solid #007faf;
}

/* These CSS media queries control how many columns of cards display on the login, checkout_shipping, checkout_payment & checkout_confirmation pages */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
.card-columns {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
}
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.card-columns {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
.card-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
.card-columns {
  -webkit-column-count: 2;
  -moz-column-count:2;
  column-count: 2;
}
}

/* Merging back from version-specific stylesheets */
.btn.button_add_selected {
    position: fixed;
    bottom: 7.5rem;
    z-index: 100;
}
#shippingEstimatorContent,
#shoppingcartBody .qtyCell input {
    width: fit-content;
}
a {
    text-decoration: underline;
}
.btn.button_add_selected {
    position: static;
    z-index: auto;
}
.btn.button_add_selected.bs4-button-float.always {
    position: fixed;
    bottom: 7.5rem;
    z-index: 100;
}
@media (max-width: 577px) { 
    .btn.button_add_selected.bs4-button-float.sm-only {
        position: fixed;
        bottom: 5rem;
        z-index: 100;
        left: 2vw;
    }
    .btn.button_add_selected.bs4-button-hide-sm {
        display: none;
    }
}
#checkoutPayment label.inputLabelPayment+input[type="checkbox"],
#checkoutPayment label.inputLabel+input[type="checkbox"] {
    opacity: 100%;
    position: initial;
    margin-left: .5rem;
}
.card-body {
    border-radius: inherit;
}
.card-header+.card-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.leftBoxCard,
.rightBoxCard {
    overflow: hidden;
}
.pl-dp {
    min-width: 7rem;
}
.qmax > br {
    display: none;
}

/* =========================================================
   PFC HOMEPAGE - NEW 2.2.2 STRUCTURE
   ========================================================= */

.pfc-home-hero {
  min-height: 300px;
  border-radius: 12px;
  margin: 0 auto 42px;
  padding: 56px;
  background-image:
    linear-gradient(
      90deg,
      rgba(15, 35, 58, 0.60) 0%,
      rgba(15, 35, 58, 0.30) 35%,
      rgba(15, 35, 58, 0.10) 100%
    ),
    url('/images/homepage/hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.pfc-home-hero__content {
  max-width: 620px;
  color: #fff;
}

.pfc-home-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e7d8bf;
}

.pfc-home-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  font-weight: 700;
  max-width: 560px;
}

.pfc-home-hero p {
  font-size: 1.15rem;
  line-height: 1.5;
}

.pfc-home-button {
  display: inline-block;
  margin-top: 16px;
  padding: 13px 24px;
  border-radius: 10px;
  background: #e7d8bf;
  color: #0f233a;
  font-weight: 700;
  text-decoration: none;
}

.pfc-home-section {
  margin: 0 auto 46px;
}

.pfc-home-section__heading {
  margin-bottom: 18px;
}

.pfc-home-section__heading h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #0f233a;
}

.pfc-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pfc-category-card {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  border-radius: 12px;
  background-color: #f4efe6;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15, 35, 58, 0.08);
}

.pfc-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.00),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}

.pfc-category-card span {
  position: relative;
  z-index: 2;
}

.pfc-category-card--large {
  grid-column: span 2;
  min-height: 220px;
}

.pfc-why-grid,
.pfc-collection-grid {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  gap: 18px;
}

.pfc-why-card,
.pfc-collection-card,
.pfc-special-card {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 35, 58, 0.08);
  padding: 18px;
  min-height: 0;
}

.pfc-why-card h3 {
  color: #0f233a;
  font-size: 1rem;
  margin: 0 0 8px;
}

.pfc-why-card p {
  margin: 0;
  line-height: 1.55;
}

.pfc-specials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pfc-special-card,
.pfc-collection-card {
  color: #0f233a;
  text-decoration: none;
}

.pfc-special-card {
  min-height: 280px;
  background: #f4efe6;
}

.pfc-why-card {
  min-height: 0;
}

.pfc-special-card__label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f233a;
}

.pfc-collection-card {
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  font-size: 1.2rem;
  font-weight: 700;
  background: #fff;
}

@media (max-width: 991px) {
  .pfc-home-hero {
    min-height: 360px;
    padding: 34px;
  }

  .pfc-category-grid,
  .pfc-why-grid,
  .pfc-collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pfc-category-card--large {
    grid-column: span 1;
  }
}

@media (max-width: 575px) {
  .pfc-home-hero {
    min-height: 320px;
    padding: 26px;
  }

  .pfc-category-grid,
  .pfc-why-grid,
  .pfc-specials-grid,
  .pfc-collection-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PFC HOMEPAGE - OVERRIDE BOOTSTRAP CONTENT WIDTH
   Makes homepage content use full available width
   ========================================================= */

body#indexHomeBody #mainWrapper > .row > .col-12.col-lg-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

body#indexHomeBody #mainWrapper > .row > #navColumnOne,
body#indexHomeBody #mainWrapper > .row > #navColumnTwo {
  display: none !important;
}

body#indexHomeBody #mainWrapper {
  max-width: 1600px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   FURNITURE HOMEPAGE FRAMEWORK
   CATEGORY CARD IMAGES
   ========================================================= */

.pfc-cat-living {
  background-image: url('/images/homepage/living-room.jpg');
}

.pfc-cat-bedroom {
  background-image: url('/images/homepage/bedroom.jpg');
}

.pfc-cat-dining {
  background-image: url('/images/homepage/dining-room.jpg');
}

.pfc-cat-bedding {
  background-image: url('/images/homepage/bedding.jpg');
}

.pfc-cat-youth {
  background-image: url('/images/homepage/youth.jpg');
}

.pfc-cat-rustic {
  background-image: url('/images/homepage/rustic-farmhouse.jpg');
}

/* Category card text styling */

.pfc-category-card span {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(15, 35, 58, 0.55);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}