/* ============================================================
   BFP (Big Fat Print) – Master Stylesheet
   Clone of SY Printing layout with BFP branding
   Colors: Navy Blue #1B3A5C  |  Gold #E8A817
   Font:   Raleway
   ============================================================ */

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }

body {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #292d33;
    background: #fff;
    margin: 0;
    padding: 0;
}

a { color: #1B3A5C; text-decoration: none; }
a:hover { color: #E8A817; text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ---------- TOP BAR ---------- */
.top-bar {
    background: #1B3A5C;
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 2px solid #E8A817;
}

.top-bar .top-info {
    margin-right: 15px;
    color: #ccc;
}

.top-bar .top-info i {
    margin-right: 4px;
    color: #E8A817;
}

.top-bar .top-cart a {
    color: #E8A817;
    font-weight: 600;
    margin-left: 15px;
}

.top-bar .top-cart a:hover {
    color: #fff;
}

/* ---------- HEADER ---------- */
.main-header {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #e3e3e3;
}

.main-header .logo-img {
    max-height: 60px;
}

.header-right {
    padding-top: 8px;
}

.header-tagline {
    font-size: 16px;
    font-weight: 600;
    color: #1B3A5C;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-actions a,
.header-actions .btn-link {
    color: #1B3A5C;
    font-size: 12px;
    margin-left: 12px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.header-actions a:hover,
.header-actions .btn-link:hover {
    color: #E8A817;
}

/* ---------- NAVIGATION ---------- */
.main-nav {
    background: linear-gradient(to bottom, #1B3A5C, #142d48);
    border-bottom: 3px solid #E8A817;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 12px 17px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 200ms ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    background: #E8A817;
    color: #1B3A5C;
}

/* Dropdown */
.nav-menu .dropdown-menu {
    background: #1B3A5C;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    min-width: 200px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.nav-menu .dropdown-menu > li > a {
    color: #fff;
    font-size: 11px;
    padding: 7px 20px;
    font-weight: 500;
    transition: background 200ms ease;
}

.nav-menu .dropdown-menu > li > a:hover {
    background: #E8A817;
    color: #1B3A5C;
}

/* Sub-dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu.sub-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu.sub-menu {
    display: block;
}

.caret-right {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid currentColor;
}

/* Dropdown open on hover (desktop) */
.nav-menu > li.dropdown:hover > .dropdown-menu {
    display: block;
}

/* ---------- MAIN CONTENT ---------- */
.main-content {
    min-height: 400px;
    padding: 0;
}

/* ---------- HOMEPAGE SLIDER ---------- */
.home-slider {
    margin: 0;
    padding: 0;
}

.home-slider .owl-carousel .item img {
    width: 100%;
    display: block;
}

.home-slider .owl-dots {
    text-align: center;
    margin-top: 10px;
}

.home-slider .owl-dot span {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
}

.home-slider .owl-dot.active span {
    background: #E8A817;
}

.home-slider .owl-nav .owl-prev,
.home-slider .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27,58,92,0.7) !important;
    color: #fff !important;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    border-radius: 0;
}

.home-slider .owl-nav .owl-prev { left: 10px; }
.home-slider .owl-nav .owl-next { right: 10px; }

/* ---------- SECTION TITLES ---------- */
.section-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 700;
    color: #1B3A5C;
    margin: 35px 0 25px;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #E8A817;
    margin: 10px auto 0;
}

/* ---------- CATEGORY GRID ---------- */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.category-grid .cat-item {
    width: 20%;
    padding: 5px;
}

.category-grid .cat-card {
    border: 1px solid #aeaeae;
    border-radius: 7px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.category-grid .cat-card:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.category-grid .cat-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.category-grid .cat-card .cat-name {
    padding: 8px 5px;
    font-size: 13px;
    font-weight: 600;
    color: #1B3A5C;
    text-transform: uppercase;
}

/* ---------- FEATURED PRODUCTS TABS ---------- */
.featured-tabs {
    margin: 30px 0;
}

.featured-tabs .nav-tabs {
    border-bottom: 2px solid #1B3A5C;
    text-align: center;
}

.featured-tabs .nav-tabs > li {
    float: none;
    display: inline-block;
}

.featured-tabs .nav-tabs > li > a {
    background: #e3e3e3;
    color: #292d33;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
    border: none;
    padding: 10px 18px;
    margin-right: 2px;
}

.featured-tabs .nav-tabs > li.active > a,
.featured-tabs .nav-tabs > li > a:hover {
    background: linear-gradient(to bottom, #E8A817, #d49a14);
    color: #1B3A5C;
    border: none;
}

.featured-tabs .tab-content {
    border: 1px solid #f0f0f0;
    background: #F9F9F9;
    border-radius: 0 0 5px 5px;
    padding: 15px;
}

/* ---------- PRODUCT CARDS ---------- */
.product-card {
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    background: #fff;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 300ms ease;
    min-height: 234px;
}

.product-card:hover {
    transform: scale(1.01);
    box-shadow: 0 1px 7px rgba(0,0,0,0.1);
}

.product-card .product-img {
    width: 100%;
    height: 183px;
    object-fit: cover;
    border-bottom: 1px solid #e3e3e3;
}

.product-card .product-info {
    padding: 8px 10px;
}

.product-card .product-title {
    font-size: 13px;
    font-weight: 600;
    color: #1B3A5C;
    margin: 0 0 4px;
    line-height: 1.3;
}

.product-card .product-price {
    font-size: 14px;
    font-weight: 700;
    color: #E8A817;
}

.product-card .product-price small {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

/* ---------- PRODUCT LIST (Shop pages) ---------- */
.product-list-box {
    border: 3px solid #c3c3c3;
    border-radius: 7px;
    padding: 10px;
    margin: 10px 0;
}

.product-list-box:hover {
    border-color: #E8A817;
}

/* ---------- PRODUCT DETAIL PAGE ---------- */
.product-detail {
    padding: 30px 0;
}

.product-detail .product-gallery {
    margin-bottom: 20px;
}

.product-detail .flexslider {
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-detail .product-name {
    font-size: 22px;
    font-weight: 700;
    color: #1B3A5C;
    margin: 0 0 10px;
}

.product-detail .product-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Configurator form */
.config-form .form-group label {
    font-weight: 600;
    font-size: 12px;
    color: #1B3A5C;
    text-transform: uppercase;
}

.config-form .form-control {
    border-radius: 3px;
    border: 1px solid #c3c3c3;
    font-size: 13px;
    height: 36px;
}

.config-form .form-control:focus {
    border-color: #E8A817;
    box-shadow: 0 0 0 2px rgba(232,168,23,0.2);
}

.config-form .size-inputs {
    display: flex;
    gap: 10px;
}

.config-form .size-inputs .form-group {
    flex: 1;
}

/* Live price display */
.price-display {
    background: #1B3A5C;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin: 15px 0;
}

.price-display .price-label {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.price-display .price-value {
    font-size: 28px;
    font-weight: 700;
    color: #E8A817;
}

/* ---------- BUTTONS ---------- */
.btn-bfp {
    background: linear-gradient(to bottom, #E8A817, #d49a14);
    color: #1B3A5C;
    border: none;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: background 200ms ease;
}

.btn-bfp:hover {
    background: linear-gradient(to bottom, #f0b520, #E8A817);
    color: #1B3A5C;
}

.btn-bfp-outline {
    background: transparent;
    color: #1B3A5C;
    border: 2px solid #1B3A5C;
    padding: 8px 23px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: all 200ms ease;
}

.btn-bfp-outline:hover {
    background: #1B3A5C;
    color: #fff;
}

.btn-cart {
    background: #E8A817;
    color: #1B3A5C;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 3px;
    width: 100%;
    cursor: pointer;
}

.btn-cart:hover {
    background: #f0b520;
}

/* ---------- UPLOAD AREA ---------- */
.upload-area {
    border: 2px dashed #c3c3c3;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    color: #999;
    cursor: pointer;
    transition: border-color 200ms ease;
}

.upload-area:hover {
    border-color: #E8A817;
    color: #E8A817;
}

.upload-area i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

/* ---------- CART PAGE ---------- */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: #1B3A5C;
    color: #fff;
    padding: 10px 12px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.cart-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e3e3e3;
    font-size: 13px;
    vertical-align: middle;
}

.cart-table .cart-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

.cart-total {
    background: #F9F9F9;
    border: 1px solid #e3e3e3;
    padding: 15px;
    border-radius: 5px;
}

.cart-total .total-label {
    font-size: 14px;
    font-weight: 600;
    color: #1B3A5C;
}

.cart-total .total-value {
    font-size: 22px;
    font-weight: 700;
    color: #E8A817;
}

/* ---------- ROUND BOX (Info boxes) ---------- */
.round-box {
    border: 2px solid #c3c3c3;
    border-radius: 7px;
    padding: 10px;
    margin: 10px 0;
}

.round-box-highlight {
    border-color: #E8A817;
}

/* ---------- FOOTER ---------- */
.main-footer {
    background: #1B3A5C;
    color: #ccc;
    padding: 35px 0 0;
    margin-top: 40px;
}

.main-footer .footer-title {
    color: #E8A817;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.main-footer p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 6px;
}

.main-footer p i {
    color: #E8A817;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links li a {
    color: #ccc;
    font-size: 13px;
    transition: color 200ms ease;
}

.footer-links li a:hover {
    color: #E8A817;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 12px 0;
    margin-top: 25px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.footer-bottom a {
    color: #E8A817;
    margin-left: 15px;
}

/* ---------- SCROLL TO TOP BUTTON ---------- */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background: #E8A817;
    color: #1B3A5C;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 200ms ease;
}

#myBtn:hover {
    background: #f0b520;
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 98;
}

.whatsapp-float img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 200ms ease;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

/* ---------- PAGE HEADER / BREADCRUMB ---------- */
.page-header-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e3e3e3;
    padding: 12px 0;
}

.page-header-bar h1 {
    font-size: 18px;
    font-weight: 700;
    color: #1B3A5C;
    margin: 0;
    text-transform: uppercase;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 3px 0 0;
    font-size: 12px;
}

.breadcrumb > li + li::before {
    content: "›";
    color: #999;
}

.breadcrumb > .active {
    color: #E8A817;
}

/* ---------- CONTACT / FAQ PAGES ---------- */
.contact-section {
    padding: 30px 0;
}

.contact-info-box {
    background: #F9F9F9;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.contact-info-box h4 {
    color: #1B3A5C;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info-box i {
    color: #E8A817;
    margin-right: 8px;
}

.faq-panel .panel-heading {
    background: #1B3A5C;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.faq-panel .panel-heading:hover {
    background: #24476d;
}

.faq-panel .panel-body {
    font-size: 13px;
    line-height: 1.6;
}

/* ---------- AUTH PAGES ---------- */
.auth-box {
    max-width: 420px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    padding: 30px;
}

.auth-box h2 {
    color: #1B3A5C;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
}

/* ---------- ORDER STATUS BADGES ---------- */
.badge-pending { background: #f0ad4e; }
.badge-confirmed { background: #5bc0de; }
.badge-processing { background: #337ab7; }
.badge-printing { background: #1B3A5C; }
.badge-completed { background: #5cb85c; }
.badge-cancelled { background: #d9534f; }

/* ---------- USER GUIDE PAGE ---------- */
.guide-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.guide-step .step-num {
    background: #E8A817;
    color: #1B3A5C;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 15px;
}

.guide-step .step-content h4 {
    color: #1B3A5C;
    font-weight: 700;
    margin: 0 0 8px;
}

.guide-step .step-content p {
    color: #555;
    font-size: 13px;
    margin: 0;
}

/* ---------- ALERTS ---------- */
.alert-bfp {
    background: #fff8e1;
    border: 1px solid #E8A817;
    color: #1B3A5C;
    border-radius: 3px;
    padding: 12px 15px;
    font-size: 13px;
}

/* ---------- RESPONSIVE (match SY fixed-width feel) ---------- */
@media (max-width: 991px) {
    .category-grid .cat-item {
        width: 33.333%;
    }
}

@media (max-width: 767px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-menu > li.dropdown:hover > .dropdown-menu {
        position: static;
        box-shadow: none;
    }

    .dropdown-submenu > .dropdown-menu.sub-menu {
        position: static;
        left: 0;
    }

    .category-grid .cat-item {
        width: 50%;
    }

    .header-tagline {
        font-size: 13px;
    }

    .top-bar .col-xs-6:first-child {
        display: none;
    }
}
