/**
 * 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;
}
/* =========================================================
   PFC CATEGORY NAVIGATION - ROOM & BOARD INSPIRED
   Structure only. Main colors remain controlled by Bootstrap Admin GUI.
   ========================================================= */

#categoriesTabs {
    border-top: 1px solid rgba(15, 35, 58, 0.12);
    border-bottom: 1px solid rgba(15, 35, 58, 0.12);
}

#navCatTabs {
    max-width: 1280px;
    margin: 0 auto;
}

#navCatTabs a,
#navCatTabs a:hover,
#navCatTabs a:focus {
    border: 0;
    text-decoration: none;
    background: transparent;
}

#navCatTabs .nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

#navCatTabs .nav-link::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0.18rem;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.65);
    transition: opacity .25s ease, transform .25s ease;
}

#navCatTabs .nav-link:hover::after,
#navCatTabs .nav-link:focus::after,
#categoriesTabs .pfc-nav-dropdown:hover > .nav-link::after {
    opacity: 1;
    transform: scaleX(1);
}

/* =========================================================
   PFC CATEGORY NAVIGATION - HOVER REFINEMENT
   ========================================================= */

#navCatTabs .nav-link {
    transition: none;
}

#navCatTabs .nav-link:hover,
#navCatTabs .nav-link:focus {
    opacity: 1;
}

/* 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 0 32px;
    font-size: 1.8rem;
    color: #0f233a;
}

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

.pfc-category-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    border-radius: 12px;
    background-color: #f4efe6;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    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: 280px;
}

.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: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 35, 58, 0.10);
    padding: 24px;
    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-special-card:hover,
.pfc-special-card:focus,
.pfc-special-card:visited,
.pfc-collection-card {
  color: #0f233a;
  text-decoration: none;
}

.pfc-special-card__image {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin-bottom: 18px;
}

.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: 165px;
  display: flex;
  align-items: flex-end;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background-color: #0f233a;
  background-size: cover;
  background-position: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pfc-collection-card:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 35, 58, 0.18);
}

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

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

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

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


/* =========================================================
   TQF HOMEPAGE HERO - TABLET
   ========================================================= */

@media (min-width: 576px) and (max-width: 991.98px) {
  .pfc-home-hero {
    min-height: 340px;
    margin-bottom: 34px;
    padding: 36px;
    background-position: center center;
  }

  .pfc-home-hero__content {
    width: 100%;
    max-width: 440px;
  }

  .pfc-home-hero__eyebrow {
    margin-bottom: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .pfc-home-hero h1 {
    max-width: 420px;
    margin-bottom: 12px;
    font-size: clamp(1.85rem, 4.2vw, 2.35rem);
    line-height: 1.08;
  }

  .pfc-home-hero__content > p:not(.pfc-home-hero__eyebrow) {
    max-width: 430px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.4;
  }

  .pfc-home-button {
    margin-top: 14px;
    padding: 11px 20px;
  }
}

@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-sectionals {
  background-image: url('/images/homepage/sectionals.jpg');
}

.pfc-cat-reclining {
  background-image: url('/images/homepage/reclining-sets.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;
}

/* =========================================================
   PFC HEADER - MODERN BRANDING ROW
   No color changes. Colors remain Admin GUI controlled.
   ========================================================= */

.pfc-header-branding {
    padding: 24px 24px 16px;
}

.pfc-header-branding__inner {
    max-width: 1600px;
    width: 92%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px auto 360px;
    align-items: center;
    gap: 32px;
}

.pfc-header-branding__logo {
    text-align: center;
    min-width: 0;
}

.pfc-text-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
}

.pfc-text-logo__tagline {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.pfc-header-branding__actions {
    text-align: right;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .pfc-header-branding__inner {
        grid-template-columns: minmax(260px, 360px) auto;
        justify-content: center;
        gap: 12px 40px;
    }

    .pfc-header-branding__logo {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .pfc-header-branding__search {
        grid-column: 1;
        grid-row: 2;
    }

    .pfc-header-branding__actions {
        grid-column: 2;
        grid-row: 2;
        text-align: right;
    }
}

@media (max-width: 767px) {
    .pfc-header-branding {
        padding: 20px 18px 14px;
    }

    .pfc-header-branding__inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pfc-header-branding__search,
    .pfc-header-branding__logo,
    .pfc-header-branding__actions {
        text-align: center;
    }

    .pfc-header-branding__search .input-group {
        margin: 0 auto;
    }
}
/* =========================================================
   PFC TEMPORARY TEXT LOGO
   ========================================================= */

.pfc-text-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.pfc-text-logo__name {
    font-size: clamp(1.35rem, 3vw, 2.85rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    white-space: nowrap;
}


/* =========================================================
   PFC CATEGORY DROPDOWN HOVER + FADE ONLY
   ========================================================= */

@media (min-width: 992px) {

  #categoriesTabs .pfc-nav-dropdown {
    position: relative;
  }

  #categoriesTabs .pfc-nav-dropdown > .dropdown-menu {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden;
    transition:
      opacity .52s ease,
      visibility 0s linear .52s;
    margin-top: 0;
    pointer-events: none;
  }

  #categoriesTabs .pfc-nav-dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible;
    transition:
      opacity .52s ease,
      visibility 0s linear 0s;
    pointer-events: auto;
  }

  #categoriesTabs .pfc-nav-dropdown > .dropdown-toggle::after {
    display: none;
  }
}

