/* =========================================================
   CROVADORE — FITNESS PREMIUM
   Design system harmonizado com o logo: navy profundo + branco,
   com o motivo dos anéis entrelaçados usado como assinatura visual.
   Tipografia: Playfair Display (títulos/wordmark) + Poppins (corpo)
   ========================================================= */

:root {
    /* Família navy — extraída do logo (fundo navy, emblema branco) */
    --c-navy-950: #071427;
    --c-navy-900: #0d1f3d;
    --c-navy-800: #16304f;
    --c-navy-700: #223c63;
    --c-navy-accent: #3f5f92;
    --c-ice: #b7c6e0;

    --c-white: #ffffff;
    --c-cream: #f6f7f9;
    --c-gray-100: #eef1f5;
    --c-gray-200: #e1e5ed;
    --c-gray-300: #d1d7e2;
    --c-gray-500: #8a92a5;
    --c-gray-700: #4a5266;

    --c-danger: #d9483e;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --radius-sm: 2px;
    --radius-md: 6px;
    --radius-lg: 14px;
    --shadow-soft: 0 4px 20px rgba(7, 20, 39, 0.08);
    --shadow-strong: 0 12px 40px rgba(7, 20, 39, 0.24);
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --header-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--c-navy-900);
    background: var(--c-cream);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =================== BRAND MARK (anéis entrelaçados) =================== */
.brand-mark {
    width: 30px;
    height: 18px;
    color: currentColor;
    flex-shrink: 0;
}
.brand-mark-lg { width: 74px; height: 44px; }

/* =================== ANNOUNCEMENT BAR =================== */
.top-announcement-bar {
    background: var(--c-navy-950);
    color: var(--c-cream);
    text-align: center;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    padding: 9px 12px;
}
.top-announcement-bar strong { color: var(--c-ice); }

/* =================== NAVBAR =================== */
.navbar-premium {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(13, 31, 61, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    height: var(--header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 5%;
    gap: 16px;
}

.nav-menu-left {
    display: flex;
    gap: 28px;
    justify-self: start;
}
.nav-menu-left a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--c-white);
    opacity: 0.85;
    position: relative;
    padding: 6px 0;
    transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-menu-left a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1.5px;
    background: var(--c-ice);
    transition: width 0.3s var(--ease);
}
.nav-menu-left a:hover,
.nav-menu-left a.active { opacity: 1; color: var(--c-ice); }
.nav-menu-left a:hover::after,
.nav-menu-left a.active::after { width: 100%; }

.nav-logo-center { justify-self: center; }
.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-white);
}
.brand-text-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--c-white);
}

.nav-actions-right {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-self: end;
}

.search-bar-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 8px 6px 8px 16px;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.search-bar-container:focus-within { border-color: var(--c-ice); background: rgba(255, 255, 255, 0.14); }
.search-bar-container input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    width: 190px;
    background: transparent;
    color: var(--c-white);
}
.search-bar-container input::placeholder { color: rgba(255, 255, 255, 0.55); }
.search-submit-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    color: var(--c-white);
}

.nav-icon-link { font-size: 18px; opacity: 0.85; transition: opacity 0.2s; display: none; color: var(--c-white); }
.nav-icon-link:hover { opacity: 1; }

.cart-trigger-btn {
    position: relative;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--c-white);
}
.cart-badge-count {
    position: absolute;
    top: -8px; right: -10px;
    background: var(--c-ice);
    color: var(--c-navy-950);
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    justify-self: start;
}
.nav-hamburger span {
    width: 100%; height: 2px;
    background: var(--c-white);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================== HERO CAROUSEL =================== */
.main-container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }

.hero-carousel {
    position: relative;
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 6;
    background: var(--c-navy-900);
}
.carousel-track { width: 100%; height: 100%; position: relative; }
.carousel-slide {
    position: absolute; inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s var(--ease);
}
.carousel-slide.active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(7,20,39,0.75) 0%, rgba(7,20,39,0.15) 55%, rgba(7,20,39,0) 75%);
}

.hero-caption {
    position: absolute;
    left: 6%; bottom: 12%;
    color: var(--c-white);
    max-width: 480px;
    z-index: 2;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--c-ice);
    margin-bottom: 10px;
}
.hero-caption h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.btn-hero {
    display: inline-block;
    background: var(--c-white);
    color: var(--c-navy-900);
    padding: 13px 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-hero:hover { background: var(--c-ice); color: var(--c-navy-950); transform: translateY(-2px); }

.carousel-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.85);
    color: var(--c-navy-900);
    border-radius: 50%;
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s var(--ease);
    z-index: 5;
}
.carousel-nav:hover { background: var(--c-white); }
.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 18px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px;
    z-index: 5;
}
.carousel-dots .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.carousel-dots .dot.active { background: var(--c-white); width: 22px; border-radius: 4px; }

