/* ============================================================
   BoxesMe Modern Design Overrides — modern.css
   All changes here override all.css and custom.css.
   Easily revert individual sections by commenting out blocks.
   ============================================================ */

/* --- 1. GOOGLE FONT: Plus Jakarta Sans -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body,
button, input, select, textarea,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* --- 2. PRODUCT CARDS — white background + shadow + hover -- */
.proThumb {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07) !important;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.proThumb:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13) !important;
}

/* image area inside card — remove grey bg */
.proThumb .img,
.proThumb a > img,
.proThumb img {
    background: #f8f8f8 !important;
}

/* card title styling */
.proThumb .content h4,
.proThumb .content h4 a {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1a1a2e !important;
    transition: color 0.18s ease !important;
}

.proThumb .content h4 a:hover {
    color: #e47920 !important;
    text-decoration: none !important;
}

/* BMC code text inside card */
.proThumb .bmc-code,
.proThumb small,
.proThumb .content small {
    color: #999 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}

/* --- 3. SECTION HEADERS — modern pill label + bolder heading */
.title {
    position: relative;
}

.title h1,
.title h2 {
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #1a1a2e !important;
    font-size: 32px !important;
}

.title h1::after,
.title h2::after {
    content: '';
    width: 48px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #e47920, #f5a623) !important;
    display: block;
    margin: 10px auto 0 !important;
    border-radius: 2px !important;
}

/* Section label pill above heading */
.section-label {
    display: inline-block;
    background: rgba(228, 121, 32, 0.1);
    color: #e47920;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* --- 4. SIDEBAR "CHOOSE BY INDUSTRY" — REVERTED (commented out) -- */
/*
.industrySidebar h4,
#industrySidebar h4 {
    background: transparent !important;
    color: #1a1a2e !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 0 0 12px 0 !important;
    border-bottom: 2px solid #e47920 !important;
    margin-bottom: 6px !important;
}

.industrySidebar .panel-heading a,
#industrySidebar .panel-heading a {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: color 0.15s ease !important;
}

.industrySidebar .panel-heading a:hover,
#industrySidebar .panel-heading a:hover {
    color: #e47920 !important;
    text-decoration: none !important;
}

.industrySidebar .panel-body a,
#industrySidebar .panel-body a {
    color: #555 !important;
    font-size: 13px !important;
    transition: color 0.15s ease, padding-left 0.15s ease !important;
    display: block;
    padding: 3px 0 !important;
}

.industrySidebar .panel-body a:hover,
#industrySidebar .panel-body a:hover {
    color: #e47920 !important;
    padding-left: 4px !important;
    text-decoration: none !important;
}

.industrySidebar .panel,
#industrySidebar .panel {
    border: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
}
*/

/* --- 5. CTA BUTTONS — rounded corners + smooth hover ------- */
.btnStyle,
.requestQuote,
a.btnStyle,
button.btnStyle {
    border-radius: 8px !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
    letter-spacing: 1px !important;
}

.btnStyle:hover,
a.btnStyle:hover,
button.btnStyle:hover {
    background-color: #c96a14 !important;
    box-shadow: 0 4px 16px rgba(228, 121, 32, 0.4) !important;
    transform: translateY(-1px) !important;
}

.requestQuote {
    border-radius: 8px !important;
}

.requestQuote:hover {
    background-color: #c96a14 !important;
    box-shadow: 0 4px 16px rgba(228, 121, 32, 0.35) !important;
}

/* --- 6. NAV HOVER STATES — animated orange pill underline -- */
header .bottom-row .navbar-nav > li > a {
    transition: color 0.15s ease !important;
    position: relative !important;
}

/* The pill underline via pseudo-element */
header .bottom-row .navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: #e47920;
    border-radius: 99px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}

header .bottom-row .navbar-nav > li > a:hover::after,
header .bottom-row .navbar-nav > li.open > a::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

header .bottom-row .navbar-nav > li > a:hover,
header .bottom-row .navbar-nav > li.open > a {
    color: #e47920 !important;
}

/* Don't show underline on the CTA button */
header .bottom-row .navbar-nav > li > a.requestQuote::after {
    display: none !important;
}

header .bottom-row .navbar-nav > li > a.requestQuote:hover {
    background-color: #c96a14 !important;
    color: #fff !important;
}

/* --- 6b. DROPDOWN MENU ITEMS — orange pill underline on hover */
header .bottom-row .navbar-nav .dropdown-menu > li > a {
    position: relative !important;
    transition: color 0.15s ease, padding-left 0.18s ease !important;
}

header .bottom-row .navbar-nav .dropdown-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 14px;
    width: 0;
    height: 2px;
    background: #e47920;
    border-radius: 99px;
    transition: width 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}

header .bottom-row .navbar-nav .dropdown-menu > li > a:hover::after {
    width: calc(100% - 28px);
    opacity: 1;
}

