/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* =============================================
   Header — full width containers
   ============================================= */
.blc-contact-bar > .container,
#header .header-top > .container,
.header-menu-wrap > .container {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

/* =============================================
   Sticky header — whole header stays on scroll
   (desktop only, mobile keeps its own sticky logic)
   ============================================= */
@media (min-width: 992px) {
    #header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
    }

    /* Neutralize antheme's position:fixed on the menu —
       the sticky parent already keeps it on screen.
       We keep the visual styles of .fixed-menu (shadow, border). */
    #header .header-menu-wrap.fixed-menu,
    #header .header-menu-wrap.fixed-menu .fixed-menu-container {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
    }

    /* Hide duplicate elements the antheme injects inside the fixed menu
       (logo, wishlist, cart) since our whole header is already visible */
    #amegamenu.fixed-menu #_desktop_logo,
    #amegamenu.fixed-menu .fixed-menu-right,
    #amegamenu.fixed-menu .fixed-menu-wishlist,
    #amegamenu.fixed-menu .fixed-menu-cart,
    #amegamenu.fixed-menu .fixed-menu-cart-count {
        display: none !important;
    }

    /* Ensure mega menu dropdowns layer above page content */
    .anmm-menu .anmm-dropdown {
        z-index: 99;
    }
}

/* =============================================
   Contact bar — Header top bar
   ============================================= */
.blc-contact-bar {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(205, 5, 22, 0.3);
    padding: 9px 0;
}

.blc-contact-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.blc-contact-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.blc-contact-bar-item:hover {
    color: #cd0516;
    text-decoration: none;
}

.blc-contact-bar-icon {
    font-size: 15px;
    color: #cd0516;
}

.blc-contact-bar-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    user-select: none;
}

