/* Fox Marine overlay for OC 3 default theme — mobile first */
:root {
  --fm-navy: #2c3e50;
  --fm-ink: #3a3f44;
  --fm-tan: #c4a35a;
  --fm-bg: #f4f4f2;
}
html, body { background: #f4f4f2 !important; color: var(--fm-ink); }
header, #logo, #logo a, #logo img { background: #f4f4f2 !important; }
#search { display: none !important; }
#top { background: var(--fm-navy); }
#top .btn-link, #top .dropdown-toggle, #top > .container > .row a, #top-links a, #top-links li { color: #fff; text-shadow: none; }
#top .dropdown-menu {
  background: #fff !important;
  border: 1px solid #ddd;
}
#top .dropdown-menu a,
#top .dropdown-menu li a,
#top .dropdown-menu .btn-link {
  color: #333 !important;
}
#top .dropdown-menu a:hover,
#top .dropdown-menu li a:hover {
  background: var(--fm-bg) !important;
  color: var(--fm-navy) !important;
}
#top-links a:hover, #top-links a:focus { color: var(--fm-tan); background: transparent !important; text-decoration: none; }
#logo img { max-height: 105px; height: auto; width: auto; background: #f4f4f2 !important; }
#menu { background: var(--fm-navy); border: 0; min-height: 44px; }
#menu .nav > li > a { color: #fff; font-weight: 600; letter-spacing: .02em; font-size: 15px; }
#menu .nav > li > a:hover, #menu .nav > li.open > a { background: #1b2838; color: var(--fm-tan); }
.btn-primary { background: var(--fm-navy); border-color: var(--fm-navy); }
.btn-primary:hover { background: #1b2838; border-color: #1b2838; }
.product-thumb h4 a { color: var(--fm-navy); }
.product-thumb .price { color: var(--fm-tan); font-weight: 700; }
footer { background: var(--fm-navy); color: #ddd; }
footer a { color: #eee; }
.swiper-viewport, .swiper-container, #slideshow0, .swiper-wrapper, .swiper-slide {
  background: #f4f4f2 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.swiper-viewport { margin: 0; }
.swiper-slide { text-align: center; }
.swiper-slide img, #slideshow0 img {
  object-fit: contain !important;
  object-position: center center;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}
.fm-home-blurb p { font-size: 20px; line-height: 1.5; color: var(--fm-ink); margin-bottom: 14px; }
.swiper-button-next, .swiper-button-prev { display: none !important; }
header #cart { float: right; }
@media (max-width: 767px) {
  #logo { text-align: center; margin: 8px 0; }
  #logo img { max-height: 72px; }
  #cart { margin-top: 8px; }
  #menu { margin-bottom: 0; }
  #menu .btn-navbar { background: var(--fm-tan); border: 0; color: #fff; }
  .product-layout { margin-bottom: 16px; }
  h1 { font-size: 22px; }
  .fm-home-blurb p { font-size: 17px; }
}

button[onclick*="wishlist.add"],
button[onclick*="wishlist"],
a[href*="route=account/wishlist"],
#wishlist-total { display: none !important; }

button[onclick*="compare.add"],
button[onclick*="compare"],
a[href*="route=product/compare"] { display: none !important; }
.price-tax, .price .price-tax { display: none !important; }
#tab-review, a[href="#tab-review"], .rating, .rating-wrapper { display: none !important; }
.product-compare, #compare-total { display: none !important; }

/* Product cards: collapse leftover description space — even, not cramped */
.product-thumb .caption {
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 0;
}
.product-grid .product-thumb .caption {
  min-height: 0;
}
@media (max-width: 1200px) {
  .product-grid .product-thumb .caption {
    min-height: 0;
  }
}
.product-thumb .caption p:not(.price) {
  display: none;
  margin: 0;
}
.product-thumb .price {
  margin: 8px 0 10px;
}
.product-thumb .button-group {
  margin-top: 0;
}
.product-thumb .button-group button {
  min-height: 44px;
  line-height: 44px;
}
.product-layout {
  margin-bottom: 16px;
}

/* category card-spacing */
#product-category .product-thumb .caption,
#product-category .product-grid .product-thumb .caption,
#product-category .product-list .product-thumb .caption {
  min-height: 0 !important;
  padding-top: 8px;
  padding-bottom: 6px;
}
#product-category .product-thumb .caption h4 {
  margin-top: 8px;
  margin-bottom: 4px;
}
#product-category .product-thumb .caption .price {
  margin-bottom: 6px;
}
#product-category .product-thumb {
  margin-bottom: 20px;
}
#product-category .product-layout {
  margin-bottom: 20px;
}
#product-category .product-thumb .button-group {
  margin-top: 0;
}
#product-category .product-thumb .button-group button,
#product-search .product-thumb .button-group button {
  width: 100%;
}