header .bottom-row .navbar-nav .dropdown-menu > li > a:hover {
    color: #e47920 !important;
    background-color: rgba(228, 121, 32, 0.04) !important;
}

/* --- 7. FORM INPUTS — modern rounded borderless style ------- */
.formStyle .form-control,
.form-control {
    border-radius: 8px !important;
    border: 1.5px solid #e8e8e8 !important;
    padding: 10px 14px !important;
    height: auto !important;
    font-size: 14px !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
    background: #fafafa !important;
}

.formStyle .form-control:focus,
.form-control:focus {
    border-color: #e47920 !important;
    box-shadow: 0 0 0 3px rgba(228, 121, 32, 0.12) !important;
    background: #fff !important;
    outline: none !important;
}

/* --- 8. QUOTE FORM — 2-step layout ------------------------- */
/* Step indicator */
.quote-steps {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 0;
}

.quote-step-item {
    display: flex;
    align-items: center;
    flex: 1;
}

.quote-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #999;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.quote-step-num.active {
    background: #e47920;
    color: #fff;
    box-shadow: 0 2px 8px rgba(228,121,32,0.4);
}

.quote-step-num.done {
    background: #2ecc71;
    color: #fff;
}

.quote-step-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    margin-left: 7px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.quote-step-label.active {
    color: #e47920;
}

.quote-step-connector {
    flex: 1;
    height: 2px;
    background: #e8e8e8;
    margin: 0 10px;
    border-radius: 2px;
}

/* Form panels */
.quote-panel {
    display: none;
    animation: fadeSlideIn 0.3s ease;
}

.quote-panel.active {
    display: block;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Step nav buttons */
.quote-nav-btn {
    background: transparent;
    border: 1.5px solid #e47920;
    color: #e47920;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
}

.quote-nav-btn:hover {
    background: #e47920;
    color: #fff;
}

.quote-nav-btn.primary {
    background: #e47920;
    color: #fff;
}

.quote-nav-btn.primary:hover {
    background: #c96a14;
    box-shadow: 0 4px 14px rgba(228,121,32,0.4);
}

/* Styled file upload area */
.file-drop-zone {
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: #fafafa;
    position: relative;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
    border-color: #e47920;
    background: rgba(228,121,32,0.04);
}

.file-drop-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-drop-zone .drop-icon {
    font-size: 22px;
    margin-bottom: 5px;
    color: #ccc;
}

.file-drop-zone .drop-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.file-drop-zone .file-name {
    font-size: 12px;
    color: #e47920;
    font-weight: 600;
    margin-top: 4px;
}

/* --- 9. FAMOUS BOXES section heading tweak ---------------- */
.famouseBoxed .title,
.famouseBoxed > .container > .title {
    text-align: center;
}

/* --- 10. GENERAL POLISH ----------------------------------- */
/* Slightly increase line-height for body text readability */
body {
    line-height: 1.65 !important;
}

/* Smooth all anchor transitions */
a {
    transition: color 0.15s ease !important;
}

/* Subtle page background — off-white instead of pure grey */
.famouseBoxed,
.productListing,
.productDetail {
    background-color: #fafafa !important;
}

/* --- 11. SWIPER THEME OVERRIDES --------------------------- */

/* Navigation arrows — orange brand color */
.swiper-button-next,
.swiper-button-prev {
    color: #e47920 !important;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 36px !important;
    height: 36px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #e47920;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(228,121,32,0.4);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 700;
}

/* Pagination dots */
.swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.swiper-pagination-bullet-active {
    background: #e47920 !important;
    transform: scale(1.3);
}

/* boxTypeCarousel — give it a bit of padding so arrows don't clip */
.boxTypeCarousel {
    padding: 0 40px;
    position: relative;
}

/* Product gallery layout — flex wrapper: thumbs left, main right */
.gallery-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

#galleryThumbs {
    width: 22% !important;
    flex-shrink: 0;
    height: 480px;       /* explicit height required for vertical Swiper */
}

#galleryMain {
    flex: 1;
    min-width: 0;
}

/* Thumb slide — highlight active */
#galleryThumbs .swiper-slide,
#galleryThumbsMobile .swiper-slide {
    opacity: 0.55;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

#galleryThumbs .swiper-slide-thumb-active,
#galleryThumbsMobile .swiper-slide-thumb-active {
    opacity: 1 !important;
    border-color: #e47920;
}

/* Mobile thumbs strip — shown below main image */
#galleryThumbsMobile {
    margin-top: 10px;
    display: none;
}

@media (max-width: 600px) {
    .gallery-wrapper {
        display: block;
    }
    #galleryThumbs {
        display: none;    /* hide vertical thumbs on mobile */
    }
    #galleryThumbsMobile {
        display: block;
    }
    #galleryMain {
        width: 100%;
    }
}

/* Review carousel — a bit of padding for dots at the bottom */
.reviewCarousel.swiper {
    padding-bottom: 40px !important;
}