/* =================== CATEGORY STRIP =================== */
.category-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    isolation: isolate;
}
.category-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.category-card:hover img { transform: scale(1.06); }
.category-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(7,20,39,0.75) 0%, rgba(7,20,39,0.05) 55%);
    z-index: 1;
}
.category-card::before {
    content: "";
    position: absolute;
    right: -30px; bottom: -30px;
    width: 140px; height: 90px;
    background:
        radial-gradient(circle 42px at 40px 45px, transparent 38px, rgba(255,255,255,0.14) 39px, rgba(255,255,255,0.14) 46px, transparent 47px),
        radial-gradient(circle 42px at 90px 45px, transparent 38px, rgba(255,255,255,0.14) 39px, rgba(255,255,255,0.14) 46px, transparent 47px);
    z-index: 1;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.category-card:hover::before { opacity: 1; transform: scale(1); }
.category-card span {
    position: absolute;
    left: 24px; bottom: 20px;
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    z-index: 2;
}

/* =================== PRODUCTS SECTION =================== */
.products-section { margin: 60px 0; }
.products-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}
.products-section-header h2,
.related-products h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-navy-950);
}
.related-products h2 { margin-bottom: 24px; }

.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
    padding: 9px 20px;
    border: 1px solid var(--c-gray-300);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    background: var(--c-white);
    color: var(--c-navy-900);
    transition: all 0.25s var(--ease);
}
.pill:hover { border-color: var(--c-navy-accent); }
.pill.active { background: var(--c-navy-900); color: var(--c-white); border-color: var(--c-navy-900); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px 22px;
}
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--c-gray-700);
}

/* =================== PRODUCT CARD =================== */
.product-card {
    display: flex;
    flex-direction: column;
    animation: fadeUp 0.5s var(--ease) both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--c-gray-100);
}
.product-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img-wrapper img { transform: scale(1.05); }

.badge-fav {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--c-navy-900);
    color: var(--c-white);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 3;
}

.product-actions-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(0deg, rgba(7,20,39,0.65) 0%, rgba(7,20,39,0) 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover .product-actions-overlay,
.product-card:focus-within .product-actions-overlay {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 30px;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.15s var(--ease);
}
.action-btn:active { transform: scale(0.96); }
.action-btn.buy { background: var(--c-white); color: var(--c-navy-950); flex: 2; }
.action-btn.buy:hover { background: var(--c-navy-900); color: var(--c-white); }
.action-btn.fav {
    background: rgba(255,255,255,0.92);
    color: var(--c-navy-900);
    flex: 0 0 42px;
}
.action-btn.fav.active { background: var(--c-danger); color: var(--c-white); }

.product-info { padding: 14px 2px 0; }
.product-category-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-navy-accent);
    margin-bottom: 4px;
}
.product-title {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--c-navy-950);
    margin-bottom: 6px;
    line-height: 1.35;
}
.product-price { font-size: 16px; font-weight: 600; color: var(--c-navy-950); }
.product-installments { font-size: 12px; color: var(--c-gray-700); margin-top: 2px; }