/* Login / My Account: light #top strip, always-visible words */
#top { background: #f4f4f2 !important; border-bottom: 1px solid #ddd; }
#top a, #top-links a {
  color: #000 !important;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .04em;
  background: transparent !important;
  padding: 6px 10px;
  display: inline-block;
}
#top a:hover, #top-links a:hover {
  color: #c4a35a !important;
  background: transparent !important;
}

/* category card-align: stretch row cards, push Add to Cart to a shared baseline */
#product-category #content .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
#product-category #content .row::before,
#product-category #content .row::after {
  display: none;
}
#product-category .product-layout,
#product-category .product-grid .product-layout {
  display: flex;
}
#product-category .product-thumb {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#product-category .product-thumb > div:not(.image) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
#product-category .product-thumb .caption {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
#product-category .product-thumb .button-group {
  margin-top: auto;
}
@media (min-width: 768px) {
  #product-category .product-list .product-thumb {
    flex-direction: row;
    height: auto;
  }
}

/* header: logo left + cart right on one row; logo never full-bleed */
header > .container > .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
header > .container > .row::before,
header > .container > .row::after {
  display: none !important;
}
header .col-sm-9 {
  width: auto !important;
  max-width: none;
  flex: 1 1 auto;
  float: none;
}
header .col-sm-3 {
  width: auto !important;
  flex: 0 0 auto;
  float: none;
  margin-left: auto;
}
#logo {
  margin-bottom: 0;
  width: auto;
}
#logo img {
  max-height: 105px !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
}

/* Photo Gallery: uppercase + thin rule, tighter gap above thumbs */
#information-information h1 {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: .04em;
  color: #000;
  line-height: 30px;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 10px;
  margin: 8px 0 12px;
}
#information-information .mygallery {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
#information-information .mygallery li {
  margin-top: 0;
}

.fm-account-link {
  display: block;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}
.fm-account-link:hover, .fm-account-link:focus {
  color: #c4a35a;
  text-decoration: none;
  background: transparent;
}

/* Allen header: desktop stack, mobile logo-then-tools */
.fm-header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}
.fm-header-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
}
@media (max-width: 767px) {
  header .fm-header-row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }
  header .fm-header-row #logo {
    width: 100%;
    text-align: center;
  }
  header .fm-header-row #logo img {
    max-height: 72px !important;
  }
  .fm-header-tools {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
  }
}
header .fm-header-tools #cart,
header .fm-header-tools #cart.btn-block {
  float: none;
  width: auto;
  display: inline-block;
  margin: 0;
}
header .fm-header-tools #cart > .btn {
  width: auto;
  white-space: nowrap;
}

/* Home blurb: vertically center text beside Allen's photo */
.fm-home-blurb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.fm-home-blurb::before,
.fm-home-blurb::after {
  display: none;
}
.fm-home-blurb .col-sm-8 {
  text-align: center;
}

/* Home blurb: extra column center beside photo */
.row.fm-home-blurb {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
}
.row.fm-home-blurb::before,
.row.fm-home-blurb::after {
  display: none !important;
  content: none !important;
}
.fm-home-blurb > .col-sm-8,
.fm-home-blurb > .col-sm-4 {
  float: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) {
  .row.fm-home-blurb {
    flex-wrap: nowrap;
  }
}