/* =========================================================
   PFC UTILITY BAR - TOP HEADER LINKS
   ========================================================= */

#navMain .navbar {
  min-height: 44px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

#navMain .navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
}

#navMain .navbar-nav .nav-link:hover,
#navMain .navbar-nav .nav-link:focus {
  text-decoration: none;
  opacity: 0.85;
}

#navMain .navbar-nav .nav-item + .nav-item {
  border-left: 1px solid rgba(255,255,255,0.35);
}

#navMain .navbar-nav .nav-item:first-child .nav-link {
  padding-left: 0;
}

/* =========================================================
   PFC CATEGORY NAV - UNDERLINE FOR DROPDOWN PARENTS
   ========================================================= */

#navCatTabs .dropdown-toggle::after {
    display: none;
}

#navCatTabs .dropdown-toggle {
    position: relative;
}

#navCatTabs .dropdown-toggle::before {
    content: '';
    position: absolute;
    left: 18%;
    bottom: 8px;
    width: 64%;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transition: opacity .25s ease;
}

#navCatTabs .dropdown:hover > .dropdown-toggle::before,
#navCatTabs .dropdown-toggle:hover::before,
#navCatTabs .dropdown-toggle:focus::before {
    opacity: 1;
}



/* =========================================================
   PFC UTILITY BAR - LINK REFINEMENT
   Colors remain controlled by Bootstrap Admin GUI.
   ========================================================= */

#navMainWrapper #navMain .navbar > .navbar-collapse > .navbar-nav > .nav-item > .nav-link {
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 0.3rem 0.75rem;
}

#navMain .navbar-nav .nav-link:hover,
#navMain .navbar-nav .nav-link:focus {
    text-decoration: none;
}

#navMain .navbar-nav .nav-item + .nav-item {
    margin-left: 0.35rem;
    padding-left: 0.35rem;
    border-left: 1px solid currentColor;
}

#navCatTabs .nav-link {
    position: relative;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

/* =========================================================
   PFC HEADER BRANDING ROW - ACTION BUTTON
   No color changes. Colors remain Admin GUI controlled where possible.
   ========================================================= */

.pfc-header-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 0.65rem 1.15rem;
    text-decoration: none !important;
    font-weight: 500;
    line-height: 1;
}

.pfc-header-action:hover,
.pfc-header-action:focus {
    text-decoration: none !important;
}

/* =========================================================
   PFC HEADER SEARCH - ROOM & BOARD STYLE
   ========================================================= */

.pfc-header-branding__search .input-group {
    width: 100%;
    max-width: 360px;
}

.pfc-header-branding__search .form-control {
    min-height: 40px;
    padding-left: 0;
    padding-bottom: 10px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.pfc-header-branding__search .form-control:focus {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom-color: currentColor;
    box-shadow: none !important;
    outline: none;
    background: transparent;
}

.pfc-header-branding__search .form-control::placeholder {
    color: inherit;
    opacity: .55;
}

.pfc-header-branding__search .form-control::-webkit-input-placeholder {
    color: inherit;
    opacity: .55;
}

.pfc-header-branding__search .form-control::-moz-placeholder {
    color: inherit;
    opacity: .55;
}

.pfc-header-branding__search .input-group-append {
    border: 0;
    background: transparent;
}

.pfc-search-submit {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 6px;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.pfc-search-submit:hover,
.pfc-search-submit:focus {
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
}

/* =========================================================
   TEXAS QUALITY FURNITURE HEADER LOGO
   ========================================================= */

.tqf-header-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    text-decoration: none;
}

.tqf-header-logo {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Facebook icon in the header utility bar */
.tqf-facebook-icon {
    display: inline-block;
    width: 0.8rem;
    height: 1rem;
    margin-right: 0.4rem;
    fill: currentColor;
    vertical-align: -0.125em;
}

/* =========================================================
   TEXAS QUALITY FURNITURE UTILITY CONTACT
   ========================================================= */

.tqf-utility-contact .nav-link {
    color: #ffffff !important;
}

.tqf-utility-contact span.nav-link {
    cursor: default;
}

/* Tablet */
@media (max-width: 991.98px) {
    .tqf-header-logo {
        max-width: 420px;
    }
}

/* =========================================================
   TEXAS QUALITY FURNITURE - MOBILE
   ========================================================= */

@media (max-width: 575.98px) {
  .tqf-header-logo {
    max-width: 280px;
  }

  .pfc-home-hero {
    min-height: 420px;
    margin-bottom: 28px;
    padding: 28px 20px;
    align-items: center;
    background-image:
      linear-gradient(
        90deg,
        rgba(15, 35, 58, 0.82) 0%,
        rgba(15, 35, 58, 0.58) 55%,
        rgba(15, 35, 58, 0.20) 100%
      ),
      url('/images/homepage/hero.jpg');
    background-position: 58% center;
  }

  .pfc-home-hero__content {
    width: 100%;
    max-width: 270px;
  }

.pfc-home-hero__eyebrow {
  max-width: 250px;
  margin-bottom: 10px;
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  white-space: normal;
}

  .pfc-home-hero h1 {
    max-width: 265px;
    margin-bottom: 14px;
    font-size: 1.65rem;
    line-height: 1.08;
  }

  .pfc-home-hero__content > p:not(.pfc-home-hero__eyebrow) {
    max-width: 250px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .pfc-home-button {
    margin-top: 18px;
    padding: 11px 18px;
    font-size: 0.9rem;
  }
}

