/* ================================================================
   SUPPLEMENTS 4 MUSCLE – Exact 1:1 CSS Recreation
   Uses real site assets + Owl Carousel for scrolling products
   ================================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #00aeef;
    --blue-dark: #0090cc;
    --black: #000;
    --gray: #797979;
    --bg: #fff;
    --white: #fff;
    --border: #e5e5e5;
    --red: #e31e24;
    --green: #27ae60;
    --font: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: #000;
    background: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---- TOPBAR ---- */
.topbar {
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    padding: 7px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-left a,
.topbar-left span {
    color: #fff;
    font-size: 14px;
}

.topbar-left .sep {
    margin: 0 2px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-right .dropdown {
    position: relative;
}

.topbar-right .dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-right .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    min-width: 130px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.topbar-right .dropdown:hover .dropdown-menu {
    display: block;
}

.topbar-right .dropdown-menu a {
    display: block;
    padding: 7px 14px;
    color: #333;
    font-size: 13px;
}

.topbar-right .dropdown-menu a:hover {
    background: var(--bg);
}

/* ---- HEADER ---- */
.main-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a img {
    height: 85px;
}

.browse-cat-wrap {
    position: relative;
    flex-shrink: 0;
}

.browse-btn {
    background: #414141;
    color: #fff;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 35px;
    border-radius: 3px;
    cursor: pointer;
    transition: background .2s;
}

.browse-btn:hover {
    background: #333;
}

.cat-drop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    z-index: 300;
    border: 1px solid var(--border);
}

.browse-cat-wrap:hover .cat-drop {
    display: block;
}

.cat-drop a {
    display: block;
    padding: 9px 16px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
}

.cat-drop a:hover {
    background: var(--bg);
    color: var(--blue);
}

.search-bar {
    flex: 1;
    max-width: 300px;
}

.search-bar form {
    display: flex;
    border: 2px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 9px 14px;
    border: none;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
}

.search-bar input::placeholder {
    color: #aaa;
}

.search-bar button {
    background: #fff;
    color: #333;
    padding: 9px 14px;
    font-size: 17px;
    border: none;
    border-left: 1px solid var(--border);
}

.search-bar button:hover {
    color: var(--blue);
}

.header-links {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
}

.header-links a {
    color: #000;
}

.header-links a:hover {
    color: var(--blue);
}

.header-links .s {
    color: #ccc;
    margin: 0 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-actions a {
    color: #333;
    font-size: 20px;
}

.header-actions a:hover {
    color: var(--blue);
}

.cart-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

.cart-toggle i {
    font-size: 20px;
}

/* ---- HERO SLIDER (Swiper) ---- */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-section .swiper-slide img {
    width: 100%;
    display: block;
}

.hero-stripe {
    height: 5px;
    background: var(--blue);
}

/* ---- CATEGORIES ---- */
.categories-section {
    padding: 45px 0;
    background: var(--bg);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cat-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    display: block;
    height: 180px;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.cat-card:hover img {
    transform: scale(1.05);
}

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
}

.cat-card:hover .cat-card-overlay {
    background: rgba(0, 0, 0, .55);
}

.cat-card-overlay span {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}

/* ---- SECTION HEADERS ---- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.section-header a {
    font-size: 14px;
    color: #000;
}

.section-header a:hover {
    color: var(--blue);
}

/* ---- PRODUCT SECTIONS (Owl Carousel) ---- */
.products-section {
    padding: 30px 0;
    background: var(--bg);
}

/* Product Card */
.product-card {
    background: #fff;
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: border-color .3s;
    margin: 0 5px;
}

.product-card:hover {
    border-color: var(--blue);
}

.product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    z-index: 3;
    line-height: 1.3;
}

.product-badge.top5 {
    background: var(--red);
}

.product-badge.sale {
    background: var(--red);
}

.product-badge.new {
    background: var(--green);
}

.product-image {
    padding: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.product-image img {
    max-height: 130px;
    object-fit: contain;
    margin: 0 auto;
}

.product-info {
    padding: 8px 10px 14px;
}

.product-title {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    margin-bottom: 6px;
    min-height: 34px;
}

.product-title a {
    color: #000;
}

.product-title a:hover {
    color: var(--blue);
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.old-price {
    font-size: 12px;
    color: var(--gray);
    text-decoration: line-through;
    margin-right: 5px;
    font-weight: 400;
}

.sale-price {
    color: var(--red);
}

.btn-add-cart {
    background: #000;
    color: #fff;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background .2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-add-cart:hover {
    background: #333;
}

/* Owl Carousel Nav Arrows */
.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .3) !important;
    color: #fff !important;
    width: 35px;
    height: 35px;
    font-size: 20px !important;
    line-height: 35px;
    border-radius: 3px;
}

.owl-carousel .owl-nav button:hover {
    background: rgba(0, 0, 0, .6) !important;
}

.owl-carousel .owl-nav .owl-prev {
    left: -5px;
}

.owl-carousel .owl-nav .owl-next {
    right: -5px;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--blue);
}

