/* ===================================================
   Insane Nutrition - Theme Override CSS
   =================================================== */

/* ---- Primary Color Override ---- */
:root {
    --color-primary: #CC2222;
    --color-secondary: #E63946;
}

/* ---- Remove global uppercase on all headings ---- */
h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
}

/* ---- Top Utility Bar ---- */
.top-utility-bar {
    background-color: #3a3a3a;
    color: #ddd;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: none;
    letter-spacing: 0.4px;
}
.top-utility-bar .container { display: flex; align-items: center; gap: 40px; }
.top-utility-bar a { color: #ddd; text-decoration: none; }
.top-utility-bar span { font-size: 12px; }

/* ---- Header WHITE Theme ---- */
.header-area {
    background-color: #fff !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-area.stricky-fixed,
.xb-header.stricky-fixed { background-color: #fff !important; }

/* Header vertical padding */
.xb-header .container { padding-top: 14px; padding-bottom: 14px; }
.header__wrap { min-height: 70px; align-items: center; }

/* Nav links - dark on white bg */
.header-area .main-menu > ul > li > a,
.header-area .main-menu > ul > li > a span { color: #222 !important; }
.header-area .main-menu > ul > li:hover > a span,
.header-area .main-menu > ul > li.active > a span { color: #CC2222 !important; }
.header-area .main-menu .submenu { background: #fff; border-top: 2px solid #CC2222; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.header-area .main-menu .submenu li a,
.header-area .main-menu .submenu li a span { color: #333 !important; }
.header-area .main-menu .submenu li a:hover span { color: #CC2222 !important; }

/* Header right icons - dark on white bg */
.header__right .header-shop-cart > a img { filter: brightness(0); }
.header__bar-icon span { background-color: #333 !important; }

/* Header icons wrapper */
.header-icons-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search icon */
.header-search-btn {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}
.header-search-btn:hover { color: #CC2222; }

/* Cart icon */
.cart-icon-link {
    display: inline-flex;
    align-items: center;
    position: relative;
    color: #333;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}
.cart-icon-link:hover { color: #CC2222; }

.mini-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #CC2222 !important;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Header grid icon (replaces user icon) */
.header-grid-btn {
    width: 40px;
    height: 40px;
    background-color: #CC2222;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    margin-left: 10px;
    vertical-align: middle;
    transition: background 0.3s;
}
.header-grid-btn:hover { background-color: #aa1818; color: #fff; }

/* Keep user-btn styles for backward compat */
.header-user-btn {
    width: 40px;
    height: 40px;
    background-color: #CC2222;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    margin-left: 10px;
    vertical-align: middle;
    transition: background 0.3s;
}
.header-user-btn:hover { background-color: #aa1818; color: #fff; }

/* Mobile nav */
.xb-header-nav .xb-menu-primary > li > a,
.xb-header-nav .xb-menu-primary > li > a span { color: #1a1a1a !important; }

/* ---- Global Button Overrides ---- */
.thm-btn {
    background-color: #CC2222 !important;
    border-color: #CC2222 !important;
}
.thm-btn:hover { background-color: #aa1818 !important; border-color: #aa1818 !important; }
.thm-btn--black { background-color: #1a1a1a !important; border-color: #1a1a1a !important; }
.thm-btn--black:hover { background-color: #CC2222 !important; border-color: #CC2222 !important; }

.xb-btn,
.add-to-cart-btn .xb-btn {
    background-color: #CC2222 !important;
    border-color: #CC2222 !important;
    color: #fff !important;
}

/* ---- Hero Section Overrides ---- */
.hero__content .sub-title {
    font-size: 36px !important;
    font-weight: 900 !important;
    color: #CC2222 !important;
    font-style: italic !important;
    letter-spacing: 2px !important;
    font-family: var(--font-heading) !important;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3) !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
}
.hero__content .sub-title::before,
.hero__content .sub-title::after { display: none !important; }

.hero__content .title {
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: 1px !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
}

/* Red rectangle CTA badge */
.hero-cta-badge {
    display: inline-block;
    background: #CC2222;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 30px;
    letter-spacing: 0.3px;
    margin-top: 10px;
    border-radius: 3px;
}

/* Hide the old hero phone CTA */
.hero__cta { display: none !important; }

/* Adjust hero description text */
.hero__content > p { display: none !important; }

/* Keep BUY NOW / SHOP NOW btn styles in hero */
.hero__action .thm-btn { margin-top: 0 !important; }

/* ---- Section Title Overrides ---- */
.sec-title .sub-title { color: #CC2222 !important; }
.sec-title .sub-title::before,
.sec-title .sub-title::after { background-color: #CC2222 !important; }

/* ---- Mini Cart ---- */
.checkout-link .button.checkout { background-color: #CC2222 !important; }

/* ---- Pricing ---- */
.xb-pricing.active { border-color: #CC2222 !important; }

/* ===================================================
   BEST PICKS SECTION
   =================================================== */
.best-picks-section {
    padding: 70px 0 70px;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.best-picks-section .section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.best-picks-section .section-heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #E04040;
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Alternating product rows — card style */
.best-picks-item {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 48px 50px;
    margin-bottom: 28px;
    border: none;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}
.best-picks-item:last-child { margin-bottom: 0; }
.best-picks-item.reverse { flex-direction: row-reverse; }

/* Product image wrapper with decorative circle behind */
.best-picks-item .bp-img {
    flex: 0 0 260px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}
.bp-img-circle {
    position: absolute;
    width: 240px;
    height: 240px;
    background: rgba(220, 220, 220, 0.28);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.best-picks-item .bp-img img {
    position: relative;
    z-index: 1;
    max-height: 220px;
    max-width: 220px;
    object-fit: contain;
}

.best-picks-item .bp-info { flex: 1; }
.best-picks-item .bp-info .bp-brand {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
    font-family: var(--font-heading);
    margin-bottom: 16px;
    line-height: 1.1;
}
.best-picks-item .bp-info .bp-product-type {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    font-style: normal;
    margin-bottom: 12px;
}
.best-picks-item .bp-info .bp-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 500px;
}
.best-picks-item .bp-info .bp-action {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.bp-shop-btn {
    display: inline-block;
    background: #CC2222;
    color: #fff !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    letter-spacing: 0.3px;
}
.bp-shop-btn:hover { background: #aa1818; }
.bp-price { font-size: 20px; font-weight: 700; color: #1a1a1a; }
.bp-price-old { font-size: 15px; color: #e67e00; text-decoration: line-through; font-weight: 600; }

/* Remove old global deco — each card has its own circle */
.best-picks-deco { display: none; }
.best-picks-section .container { position: relative; z-index: 1; }

/* ===================================================
   BUILT STRENGTH BANNER
   =================================================== */
.built-strength-section {
    padding: 40px 0 50px;
    background: #fff;
}
.built-strength-box {
    border: 2px solid #CC2222;
    border-radius: 8px;
    padding: 36px 44px;
    width: 100%;
}
.built-strength-box h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    font-family: 'Barlow Condensed', 'Chakra Petch', sans-serif;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}
.built-strength-box p {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* ===================================================
   SHOP BY BRAND SECTION
   =================================================== */
.shop-by-brand-section {
    padding: 20px 0 70px;
    background: #fff;
}
.shop-by-brand-section .sbrand-heading {
    text-align: center;
    margin-bottom: 44px;
}
.shop-by-brand-section .sbrand-heading h2 {
    font-size: 40px;
    font-weight: 800;
    color: #CC2222;
    font-family: var(--font-heading);
}
/* Brand Carousel (Swiper) */
.brand-carousel-wrap {
    position: relative;
    overflow: hidden;
}
.brand-items-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.brand-item-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.25s;
    width: 130px;
}
.brand-item-card:hover { transform: translateY(-5px); }
.brand-icon-circle {
    width: 130px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border: none;
    padding: 8px;
}
.brand-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.25s, transform 0.25s;
}
.brand-item-card:hover .brand-icon-circle img {
    filter: grayscale(0%);
    transform: scale(1.06);
}
.brand-item-name {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

/* Swiper slide centering for brand carousel */
.brand-carousel-wrap .swiper-container { padding-bottom: 4px; }
.brand-carousel-wrap .swiper-slide {
    display: flex;
    justify-content: center;
}

/* ===================================================
   BRAND PRODUCTS SECTION
   =================================================== */
.brand-products-section {
    padding: 60px 0 80px;
    background: #fff;
}
.brand-products-section .bp-section-title {
    text-align: center;
    margin-bottom: 20px;
}
.brand-products-section .bp-section-title h2 {
    font-size: 40px;
    font-weight: 800;
    color: #CC2222;
    font-family: 'Barlow Condensed', var(--font-heading);
}

/* Filter Tabs */
.brand-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    list-style: none;
    padding: 0;
    margin-top: 0;
    justify-content: center;
}
.brand-filter-tabs li { display: inline-block; }
.brand-filter-tabs a {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    color: #444;
    text-decoration: none;
    transition: all 0.25s;
    border: 1.5px solid #ddd;
    cursor: pointer;
}
.brand-filter-tabs a:hover { border-color: #CC2222; color: #CC2222; }
.brand-filter-tabs a.active {
    background: #CC2222;
    color: #fff;
    border-color: #CC2222;
}

/* Product cards */
.bp-product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid #efefef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}
.bp-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

/* Image area with colored arc */
.bp-product-card .bp-card-img {
    background: #f8f8f8;
    padding: 20px 16px 0;
    text-align: center;
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
/* The semicircle arc at the bottom of the image area */
.bp-arc {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 110px;
    border-radius: 50% 50% 0 0;
    z-index: 0;
}
.bp-arc-pink .bp-arc  { background: rgba(233, 120, 100, 0.28); }
.bp-arc-yellow .bp-arc { background: rgba(230, 190, 60, 0.30); }
.bp-arc-brown .bp-arc  { background: rgba(140, 90, 60, 0.22); }
.bp-arc-grey .bp-arc   { background: rgba(180, 180, 190, 0.30); }

.bp-product-card .bp-card-img img {
    position: relative;
    z-index: 1;
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 8px;
}

/* Card body */
.bp-product-card .bp-card-body { padding: 14px 16px 18px; }
.bp-product-card .bp-card-brand {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 4px;
    font-weight: 500;
}
.bp-product-card .bp-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
}
.bp-product-card .bp-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.bp-product-card .bp-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 14px;
}
.bp-product-card .bp-card-rating .stars { color: #FFC107; font-size: 12px; }
.bp-product-card .bp-card-rating .count { font-size: 11px; color: #aaa; }
.bp-product-card .btn-buy-now {
    display: inline-block;
    background: #CC2222;
    color: #fff !important;
    border: none;
    padding: 9px 28px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
}
.bp-product-card .btn-buy-now:hover { background: #aa1818; }
.bp-product-card .bp-card-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* ===================================================
   SHOP PAGE — BRAND FILTER BAR
   =================================================== */
.shop-brand-bar {
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 32px;
    overflow-x: auto;
}
.shop-brand-bar-label {
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.shop-brand-bar-inner {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.shop-brand-pill {
    display: inline-block;
    padding: 6px 16px;
    border: 1.5px solid #ddd;
    border-radius: 30px;
    background: #fff;
    color: #444;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    line-height: 1.4;
}
.shop-brand-pill:hover { background: #f0f0f0; border-color: #bbb; }
.shop-brand-pill.active { background: #CC2222; color: #fff; border-color: #CC2222; }

/* Product card in shop grid */
.xb-item--brand {
    font-size: 11px;
    color: #aaa;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
.xb-item--meta {
    font-size: 11px;
    color: #888;
    margin: 4px 0 10px;
    line-height: 1.4;
}
.shop-product-item { margin-bottom: 30px; }

/* Shop grid — product card polish */
.shop-product-item .product-item {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}
.shop-product-item .product-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}
/* Consistent image height & object-fit */
.shop-product-item .xb-item--img {
    height: 220px !important;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-product-item .xb-item--img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
    padding: 10px;
}
/* Title size — more readable */
.shop-product-item .xb-item--title {
    font-size: 14px !important;
    text-transform: none !important;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}
.shop-product-item .xb-item--title a { color: #1a1a1a; }
.shop-product-item .xb-item--title a:hover { color: #CC2222; }
.shop-product-item .xb-item--price { font-size: 15px; font-weight: 700; color: #CC2222; }

/* No results message */
#shopNoResults {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 15px;
    display: none;
}

/* Sidebar brand/category active link */
.sidebar-brand-link.active,
.sidebar-cat-link.active { color: #CC2222 !important; font-weight: 700; }
.sidebar-brand-link, .sidebar-cat-link { cursor: pointer; }

/* ===================================================
   BOTTOM BANNER SECTION
   =================================================== */
.bottom-banner-section {
    line-height: 0;
    margin-bottom: 60px;
}
.bottom-banner-section img {
    width: 100%;
    display: block;
    height: 420px;
    object-fit: cover;
    object-position: center 20%;
}

/* ===================================================
   FOOTER - INSANE NUTRITION STYLE
   =================================================== */
.footer-insane {
    background-color: #1c1c1c;
    padding: 0;
    color: #bbb;
}

.footer-insane .fi-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 40px 0 36px;
    flex-wrap: wrap;
}

/* Logo */
.footer-insane .fi-logo {
    flex-shrink: 0;
}
.footer-insane .fi-logo img {
    height: 130px;
    width: auto;
    display: block;
}

/* Contact block */
.footer-insane .fi-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 14px;
    color: #bbb;
}
.footer-insane .fi-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bbb;
}
.footer-insane .fi-contact-item i {
    color: #bbb;
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.footer-insane .fi-contact-row2 {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

/* Social row */
.footer-insane .fi-social-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-insane .fi-social-label {
    font-size: 14px;
    color: #bbb;
    margin-right: 4px;
}
.footer-insane .fi-social-row a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-insane .fi-social-row a:hover { color: #CC2222; }

/* Bottom bar */
.footer-insane .fi-bottom {
    border-top: 1px solid #2e2e2e;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-insane .fi-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 30px;
}
.footer-insane .fi-nav a {
    color: #777;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase !important;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-insane .fi-nav a:hover { color: #fff; }
.footer-insane .fi-copy {
    font-size: 13px;
    color: #777;
}

/* ===================================================
   SHOP SINGLE PAGE - UPDATED STYLES
   =================================================== */

/* Section spacing */
.shop-single-section { padding: 60px 0 80px !important; background: #fff; }

/* Product image gallery */
.product_details_img { background: #f8f8f8; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.pl_thumb { display: flex; align-items: center; justify-content: center; padding: 30px; min-height: 320px; }
.pl_thumb img { max-height: 280px; max-width: 100%; object-fit: contain; }
.shop_thumb_tab .nav { display: flex; gap: 10px; list-style: none; padding: 0; flex-wrap: wrap; }
.shop_thumb_tab .nav-link { padding: 4px; border: 2px solid transparent; border-radius: 6px; background: #f8f8f8; transition: border-color 0.2s; }
.shop_thumb_tab .nav-link img { width: 64px; height: 64px; object-fit: contain; display: block; }
.shop_thumb_tab .nav-link.active, .shop_thumb_tab .nav-link:hover { border-color: #CC2222; }

/* Product detail header */
.product-details h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.3;
}
.pd-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}
.pd-meta-row .pd-brand { color: #CC2222; font-weight: 500; }
.pd-meta-row .rating-stars { color: #FFC107; }
.pd-meta-row .pd-id { color: #aaa; font-size: 12px; }

.pd-stock-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    border: 1px solid #c8e6c9;
}
.pd-price-wrap { margin-bottom: 14px; }
.pd-price-wrap .pd-price { font-size: 28px; font-weight: 700; color: #1a1a1a; }

.pd-specs { margin-bottom: 18px; }
.pd-spec-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    margin-bottom: 7px;
}
.pd-spec-dot { width: 7px; height: 7px; border-radius: 50%; background: #CC2222; flex-shrink: 0; }
.pd-spec-label { font-weight: 600; color: #222; margin-right: 3px; }

/* Add to cart row */
.pd-cart-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pd-qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}
.pd-qty-btn {
    width: 32px; height: 42px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    transition: background 0.2s;
}
.pd-qty-btn:hover { background: #ebebeb; }
.pd-qty-num {
    width: 52px; height: 42px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    outline: none;
    color: #1a1a1a;
}
.pd-add-cart-btn {
    background: #CC2222;
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.3s;
}
.pd-add-cart-btn:hover { background: #aa1818; }

/* Tags / categories */
.pd-tag-row { font-size: 13px; color: #777; margin-bottom: 6px; }
.pd-tag-row a { color: #CC2222; text-decoration: none; }
.pd-tag-row a:hover { text-decoration: underline; }

/* ===== VARIANT SELECTORS ===== */
.pd-variant-group { margin-bottom: 18px; }
.pd-variant-label {
    font-size: 13px;
    color: #555;
    margin-bottom: 9px;
    font-weight: 500;
}
.pd-variant-label strong { color: #1a1a1a; }
.pd-variant-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-variant-pill {
    display: inline-block;
    padding: 6px 16px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1.4;
}
.pd-variant-pill:hover { border-color: #CC2222; color: #CC2222; }
.pd-variant-pill.active { background: #CC2222; color: #fff; border-color: #CC2222; }

/* Thumbnail nav */
#productThumbNav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding: 0; list-style: none; }
#productThumbNav .nav-item button {
    width: 70px;
    height: 70px;
    padding: 4px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    background: #f8f8f8;
    cursor: pointer;
    transition: border-color 0.2s;
}
#productThumbNav .nav-item button img { width: 100%; height: 100%; object-fit: contain; }
#productThumbNav .nav-item button.active,
#productThumbNav .nav-item button:hover { border-color: #CC2222; }

/* Main image */
#pd-main-img { width: 100%; max-height: 420px; object-fit: contain; transition: opacity 0.2s; }

/* Description content */
.pd-desc-heading { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; text-transform: uppercase; }
.pd-desc-subheading { font-size: 14px; font-weight: 700; color: #1a1a1a; margin: 15px 0 8px; }
.pd-desc-list { padding-left: 20px; }
.pd-desc-list li { font-size: 13px; color: #555; line-height: 1.8; }

/* Product tab nav overrides */
.single-product-info .tablist ul.nav-tabs { border-bottom: 2px solid #eee; }
.single-product-info .tablist button {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: -2px;
}
.single-product-info .tablist button.active,
.single-product-info .tablist button:hover {
    color: #CC2222;
    border-bottom-color: #CC2222;
}

/* Related products with Swiper */
.related-products-section {
    padding: 50px 0 70px;
    background: #fff;
}
.related-products-section h3.title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.related-swiper-wrap { position: relative; padding: 0 30px; }
.related-swiper-wrap .swiper-btn-prev,
.related-swiper-wrap .swiper-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
    transition: all 0.3s;
    color: #444; font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.related-swiper-wrap .swiper-btn-prev { left: -10px; }
.related-swiper-wrap .swiper-btn-next { right: -10px; }
.related-swiper-wrap .swiper-btn-prev:hover,
.related-swiper-wrap .swiper-btn-next:hover { background: #CC2222; color: #fff; border-color: #CC2222; }

/* Related product card — matches homepage style */
.related-products-section .product.product-item {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
    text-align: left;
    padding: 0 0 16px;
}
.related-products-section .product.product-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.related-products-section .xb-item--img {
    position: relative;
    background: #f8f8f8;
    overflow: hidden;
    height: 180px;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 20px 16px 0;
}
.related-products-section .xb-item--img::before {
    content: '';
    position: absolute;
    bottom: -30px; left: 50%;
    transform: translateX(-50%);
    width: 150px; height: 100px;
    border-radius: 50% 50% 0 0;
    background: rgba(233, 120, 100, 0.25);
}
.related-products-section .xb-item--img img {
    position: relative; z-index: 1;
    max-height: 150px; max-width: 100%;
    object-fit: contain; margin-bottom: 6px;
}
.related-products-section .xb-item--holder { padding: 12px 14px 4px; }
.related-products-section .xb-item--title {
    font-size: 14px; font-weight: 700; color: #1a1a1a;
    margin-bottom: 6px; line-height: 1.3;
}
.related-products-section .xb-item--title a { color: inherit; text-decoration: none; }
.related-products-section .xb-item--rating-inner { display: flex; align-items: center; gap: 5px; padding: 0 14px 6px; }
.related-products-section .xb-item--rating { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.related-products-section .xb-item--rating li { color: #FFC107; font-size: 12px; }
.related-products-section .xb-item--rating li img { width: 12px; height: 12px; }
.related-products-section .xb-item--action {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 0 14px; margin-top: 8px; flex-wrap: wrap; gap: 8px;
}
.related-products-section .xb-item--price {
    font-size: 16px; font-weight: 700; color: #1a1a1a;
}
.related-products-section .xb-item--action > a {
    display: inline-flex; align-items: center; gap: 5px;
    background: #CC2222; color: #fff;
    padding: 8px 18px; border-radius: 5px;
    font-size: 13px; font-weight: 600;
    text-decoration: none; transition: background 0.3s;
}
.related-products-section .xb-item--action > a:hover { background: #aa1818; }
.related-products-section .xb-item--cart-icon { display: none; }

/* Sale badge */
.badge-sale {
    position: absolute;
    top: 10px; right: 10px;
    background: #CC2222; color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 3px 8px; border-radius: 3px;
    letter-spacing: 0.5px; z-index: 5;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 991px) {
    .best-picks-item,
    .best-picks-item.reverse { flex-direction: column; text-align: center; }
    .best-picks-item .bp-desc { max-width: 100%; }
    .best-picks-item .bp-action { justify-content: center; }
    .best-picks-section .section-heading h2 { font-size: 30px; }
    .built-strength-box { padding: 30px 25px; }
    .built-strength-box h2 { font-size: 24px; }
    .footer-insane .fi-top { flex-direction: column; align-items: center; text-align: center; }
    .footer-insane .fi-social { justify-content: center; }
    .footer-insane .fi-contact { align-items: center; }
    .footer-insane .fi-contact-item { justify-content: center; }
}
@media (max-width: 576px) {
    .brand-items-row { gap: 15px; }
    .brand-item-card { width: 75px; }
    .brand-icon-circle { width: 65px; height: 65px; }
    .gym-image-section img { height: 260px; }
    .pd-price-wrap .pd-price { font-size: 22px; }
}

/* ============================================================
   CART — badge, mini-cart dropdown, checkout page
   ============================================================ */

/* --- Count badge on bag icon --- */
.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #CC2222;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 3px;
}

/* --- Mini-cart dropdown --- */
.header-shop-cart { position: relative; }
.header-mini-cart {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
    padding-top: 12px; /* visual gap without breaking hover */
}
.header-shop-cart.cart-open .header-mini-cart { display: block; }

.mc-items { padding: 12px 0; }
.mc-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 16px;
    border-bottom: 1px solid #f2f2f2;
    gap: 12px;
}
.mc-item:last-child { border-bottom: none; }
.mc-item-info { flex: 1; }
.mc-item-name { font-size: 13px; font-weight: 600; color: #222; line-height: 1.3; }
.mc-item-brand { font-size: 11px; color: #888; margin-bottom: 6px; }
.mc-item-qty-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.mc-qty-btn {
    background: #f0f0f0;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mc-qty-btn:hover { background: #CC2222; color: #fff; }
.mc-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mc-item-price { font-size: 13px; font-weight: 700; color: #CC2222; white-space: nowrap; }
.mc-remove-btn {
    background: none;
    border: none;
    color: #bbb;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.mc-remove-btn:hover { color: #CC2222; }
.mc-footer {
    padding: 12px 16px;
    border-top: 2px solid #f2f2f2;
    background: #fafafa;
    border-radius: 0 0 8px 8px;
}
.mc-total { font-size: 14px; color: #333; margin-bottom: 10px; }
.mc-checkout-btn {
    display: block;
    text-align: center;
    background: #CC2222;
    color: #fff !important;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.mc-checkout-btn:hover { background: #a81c1c; }

/* --- Checkout page --- */
.checkout-section { padding: 60px 0 80px; }
.checkout-section h2 { font-size: 26px; font-weight: 700; margin-bottom: 24px; color: #222; }

/* Cart table */
.co-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.co-table th {
    background: #f7f7f7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 2px solid #eee;
    color: #555;
}
.co-table td { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; font-size: 14px; }
.co-table tr:last-child td { border-bottom: none; }
.co-item-name { font-weight: 600; color: #222; }
.co-item-brand { font-size: 12px; color: #888; }
.co-qty-input {
    width: 56px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 14px;
}
.co-remove-btn {
    background: none;
    border: none;
    color: #bbb;
    font-size: 20px;
    cursor: pointer;
}
.co-remove-btn:hover { color: #CC2222; }
.co-price { font-weight: 700; color: #CC2222; }

.co-summary-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 28px;
}
.co-summary-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; color: #222; }
.co-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.co-summary-row.total {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    border-top: 2px solid #eee;
    padding-top: 14px;
    margin-top: 6px;
}
.co-empty-msg { text-align: center; padding: 40px 0; color: #888; font-size: 15px; }
.co-empty-msg a { color: #CC2222; font-weight: 600; }

/* Order form */
.co-form-section { margin-top: 48px; }
.co-form-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: #222; }
.co-form-group { margin-bottom: 18px; }
.co-form-group label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.co-form-group input,
.co-form-group select,
.co-form-group textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    font-family: inherit;
}
.co-form-group input:focus,
.co-form-group select:focus,
.co-form-group textarea:focus {
    outline: none;
    border-color: #CC2222;
    box-shadow: 0 0 0 3px rgba(204,34,34,0.08);
}
.co-place-order-btn {
    width: 100%;
    background: #CC2222;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    letter-spacing: 0.5px;
}
.co-place-order-btn:hover { background: #a81c1c; }

/* Success overlay */
.co-success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.co-success-overlay.show { display: flex; }
.co-success-box {
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.co-success-icon { font-size: 56px; color: #28a745; margin-bottom: 16px; }
.co-success-box h3 { font-size: 22px; font-weight: 700; color: #222; margin-bottom: 10px; }
.co-success-box p { font-size: 14px; color: #666; margin-bottom: 24px; }
.co-success-box a {
    display: inline-block;
    background: #CC2222;
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}
.co-success-box a:hover { background: #a81c1c; }