/* Photo Gallery thumbs: visible + clickable (Safari-safe) */
.mygallery,
#information-information .mygallery,
ul.mygallery {
  display: block;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.mygallery li,
#information-information .mygallery li {
  display: inline-block;
  vertical-align: top;
  width: auto;
  height: auto;
  margin: 5px;
}
.mygallery li > div,
#information-information .mygallery li > div {
  display: inline-block;
  vertical-align: top;
  width: auto;
  height: auto;
}
.mygallery a,
.mygallery a.fancybox,
#information-information .mygallery a,
#information-information .mygallery a.fancybox {
  display: inline-block;
  line-height: 0;
  vertical-align: top;
}
.mygallery img,
.mygallery a img,
#information-information .mygallery img,
#information-information .mygallery a img {
  display: block;
  height: 160px;
  width: auto;
  max-width: none;
  min-width: 80px;
  visibility: visible;
  opacity: 1;
}

@media (max-width: 767px) {
  
  
  
  
  
  
  
  #menu #category {
    display: none !important;
  }
  #menu .navbar-header {
    display: block !important;
    float: none;
    text-align: left;
    width: 100%;
  }
  #menu .btn-navbar,
  #menu .navbar-toggle {
    display: inline-block !important;
    float: left;
    margin: 6px 0;
  }
  #menu .navbar-collapse.collapse {
    display: none !important;
  }
  #menu .navbar-collapse.collapse.in {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}

/* fm-mobile-header-fit */
@media (max-width: 767px) {
  header,
  header .container,
  header .fm-header-row {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  header .fm-header-row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }
  header .fm-header-row #logo {
    width: 100%;
    max-width: 100%;
    text-align: center;
    flex: 0 0 auto;
  }
  header .fm-header-tools,
  .fm-header-tools {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
    box-sizing: border-box;
  }
  .fm-account-link,
  header .fm-account-link {
    font-size: 12px;
    white-space: nowrap;
    max-width: 46%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  header .fm-header-tools #cart,
  header .fm-header-tools #cart.btn-block,
  header #cart.btn-block,
  header #cart {
    float: none !important;
    width: auto !important;
    max-width: 52% !important;
    min-width: 0 !important;
    display: block !important;
    margin: 0 !important;
  }
  header .fm-header-tools #cart > .btn,
  header .fm-header-tools #cart .btn-lg,
  header .fm-header-tools #cart .btn-block,
  header #cart > .btn {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: inline-block !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
  #menu #category {
    display: none !important;
  }
  #menu .navbar-header {
    display: block !important;
    float: none !important;
    text-align: left;
    width: 100%;
    height: auto !important;
  }
  #menu .btn-navbar,
  #menu .navbar-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: left !important;
    visibility: visible !important;
    width: auto !important;
    min-width: 44px;
    height: 36px !important;
    padding: 6px 12px !important;
    margin: 6px 0 !important;
    background: var(--fm-tan) !important;
    border: 0 !important;
    color: #fff !important;
  }
  #menu .fm-menu-label {
    display: inline;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-left: 8px;
    vertical-align: middle;
    white-space: nowrap;
  }
  #menu .navbar-collapse.collapse:not(.in) {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  #menu .navbar-collapse.in {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}

@media (min-width: 768px) {
  #menu .navbar-header,
  #menu .btn-navbar,
  #menu .navbar-toggle {
    display: none !important;
  }
}