/* =================== CART DRAWER =================== */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(7,20,39,0.55);
    z-index: 300;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.cart-overlay.visible { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(420px, 92vw);
    height: 100%;
    background: var(--c-white);
    z-index: 301;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-strong);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 24px;
    background: var(--c-navy-900);
    color: var(--c-white);
}
.cart-header h3 { font-family: var(--font-display); font-size: 20px; }
.cart-header button { font-size: 16px; color: var(--c-white); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty-msg { color: var(--c-gray-700); text-align: center; padding: 40px 0; font-size: 14px; }

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-gray-100);
}
.cart-item-thumb {
    width: 60px; height: 72px;
    border-radius: var(--radius-sm);
    background: var(--c-gray-100);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.cart-item-name { font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.cart-item-price { font-size: 13px; color: var(--c-gray-700); }
.cart-item-qty {
    display: flex; align-items: center; gap: 8px;
    margin-top: 8px;
}
.cart-item-qty button {
    width: 22px; height: 22px;
    border: 1px solid var(--c-gray-300);
    border-radius: 4px;
    font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.cart-item-remove {
    justify-self: end;
    font-size: 12px;
    color: var(--c-danger);
    align-self: start;
}

.cart-footer { padding: 20px 24px 24px; border-top: 1px solid var(--c-gray-200); }
.cart-footer .total {
    display: flex; justify-content: space-between;
    font-size: 15px; font-weight: 600;
    margin-bottom: 14px;
}
.btn-checkout {
    width: 100%;
    background: var(--c-navy-900);
    color: var(--c-white);
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 30px;
    transition: background 0.25s var(--ease);
}
.btn-checkout:hover { background: var(--c-navy-700); }
.btn-checkout:disabled { background: var(--c-gray-300); cursor: not-allowed; }

/* =================== TOASTS =================== */
.toast-container {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 500;
    display: flex; flex-direction: column; gap: 10px;
}
.toast {
    background: var(--c-navy-950);
    color: var(--c-white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    box-shadow: var(--shadow-strong);
    display: flex; align-items: center; gap: 10px;
    animation: toastIn 0.35s var(--ease);
    max-width: 320px;
}
.toast.error { background: var(--c-danger); }
.toast.fade-out { animation: toastOut 0.3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* =================== PRODUCT DETAIL PAGE =================== */
.breadcrumb {
    font-size: 12.5px;
    color: var(--c-gray-700);
    padding: 20px 0 0;
    display: flex; gap: 6px;
}
.breadcrumb a:hover { color: var(--c-navy-accent); }

.product-page-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    padding: 30px 0 70px;
}
.main-image-wrapper { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.main-product-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.product-details-info { display: flex; flex-direction: column; justify-content: center; }
.p-sku { font-size: 12.5px; letter-spacing: 1.5px; color: var(--c-gray-500); margin: 8px 0 10px; }
.p-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--c-navy-950);
}
.p-price-box { border-top: 1px solid var(--c-gray-200); border-bottom: 1px solid var(--c-gray-200); padding: 18px 0; margin-bottom: 26px; }
.p-price { font-size: 28px; font-weight: 600; color: var(--c-navy-950); }
.p-installments { font-size: 13.5px; color: var(--c-gray-700); margin-top: 6px; }
.p-copy { font-size: 14.5px; line-height: 1.75; color: var(--c-navy-900); margin-bottom: 26px; }
.p-copy strong { color: var(--c-navy-950); }

.p-attributes { display: flex; gap: 30px; margin-bottom: 28px; }
.p-attributes .attr span { display: block; font-size: 11.5px; color: var(--c-gray-500); letter-spacing: 0.5px; margin-bottom: 4px; }
.p-attributes .attr strong { font-size: 14px; color: var(--c-navy-950); }

.p-actions { display: flex; gap: 14px; margin-bottom: 26px; }
.btn-p-buy {
    flex: 1;
    background: var(--c-navy-900);
    color: var(--c-white);
    padding: 17px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 30px;
    transition: background 0.3s var(--ease);
}
.btn-p-buy:hover { background: var(--c-navy-700); }
.btn-p-fav {
    background: var(--c-white);
    border: 1px solid var(--c-gray-300);
    width: 56px; height: 56px;
    font-size: 19px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s var(--ease);
}
.btn-p-fav.active { background: #fff0f0; border-color: var(--c-danger); }

.product-page-container hr { border: 0; border-top: 1px solid var(--c-gray-200); margin: 22px 0; }
.btn-back-store { font-size: 13.5px; font-weight: 600; color: var(--c-navy-900); }
.btn-back-store:hover { color: var(--c-navy-accent); }

.related-products { margin-bottom: 80px; }

/* =================== FOOTER =================== */
.footer-premium { background: var(--c-navy-950); color: var(--c-gray-300); margin-top: 60px; }

.footer-brand-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 56px 5% 40px;
    color: var(--c-white);
}
.footer-brand-word {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.footer-brand-tagline {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--c-ice);
}

.footer-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 5% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.footer-column h4 {
    color: var(--c-white);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.footer-column h4.sub-heading { margin-top: 26px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13.5px; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--c-ice); }
.footer-contact-info p { font-size: 13.5px; margin-bottom: 10px; opacity: 0.85; }
.muted-text { opacity: 0.6; }
.footer-hours-grid { display: flex; gap: 30px; }
.footer-hours-grid strong { font-size: 12.5px; color: var(--c-white); }
.footer-hours-grid p { font-size: 13px; opacity: 0.8; }

.footer-social-icons { display: flex; gap: 14px; margin-bottom: 10px; }
.footer-social-icons a {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-social-icons a:hover { border-color: var(--c-ice); transform: translateY(-3px); }
.btn-vip-channel {
    display: inline-block;
    border: 1px solid var(--c-ice);
    color: var(--c-ice);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-vip-channel:hover { background: var(--c-ice); color: var(--c-navy-950); }

.footer-trust-bar { border-top: 1px solid rgba(255,255,255,0.08); }
.trust-container {
    max-width: 1400px;
    margin: 0 