/* =======================================================
   1. GLOBAL VARIABLES & BASIC SETUP
   ======================================================= */
:root {
    --primary-color: #fed700;
    --dark-color: #333e48;
    --text-muted: #757575;
    --color-white:#fff;
    --blue-accent: #0062bd;
    --body-font: "Open Sans", sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    overflow-x: hidden;
}

a { text-decoration: none; color: var(--dark-color); transition: 0.2s; }
a:hover { color: var(--primary-color); }

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

/* Pagination */
.pagination .page-link {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50% !important; margin: 0 5px; border: 1px solid #eee; font-weight: 600; color: #333;
}
.pagination .page-link:hover, .pagination .active .page-link { 
    background-color: var(--primary-color) !important; 
    border-color: var(--primary-color) !important; 
    color: var(--dark-color); 
}

/* =======================================================
   CUSTOM FORM, CHECKBOX & RADIO STYLES (PRIMARY COLOR)
   ======================================================= */
.form-label { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-control {
    border-radius: 20px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}
.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.form-check-label { font-size: 14px; cursor: pointer; }
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(254, 215, 0, 0.25);
}

/* Radio Button Dot Color (Black on Yellow) */
.form-check-input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23333'/%3e%3c/svg%3e");
}

/* Checkbox Tick Color (Black on Yellow) */
.form-check-input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

/* =======================================================
   2. BUTTON STYLES
   ======================================================= */
