/*
Theme Name: Agropower Market
Theme URI: http://example.com/agropowermkt
Author: Your Name
Author URI: http://example.com
Description: WordPress theme converted from HTML
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agropowermkt
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
}
a {
    color:#b31217;
    text-decoration:none;
}
/* Top Header */
.top-header {
    display: none;
}

/* Main Header */
.main-header {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 900;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    color: #dc3545;
}

.logo-sub {
    font-size: 11px;
    color: #dc3545;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: -2px;
}

.search-bar {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 15px 10px 50px;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 14px;
    background-color: #f0f2f5;
    color: #333;
    outline: none;
    transition: all 0.3s;
    height: 46px;
}

.search-input-wrapper input:focus {
    background-color: white;
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-icons a {
    color: #1a1a1a;
    font-size: 20px;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.header-icons a:hover {
    color: #dc3545;
}

.login-btn {
    background-color: #b31217;
    color: white !important;
    padding: 8px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    margin-right: 10px;
}

.btn-text-main {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.btn-text-sub {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.95;
}

.login-btn:hover {
    background-color: #900e12;
    transform: translateY(-1px);
}

.icon-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    font-size: 10px;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

/* Sticky Sidebar Restored */
.sticky-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 0 15px 15px 0;
    z-index: 1000;
    width: 85px;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-item {
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sidebar-item:hover,
.sidebar-item.active {
    background-color: #fff9fa;
    color: #dc3545;
    border-left-color: #dc3545;
}

.sidebar-item i {
    font-size: 20px;
    margin-bottom: 6px;
    display: block;
}

.sidebar-item span {
    font-size: 10px;
    font-weight: 600;
    display: block;
    line-height: 1.2;
    max-width: 70px;
}

/* Main Content */
.main-content {
    margin-left: 0;
    padding: 0;
}



/* Category Icons */
.category-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.category-icon {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-icon:hover {
    transform: translateY(-5px);
}

.category-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.category-icon span {
    display: block;
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* Product Grid */
.section-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 20px 0;
    padding-bottom: 0px;
    border-bottom: none;
    display: inline-block;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 18px;
        /* Slightly smaller for mobile to fit */
        margin: 20px 0 10px;
        width: auto;
        /* Allow same line */
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 10px;
}

.product-card button {
    width: 100%;
    padding: 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.product-card button:hover {
    background: #c41e3a;
}

/* Live Stats Section */
.live-stats-section {
    margin: 60px 0;
}

.live-stat-card {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.left-card {
    background: linear-gradient(90deg, #b31217 0%, #dc3545 100%);
}

.center-card {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://pre-live-admin.balwaan.com/uploads/media/2026/power-weeder-and-tiller-for-smart-farmers-desktop-banners.webp');
    height: 220px;
    /* Slightly taller */
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    margin-top: -10px;
    /* Overlap effect */
}

.right-card {
    background: linear-gradient(90deg, #dc3545 0%, #b31217 100%);
}

.stat-content h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.stat-content p {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0 0 0;
    text-transform: capitalize;
}

.live-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3c1e1e;
    color: white;
    padding: 5px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 20;
    letter-spacing: 1px;
}

.live-badge span {
    color: #dc3545;
    font-size: 10px;
    animation: blink 1.5s infinite;
    transform: scale(1.5);
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

.promo-banner h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.promo-banner .discount-text {
    font-size: 48px;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #dc3545;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #dc3545;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #dc3545;
}

/* Mobile App Section */
.app-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 10px;
    margin: 50px 0;
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-content {
    flex: 1;
}

.app-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.app-features {
    list-style: none;
    margin: 20px 0;
}

.app-features li {
    margin-bottom: 15px;
    font-size: 16px;
    padding-left: 30px;
    position: relative;
}

.app-features li:before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-size: 20px;
    font-weight: bold;
}

.app-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.app-badges img {
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s;
}

.app-badges img:hover {
    transform: scale(1.05);
}

.app-image {
    flex: 1;
}

.app-image img {
    width: 100%;
    max-width: 500px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
}

.carousel-indicators button.active {
    background-color: #dc3545;
}

/* Responsive */
@media (max-width: 992px) {
    .sticky-sidebar {
        width: 80px;
    }

    .sidebar-item span {
        font-size: 10px;
    }

    .main-content {
        margin-left: 80px;
    }



}

/* Mobile Sidebar Styles */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    margin-right: 15px;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    /* Slightly wider */
    width: 300px;
    /* Slightly wider */
    height: 100%;
    background: white;
    z-index: 2000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.mobile-sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

.close-sidebar {
    cursor: pointer;
    font-size: 20px;
    color: #333;
    /* Optional: Add hover effect or background */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Optional circle hover */
    transition: background 0.2s;
}

.close-sidebar:hover {
    background-color: #f0f0f0;
}

.sidebar-menu {
    padding: 10px 0;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    /* More horizontal padding */
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    border-left: 4px solid transparent;
}

.menu-item i {
    width: 30px;
    /* Fixed width for icon alignment */
    margin-right: 10px;
    color: #555;
    font-size: 18px;
    text-align: center;
}

.menu-item:hover,
.menu-item.active {
    color: #dc3545;
    background: #fff9fa;
    border-left-color: #dc3545;
    text-decoration: none;
}

.menu-item:hover i,
.menu-item.active i {
    color: #dc3545;
}

.sidebar-footer {
    border-top: 1px solid #f0f0f0;
    background: #f9f9f9;
    padding: 20px;
    /* Explicit padding for footer container */
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid #eee;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
    font-weight: 500;
}

.bottom-nav-item i {
    font-size: 18px;
    margin-bottom: 4px;
}

.bottom-nav-item.active {
    color: #dc3545;
}

@media (max-width: 768px) {
    .sticky-sidebar {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
        order: 0;
    }

    .main-content {
        margin-left: 0;
        padding-bottom: 70px;
        /* Space for bottom nav */
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .main-header .container>div {
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
    }

    .header-icons {
        order: 2;
        gap: 15px;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
        margin: 15px 0 0 0;
    }

    .login-btn {
        display: none !important;
        /* Move login to menu or hide */
    }

    .header-icons a[title="Support"] {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .app-section {
        flex-direction: column;
    }

    .live-stats-section .row>div {
        margin-bottom: 20px;
    }

    /* Reference header tweaks */
    .logo img {
        height: 30px;
    }

    footer {
        padding-bottom: 20px !important;
    }
}

/* Swiper Styles */
.swiper {
    width: 100%;
    border-radius: 10px;
    margin: 30px 0;
}

.swiper-slide {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #dc3545;
    background: rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: #dc3545;
}

/* Category Swiper Specifics */
.category-section {
    padding: 20px 0;
}

.categorySwiper {
    padding: 20px 5px;
}

.categorySwiper .swiper-slide {
    height: auto;
    background: transparent;
}

.category-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
    width: 100%;
}

.category-icon:hover {
    transform: translateY(-5px);
}

.category-icon img {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    object-fit: contain;
}

.category-icon span {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

.categorySwiper .swiper-button-next,
.categorySwiper .swiper-button-prev {
    width: 30px;
    height: 30px;
    background: none;
    color: #333;
    top: 40%;
}

.dealSwiper .swiper-scrollbar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
}

.dealSwiper .swiper-scrollbar-drag {
    background: #dc3545;
    border-radius: 3px;
}

/* Special Deals Swiper */
.dealSwiper {
    padding: 10px 10px 30px 10px;
}

.dealSwiper .swiper-button-next,
.dealSwiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #333;
}

.dealSwiper .swiper-button-next:after,
.dealSwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Shop by Usage Swiper */
.usageSwiper {
    padding: 20px 5px;
}

.usage-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.usage-card:hover {
    transform: translateY(-5px);
}

.usage-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.usage-card span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.usageSwiper .swiper-button-next,
.usageSwiper .swiper-button-prev {
    color: #333;
    /* Dark arrow color */
    width: 30px;
    height: 30px;
}

.usageSwiper .swiper-button-next:after,
.usageSwiper .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.deal-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0;
    padding-bottom: 15px;
    text-align: center;
    position: relative;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.badge-flat-off {
    background: #6cbf42;
    color: white;
    font-size: 14px;
    font-weight: 800;
    padding: 10px;
    border-radius: 0;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.badge-best-seller {
    background: #ff7f00;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 10px 4px;
    position: absolute;
    top: 55px;
    left: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    border-radius: 0 5px 5px 0;
    z-index: 5;
    letter-spacing: 1px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.badge-best-seller span {
    /* Handled by parent writing-mode */
    writing-mode: vertical-rl;
}

.deal-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin: 20px 0 10px 0;
    padding: 0 25px;
    /* Increase padding to avoid text running into best seller badge */
}

.deal-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    padding: 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
    line-height: 1.4;
}

.price-block {
    margin-bottom: 5px;
    padding: 0 15px;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: #000;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
    font-weight: 500;
}

.save-text {
    color: #d9534f;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 15px;
    padding: 0 15px;
}

.btn-buy-now {
    width: calc(100% - 30px);
    margin: 0 auto 10px auto;
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.3s;
}

.btn-buy-now:hover {
    background: #bb2d3b;
}

.btn-add-cart {
    width: calc(100% - 30px);
    margin: 0 auto;
    background: white;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: #dc3545;
    color: white;
}

/* New Launches Section */
.new-launch-swiper {
    padding: 20px 5px;
}

.new-launch-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.new-launch-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.badge-new-launched {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #28a745;
    color: white;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-transform: capitalize;
}

.badge-new-launched i {
    font-size: 10px;
}

.new-launch-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    margin-top: 30px;
}

.new-launch-card .rating {
    font-size: 10px;
    color: #ffc107;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.new-launch-card .rating span {
    color: #888;
    font-size: 10px;
    font-weight: 500;
}

.new-launch-card h3 {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    line-height: 1.3;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.new-launch-card .savings {
    font-size: 10px;
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 2px;
}

.new-launch-card .savings .off-percent {
    color: #28a745;
    font-weight: 800;
    margin-left: 3px;
}

.new-launch-card .price {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.new-launch-card .price del {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 0;
}

.new-launch-card .btn-add-cart {
    width: 100%;
    margin: 0;
    padding: 6px;
    font-size: 13px;
    border-radius: 6px;
}

.new-launch-swiper .swiper-button-next,
.new-launch-swiper .swiper-button-prev {
    color: #333;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.new-launch-swiper .swiper-button-next:after,
.new-launch-swiper .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}

/* Fast Order Banner & Trusted Section */
.fast-order-banner img {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trusted-section {
    background-color: #f9f9f9;
    padding: 30px 10px;
    border-radius: 0;
    color: #1a1a1a;
    margin-top: 30px;
}

.trusted-header h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.trusted-header p {
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.4;
}

.trusted-card {
    background: white;
    padding: 15px 10px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.trusted-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.trusted-card .icon-box {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.trusted-card h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
    line-height: 1.3;
}

.trusted-card p {
    font-size: 11px;
    color: #777;
    line-height: 1.3;
    margin: 0;
}

/* Page Banner New Styles */
.page-banner {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .page-banner {
        height: 220px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }
}

/* =========================================
   SINGLE PRODUCT PAGE STYLES (WOOCOMMERCE)
   ========================================= */

/* Gallery */
.product-gallery-wrapper {
    position: sticky;
    top: 100px;
}

.product-main-slider {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.product-thumb-slider .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s;
    border-radius: 4px;
}

.product-thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #dc3545;
}

.product-thumb-slider img {
    border-radius: 4px;
}

.product-thumb-nav {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-thumb-nav:after {
    font-size: 12px;
    font-weight: bold;
}

/* Product Details */
.product-title {
    font-size: 24px;
    line-height: 1.3;
    color: #1a1a1a;
}

.sku-wrapper,
.model-wrapper {
    font-size: 13px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.price-container {
    border: 1px solid #dee2e6;
}

.app-discount-badge {
    font-size: 13px;
    color: #28a745;
    font-weight: 600;
}

.short-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    border-bottom: 2px solid #eee;
    /* Red line effect handled by specific red header elsewhere or border top */
    padding-bottom: 20px;
    position: relative;
}

/* Add custom red line above short desc if requested, or just keep mapped to design. 
   Design has a red line separator. */

.short-description ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.short-description li {
    margin-bottom: 8px;
}

/* Add to Cart Button Override */
.single_add_to_cart_button {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
    text-transform: uppercase !important;
    width: 100% !important;
    max-width: 300px !important;
}

.single_add_to_cart_button:hover {
    background-color: #b02a37 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

.quantity .qty {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    margin-right: 10px;
    width: 80px;
    text-align: center;
    font-weight: bold;
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid #eee;
}

.nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: #555;
    font-size: 14px;
    padding: 15px 25px;
    position: relative;
    transition: color 0.3s;
}

.nav-tabs .nav-link:hover {
    color: #dc3545;
}

.nav-tabs .nav-link.active {
    color: #dc3545;
    background: transparent;
    font-weight: bold;
}

.nav-tabs .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    /* Align with border-bottom of nav-tabs */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #dc3545;
}

.custom-tab-content {
    border: 1px solid #eee;
    border-top: none;
}

.product-long-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* Specs Table */
.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: #f8f9fa;
}

/* Red border for specs table as seen in screenshot */
.table-responsive {
    border: 1px solid #dc3545;
    border-radius: 5px;
    overflow: hidden;
}

.table th {
    font-weight: 600;
    color: #333;
    border-right: 1px solid #dee2e6;
}

/* Benefits List */
.benefits-list ul li {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

.benefits-list i {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .product-title {
        font-size: 20px;
        margin-top: 20px;
    }

    .single_add_to_cart_button {
        width: 100% !important;
        max-width: none !important;
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 12px;
    }

    .product-gallery-wrapper {
        position: static;
    }
}

/* =========================================
   WOOCOMMERCE CART PAGE STYLES (CLASSIC & BLOCKS)
   ========================================= */

.woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.woocommerce-cart .woocommerce-cart-form,
.wp-block-woocommerce-cart .wc-block-cart-items {
    flex: 1 1 60%;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.woocommerce-cart .cart-collaterals,
.wp-block-woocommerce-cart .wc-block-cart__totals-title {
    margin-top: 0;
}

.wp-block-woocommerce-cart .wc-block-cart__totals,
.woocommerce-cart .cart_totals {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    width: 100%;
}

.woocommerce-cart .cart_totals h2,
.wp-block-woocommerce-cart .wc-block-cart__totals-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.woocommerce table.shop_table {
    border: none;
    border-radius: 0;
    margin: 0;
}

.woocommerce table.shop_table th {
    background: transparent;
    border: none;
    border-bottom: 2px solid #eee;
    font-size: 14px;
    text-transform: uppercase;
    color: #666;
    font-weight: 600;
    padding: 15px 10px;
}

.woocommerce table.shop_table td {
    border-top: none;
    border-bottom: 1px solid #f5f5f5;
    padding: 20px 10px;
    vertical-align: middle;
}

.woocommerce table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-cart table.cart img,
.wp-block-woocommerce-cart .wc-block-components-product-image {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wp-block-woocommerce-cart .wc-block-cart-item__image {
    width: 120px !important;
    max-width: 120px !important;
}

.woocommerce-cart table.cart td.product-name a,
.wp-block-woocommerce-cart .wc-block-components-product-name,
.wp-block-woocommerce-cart .wc-block-components-product-name a {
    color: #1a1a1a !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    text-decoration: none;
    transition: color 0.3s;
}

.woocommerce-cart table.cart td.product-name a:hover,
.wp-block-woocommerce-cart .wc-block-components-product-name a:hover {
    color: #dc3545 !important;
}

.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart td.product-subtotal,
.wp-block-woocommerce-cart .wc-block-components-product-price {
    font-weight: 700;
    color: #dc3545;
}

/* Quantity input */
.woocommerce .quantity .qty,
.wp-block-woocommerce-cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    width: 60px;
    height: 40px;
    border-radius: 20px;
    border: none !important;
    padding: 0 10px;
    text-align: center;
    background: transparent;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector {
    border: none !important;
    background: #f8f9fa;
    border-radius: 50px;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector::after,
.wp-block-woocommerce-cart .wc-block-components-quantity-selector::before {
    display: none !important;
}

.woocommerce a.remove {
    color: #dc3545 !important;
    background: #fff9fa;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    border: 1px solid #f8d7da;
    width: 24px;
    height: 24px;
    line-height: 22px;
    transition: all 0.3s;
}

.woocommerce a.remove:hover {
    color: #fff !important;
    background: #dc3545;
}

.wp-block-woocommerce-cart .wc-block-cart-item__remove-link {
    color: #dc3545 !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: underline;
    transition: color 0.3s;
}

.wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover {
    color: #b31217 !important;
}

/* Coupon section */
.woocommerce-cart .actions {
    padding: 20px 0 0 0 !important;
    border: none !important;
}

.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
}

.woocommerce-cart .coupon .input-text {
    width: 200px !important;
    border-radius: 50px !important;
    border: 1px solid #ced4da !important;
    padding: 10px 20px !important;
    font-size: 14px;
}

.woocommerce-cart .coupon .button {
    background-color: #1a1a1a !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.woocommerce-cart .coupon .button:hover {
    background-color: #333 !important;
}

/* Update Cart Button */
.woocommerce-cart .actions>.button {
    background-color: #f8f9fa !important;
    color: #333 !important;
    border-radius: 50px !important;
    border: 1px solid #ddd !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.woocommerce-cart .actions>.button:hover {
    background-color: #e2e6ea !important;
}

/* Cart Totals Table */
.woocommerce-cart .cart_totals table.shop_table {
    width: 100%;
    margin-bottom: 20px;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
    border-bottom: 1px solid #f5f5f5;
    padding: 15px 0;
}

.woocommerce-cart .cart_totals table.shop_table th {
    color: #666;
    font-weight: 600;
}

.woocommerce-cart .cart_totals table.shop_table td {
    text-align: right;
    font-weight: 700;
    color: #333;
}

/* Proceed to Checkout Button for Classic and Blocks */
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link) {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 20px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
    display: block !important;
    text-align: center !important;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
    width: 100% !important;
    text-decoration: none !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link):hover {
    background-color: #b02a37 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 53, 69, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .woocommerce-cart .woocommerce,
    .wp-block-woocommerce-cart {
        flex-direction: column;
    }

    .woocommerce-cart .coupon {
        flex-direction: column;
        width: 100%;
    }

    .woocommerce-cart .coupon .input-text {
        width: 100% !important;
    }

    .woocommerce-cart .actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .woocommerce-cart .actions>.button {
        width: 100% !important;
    }
}

tr.wc-block-cart-items__header .wc-block-cart-items__header-image span {
    margin-left: 20px !important;
}

/* =========================================
   WOOCOMMERCE CHECKOUT PAGE STYLES
   ========================================= */

/* Main layout wrapper */
.woocommerce-checkout .woocommerce,
.wp-block-woocommerce-checkout {
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Sidebar / Order Summary */
.wp-block-woocommerce-checkout-sidebar,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
    background: #fff !important;
    padding: 25px !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #f0f0f0 !important;
}

.woocommerce-checkout #order_review_heading {
    box-shadow: none !important;
    border-bottom: none !important;
    border-radius: 12px 12px 0 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.woocommerce-checkout #order_review {
    border-radius: 0 0 12px 12px !important;
    border-top: none !important;
}

/* Form Styles */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 12px 15px !important;
    transition: all 0.3s !important;
    background: #fff !important;
    font-size: 15px !important;
}

/* Specific to Block Checkout inputs */
.wp-block-woocommerce-checkout .wc-block-components-text-input,
.wp-block-woocommerce-checkout .wc-block-components-select-input {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    background: #fff !important;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-select-input select {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 1.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
    outline: none !important;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input.is-active,
.wp-block-woocommerce-checkout .wc-block-components-select-input.is-active {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Place Order Button */
body .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button,
body .woocommerce-checkout #place_order {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 20px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
    display: block !important;
    text-align: center !important;
    margin-top: 30px !important;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2) !important;
    width: 100% !important;
    text-decoration: none !important;
}

body .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body .woocommerce-checkout #place_order:hover {
    background-color: #b02a37 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(220, 53, 69, 0.3) !important;
}

/* Checkout step headers */
.wp-block-woocommerce-checkout .wc-block-checkout__title,
.woocommerce-checkout h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 24px;
    margin-top: 10px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__title {
    margin-top: 30px;
}

/* Order Summary Header */
.wp-block-woocommerce-checkout-sidebar .wc-block-components-totals-wrapper__title,
.wp-block-woocommerce-checkout-sidebar h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    border-bottom: 2px solid #eee !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
}

/* Order Summary Image Sizes (Consistent with Cart design but smaller for sidebar) */
.wp-block-woocommerce-checkout-sidebar .wc-block-components-product-image,
.woocommerce-checkout table.shop_table img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 1px solid #eee !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.wp-block-woocommerce-checkout-sidebar .wc-block-components-product-name,
.woocommerce-checkout table.shop_table td.product-name {
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
}

.wp-block-woocommerce-checkout-sidebar .wc-block-components-product-price {
    font-weight: 700 !important;
    color: #dc3545 !important;
}

/* Return to cart link and actions wrapper */
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__container {
    padding-bottom: 24px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__actions {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

body .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
    margin-top: 0 !important;
}

.wp-block-woocommerce-checkout .wc-block-checkout__return-to-cart {
    color: #666;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: 10px;
    display: inline-block;
}

.wp-block-woocommerce-checkout .wc-block-checkout__return-to-cart:hover {
    color: #dc3545;
}

/* Error message styling */
.wp-block-woocommerce-checkout .wc-block-components-notice-banner.is-error,
.woocommerce-error {
    background-color: #fff9fa !important;
    border: 1px solid #f8d7da !important;
    color: #dc3545 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.05) !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
}

/* Payment options styling */
.wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option {
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    background: #fff !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    overflow: hidden;
}

.wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-content {
    background: #f8f9fa !important;
    padding: 15px !important;
    border-top: 1px solid #eee !important;
}

.wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option[data-active="true"] {
    border-color: #dc3545 !important;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.05) !important;
}

/* Classic payment methods fallback styling */
.woocommerce-checkout #payment ul.payment_methods li {
    border: 1px solid #ced4da;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    padding: 15px;
}

.wc-blocks-components-select .wc-blocks-components-select__select {
    line-height: 2.6 !important;
    height: 55px !important;
}

/* =========================================
   WOOCOMMERCE MY ACCOUNT PAGE STYLES
   ========================================= */

.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* My Account Navigation (Sidebar) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: #fff;
    padding: 20px 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f5f5f5;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px 25px;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: #dc3545;
    background-color: #fcfcfc;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #dc3545;
    background-color: #fff9fa;
    border-left-color: #dc3545;
}

/* My Account Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    /* Prevents overflow */
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: 1 1 auto;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }

    .psp-tabs-wrap .nav-link {
        padding: 12px !important;
    }
}

/* My Account Content Typography & Elements */
.woocommerce-account .woocommerce-MyAccount-content mark {
    background-color: #fff9fa;
    color: #dc3545;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}

/* WooCommerce Standard Buttons */
.woocommerce-account button.button,
.woocommerce-account a.button {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none !important;
}

.woocommerce-account button.button:hover,
.woocommerce-account a.button:hover {
    background-color: #b02a37 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2) !important;
}

/* Orders Table */
.woocommerce-account table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.woocommerce-account table.shop_table th {
    background-color: #f8f9fa;
    color: #1a1a1a;
    font-weight: 700;
    padding: 15px;
    border-bottom: 2px solid #eee;
    text-align: left;
}

.woocommerce-account table.shop_table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.woocommerce-account table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Account Info & Addresses */
.woocommerce-account h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.woocommerce-account .u-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.woocommerce-account .u-column1 h3,
.woocommerce-account .u-column2 h3 {
    margin-top: 0;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Edit Form Wrapper */
.woocommerce-account .woocommerce-EditAccountForm fieldset {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 30px;
}

.woocommerce-account .woocommerce-EditAccountForm legend {
    font-weight: 700;
    font-size: 18px;
    padding: 0 10px;
}

h2.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================================== */
/* SHOP PAGE & PRODUCT ARCHIVE STYLES */
/* ================================== */

/* Wrapper & Layout */
.shop-page-wrapper {
    min-height: 60vh;
}

/* Ensure the custom card expands to fill column height */
.custom-shop-card-wrapper {
    display: flex;
}

.custom-shop-card-wrapper .swiper-slide {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.custom-shop-card-wrapper .new-launch-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-right: 0;
}

.custom-shop-card-wrapper .new-launch-card .btn-add-cart {
    margin-top: auto;
}

/* Sidebar Widgets Styling */
.shop-sidebar-widgets .shop-filter-widget {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.shop-sidebar-widgets .shop-filter-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-sidebar-widgets .filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-sidebar-widgets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar-widgets ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
}

.shop-sidebar-widgets ul li a {
    color: #555;
    text-decoration: none;
    transition: 0.2s color;
}

.shop-sidebar-widgets ul li a:hover {
    color: #dc3545;
}

.shop-sidebar-widgets .count {
    color: #888;
    font-size: 12px;
    margin-left: 5px;
}

/* WooCommerce Default Sorting */
.shop-top-bar .woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
    cursor: pointer;
}

.shop-top-bar .woocommerce-result-count {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Pagination */
.shop-bottom-bar .woocommerce-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.shop-bottom-bar .woocommerce-pagination ul li a,
.shop-bottom-bar .woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.shop-bottom-bar .woocommerce-pagination ul li span.current,
.shop-bottom-bar .woocommerce-pagination ul li a:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* Mobile Sidebar (Hamburger Sliding Navigation) */
@media (max-width: 991px) {
    .shop-sidebar-col {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 1050;
        background: #fff;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .shop-sidebar-col.active {
        left: 0;
    }

    .shop-sidebar-col .shop-sidebar-widgets {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out;
    }

    .sidebar-overlay.active {
        opacity: 1;
    }
}

.contact-container {
    max-width: 1200px;
    margin: 40px auto;
}

.contact-row-custom {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.contact-col-left {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.contact-col-right {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 850px) {

    .contact-col-left,
    .contact-col-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.link-back {
    color: #dc3545;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.link-back:hover {
    text-decoration: underline;
}

/* Left Column Form */
.contact-form-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.contact-form-col {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-form-col .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.contact-form-col label {
    font-weight: 700;
    font-size: 13px;
    color: #111827;
    margin-bottom: 8px;
    display: block;
}

.contact-form-col input[type="text"],
.contact-form-col input[type="email"],
.contact-form-col input[type="tel"],
.contact-form-col textarea,
.contact-form-col select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 14px;
    color: #111827;
    transition: all 0.2s;
}

.contact-form-col input:focus,
.contact-form-col textarea:focus,
.contact-form-col select:focus {
    border-color: #dc3545;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
    background-color: #fff;
}

.contact-form-col input.wpcf7-submit {
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 12px 20px;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    margin-top: 10px;
}

.contact-form-col input.wpcf7-submit:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Right Column Details */
.contact-col-right .section-heading {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111827;
}

.branch-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}

.branch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.branch-title {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.branch-title i {
    font-size: 22px;
    color: #dc3545;
}

.branch-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    padding-left: 34px;
    /* aligns text with the title text, skipping the icon */
}

/* Contact Box Custom */
.contact-info-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-info-title {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.contact-method-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-method-row:last-child {
    margin-bottom: 0;
}

.contact-icon-circle {
    width: 34px;
    height: 34px;
    background: #dc3545;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-method-text {
    display: flex;
    flex-direction: column;
}

.contact-method-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.contact-method-text span {
    font-size: 13px;
    color: #6b7280;
}

.contact-method-text a {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-method-text a:hover {
    color: #dc3545;
}

/* Social Icons */
.social-footer-area {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-footer-area span {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
}

.social-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #fff;
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.youtube {
    background: #FF0000;
}

/* AJAX Search Results */
.ajax-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-height: 450px;
    overflow-y: auto;
    margin-top: 5px;
}

.ajax-search-results .search-section {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.ajax-search-results .search-section:last-child {
    border-bottom: none;
}

.ajax-search-results .section-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ajax-search-results .result-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
    border-radius: 5px;
}

.ajax-search-results .result-item:hover {
    background: #f9f9f9;
}

.ajax-search-results .result-category {
    padding: 5px 10px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.ajax-search-results .result-category:hover {
    color: #dc3545;
}

.ajax-search-results .result-product-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.ajax-search-results .result-product-info {
    display: flex;
    flex-direction: column;
}

.ajax-search-results .result-product-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.2;
    color: #222;
}

.ajax-search-results .result-product-price {
    font-size: 12px;
    color: #dc3545;
    font-weight: 700;
}

.ajax-search-results .result-product-price del {
    color: #999;
    font-weight: 400;
    margin-left: 5px;
}

.ajax-search-results .no-results {
    padding: 15px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.ajax-search-results .search-spinner {
    padding: 20px;
    text-align: center;
    color: #dc3545;
}

.complaint-container {
    max-width: 950px;
    margin: 40px auto;
    padding: 0 15px;
}

.link-back {
    color: #dc3545;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 25px;
}

.link-back:hover {
    text-decoration: underline;
}

/* Page Header */
.complaint-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111827;
}

.complaint-subtitle {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 30px;
}

/* Form Container */
.complaint-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Contact Form 7 Custom Styling */
.complaint-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.complaint-form-wrapper label {
    font-weight: 700;
    font-size: 13px;
    color: #111827;
    margin-bottom: 8px;
    display: block;
}

.complaint-form-wrapper input[type="text"],
.complaint-form-wrapper input[type="email"],
.complaint-form-wrapper input[type="tel"],
.complaint-form-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 14px;
    color: #111827;
    transition: all 0.2s;
}

.complaint-form-wrapper input:focus,
.complaint-form-wrapper textarea:focus {
    border-color: #dc3545;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
    background-color: #fff;
}

.complaint-form-wrapper input.wpcf7-submit {
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 12px 20px;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    margin-top: 10px;
}

.complaint-form-wrapper input.wpcf7-submit:hover {
    background-color: #dc3545;
    color: #fff;
}

.complaint-form-wrapper .wpcf7-spinner {
    margin-top: 15px;
    margin-bottom: 0px;
}

@media (max-width: 600px) {
    .complaint-form-wrapper {
        padding: 24px;
    }
}

.shipping-policy-content ul,
.policy-content ul,
.policy-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.shipping-policy-content ul,
.policy-content ul {
    list-style-type: disc;
}

.policy-content ol {
    list-style-type: decimal;
}

.shipping-policy-content ul li,
.policy-content ul li,
.policy-content ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.shipping-policy-content h4,
.policy-content h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.policy-content h5 {
    color: #444;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}