/* Home blurb: center Allen's photo on mobile */
@media (max-width: 767px) {
  .fm-home-blurb,
  .row.fm-home-blurb {
    flex-direction: column;
    text-align: center;
  }
  .fm-home-blurb > .col-sm-8,
  .fm-home-blurb > .col-sm-4 {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }
  .fm-home-blurb img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Model names: wrap the title; do not break mid-token */
.product-thumb .caption h4,
.product-thumb .caption h4 a {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.fm-nowrap {
  white-space: nowrap;
}

/* Mobile homepage slideshow: 3:1 crops ~130px photo */
@media (max-width: 767px) {
  .slideshow.swiper-viewport {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    max-width: none;
  }
  .slideshow.swiper-viewport,
  .slideshow .swiper-container,
  #slideshow0,
  #slideshow0.swiper-container {
    height: 130px !important;
    min-height: 130px !important;
    max-height: 140px !important;
    background: #f4f4f2 !important;
  }
  .slideshow .swiper-wrapper,
  .slideshow .swiper-slide,
  #slideshow0 .swiper-slide {
    height: 130px !important;
    background: #f4f4f2 !important;
  }
  .slideshow .swiper-slide picture,
  #slideshow0 picture {
    display: block;
    width: 100%;
    height: 130px;
    background: #f4f4f2;
  }
  .slideshow .swiper-slide img,
  .slideshow .swiper-slide picture img,
  #slideshow0 img,
  #slideshow0 .swiper-slide img {
    object-fit: contain !important;
    object-position: center center;
    width: 100% !important;
    max-width: 100% !important;
    height: 130px !important;
    max-height: 130px !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

/* Category / search listing: show Add to Cart words on phones */
@media (max-width: 767px) {
  #product-category .product-thumb .button-group button span.hidden-xs,
  #product-search .product-thumb .button-group button span.hidden-xs,
  .product-thumb .button-group button span.hidden-xs {
    display: inline !important;
  }
  #product-category .product-thumb .button-group button,
  #product-search .product-thumb .button-group button {
    font-size: 13px;
    white-space: nowrap;
  }
}

/* Mobile cart dropdown: fit viewport, keep prices visible */
@media (max-width: 767px) {
  header .fm-header-tools,
  .fm-header-tools {
    position: relative;
  }
  header #cart,
  header .fm-header-tools #cart,
  header .fm-header-tools #cart.btn-block,
  #cart.btn-group {
    position: static !important;
  }
  #cart .dropdown-menu,
  #cart .dropdown-menu.pull-right {
    position: absolute;
    left: 8px;
    right: 8px;
    width: auto;
    min-width: 0;
    max-width: calc(100vw - 16px);
    box-sizing: border-box;
  }
  #cart .dropdown-menu table {
    width: 100%;
    table-layout: auto;
  }
  #cart .dropdown-menu li > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  #cart .dropdown-menu td:last-child,
  #cart .dropdown-menu .text-right {
    white-space: nowrap;
  }
}

/* Cart page: hide breadcrumb, next-step copy, gift cert leftover */
/* Global: hide breadcrumbs on every page */
.breadcrumb, ul.breadcrumb {
  display: none !important;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#checkout-cart #content > h2,
#checkout-cart #content > p {
  display: none !important;
}
#checkout-cart #collapse-voucher,
#checkout-cart a[href="#collapse-voucher"],
#checkout-cart #collapse-reward,
#checkout-cart a[href="#collapse-reward"] {
  display: none !important;
}

/* Contact captcha look */
.fm-contact-form #input-captcha {
  max-width: 400px;
  height: 34px;
}
.fm-contact-form .captcha {
  margin: 0 0 8px;
  max-width: 400px;
}
.fm-contact-form .captcha img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 3px;
  box-sizing: border-box;
}
/* Fancybox nav: sit near the image, not the viewport edges */
.fancybox-container {
  --fb-img-w: 500px;
}
.fancybox-container .fancybox-navigation .fancybox-button.fancybox-button--arrow_left,
.fancybox-container .fancybox-navigation .fancybox-button.fancybox-button--arrow_right {
  width: 44px;
  padding-left: 4px;
  padding-right: 4px;
}
.fancybox-container .fancybox-navigation .fancybox-button.fancybox-button--arrow_left {
  left: max(8px, calc(50% - (var(--fb-img-w, 500px) / 2) - 52px));
  right: auto;
}
.fancybox-container .fancybox-navigation .fancybox-button.fancybox-button--arrow_right {
  right: max(8px, calc(50% - (var(--fb-img-w, 500px) / 2) - 52px));
  left: auto;
}
@media (max-width: 640px) {
  .fancybox-container .fancybox-navigation .fancybox-button.fancybox-button--arrow_left {
    left: 8px;
  }
  .fancybox-container .fancybox-navigation .fancybox-button.fancybox-button--arrow_right {
    right: 8px;
  }
}

