﻿/*
Theme Name: BENIVO Theme
Theme URI: https://example.com/benivo-theme
Author: BENIVO
Author URI: https://example.com
Description: Custom WooCommerce theme for BENIVO pet care products. Built for an existing WordPress and WooCommerce store without changing payment, shipping, order or email configuration.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: benivo-theme
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Full frontend CSS is embedded below so WordPress can style the theme even when only style.css is loaded. */

:root {
    --benivo-blue: #27aee4;
    --benivo-blue-dark: #0876a6;
    --benivo-blue-soft: #d8f6ff;
    --benivo-teal: #20b8b2;
    --benivo-ink: #122333;
    --benivo-muted: #5d7180;
    --benivo-line: #dcecf2;
    --benivo-bg: #f7fcfe;
    --benivo-white: #ffffff;
    --benivo-radius: 8px;
    --benivo-shadow: 0 18px 50px rgba(20, 82, 111, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--benivo-ink);
    background: var(--benivo-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--benivo-muted); }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 16px;
    background: #fff;
    z-index: 1000;
}

.top-strip {
    background: var(--benivo-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    overflow: hidden;
    text-transform: uppercase;
}
.top-strip__track {
    display: flex;
    gap: 34px;
    width: max-content;
    padding: 8px 0;
    animation: benivoMarquee 28s linear infinite;
}
.top-strip__track span { white-space: nowrap; }
@keyframes benivoMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-35%); }
}
.trust-bar {
    background: #effbff;
    border-bottom: 1px solid var(--benivo-line);
    font-size: 13px;
    color: var(--benivo-blue-dark);
}
.trust-bar__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--benivo-line);
    backdrop-filter: blur(14px);
}
.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 78px;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 950;
    color: var(--benivo-blue-dark);
}
.site-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--benivo-blue), var(--benivo-teal));
}
.site-brand__name { font-size: 26px; letter-spacing: .04em; }
.primary-nav__list {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-weight: 750;
    color: var(--benivo-ink);
}
.primary-nav a:hover { color: var(--benivo-blue-dark); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.icon-button, .cart-link, .menu-toggle {
    border: 1px solid var(--benivo-line);
    background: #fff;
    border-radius: 999px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icon-button { width: 42px; font-size: 20px; }
.cart-link { gap: 8px; padding: 0 14px; font-weight: 850; }
.cart-link span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #fff;
    background: var(--benivo-blue);
}
.menu-toggle { display: none; width: 44px; padding: 0; }
.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px;
    background: var(--benivo-ink);
}
.header-search {
    padding: 16px 0;
    border-top: 1px solid var(--benivo-line);
}
.header-search form { display: flex; gap: 8px; }
.header-search input { flex: 1; }