/* Hide header-nav on desktop — replaced by contact bar */
@media (min-width: 992px) {
    .header-nav {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .blc-contact-bar-hours,
    .blc-contact-bar-hours + .blc-contact-bar-sep {
        display: none;
    }
}

@media (max-width: 991px) {
    .blc-contact-bar-item {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .blc-contact-bar-icon {
        font-size: 13px;
    }

    .blc-contact-bar-inner {
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .blc-contact-bar {
        padding: 6px 0;
    }

    .blc-contact-bar-item {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .blc-contact-bar-icon {
        font-size: 12px;
    }

    .blc-contact-bar-inner {
        gap: 8px;
    }
}

/* =============================================
   Header account bar — consolidated session area
   (wishlist + cart + sign-in + currency + language)
   ============================================= */
.header-account-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: nowrap;
}

.header-account-bar > * {
    display: inline-flex;
    align-items: center;
}

.header-account-bar .an_wishlist-nav,
.header-account-bar #_desktop_cart,
.header-account-bar #_desktop_user_info {
    position: relative;
}

.header-account-bar a {
    transition: color 0.3s ease;
}

.header-account-bar a:hover {
    color: #cd0516 !important;
}

.header-account-bar svg path {
    transition: fill 0.3s ease;
}

.header-account-bar a:hover svg path {
    fill: #cd0516 !important;
}

/* =============================================
   an_homeproducts tabs — Industrial Editorial
   ============================================= */

/* Tabs container */
.an_homeproducts-tabs {
    margin-bottom: 35px;
}

.an_homeproducts-tabs-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

/* Individual tab — ghost style with animated fill */
.an_homeproducts-tab.btn.btn-info {
    background: transparent !important;
    color: #000 !important;
    border: 2px solid #0a0a0a !important;
    border-radius: 0 !important;
    padding: 10px 28px !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px;
    line-height: 1.4 !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.35s ease, border-color 0.35s ease;
}

/* Animated diagonal fill on hover — slash wipe /// */
.an_homeproducts-tab.btn.btn-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 0;
    height: 100%;
    background: #0a0a0a;
    transform: skewX(-12deg);
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.an_homeproducts-tab.btn.btn-info:hover::before {
    width: 140%;
}

.an_homeproducts-tab.btn.btn-info:hover {
    color: #fff !important;
    border-color: #0a0a0a !important;
}

/* Active — solid red with white text */
.an_homeproducts-tab.btn.btn-info.active {
    background: #cd0516 !important;
    color: #fff !important;
    border-color: #cd0516 !important;
}

.an_homeproducts-tab.btn.btn-info.active::before {
    display: none;
}

/* Hide the <hr> between tabs and products */
.an_homeproducts-tabs + hr {
    display: none;
}

/* Section title refinement */
.an_homeproducts-title.h1 {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.an_homeproducts-title.h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #cd0516;
}

/* Center the title wrapper */
.an_homeproducts .an_homeproducts-title-wrapper,
.an_homeproducts-title-wrapper {
    text-align: center;
}

/* =============================================
   Product list reviews — show on miniatures
   ============================================= */
.product-miniature .product-list-reviews {
    display: block !important;
}

/* =============================================
   Product card — availability indicator
   ============================================= */
.product-availability {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
}

.product-availability .availability-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.product-availability.in-stock {
    color: #2e7d32;
}

.product-availability.in-stock .availability-dot {
    background-color: #2e7d32;
}

.product-availability.available-order {
    color: #e65100;
}

/* =============================================
   Product card — manufacturer name
   ============================================= */
.product-miniature .product-manufacturer {
    display: block;
    font-size: 12px;
    color: #949494;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* =============================================
   Navigation menu — Industrial Editorial
   ============================================= */

/* --- Menu bar: tighter, sharper --- */
.header-menu-wrap {
    background: #0a0a0a !important;
    border-bottom: 2px solid #cd0516;
}

.header-menu-wrap.fixed-menu {
    background: #0a0a0a !important;
    border-bottom: 2px solid #cd0516;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Override antheme red bg */
.header-menu,
#amegamenu,
#_desktop_top_menu {
    background: transparent !important;
}

/* --- Menu items: uppercase tracking, animated fill --- */
.anmm-menu .anmm-menu-item > .anmm-link {
    padding: 14px 18px;
    letter-spacing: 1.5px;
    font-size: 13px !important;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.35s ease;
}

/* Animated diagonal fill on hover — slash wipe /// */
.anmm-menu .anmm-menu-item > .anmm-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 0;
    height: 100%;
    background: #cd0516;
    transform: skewX(-12deg);
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.anmm-menu .anmm-menu-item:hover > .anmm-link::after,
.anmm-menu .anmm-menu-item.open > .anmm-link::after {
    width: 140%;
}

/* Dropdown links should NOT have the fill effect */
.anmm-menu .anmm-dropdown .anmm-link {
    overflow: visible;
}

.anmm-menu .anmm-dropdown .anmm-link::after {
    display: none !important;
}

/* Override theme hover color — pure white instead of pink */
.anmm-menu .anmm-list-mobile,
.anmm-menu {
    --menu-title-color: #ffffff;
    --menu-title-color-hover: #ffffff;
    --menu-title-font-size: 13px;
}

#amegamenu .amenu-item .amenu-link:hover,
.anmm-menu .anmm-menu-item:hover > .anmm-link .anmm-link-title {
    color: #fff !important;
    transition: color 0.3s ease;
}

/* Top nav bar — refined hover */
#header .header-nav a,
#header .header-nav .btn-unstyle {
    transition: color 0.3s ease;
}

/* Header top (logo bar) — subtle bottom separator */
#header .header-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Header cart icon hover */
#header .header-nav #_desktop_cart a:hover,
#header .header-nav #_desktop_user_info a:hover,
#header .header-nav .an_wishlist-nav:hover {
    color: #cd0516 !important;
}

#header .header-nav #_desktop_cart a:hover svg path,
#header .header-nav #_desktop_an_wishlist a:hover svg path,
#header .header-nav .user-info a:hover svg path {
    fill: #cd0516 !important;
}

/* --- Dropdown: dark editorial panel --- */
.anmm-menu .anmm-dropdown {
    background: #0a0a0a !important;
    border: none !important;
    border-top: 3px solid #cd0516 !important;
    padding: 25px 20px 15px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    animation: blcMenuDropIn 0.25s ease both;
}

@keyframes blcMenuDropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown column titles */
.anmm-menu .anmm-dropdown-content-title {
    color: #fff !important;
    border-bottom: 1px solid rgba(205, 5, 22, 0.3) !important;
    font-size: 12px !important;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding-bottom: 10px !important;
    margin-bottom: 15px !important;
    font-weight: 700;
}

.anmm-menu .anmm-dropdown-content-title a {
    color: #fff !important;
}