/* fm-mobile-chrome: live-matching top bar + drawer */
.fm-mobile-bar,
.fm-drawer,
.fm-drawer-backdrop,
.fm-mobile-search,
.fm-cart-badge {
  display: none;
}
@media (max-width: 767px) {
  .fm-desktop-nav,
  .fm-desktop-nav #menu,
  #menu.navbar,
  #menu {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }
  #menu .navbar-header,
  #menu .btn-navbar,
  #menu .navbar-toggle,
  #menu .fm-menu-label {
    display: none !important;
  }
  header {
    position: relative;
    padding: 0;
  }
  .fm-mobile-bar {
    display: flex !important;
    align-items: stretch;
    position: relative;
    z-index: 120;
    height: 50px;
    width: 100%;
    background: #323232 !important;
    color: #7e7e7e;
  }
  .fm-hamburger,
  .fm-search-toggle {
    display: block;
    width: 64px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid #000;
    background: transparent;
    color: #7e7e7e;
    font-size: 26px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
  }
  .fm-search-toggle {
    width: 65px;
  }
  .fm-hamburger:hover,
  .fm-hamburger:focus,
  .fm-search-toggle:hover,
  .fm-search-toggle:focus {
    color: #fff;
    background: #2a2a2a;
    outline: 0;
  }
  .fm-mobile-search {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    z-index: 121;
    height: 50px;
    background: #323232 !important;
    padding: 8px 10px;
    box-sizing: border-box;
  }
  body.fm-search-open .fm-mobile-search {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }
  body.fm-search-open header .container {
    padding-top: 50px;
  }
  .fm-mobile-search input[name="search"] {
    flex: 1 1 auto;
    height: 34px;
    border: 0;
    border-radius: 0;
    padding: 0 10px;
    background: #fff;
    color: #333;
  }
  .fm-mobile-search button {
    height: 34px;
    width: 40px;
    border: 0;
    background: #ad9b86;
    color: #fff;
  }
  header .fm-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
  header .fm-header-row #logo,
  header .fm-header-row #logo img {
    text-align: left;
    background: #f4f4f2 !important;
  }
  header .fm-header-row #logo {
    width: 100% !important;
    padding: 8px 15px 10px;
    margin: 0 !important;
  }
  header .fm-header-row #logo img {
    max-height: 72px !important;
  }
  header .fm-header-tools,
  .fm-header-tools {
    display: block !important;
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    gap: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .fm-account-link,
  header .fm-account-link {
    display: none !important;
  }
  header #cart,
  header .fm-header-tools #cart,
  header .fm-header-tools #cart.btn-block,
  header #cart.btn-block,
  #cart.btn-group {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    float: none !important;
    width: 83px !important;
    max-width: 83px !important;
    min-width: 0 !important;
    height: 50px !important;
    margin: 0 !important;
    z-index: 125;
    display: block !important;
  }
  header #cart > .btn,
  header #cart > .btn.btn-inverse,
  header #cart > .btn.btn-block,
  header #cart > .btn.btn-lg,
  header .fm-header-tools #cart > .btn,
  header .fm-header-tools #cart .btn-lg,
  header .fm-header-tools #cart .btn-block {
    display: block !important;
    width: 83px !important;
    max-width: 83px !important;
    height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ad9b86 !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 50px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
  header #cart > .btn > .fa-shopping-cart,
  header #cart > .btn > i.fa {
    display: inline-block !important;
    font-size: 20px !important;
    color: #fff !important;
    line-height: 50px !important;
    margin: 0 6px 0 0 !important;
    vertical-align: middle;
  }
  header #cart #cart-total {
    display: none !important;
  }
  header #cart .fm-cart-badge {
    display: inline-block !important;
    background: #323232 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 22px !important;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    vertical-align: middle;
    text-align: center;
    border-radius: 2px;
  }
  #cart .dropdown-menu,
  #cart .dropdown-menu.pull-right {
    position: fixed !important;
    top: 50px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 16px) !important;
    z-index: 130;
  }
  .fm-drawer-backdrop {
    display: none;
    position: fixed;
    z-index: 110;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
  }
  body.fm-drawer-open .fm-drawer-backdrop {
    display: block;
  }
  .fm-drawer {
    display: block;
    position: fixed;
    z-index: 115;
    top: 50px;
    left: 0;
    bottom: 0;
    width: 237px;
    max-width: 70%;
    background: #323232 !important;
    color: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }
  body.fm-drawer-open .fm-drawer {
    transform: translateX(0);
  }
  .fm-drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .fm-drawer li {
    margin: 0;
    padding: 0;
  }
  .fm-drawer a {
    display: block;
    padding: 10px 20px 11px;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid #000;
    font-size: 13px;
    line-height: 1.4;
    background: transparent;
  }
  .fm-drawer a:hover,
  .fm-drawer a:focus {
    color: #fff !important;
    background: #2a2a2a;
  }
  .fm-drawer a .fa {
    display: inline-block;
    width: 22px;
    margin-right: 10px;
    text-align: center;
    color: #fff;
    font-size: 14px;
  }
  body.fm-drawer-open {
    overflow: hidden;
  }
}
@media (min-width: 768px) {
  .fm-mobile-bar,
  .fm-drawer,
  .fm-drawer-backdrop,
  .fm-mobile-search,
  .fm-cart-badge {
    display: none !important;
  }
}