/* ---- GOALS ---- */
.goals-section {
    padding: 40px 0;
    background: var(--bg);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.goal-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    display: block;
    height: 200px;
}

.goal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.goal-card:hover img {
    transform: scale(1.05);
}

.goal-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 20px;
    transition: background .3s;
}

.goal-card:hover .goal-card-overlay {
    background: rgba(0, 0, 0, .6);
}

.goal-card-overlay span {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .4);
}

.goal-card-overlay .view-all {
    display: block;
    font-size: 11px;
    font-weight: 400;
    margin-top: 5px;
    opacity: .8;
}

/* ---- BRANDS ---- */
.brands-section {
    padding: 30px 0;
    background: var(--bg);
}

.brands-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand-logo {
    display: block;
    width: 80px;
    height: 80px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px;
    flex-shrink: 0;
    transition: border-color .2s;
}

.brand-logo:hover {
    border-color: var(--blue);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---- BLOG ---- */
.blog-section {
    padding: 40px 0;
    background: var(--bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-content .blog-date {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
}

.blog-card-content h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-card-content h3 a {
    color: #000;
}

.blog-card-content h3 a:hover {
    color: var(--blue);
}

.blog-card-content p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.blog-read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--blue);
    font-weight: 600;
}

/* ---- FEATURES ---- */
.features-section {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: #555;
}

.feature-text {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.newsletter-content {
    flex: 1;
    padding: 50px 40px;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #555;
    border-right: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
}

.newsletter-form input::placeholder {
    color: #777;
}

.newsletter-form button {
    padding: 12px 22px;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #555;
}

.newsletter-image {
    flex: 0 0 400px;
    height: 250px;
    overflow: hidden;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* ---- FOOTER ---- */
.main-footer {
    background: var(--bg);
    padding-top: 45px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr .7fr .5fr 1.3fr;
    gap: 25px;
    padding-bottom: 30px;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 12px;
}

.footer-trustpilot {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 10px;
    border: 1px solid #00b67a;
    border-radius: 3px;
    font-size: 12px;
    color: #000;
}

.footer-trustpilot i {
    color: #00b67a;
    margin-right: 3px;
}

.footer-widget h3 {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-goal p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 12px 0;
}

.payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-icons img {
    height: 25px;
}

/* ---- MOBILE ---- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 22px;
    padding: 8px;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .goals-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .topbar-left {
        display: none;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .search-bar {
        max-width: 100%;
        order: 10;
        flex-basis: 100%;
        margin-top: 8px;
    }

    .browse-cat-wrap {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .cat-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-image {
        display: none;
    }

    .newsletter-inner {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .goals-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- GOOGLE EMBEDS ---- */
.google-embeds-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid var(--border);
}

.embeds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.embed-wrapper {
    text-align: center;
}

.embed-wrapper h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #f9f9f9;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.embed-container iframe,
.embed-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.embed-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    font-style: italic;
    background: #f3f3f3;
}

@media (max-width: 768px) {
    .embeds-grid {
        grid-template-columns: 1fr;
    }
}