/* Dropdown links */
.anmm-menu .anmm-dropdown .anmm-link {
    border: none !important;
    padding: 8px 0 8px 12px !important;
    border-left: 2px solid transparent !important;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.anmm-menu .anmm-dropdown .anmm-link .anmm-link-title {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
    font-weight: 400;
    transition: color 0.25s ease;
}

.anmm-menu .anmm-dropdown .anmm-link:hover {
    border-left-color: #cd0516 !important;
    background: rgba(205, 5, 22, 0.06) !important;
}

.anmm-menu .anmm-dropdown .anmm-link:hover .anmm-link-title {
    color: #fff !important;
}

/* Dropdown items bg override */
.anmm-menu .anmm-dropdown-item {
    background: transparent !important;
}

/* Dropdown submenu */
.anmm-menu .anmm-dropdown-submenu {
    background: #111 !important;
    border: none !important;
    border-left: 3px solid #cd0516 !important;
}

/* Category links in dropdown */
.anmm-menu .anmm-dropdown .anmm-category-title a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.25s ease;
}

.anmm-menu .anmm-dropdown .anmm-category-title a:hover {
    color: #fff !important;
}

/* Brand list links */
.anmm-menu .anmm-dropdown .anmm-brand a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.25s ease;
}

.anmm-menu .anmm-dropdown .anmm-brand a:hover {
    color: #fff !important;
}

/* Page links */
.anmm-menu .anmm-dropdown .anmm-page a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.25s ease;
}

.anmm-menu .anmm-dropdown .anmm-page a:hover {
    color: #fff !important;
}

/* Dropdown text content */
.anmm-menu .anmm-dropdown-content-text {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Product cards in dropdown */
.anmm-menu .anmm-dropdown .product-miniature .product-title a,
.anmm-menu .anmm-dropdown .product-miniature .product-price-and-shipping {
    color: #fff !important;
}

/* Label badges — keep visible */
.anmm-menu .anmm-link-label {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Arrow icon for dropdown items */
.anmm-menu .anmm-link-arrow svg path {
    fill: rgba(255, 255, 255, 0.4);
    transition: fill 0.25s ease;
}

.anmm-menu .anmm-menu-item:hover .anmm-link-arrow svg path {
    fill: #cd0516;
}

/* --- Fixed/sticky menu refinement --- */
.fixed-menu {
    background: #0a0a0a !important;
    border-bottom: 3px solid #cd0516 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Category flyout submenu styling */
.anmm-category-item.anmm-has-sub > .anmm-category-list {
    background: #111 !important;
    border: none !important;
    border-left: 2px solid #cd0516 !important;
}

/* --- Mobile menu adjustments --- */
@media (max-width: 991px) {
    .header-menu-wrap {
        border-bottom-width: 2px;
    }
}

/* =============================================
   Contact page — Industrial Editorial
   ============================================= */

/* Full page layout */
#contact #wrapper {
    padding-top: 0;
}

#contact #content-wrapper {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Contact form section */
.contact-form {
    background: #fff !important;
    padding: 0 !important;
}

.contact-form .form-fields {
    padding: 0;
}

/* Form title */
.contact-form .contact-form-title h3,
.contact-form .contact-form-title .h2 {
    font-size: 32px !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #000;
    margin-bottom: 35px;
    padding-bottom: 14px;
    position: relative;
}

.contact-form .contact-form-title .h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #cd0516;
}

/* Form labels */
.contact-form .form-control-label {
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    padding-top: 12px;
}

/* Form inputs */
.contact-form .form-control {
    border: 1px solid #e0e0e0 !important;
    border-radius: 0 !important;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #cd0516 !important;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(205, 5, 22, 0.08) !important;
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #aaa;
    font-style: italic;
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23cd0516' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Submit button */
.contact-form .form-footer .btn-primary,
.contact-form input[type="submit"].btn-primary {
    background: #0a0a0a !important;
    color: #fff !important;
    border: 2px solid #0a0a0a !important;
    border-radius: 0 !important;
    padding: 14px 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: all 0.35s ease;
    cursor: pointer;
}

.contact-form .form-footer .btn-primary:hover,
.contact-form input[type="submit"].btn-primary:hover {
    background: #cd0516 !important;
    border-color: #cd0516 !important;
    color: #fff !important;
}

/* Optional label text */
.contact-form .form-control-comment {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 12px;
}

/* Alert messages */
.contact-form .alert {
    border-radius: 0;
    border: none;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.contact-form .alert-success {
    background: #0a0a0a;
    color: #fff;
    border-left: 4px solid #2e7d32;
}

.contact-form .alert-danger {
    background: #0a0a0a;
    color: #fff;
    border-left: 4px solid #cd0516;
}

/* Responsive contact */
@media (max-width: 991px) {
    #contact #left-column {
        margin-bottom: 30px;
    }
}

/* =============================================
   Footer — remove padding top
   ============================================= */
#footer {
    padding-top: 0 !important;
}