/* Listing ATC option popup */
#fm-atc-modal .modal-content {
  background: #f4f4f2;
  border-radius: 2px;
  border: 1px solid #ddd;
}
#fm-atc-modal .modal-header {
  border-bottom: 1px solid #ddd;
  background: #fff;
}
#fm-atc-modal .modal-title {
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
}
#fm-atc-modal .modal-body {
  padding: 16px 18px 8px;
}
#fm-atc-modal .checkbox,
#fm-atc-modal .radio {
  margin-top: 6px;
  margin-bottom: 6px;
}
#fm-atc-modal .checkbox label,
#fm-atc-modal .radio label {
  font-weight: 400;
  font-size: 14px;
  color: #3a3f44;
}
#fm-atc-modal .fm-atc-qty {
  max-width: 88px;
}
#fm-atc-modal .modal-footer {
  border-top: 1px solid #ddd;
  text-align: center;
}
#fm-atc-modal .fm-atc-add,
#fm-atc-modal #fm-atc-submit {
  background: #2c3e50;
  border-color: #2c3e50;
  color: #fff;
  min-height: 44px;
  width: 100%;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .03em;
}
#fm-atc-modal .fm-atc-add:hover,
#fm-atc-modal #fm-atc-submit:hover {
  background: #1b2838;
  border-color: #1b2838;
  color: #fff;
}
#fm-atc-modal .fm-atc-error .text-danger {
  margin-top: 8px;
}
@media (max-width: 480px) {
  #fm-atc-modal .modal-dialog {
    margin: 10px;
    width: auto;
  }
  #fm-atc-modal .modal-title {
    font-size: 16px;
  }
}
/* Mobile product: name+price above photo; description after buy */
@media (max-width: 767px) {
  #product-product .fm-product-main {
    display: flex;
    flex-direction: column;
  }
  #product-product .fm-product-main::before,
  #product-product .fm-product-main::after {
    display: none !important;
    content: none !important;
  }
  #product-product .fm-product-main > [class*="col-"] {
    display: contents;
  }
  #product-product .fm-product-ident {
    order: 1;
  }
  #product-product .fm-product-media {
    order: 2;
  }
  #product-product .fm-product-fancybox-group {
    order: 2;
  }
  #product-product #product {
    order: 3;
  }
  #product-product .fm-product-desc {
    order: 4;
  }
}
/* Product page: wrap H1; give buy column more room at mid widths */
#product-product .fm-product-ident h1,
#product-product h1 {
  white-space: normal;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  max-width: 100%;
}
#product-product .fm-product-ident {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 768px) and (max-width: 1100px) {
  #content .fm-product-main > .col-sm-8 {
    width: 45%;
  }
  #content .fm-product-main > .col-sm-4 {
    width: 55%;
  }
}
/* Product page: description full width below photo | buy */
#product-product .fm-product-body {
  clear: both;
}
#product-product .fm-product-desc {
  width: 100%;
  max-width: 100%;
}
/* Product page + footer: bump small type; leave H1 and price */
@media (max-width: 767px) {
  #product-product .fm-product-desc,
  #product-product .fm-product-desc p,
  #product-product #tab-description,
  #product-product #tab-description p {
    font-size: 14px;
    line-height: 1.55;
  }
  #product-product .fm-product-ident > ul.list-unstyled,
  #product-product .fm-product-ident > ul.list-unstyled > li,
  #product-product #product,
  #product-product #product label,
  #product-product #product .control-label,
  #product-product #product .form-group,
  #product-product #product .checkbox label,
  #product-product #product .radio label,
  #product-product .product-thumb .caption,
  #product-product .product-thumb .caption p:not(.price),
  footer,
  footer p,
  footer a,
  footer li,
  footer h5,
  #footer,
  #footer p,
  #footer a,
  #footer li,
  #footer h5 {
    font-size: 13px;
  }
}
@media (min-width: 768px) {
  #product-product .fm-product-desc,
  #product-product .fm-product-desc p,
  #product-product #tab-description,
  #product-product #tab-description p {
    font-size: 16px;
    line-height: 1.55;
  }
  #product-product .fm-product-ident > ul.list-unstyled,
  #product-product .fm-product-ident > ul.list-unstyled > li,
  #product-product #product,
  #product-product #product label,
  #product-product #product .control-label,
  #product-product #product .form-group,
  #product-product #product .checkbox label,
  #product-product #product .radio label,
  #product-product .product-thumb .caption,
  #product-product .product-thumb .caption p:not(.price),
  footer,
  footer p,
  footer a,
  footer li,
  footer h5,
  #footer,
  #footer p,
  #footer a,
  #footer li,
  #footer h5 {
    font-size: 15px;
  }
}
#product-product .product-thumb .caption .price,
#product-product .price {
  font-size: 12px;
}
/* Listing + related: wrap titles; always show ADD TO CART words */
#product-product .product-thumb .caption h4,
#product-product .product-thumb .caption h4 a,
#product-category .product-thumb .caption h4,
#product-category .product-thumb .caption h4 a,
#product-search .product-thumb .caption h4,
#product-search .product-thumb .caption h4 a {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
#product-product .product-thumb .button-group button,
#product-category .product-thumb .button-group button,
#product-search .product-thumb .button-group button {
  width: 100%;
  white-space: nowrap;
}
#product-product .product-thumb .button-group button span.hidden-xs,
#product-product .product-thumb .button-group button span.hidden-sm,
#product-product .product-thumb .button-group button span.hidden-md,
#product-category .product-thumb .button-group button span.hidden-xs,
#product-category .product-thumb .button-group button span.hidden-sm,
#product-category .product-thumb .button-group button span.hidden-md,
#product-search .product-thumb .button-group button span.hidden-xs,
#product-search .product-thumb .button-group button span.hidden-sm,
#product-search .product-thumb .button-group button span.hidden-md {
  display: inline !important;
}
@media (max-width: 1100px) {
  #product-product .product-thumb .button-group button,
  #product-category .product-thumb .button-group button,
  #product-search .product-thumb .button-group button {
    font-size: 12px;
  }
}
