:root {
    --color-primary: #006D77 !important;
    --color-primary-soft: #E8F5F6 !important;
    --color-primary-medium: #087F89 !important;
    --color-primary-strong: #014F5B !important;
    --color-accent: #006D77 !important;
    --color-accent-light: #B8DEE2 !important;
    --color-accent-dark: #014F5B !important;
    --color-bg: #F7FBFC !important;
    --color-bg-soft: #E8F5F6 !important;
    --color-surface: #FFFFFF !important;
    --color-text-main: #183238 !important;
    --color-text-soft: #405E64 !important;
    --color-text-muted: #60777C !important;
    --color-border: #D5E5E7 !important;
    --color-border-gold: #A9D4D8 !important;
    --tf-theme-primary: #006D77 !important;
    --tf-theme-accent: #006D77 !important;
    --tf-theme-bg: #F7FBFC !important;
    --tf-theme-text: #183238 !important;
    --font-heading: 'Cormorant Garamond', Georgia, serif !important;
    --font-subheading: 'Manrope', sans-serif !important;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif !important;
    --shadow-soft: 0 8px 24px rgba(1,79,91,.07) !important;
    --shadow-medium: 0 16px 38px rgba(1,79,91,.12) !important;
    --shadow-hover: 0 22px 48px rgba(1,79,91,.16) !important;
}

html, body, button, input, select, textarea { font-family: var(--font-body); }
body, .tf-main { background: #F7FBFC !important; color: #183238 !important; }
h1, h2, h3, h4, h5, h6 { color: #014F5B; font-family: var(--font-heading) !important; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(0,109,119,.32) !important; outline-offset: 3px; }

.pw-top-bar { background: #014F5B !important; color: #fff !important; }
.pw-top-bar i, .pw-top-bar-whatsapp i { color: #B8DEE2 !important; }
.pw-top-bar-pill { border-color: rgba(255,255,255,.3) !important; color: #fff !important; }
.pw-header, .tf-header { background: rgba(255,255,255,.98) !important; border-color: #D5E5E7 !important; }
.pw-nav a, .tf-icon-link { color: #183238 !important; }
.pw-nav a:hover, .pw-nav a.active, .tf-icon-link:hover { color: #006D77 !important; }
.pw-nav a.active::after { background: #006D77 !important; }
.tf-badge.active { background: #006D77 !important; color: #fff !important; }
.tf-mobile-menu-btn { border-color: #A9D4D8 !important; background: #fff !important; }
.tf-mobile-menu-btn span { background: #006D77 !important; }

.pw-mobile-menu { z-index: 1600 !important; background: #fff !important; box-shadow: 18px 0 55px rgba(1,79,91,.2) !important; visibility: hidden; }
.pw-mobile-menu.active { visibility: visible; }
.pw-mobile-menu-header { min-height: 104px; padding: 14px 18px !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #F7FBFC !important; border-color: #D5E5E7 !important; }
.pw-mobile-menu-header img { display: block; width: 76px !important; height: 73px !important; object-fit: contain; flex: 0 0 auto; }
.pw-mobile-menu-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #D5E5E7; border-radius: 50%; background: #fff; color: #014F5B; font-size: 18px; }
.pw-mobile-menu-links { padding: 18px 14px !important; }
.pw-mobile-menu-links a { min-height: 50px; color: #183238 !important; font-weight: 700 !important; }
.pw-mobile-menu-links a i { color: #006D77 !important; }
.pw-mobile-menu-links a:hover, .pw-mobile-menu-links a.active { background: #E8F5F6 !important; color: #014F5B !important; }
.pw-mobile-menu-footer { background: #F7FBFC !important; border-color: #D5E5E7 !important; }
.pw-mobile-whatsapp-btn { background: #006D77 !important; color: #fff !important; }
.pw-mobile-menu-backdrop { position: fixed; inset: 0; z-index: 1550; display: block; border: 0; background: rgba(1,35,41,.5); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
.pw-mobile-menu-backdrop.active { opacity: 1; visibility: visible; pointer-events: auto; }
body.mobile-menu-open { overflow: hidden; }

.pw-cat-circle, .metric-icon, .tf-image-placeholder, .tf-product-image-placeholder { background: #E8F5F6 !important; color: #006D77 !important; border-color: #A9D4D8 !important; }
.pw-cat-card:hover .pw-cat-circle { background: #006D77 !important; color: #fff !important; }
.pw-subheading, .pw-section-kicker, .tf-price-offer, .pw-editorial-tag { color: #006D77 !important; }
.pw-editorial-strip, .tf-footer { background: #014F5B !important; color: #fff !important; border-color: #006D77 !important; }
.tf-footer h4, .tf-footer a:hover, .pw-editorial-strip a { color: #B8DEE2 !important; }
.tf-footer p, .tf-footer a { color: #E7F2F3 !important; }

.btn-primary, .tf-hero-btn, .tf-btn-primary, .tf-add-to-cart-btn, .pw-explore-btn,
.tf-checkout-btn, button[type='submit']:not(.tf-policy-close) { background: #006D77 !important; border-color: #006D77 !important; color: #fff !important; }
.btn-primary:hover, .tf-hero-btn:hover, .tf-btn-primary:hover, .tf-add-to-cart-btn:hover,
.tf-checkout-btn:hover, button[type='submit']:not(.tf-policy-close):hover { background: #014F5B !important; border-color: #014F5B !important; }
.card, .tf-product-card, .login-card, .account-card, .tf-cart-item, .tf-checkout-card { background: #fff !important; border-color: #D5E5E7 !important; box-shadow: var(--shadow-soft) !important; }
input, select, textarea { border-color: #C5DBDE !important; background: #fff !important; color: #183238 !important; }
input:focus, select:focus, textarea:focus { border-color: #006D77 !important; box-shadow: 0 0 0 3px rgba(0,109,119,.12) !important; }
.tf-whatsapp-support { background: #006D77 !important; border-color: #B8DEE2 !important; color: #fff !important; box-shadow: 0 10px 28px rgba(1,79,91,.28) !important; }
.tf-whatsapp-support:hover { background: #014F5B !important; color: #fff !important; }

@media (min-width: 1025px) {
    .pw-mobile-menu, .pw-mobile-menu-backdrop { display: none !important; }
    .tf-header-container { position: relative; grid-template-columns: 1fr 1fr; }
    .tf-header-left { justify-self: start; }
    .tf-header-right { justify-self: end; }
    .pw-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        justify-content: center;
        width: max-content;
        margin: 0;
    }
}

@media (max-width: 1024px) {
    .tf-header-container {
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
        padding: 8px 18px !important;
    }
    .tf-header-left { flex: 0 0 auto; position: relative; z-index: 2; }
    .tf-header-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    .tf-header-right { flex: 0 0 auto; margin-left: auto; position: relative; z-index: 2; }
    .tf-account-header-link, .tf-account-dropdown { display: none !important; }
    .pw-brand-logo img { width: 64px !important; height: 62px !important; max-width: 64px !important; object-fit: contain; }
    .pw-mobile-menu { width: min(340px, 88vw) !important; height: 100dvh !important; }
}

@media (max-width: 520px) {
    .tf-header-container { padding-inline: 12px !important; }
    .tf-header-right { gap: 10px !important; }
    .tf-icon-link { width: 36px !important; height: 36px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
