/*
 * FD KNIVES base layer: shop, account, order and cookie-notice styles that sit between the
 * theme CSS (style.css) and the page layers (style_v2, fd-theme, fd-storefront). Keep it here,
 * in this position: later files override parts of it on purpose. Tokens (--fd-*) live in fd-theme.css.
 */

/* ---------- Header ---------- */
.fd-logo svg { width: 180px; }
.fd-logo.center { margin-right: auto; margin-left: auto; }
.header-2 .logo { max-width: 100%; margin-top: 1rem; margin-bottom: 1rem; }

/* ---------- Product cards and add-to-cart ---------- */
.cartwrap .btn-cart { border: 1px solid #ccc; box-shadow: none; color: #000 !important; }
.cartwrap .btn-cart:hover, .cartwrap .btn-cart:focus, .cartwrap .btn-cart:visited { border: 1px solid #fff; color: #fff !important; }
.btn-cart::before { display: none; }

/* ---------- Summary tables (cart, checkout, order) ---------- */
.table.table-summary { padding: 20px 0; }
.table.table-summary tbody td { height: auto; padding: 10px 0; border-bottom: none; }
.table.table-summary tr.summary-total td { padding-bottom: 25px; }

/* ---------- Form feedback ---------- */
.form-group .error { font-size: 12px; color: red; }
.notifications { display: none; }

/* ---------- Account menu ---------- */
.dropdown-menu .account-menu li { width: 100%; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid #e7e7e7; }
.dropdown-menu .account-menu li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.dropdown-menu .account-menu li a { display: block; width: 100%; padding: 0; font-size: 13px; }

.custom-checkbox .custom-control-input:is(:checked, :indeterminate) ~ .custom-control-label::before {
  border-color: var(--fd-brass);
  background-color: var(--fd-charcoal);
}

.order_confirmation { padding: 10px 20px 20px; background: #f9f9f9; box-shadow: 0 0 5px rgb(0 0 0 / 15%); }
.product-media { border: 1px solid #f1f1f1; }
.fadeview { opacity: .5 !important; }
.filter-items-count .filter-item.active a { font-weight: 500; color: #000; }

/* ---------- Back-in-stock dialog, FAQ, hero ---------- */
.notify-modal-header { padding: 15px 30px; }
.notify-modal-body { padding: 20px 30px; }
.faqs h4 { margin-top: 17px; font-size: 20px; color: var(--fd-brass-text); }
.intro-slider-container { z-index: 0; }
.intro-slide > img { position: relative; z-index: 0; width: 100%; }
.full-link { top: 0; width: 100%; height: 100%; z-index: 2; }
.social-icons.social-icons-fd .social-icon { border-color: var(--fd-brass); background-color: var(--fd-charcoal); }

/* ---------- Newsletter field message ---------- */
.input_notify { display: none; }
.input_notify.full { width: 100%; }
.input_notify.white { color: #fff; }
.input_notify.red { color: var(--fd-brass-text); }

img.mfp-img { background: #fff; }

/* ---------- Cart lines ---------- */
.cart_row .remove_cart_item { border-radius: 50%; font-size: 14px; color: #fff; background: #c1c1c1; }
.cart_row .remove_cart_item:hover { background: var(--fd-charcoal); }

/* ---------- Order history ---------- */
.user_orders .order { margin-top: 10px; margin-bottom: 10px; padding: 20px; box-shadow: 0 0 10px rgb(0 0 0 / 10%); }
.user_orders .order .order_confirmation { display: none; margin-bottom: 20px; padding: 10px 30px 30px; }
.user_orders .order .table { margin-bottom: 0; }
.user_orders .order .table .cart_row td { padding-top: 15px; padding-bottom: 15px; border-color: #f1f1f1; }
.user_orders .order .table .cart_row:first-child td { padding-top: 0; }
.user_orders .order .table .cart_row:last-child td { padding-bottom: 0; border-bottom: 0; }
.order_confirmation .table.table-summary tr.sub-total td { padding-top: 10px; }
.user_orders .order .order_header .order_summary { float: right; font-size: 14px; line-height: 14px; cursor: pointer; }
.user_orders .order .order_header .order_summary:hover { color: var(--fd-brass-text); }

/* ---------- Order status bar ---------- */
.order_nav { position: relative; display: inline-block; width: 100%; vertical-align: top; }
.order_nav .bar { position: absolute; z-index: 1; height: 25px; background: #c1c1c1; }
.order_nav .bar .progress { position: absolute; left: 0; height: 100%; background: var(--fd-charcoal); }
.order_nav ul { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; float: left; width: 100%; }
.order_nav ul li { float: left; text-align: center; }
.order_nav ul li.four { float: right; margin: 0 20px 0 0; }
.order_nav ul li .check { float: left; padding-left: 4px; vertical-align: top; font-size: 12px; line-height: 25px; color: #fff; background: #c1c1c1; }
.order_nav ul li p { float: left; margin: 0 0 0 10px; font-size: 12px; line-height: 24px; color: #fff; }

.email p > a, .call p > a { font-size: 20px; }

@media screen and (max-width: 767px) {
  .order_nav ul li p { font-size: 10px; }
  .zoomContainer { display: none; }
  .email p > a, .call p > a { font-size: 14px; }
}

.order_nav ul li.active .check { background: var(--fd-charcoal); }
.order_nav ul li.active p { font-weight: bold; }

/* ---------- Cookie notice (slides up a second after load) ---------- */
.cookiealert { position: fixed; bottom: 0; z-index: 999; width: 100%; opacity: 0; transform: translateY(100%); transition: all 500ms ease-out; }
.cookiealert.show { opacity: 1; transform: translateY(0%); transition-delay: 1000ms; }
.cookiealert a { font-weight: bold; text-decoration: underline; color: var(--fd-brass-text); }
.cookiealert a:hover, .cookiealert a:visited { text-decoration: underline; color: var(--fd-brass-text); }
.cookiealert .acceptcookies { margin-left: 10px; vertical-align: baseline; }

/* ---------- CMS text ---------- */
.page-content .content h3 { font-size: 1.6rem; }
.page-content .content p { text-align: justify; }
.page-content .content ul { padding: 0 20px 0 40px; list-style: disc; text-align: justify; }
.page-content .content ol { padding-left: 20px; list-style: decimal; line-height: 28px; text-align: justify; }

/* ---------- Product page ---------- */
.prolabel { position: absolute; top: 0; width: 100%; }
.prolabel a.wishlist { float: right; z-index: 100; display: block !important; font-size: 20px; }
.product-media a#btn-product-gallery { width: auto; height: auto; padding: 10px 0 0; font-size: 18px; }
.cartwrap .btn-outline { border-radius: 8px; line-height: 1; text-transform: uppercase; cursor: pointer; }
.cartwrap .btn-outline:hover { color: #fff; background-color: var(--fd-charcoal); }
.cartwrap .btn-outline.notifyme:hover { color: #fff; background-color: #15b700; }

/* ---------- Prices ---------- */
span.discount label { font-size: 1.1rem; font-weight: 600; color: var(--fd-sale); }
.product-price span.discount { font-size: 1.2rem; font-weight: 600; color: var(--fd-sale); }
.new-price span.now { font-size: 1.7rem; }

@media screen and (max-width: 767px) {
  .cartwrap .btn-outline { font-size: 1.2rem; }
  .small, small { font-size: 60%; }
  ul.nav-dashboard.account-menu { display: none; }
  .breadcrumb-item + .breadcrumb-item:before,
  .breadcrumb-item a,
  .breadcrumb-item span { font-size: 10px; }
  .header-2 .logo { margin-top: 2rem; }
}

/* ---------- Search, phone check dialog, menus, carousels ---------- */
.typeahead { padding-left: 3px !important; }
.verifyotp .form-box { max-width: 400px; }
.opt-card.fancybox-content { max-width: 30%; }
.bottom-left { position: absolute; right: 20px; bottom: 20px; left: 20px; }
ul li.sub-menu:first-child { border-top: 1px solid #ccc; }
.owl-carousel .owl-item { z-index: 1; }
.owl-carousel .owl-item.active { z-index: 2; }

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  .opt-card.fancybox-content { max-width: 100% !important; }
}

/* ---------- Phones ---------- */
@media only screen and (max-width: 767px) {
  .product-media { padding: 10px; }
  .order_products .product-col .product { text-align: left; }
  .order_products .table .total-col { padding-left: 103px; text-align: left; }
  .featured_blocks h6 { padding: 0 10px; font-size: 12px; }
  .featured_blocks .icon { width: 100%; padding: 0 8%; }
  .featured_blocks .icon svg { width: 100%; }
  .intro-slider-container .owl-carousel .owl-item img { height: 220px; object-fit: cover; }
  .opt-card.fancybox-content { max-width: 100% !important; }
  .product-col .product { display: inline-block; }
  .table-cart td { vertical-align: top; }
}

/* ---------- Coupon buttons, accordions ---------- */
#apply_coupon, #remove_checkout_coupon { border-radius: 0 !important; }
.panel-group .panel { border-color: #eee; border-radius: 0; box-shadow: none; }
.more-less { float: right; color: #212121; }