.button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover, .woocommerce a.button:hover { transform: translateY(-1px); box-shadow: var(--benivo-shadow); }
.button--primary, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    color: #fff;
    background: var(--benivo-blue);
}
.button--ghost { color: var(--benivo-blue-dark); background: #fff; border: 1px solid var(--benivo-line); }
.button--dark { color: #fff; background: var(--benivo-ink); }
.button--light { color: var(--benivo-blue-dark); background: #fff; }
.button--wide { width: 100%; }
.center { text-align: center; margin-top: 28px; }
.eyebrow {
    margin: 0 0 8px;
    color: var(--benivo-blue-dark);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.rating { color: #ffbd2e; font-weight: 900; }

.hero {
    position: relative;
    padding: 70px 0 90px;
    background: linear-gradient(115deg, rgba(7,26,38,.74), rgba(7,26,38,.18)), #bceaf6;
    overflow: hidden;
}
.hero::after, .wave-section::before, .wave-section::after, .section--soft::before {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    height: 44px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero::after { bottom: -22px; }
.hero__grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 48px;
}
.hero__content h1 {
    max-width: 710px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.03;
}
.hero__content p { max-width: 600px; color: rgba(255,255,255,.9); font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.hero__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 0;
    margin: 0;
    color: #fff;
    list-style: none;
    font-weight: 800;
}
.hero__checks li::before, .check-list li::before { content: "âś“"; margin-right: 8px; color: var(--benivo-teal); }
.hero__media img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(4, 34, 48, .22);
}

.section, .wave-section { position: relative; padding: 78px 0; }
.section--soft, .wave-section--blue { background: var(--benivo-blue-soft); }
.section--product { background: #fff; }
.wave-section::before { top: -22px; }
.wave-section::after { bottom: -22px; transform: rotate(180deg); }
.section-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-heading h2, .split h2, .product-feature h2, .guarantee h2, .shop-hero h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}
.section-heading p:last-child { margin-inline: auto; max-width: 650px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.product-grid--compact { grid-template-columns: repeat(3, 1fr); max-width: 920px; margin-inline: auto; }
.benivo-product-card, .content-card, .page-content, .reviews-grid article, .ingredient-grid article, .steps article, .product-extra__grid article {
    background: #fff;
    border: 1px solid var(--benivo-line);
    border-radius: var(--benivo-radius);
    box-shadow: var(--benivo-shadow);
}
.benivo-product-card { overflow: hidden; display: flex; flex-direction: column; }
.benivo-product-card__media { background: #eaf9fd; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.benivo-product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.benivo-product-card__body { padding: 20px; display: flex; flex: 1; flex-direction: column; }
.benivo-product-card h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.benivo-product-card .button { margin-top: auto; }

.split, .product-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 52px;
}
.split--reverse { grid-template-columns: .9fr 1.1fr; }
.rounded-media { border-radius: 14px; box-shadow: var(--benivo-shadow); }
.check-list { padding: 0; margin: 22px 0; list-style: none; }
.check-list li { margin: 10px 0; color: var(--benivo-ink); font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps article { padding: 20px; text-align: center; }
.steps img { width: 150px; margin: 0 auto 14px; border-radius: 999px; }

.mini-slider { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.mini-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 16px;
    overflow: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.mini-slider__track::-webkit-scrollbar { display: none; }
.mini-slider__track img { width: 100%; border-radius: 10px; scroll-snap-align: start; box-shadow: var(--benivo-shadow); }
.slider-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--benivo-blue);
    font-size: 28px;
    cursor: pointer;
}

.product-feature__gallery > img { border-radius: 12px; background: #eaf9fd; }
.product-feature__gallery div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.product-feature__gallery div img { border: 1px solid var(--benivo-line); border-radius: 8px; }
.price-note, .microcopy { font-size: 14px; }
.ingredient-grid, .reviews-grid, .product-extra__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ingredient-grid { grid-template-columns: repeat(4, 1fr); }
.ingredient-grid article, .reviews-grid article, .product-extra__grid article { padding: 22px; }
.ingredient-grid span {
    display: inline-grid;
    place-items: center;
    min-width: 58px;
    height: 58px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--benivo-blue-dark);
    background: var(--benivo-blue-soft);
    font-weight: 900;
}

.guarantee {
    padding: 100px 0;
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(12,42,54,.62), rgba(12,42,54,.62)), var(--benivo-blue-dark);
}
.guarantee p { color: rgba(255,255,255,.88); max-width: 680px; margin-inline: auto; }
.faq-wrap { max-width: 860px; }
.faq-item { border-bottom: 1px solid rgba(8,118,166,.18); }
.faq-item button {
    width: 100%;
    padding: 16px 18px;
    border: 0;
    border-radius: 999px;
    margin: 8px 0;
    color: #fff;
    background: var(--benivo-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-weight: 900;
    cursor: pointer;
}
.faq-item__answer { padding: 0 18px 16px; }

.footer-trust { background: #f2fbfe; padding: 34px 0; }
.footer-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.footer-trust strong, .footer-trust span { display: block; }
.site-footer { background: var(--benivo-blue-soft); }
.footer-main {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 44px;
    padding: 58px 0;
}
.site-footer h2 { font-size: 18px; margin-top: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 8px 0; color: var(--benivo-muted); }
.footer-newsletter form { display: flex; gap: 8px; }
input, select, textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--benivo-line);
    border-radius: 8px;
    font: inherit;
}
.footer-newsletter button {
    min-width: 110px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #111;
    font-weight: 850;
}
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.payment-icons span {
    padding: 4px 8px;
    border-radius: 5px;
    background: #fff;
    color: var(--benivo-blue-dark);
    font-size: 12px;
    font-weight: 900;
}
.footer-bottom { border-top: 1px solid rgba(8,118,166,.16); padding: 18px 0; color: var(--benivo-muted); font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.content-list, .page-shell, .benivo-wc { padding: 54px 0; }
.content-card, .page-content { padding: 28px; }
.shop-hero {
    padding: 44px;
    margin-bottom: 30px;
    border-radius: 12px;
    background: var(--benivo-blue-soft);
    text-align: center;
}
.woocommerce ul.products li.product {
    border: 1px solid var(--benivo-line);
    border-radius: var(--benivo-radius);
    padding: 14px;
    background: #fff;
    box-shadow: var(--benivo-shadow);
}
.woocommerce div.product .summary {
    border: 1px solid var(--benivo-line);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--benivo-shadow);
}
.woocommerce div.product form.cart .button { min-width: 220px; }
.product-extra { margin: 60px 0 20px; }
.sticky-product-cta {
    position: sticky;
    bottom: 14px;
    z-index: 20;
    max-width: 680px;
    margin: 32px auto 0;
    padding: 10px;
    border: 1px solid var(--benivo-line);
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--benivo-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sticky-product-cta span { padding-left: 12px; font-weight: 900; }

@media (max-width: 980px) {
    .site-header__inner { grid-template-columns: auto auto 1fr; }
    .menu-toggle { display: inline-flex; flex-direction: column; }
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background: #fff;
        border-bottom: 1px solid var(--benivo-line);
        padding: 18px 24px;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav__list { flex-direction: column; align-items: flex-start; }
    .header-actions { justify-self: end; }
    .hero__grid, .split, .split--reverse, .product-feature, .footer-main { grid-template-columns: 1fr; }
    .product-grid, .steps, .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid, .product-extra__grid, .footer-trust__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 22px, 1160px); }
    .trust-bar__inner { flex-direction: column; gap: 4px; padding: 8px 0; }
    .site-header__inner { gap: 10px; min-height: 68px; }
    .site-brand__name { font-size: 20px; }
    .header-actions .icon-button { display: none; }
    .cart-link { min-height: 38px; padding: 0 10px; font-size: 13px; }
    .hero { padding: 46px 0 70px; }
    .hero__content h1 { font-size: 38px; }
    .hero__actions, .footer-newsletter form { flex-direction: column; }
    .product-grid, .product-grid--compact, .steps, .ingredient-grid { grid-template-columns: 1fr; }
    .mini-slider { grid-template-columns: 1fr; }
    .slider-btn { display: none; }
    .section, .wave-section { padding: 58px 0; }
    .sticky-product-cta { border-radius: 12px; align-items: stretch; flex-direction: column; }
    .sticky-product-cta span { padding-left: 0; text-align: center; }
}