.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); color: #333 !important; font-weight: 700; }
.btn-primary:hover { background-color: #e6c200; border-color: #e6c200; }
.btn-dark { background-color: #333; border-color: #333; color: #fff; font-weight: 700; }
.btn-dark:hover { background-color: #000; border-color: #000; }
.btn-warning {
    background-color: var(--primary-color);
    border: none;
    color: var(--dark-color) !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    font-weight: 700;
    padding: 15px 30px !important;
    border-radius: 5px 5px 0 0 !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
}
.btn-form-action {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    min-width: 140px;
}

/* =======================================================
   3. HEADER & SEARCH BAR
   ======================================================= */
.top-bar { border-bottom: 1px solid #e5e5e5; font-size: 13px; }
.top-bar a { color: #777; }

.search-box {
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}
.search-box .form-select { border: none; border-right: 1px solid #ddd; font-size: 14px; }
.search-box .form-control { border: none; box-shadow: none; }
.search-box .btn { border-radius: 0; padding: 0 20px; }

.header-icons .small-text { 
    font-size: 12px; 
    color: var(--text-muted); 
    line-height: 1; 
    margin-top: 5px; 
}
.header-icons i { color: var(--dark-color); }

/* =======================================================
   4. NAVIGATION & MENUS
   ======================================================= */
.nav-link { font-size: 14px; padding: 10px 0; font-weight: 700; }
.dropdown-menu { border-radius: 0; box-shadow: 0 5px 10px rgba(0,0,0,0.1); border: 1px solid #eee; }

.position-static { position: static !important; }
.mega-menu { width: 100%; left: 0; right: 0; padding: 20px; margin-top: 0; }

.department-dropdown { position: absolute; top: 100%; left: 0; z-index: 1000; background: #fff; min-width: 270px; }
.has-sub-menu { position: static !important; }

.department-sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 700px;
    min-height: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    padding: 30px;
    z-index: 1001;
    border: 1px solid #eee;
    border-left: none;
}
.has-sub-menu:hover .department-sub-menu { display: block; }
.has-sub-menu:hover > .dropdown-item { color: var(--primary-color); background-color: #f9f9f9; }
.group-hover:hover .submenu { display: block !important; }

/* =======================================================
   5. MOBILE RESPONSIVE TWEAKS
   ======================================================= */
@media (max-width: 991px) {
    .main-header { border-bottom: 1px solid #eee; }
    #mobileSearchCollapse {
        position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
        background: #fff; padding: 10px; box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    }
    .main-header .container { position: relative; }
    .border-end-lg { border-right: none; }
}

/* =======================================================
   6. FOOTER STYLES
   ======================================================= */
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #777777 !important; text-decoration: none; font-size: 14px;
    transition: all 0.2s ease; display: inline-block;
}
.footer-links a:hover { color: #333e48 !important; padding-left: 5px; }

/* =======================================================
   7. PRODUCT CARDS (BASE STYLES)
   ======================================================= */
.product-card { 
    transition: all 0.2s ease; 
    border: 1px solid transparent; 
    position: relative;
    overflow: hidden;
    background: #fff;
    padding-bottom: 5px; /* Spacing for hover effect */
}
.product-card:hover { 
    border-color: #eee; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important; 
}
.product-card img { 
    max-height: 180px; 
    object-fit: contain; 
}

/* Title Styling */
.product-content-col h5 a, .product-card h6 a { 
    color: #0062bd;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease; 
}
.product-content-col h5 a:hover, .product-card h6 a:hover { 
    color: #333; 
}

/* =======================================================
   10. SHOP PAGE STYLES (Sidebar, Breadcrumb, Pagination)
   ======================================================= */
.breadcrumb-item a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-item.active { color: var(--dark-color); }

.sidebar-list li { margin-bottom: 10px; }
.sidebar-list a { color: var(--dark-color); display: flex; justify-content: space-between; font-size: 14px; }
.sidebar-list a:hover { color: var(--primary-color) !important; }
.sidebar-list .count { color: #ccc; }

.shop-control-bar { background-color: #f5f5f5; }

/* =======================================================
   11. SIDEBAR & PRICE FILTER
   ======================================================= */
.w-45 { width: 48%; }
.form-range { height: 1.5rem; padding: 0; width: 100%; }
.form-range::-webkit-slider-thumb { background: var(--primary-color); }
.form-range::-moz-range-thumb { background: var(--primary-color); }

/* =======================================================
   12. GRID VIEW SPECIFICS (Default View)
   ======================================================= */

.product-card {
    border: 1px solid transparent;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    background: #fff;
    padding-bottom: 10px;
}
.product-card:hover {
    border-color: #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Title Styling */
.product-content-col {
    text-align: left;
    padding: 0 15px;
}
.product-content-col h5 a {
    color: #0062bd;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.product-content-col h5 a:hover { color: #333; }

/* Action Footer Container (Increased height for hover effect) */
.product-action-col {
    padding: 0 15px;
    height: 70px; /* Fixed height to contain animation */
    position: relative;
    overflow: hidden;
}

/* 1. Price & Cart Row (Visible Initially) */
.grid-footer-normal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 2;
    background: #fff; /* Keep background to avoid text mix */
    transition: transform 0.3s ease;
}

.product-price { font-size: 18px; color: #333; font-weight: 400; }

.grid-btn-cart {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: 0.2s;
}
.grid-btn-cart:hover { background-color: #e6c200; }

/* 2. Hover Icons Row (Hidden Below) */
.grid-footer-hover {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    bottom: -30px; /* Hidden below container */
    left: 15px; 
    right: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.grid-footer-hover a {
    font-size: 13px; color: #757575; text-decoration: none; font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.grid-footer-hover a:hover { color: #333; }

/* --- HOVER ANIMATION --- */

/* Move Price/Cart UP */
.product-card:hover .grid-footer-normal {
    top: 30%; /* Moves up */
}

/* Move Icons UP (into view) */
.product-card:hover .grid-footer-hover {
    bottom: 12px; /* Slides in from bottom */
    opacity: 1;
}


/* Hide List View Elements in Grid */
.product-reviews, .product-bullets, .list-btn-add, .list-view-price, .list-actions-footer { 
    display: none !important; 
}

/* =======================================================
   13. LIST VIEW TRANSFORMATIONS (Active View)
   ======================================================= */
/* Base Card Layout */
.list-view-active .product-card {
    padding: 0;
    display: flex;
    align-items: flex-start;
    overflow: visible; /* Allow content to flow */
    padding-bottom: 0; /* Reset grid padding */
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    border: none;
}
.list-view-active .product-card:hover {
    box-shadow: none;
}

.list-view-active .row { width: 100%; margin: 0; }

/* 1. Image Column */
.list-view-active .product-img-col {
    flex: 0 0 25%; max-width: 25%; text-align: center; padding: 20px;
    margin-bottom: 0 !important;
}

/* 2. Content Column */
.list-view-active .product-content-col {
    flex: 0 0 45%; max-width: 45%; 
    padding: 20px 20px 20px 0; 
    text-align: left;
    border-right: 1px solid #eee;
    display: flex; flex-direction: column; justify-content: flex-start;
}

/* 3. Action Column */
.list-view-active .product-action-col {
    flex: 0 0 30%; max-width: 30%;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    height: auto; /* Reset fixed height */
    overflow: visible;
}

/* Show Elements in List View */
.list-view-active .product-reviews { display: block !important; margin-bottom: 8px; color: #fed700; font-size: 13px; }
.list-view-active .product-bullets { display: block !important; margin-bottom: 0; padding-left: 1rem; font-size: 13px; color: #757575; list-style-type: disc; }
.list-view-active .list-btn-add { 
    display: block !important; 
    width: 100%; 
    margin-top: 15px; 
    background-color: #fed700; 
    border: none; 
    color: #333; 
    font-weight: 700; 
    border-radius: 50px; 
    padding: 10px 20px;
}
.list-view-active .list-btn-add:hover { background-color: #f5c000; }

.list-view-active .list-view-price { display: block !important; font-size: 26px; font-weight: 300; color: #333; margin-bottom: 5px; }

.list-view-active .list-actions-footer { 
    display: flex !important; 
    width: 100%; 
    justify-content: space-between; 
    margin-top: 15px; 
    font-size: 13px; 
    color: #777; 
}
.list-view-active .list-actions-footer a { text-decoration: none; color: #777; display: flex; align-items: center; gap: 5px; }
.list-view-active .list-actions-footer a:hover { color: #333; }

/* Hide Grid Elements in List View */
.list-view-active .grid-footer-normal { display: none !important; }
.list-view-active .grid-footer-hover { display: none !important; }

/* =======================================================
   14. Shopping Cart
   ======================================================= */
/* Cart Table Styles */
.page-title { font-weight: 300; font-size: 2.5rem; margin-bottom: 30px; }

.cart-table thead th {
    border-bottom: 1px solid #e5e5e5; /* Lighter border */
    font-weight: 700;
    padding: 15px 0;
    background-color: transparent; /* White background matching image */
    text-transform: capitalize;
}
.cart-table tbody td {
    vertical-align: middle;
    padding: 30px 0; /* More padding like image */
    border-bottom: 1px solid #e5e5e5;
}
.cart-product-thumbnail img { max-width: 80px; }
.cart-product-name a { color: #0062bd; font-weight: 700; font-size: 14px; }
.btn-remove { color: #ccc; font-size: 18px; background: none; border: none; }
.btn-remove:hover { color: red; }

/* Quantity Input */
.quantity-input-group {
    display: flex;
    width: 100px;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
}
.quantity-input-group button { background: #f5f5f5; border: none; width: 30px; font-weight: bold; }
.quantity-input-group input { border: none; text-align: center; width: 40px; font-size: 14px; background: #fff; outline: none; }

/* Coupon & Actions Area */
.coupon-input {
    border-radius: 20px 0 0 20px !important;
    border: 1px solid #ddd;
    padding-left: 20px;
}

/* Cart Total Sidebar Area */
.cart-totals-section h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart-totals-box {
    border: 2px solid #e5e5e5; /* The Border box */
    padding: 0 30px;
    background: #fff;
    margin-bottom: 20px;
}

.cart-totals-table { width: 100%; }
.cart-totals-table th, 
.cart-totals-table td {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
}
.cart-totals-table tr:last-child th, 
.cart-totals-table tr:last-child td {
    border-bottom: none; /* No border for Total row */
}

.cart-totals-table th { 
    font-weight: 600; 
    width: 35%; 
    color: #333;
}

.shipping-list { list-style: none; padding: 0; margin: 0; }
.shipping-list li { margin-bottom: 8px; font-size: 14px; }
.shipping-list input { margin-right: 8px; margin-top: 5px;}

.total-price { font-size: 24px; font-weight: 300; color: #333; }

/* =======================================================
   15. CHECKOUT SPECIFIC STYLES
   ======================================================= */
/* Accordion / Info Boxes */
.checkout-info-box {
    background-color: #f5f5f5;
    border-top: 3px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
}
.checkout-info-box a { color: #333; text-decoration: underline; }
.checkout-info-box a:hover { color: var(--primary-color); }

/* Billing Form */
.form-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.form-control, .form-select {
    border-radius: 20px; /* Rounded inputs */
    padding: 10px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
}
.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
textarea.form-control { border-radius: 10px; }

/* Your Order Box */
.order-summary-box {
    border: 2px solid #e5e5e5;
    padding: 30px;
    background: #fff;
}
.order-summary-box h3 {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.checkout-table th, .checkout-table td {
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}
.checkout-table th { font-weight: 700; color: #333; }
.checkout-table tr:last-child th, .checkout-table tr:last-child td { border-bottom: none; }
.product-total { font-weight: 700; }
.order-total-price { font-size: 22px; font-weight: 300; color: #333; }

/* Payment Methods */
.payment-methods {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
}
.payment-option { margin-bottom: 10px; }
.payment-label { font-weight: 600; font-size: 14px; cursor: pointer; color: #333; }
.payment-description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    padding-left: 20px;
    display: none; /* Hidden by default */
}
.payment-option input:checked ~ .payment-description {
    display: block; /* Show when checked */
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* =======================================================
   16. MY ACCOUNT PAGE STYLES
   ======================================================= */
.page-title { font-weight: 300; font-size: 2.5rem; margin-bottom: 30px; }

.account-login-box {
    background: #fff;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    height: 100%;
}

.account-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.lost-password-link {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 15px;
}
.lost-password-link:hover { color: var(--primary-color); }

/* Vertical Divider for Desktop */
.vertical-divider {
    border-right: 1px solid #e5e5e5;
}
@media (max-width: 991px) {
    .vertical-divider { border-right: none; margin-bottom: 30px; }
}

/* =======================================================
   17. TRACK ORDER PAGE STYLES
   ======================================================= */
.track-order-box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px 0;
}

.btn-track {
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

/* =======================================================
   18. COMPARE PAGE STYLES
   ======================================================= */
.compare-table {
    border: 1px solid #e5e5e5;
    margin-bottom: 0;
}

.compare-table th {
    background-color: #f9f9f9;
    width: 20%;
    min-width: 180px;
    vertical-align: middle;
    font-weight: 700;
    color: #333;
    padding: 15px;
    text-transform: capitalize;
    border-color: #e5e5e5;
}

.compare-table td {
    width: 26%;
    min-width: 250px; /* Ensures columns don't shrink too much on mobile */
    vertical-align: middle;
    text-align: center;
    padding: 20px;
    border-color: #e5e5e5;
}

/* Product Info inside Table */
.remove-icon {
    font-size: 13px;
    color: #ccc;
    display: inline-block;
    margin-bottom: 15px;
}
.remove-icon:hover { color: #dc3545; }

.compare-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.product-title a {
    color: #0062bd;
    font-size: 14px;
    font-weight: 700;
}
.product-title a:hover { color: #333; }

.amount {
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

.stock-in { color: #5cb85c; font-weight: 600; }
.stock-out { color: #d9534f; font-weight: 600; }

.btn-add-cart {
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 13px;
    text-transform: uppercase;
}

/* Scrollbar styling for table */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

/* =======================================================
   19. WISHLIST PAGE STYLES
   ======================================================= */
.wishlist-table thead th {
    border-bottom: 2px solid #ddd;
    font-weight: 700;
    padding: 15px;
    background-color: #f9f9f9;
    text-transform: uppercase;
    font-size: 14px;
    color: #333;
}
.wishlist-table tbody td {
    vertical-align: middle;
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
}
.wishlist-img {
    max-width: 80px;
    height: auto;
}
.product-name a {
    color: #0062bd;
    font-weight: 700;
    font-size: 14px;
}
.product-name a:hover { color: #333; }

.product-price {
    font-weight: 400;
    font-size: 16px;
    color: #333;
}

.stock-status { font-size: 14px; font-weight: 600; }
.in-stock { color: #5cb85c; }
.out-of-stock { color: #d9534f; }

.btn-add-cart {
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.remove-link {
    color: #ccc;
    font-size: 18px;
    background: none;
    border: none;
    transition: 0.2s;
}
.remove-link:hover { color: #d9534f; }

/* Social Share */
.social-share-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    margin-right: 5px;
    transition: 0.3s;
}
.social-share-icons a:hover {
    background: var(--primary-color);
    color: #000;
}

/* =======================================================
   20. ABOUT PAGE STYLES
   ======================================================= */
/* Intro Section */
.about-intro-text {
    line-height: 1.8;
    color: var(--text-muted);
}
.about-intro-img {
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Features Section */
.about-features {
    background-color: #f9f9f9;
}
.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}
.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.feature-title { font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }

/* Team Section */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}
.team-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.team-member:hover img { transform: scale(1.1); }
.team-name { font-weight: 700; margin-bottom: 5px; }
.team-role { color: var(--primary-color); font-size: 13px; text-transform: uppercase; font-weight: 600; }

/* Stats Bar */
.stats-section {
    background-image: url('https://transvelo.github.io/electro-html/2.0/assets/img/1920X422/img1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}
.stats-overlay {
    background: rgba(51, 62, 72, 0.9);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.stat-item h2 { font-size: 3rem; font-weight: 700; color: var(--primary-color); }
.stat-item p { font-size: 1.1rem; opacity: 0.8; }

/* =======================================================
   21. CONTACT PAGE STYLES
   ======================================================= */
/* Map Section */
.map-container {
    height: 400px;
    width: 100%;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Form Styles */
.form-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.form-control {
    border-radius: 20px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}
.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
textarea.form-control { border-radius: 15px; }

.btn-send-message {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

/* Contact Info Box */
.contact-info-box {
    padding: 0 0 0 20px;
}
.info-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.info-item {
    margin-bottom: 20px;
}
.info-icon {
    color: var(--primary-color);
    width: 20px;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
}
.store-address {
    font-style: normal;
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 14px;
}
.opening-hours li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

/* =======================================================
   22. FAQ PAGE STYLES
   ======================================================= */
/* Help Search */
.faq-search-box {
    max-width: 600px;
    margin: 0 auto 50px auto;
    position: relative;
}
.faq-search-box input {
    height: 50px;
    padding-left: 20px;
    border-radius: 30px;
    border: 1px solid #ddd;
}
.faq-search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(254, 215, 0, 0.25);
}
.faq-search-box .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border-radius: 30px;
    padding: 0 30px;
}

/* Accordion Styling */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-color);
    background-color: #fff;
    padding: 20px;
    border: none;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--dark-color);
    background-color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.faq-accordion .accordion-button:focus {
    border-color: rgba(0,0,0,.125);
    box-shadow: none;
}
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-body {
    padding: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* =======================================================
   23. STORE DIRECTORY STYLES
   ======================================================= */
/* Filter Bar */
.directory-toolbar {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 40px;
}

/* Store Card */
.store-card {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
    overflow: hidden;
}
.store-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.store-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}
.store-body {
    padding: 25px;
}
.store-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}
.store-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}
.store-info-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.store-icon {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    width: 16px;
}

.location-header {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.location-count {
    font-size: 14px;
    background: #eee;
    padding: 2px 10px;
    border-radius: 20px;
    color: #555;
    font-weight: 600;
}

/* =======================================================
   24. TERMS PAGE STYLES
   ======================================================= */
.page-title { font-weight: 300; font-size: 2.5rem; margin-bottom: 30px; }

.terms-content {
    background: #fff;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

.terms-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.terms-content h2:first-child { margin-top: 0; }

.terms-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-content ul {
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-left: 20px;
}

.terms-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* =======================================================
   25. 404 PAGE STYLES
   ======================================================= */
.error-content {
    text-align: center;
    padding: 80px 0;
    flex: 1; /* Pushes footer down */
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    text-shadow: 2px 2px 0px #333;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.error-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-search-form {
    max-width: 500px;
    margin: 0 auto 30px auto;
    position: relative;
}

.error-search-form .form-control {
    border-radius: 30px;
    padding: 15px 25px;
    border: 1px solid #ddd;
}

.error-search-form .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border-radius: 30px;
    padding: 0 25px;
}

/* =======================================================
   26. SINGLE PRODUCT STYLES
   ======================================================= */
/* Gallery */
.product-gallery { position: relative; }
.main-image-container {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.main-image-container img { max-height: 400px; max-width: 100%; object-fit: contain; }

.thumbnail-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}
.thumb-item {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.thumb-item:hover, .thumb-item.active { border-color: var(--primary-color); }
.thumb-item img { max-width: 100%; max-height: 100%; }

/* Product Info */
.product-category-link { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.single-product-title { font-size: 28px; font-weight: 700; margin-bottom: 15px; }
.product-rating { color: var(--primary-color); font-size: 14px; margin-bottom: 20px; }
.product-rating .text-muted { color: #ccc !important; }

.product-price-group { border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 20px 0; margin-bottom: 25px; }
.current-price { font-size: 32px; font-weight: 300; color: #333; }
.old-price { font-size: 18px; color: #aaa; text-decoration: line-through; margin-left: 10px; }

.short-desc { color: var(--text-muted); line-height: 1.6; margin-bottom: 25px; }
.short-desc ul { padding-left: 20px; margin-bottom: 0; }

/* Add to Cart Area */
.actions-wrapper { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.quantity-input-group {
    display: flex;
    width: 100px;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    height: 45px;
}
.quantity-input-group button { background: #f5f5f5; border: none; width: 30px; font-weight: bold; cursor: pointer; }
.quantity-input-group input { border: none; text-align: center; width: 40px; font-size: 16px; background: #fff; outline: none; }

.btn-add-cart-lg {
    padding: 10px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    height: 45px;
    display: flex;
    align-items: center;
}

.action-icons a { color: #333; margin-right: 15px; font-size: 14px; text-decoration: none; }
.action-icons a:hover { color: var(--primary-color); }

.product-meta { font-size: 13px; color: var(--text-muted); }
.product-meta span { color: #333; font-weight: 600; }

/* Tabs Section */
.product-tabs-wrapper { margin-top: 60px; }
.custom-nav-tabs {
    border: none;
    gap: 15px;
}
.custom-nav-tabs .nav-link {
    border: none;
    color: #000; /* Inactive color */
    font-size: 13px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px; /* Pill shape */
    transition: all 0.2s;
}
.custom-nav-tabs .nav-link:hover {
    color: #333;
}
.custom-nav-tabs .nav-link.active {
    background-color: var(--blue-accent);
    color: #fff;
    border-radius: 20px;
}
.nav-tabs { border-bottom: 1px solid #eee; }
.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    padding: 15px 30px;
    font-size: 16px;
    background: transparent;
    border-bottom: 3px solid transparent;
}
.nav-tabs .nav-link:hover { color: #333; }
.nav-tabs .nav-link.active {
    color: #333;
    background: transparent;
    border-bottom: 3px solid var(--primary-color);
}
.tab-content {
    padding: 40px 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.tech-specs-table th { width: 30%; background-color: #f9f9f9; padding: 10px 20px; font-weight: 700; color: #333; border-bottom: 1px solid #eee; }
.tech-specs-table td { padding: 10px 20px; border-bottom: 1px solid #eee; }

/* Reviews */
.review-item { border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 20px; }
.review-author { font-weight: 700; color: #333; margin-bottom: 5px; }
.review-date { font-size: 12px; color: #aaa; }
.review-text { font-size: 14px; margin-top: 10px; }

/* Related Products */
.related-products-title { font-size: 22px; font-weight: 700; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 30px; }
.product-card { border: 1px solid transparent; transition: 0.2s; background: #fff; padding-bottom: 10px; position: relative; overflow: hidden;}
.product-card:hover { border-color: #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-card img { max-height: 180px; object-fit: contain; }
.product-content-col h5 a { color: #0062bd; font-size: 14px; font-weight: 700; }
.product-content-col h5 a:hover { color: #333; }
.product-price-sm { font-size: 16px; color: #333; font-weight: 400; }

/* =======================================================
   27. BLOG PAGE STYLES
   ======================================================= */
/* Blog Post Card */
.blog-post {
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 50px;
}
.blog-post:last-child { border-bottom: none; }

.post-media {
    margin-bottom: 25px;
    border-radius: 5px;
    overflow: hidden;
}
.post-media img {
    width: 100%;
    transition: 0.3s;
}
.post-media:hover img { transform: scale(1.02); }

.post-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}
.post-meta {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}
.post-meta a { color: #ccc; }
.post-meta a:hover { color: var(--primary-color); }
.post-meta span { margin-right: 15px; }

.post-excerpt {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.btn-read-more {
    border: 2px solid #eee;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.btn-read-more:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #333;
}

/* Sidebar Widgets */
.sidebar-widget { margin-bottom: 40px; }
.widget-title {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: relative;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Categories Widget */
.widget-categories ul { padding: 0; list-style: none; }
.widget-categories li { margin-bottom: 10px; border-bottom: 1px solid #f5f5f5; padding-bottom: 10px; }
.widget-categories a { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 14px; }
.widget-categories a:hover { color: var(--primary-color); }

/* Recent Posts Widget */
.widget-recent-posts ul { padding: 0; list-style: none; }
.widget-recent-posts li { display: flex; margin-bottom: 20px; align-items: center; }
.widget-recent-posts img { width: 70px; height: 70px; object-fit: cover; border-radius: 5px; margin-right: 15px; }
.rp-content h6 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 5px; }
.rp-content small { font-size: 12px; color: #ccc; }

/* Tags Widget */
.tagcloud a {
    display: inline-block;
    border: 1px solid #eee;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-muted);
    margin-right: 5px;
    margin-bottom: 10px;
}
.tagcloud a:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: #333; }

/* =======================================================
   28. SINGLE POST STYLES
   ======================================================= */
.single-post-article {
    margin-bottom: 60px;
}

.post-header { margin-bottom: 30px; }
.post-title { font-size: 32px; font-weight: 700; margin-bottom: 15px; }
.post-meta {
    font-size: 13px;
    color: #ccc;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.post-meta a { color: #ccc; }
.post-meta a:hover { color: var(--primary-color); }
.post-meta span { margin-right: 15px; }

.post-content {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 15px;
}
.post-content p { margin-bottom: 20px; }
.post-content img { max-width: 100%; height: auto; border-radius: 5px; margin-bottom: 30px; }
.post-content blockquote {
    background: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: #333;
}

.post-footer {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-tags a {
    display: inline-block;
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    color: #777;
    margin-right: 5px;
}
.post-tags a:hover { background: var(--primary-color); color: #333; }

/* Author Box */
.author-box {
    background: #f9f9f9;
    padding: 30px;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    border-radius: 5px;
}
.author-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-right: 20px; }
.author-info h5 { margin-bottom: 10px; font-weight: 700; font-size: 16px; }
.author-info p { margin-bottom: 0; font-size: 14px; color: var(--text-muted); }

/* Comments Section */
.comments-title { font-size: 22px; font-weight: 700; margin-bottom: 30px; }
.comment-list { list-style: none; padding: 0; }
.comment-item { display: flex; margin-bottom: 40px; }
.comment-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-right: 20px; }
.comment-body { flex: 1; }
.comment-meta { margin-bottom: 10px; font-size: 14px; }
.comment-author { font-weight: 700; color: #333; margin-right: 10px; }
.comment-date { color: #ccc; font-size: 12px; }
.comment-text { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.comment-reply-link { font-size: 12px; font-weight: 700; color: var(--primary-color); text-transform: uppercase; }

/* Comment Form */
.comment-form-wrapper { background: #fff; padding-top: 20px; }
.btn-submit-comment { border-radius: 30px; padding: 12px 40px; text-transform: uppercase; font-weight: 700; font-size: 14px; }

/* =======================================================
   29. FORGOT PASSWORD PAGE STYLES
   ======================================================= */
.forgot-password-box {
    background: #fff;
    padding: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.forgot-password-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-reset {
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    min-width: 180px;
}

/* =======================================================
   30. BACK TO TOP BUTTON
   ======================================================= */
#backToTop {
    position: fixed; bottom: 30px; right: 30px; z-index: 1000; width: 50px; height: 50px;
    display: none; align-items: center; justify-content: center; font-size: 20px; transition: all 0.3s ease;
}
#backToTop:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }