/*
Theme Name: Petelier
Description: Petelier storefront child theme for the Petty theme.
Author: Petelier
Template: petty
Version: 1.1.0
Text Domain: petelier
*/

:root {
  --pet-blue: #55c9f2;
  --pet-blue-dark: #199bc8;
  --pet-ink: #202124;
  --pet-cream: #fff8eb;
  --pet-white: #ffffff;
  --pet-muted: #667085;
  --pet-line: #e8edf0;
  --pet-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pet-ink); background: #fff; font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.pet-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.pet-announcement { background: var(--pet-ink); color: #fff; text-align: center; padding: 10px 16px; font-size: 14px; }
.pet-announcement a { color: var(--pet-blue); font-weight: 700; text-decoration: none; }
.pet-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--pet-line); backdrop-filter: blur(10px); }
.pet-header__row { min-height: 84px; display: flex; align-items: center; gap: 28px; }
.pet-logo img { display: block; width: 160px; max-height: 68px; object-fit: contain; }
.pet-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.pet-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.pet-nav a { text-decoration: none; font-weight: 700; }
.pet-nav a:hover { color: var(--pet-blue-dark); }
.pet-header__actions { display: flex; align-items: center; gap: 10px; }
.pet-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 800; background: var(--pet-blue); color: var(--pet-ink); border: 2px solid var(--pet-ink); box-shadow: 3px 3px 0 var(--pet-ink); }
.pet-pill:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--pet-ink); }
.pet-pill--dark { background: var(--pet-ink); color: #fff; }

.pet-hero { position: relative; background: var(--pet-cream) url('assets/petelier-hero-vibrant.png') center/cover no-repeat; overflow: hidden; }
.pet-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,248,235,.98) 0%, rgba(255,248,235,.88) 38%, rgba(255,248,235,.12) 62%, rgba(255,248,235,0) 100%); }
.pet-hero__grid { position: relative; z-index: 1; min-height: 650px; display: grid; grid-template-columns: minmax(0, 600px) 1fr; align-items: center; gap: 56px; padding: 60px 0; }
.pet-eyebrow { display: inline-flex; padding: 9px 14px; border-radius: 999px; background: #dff6ff; color: #087da6; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pet-hero h1 { margin: 20px 0 18px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.pet-hero h1 span { color: var(--pet-blue-dark); }
.pet-hero p { max-width: 620px; font-size: 19px; line-height: 1.7; color: #4b5563; }
.pet-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.pet-trust { border-bottom: 1px solid var(--pet-line); }
.pet-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pet-trust__item { padding: 28px 32px; text-align: center; border-right: 1px solid var(--pet-line); }
.pet-trust__item:last-child { border-right: 0; }
.pet-trust__item strong { display: block; font-size: 18px; }
.pet-trust__item span { color: var(--pet-muted); font-size: 14px; }

.pet-section { padding: 88px 0; }
.pet-section--soft { background: #f7fbfd; }
.pet-section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.pet-section__head h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; }
.pet-section__head p { margin: 8px 0 0; color: var(--pet-muted); }
.pet-link { color: var(--pet-blue-dark); font-weight: 800; text-decoration: none; }
.pet-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pet-category { min-height: 220px; padding: 28px; border-radius: var(--pet-radius); text-decoration: none; background: var(--pet-cream); border: 2px solid var(--pet-ink); box-shadow: 6px 6px 0 var(--pet-ink); display: flex; flex-direction: column; justify-content: flex-end; transition: .18s ease; }
.pet-category:nth-child(2n) { background: #dff6ff; }
.pet-category:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--pet-ink); }
.pet-category__icon { font-size: 54px; margin-bottom: auto; }
.pet-category h3 { margin: 18px 0 4px; font-size: 24px; }
.pet-category span { color: var(--pet-muted); }

.pet-products ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 !important; }
.pet-products ul.products::before, .pet-products ul.products::after { display: none !important; }
.pet-products ul.products li.product { width: auto !important; margin: 0 !important; padding: 14px 14px 20px !important; border: 1px solid var(--pet-line); border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 10px 28px rgba(24,39,51,.07); }
.pet-products ul.products li.product img { border-radius: 14px; margin-bottom: 14px !important; }
.pet-products .woocommerce-loop-product__title { font-size: 16px !important; min-height: 48px; }
.pet-products .price { color: var(--pet-blue-dark) !important; font-weight: 900 !important; font-size: 18px !important; }
.pet-products .button { border-radius: 999px !important; background: var(--pet-ink) !important; color: #fff !important; padding: 11px 16px !important; }

.pet-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.pet-story__mark { background: var(--pet-blue); border-radius: 38px; padding: 50px; border: 3px solid var(--pet-ink); box-shadow: 12px 12px 0 var(--pet-ink); }
.pet-story__mark img { display: block; }
.pet-story h2 { font-size: clamp(36px, 4vw, 56px); margin: 0 0 18px; letter-spacing: -.045em; }
.pet-story p { color: var(--pet-muted); font-size: 18px; line-height: 1.75; }
.pet-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.pet-check { padding: 14px 16px; background: #f7fbfd; border-radius: 14px; font-weight: 700; }

.pet-cta { margin-bottom: 88px; }
.pet-cta__inner { padding: 48px; border-radius: 34px; background: var(--pet-ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pet-cta h2 { margin: 0 0 8px; font-size: clamp(32px,4vw,50px); }
.pet-cta p { margin: 0; color: #cdd4dc; }
.pet-footer { background: #111214; color: #fff; padding: 60px 0 26px; }
.pet-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.pet-footer__logo { width: 180px; margin-bottom: 18px; }
.pet-footer p, .pet-footer a { color: #c7cbd1; }
.pet-footer a { text-decoration: none; }
.pet-footer h3 { margin-top: 0; }
.pet-footer__bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid #2f3236; font-size: 13px; color: #9da3ab; }
.pet-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; text-decoration: none; font-size: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-top: 24px; }
.woocommerce-page main, .woocommerce-page #primary { width: min(1180px, calc(100% - 40px)); margin: 44px auto 80px; }
.woocommerce div.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--pet-ink); color: #fff; border-radius: 999px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--pet-blue-dark); }

@media (max-width: 900px) {
  .pet-nav { display: none; }
  .pet-header__row { min-height: 72px; }
  .pet-logo img { width: 135px; }
  .pet-header__actions .pet-pill:first-child { display: none; }
  .pet-hero { background-position: 64% center; }
  .pet-hero::before { background: linear-gradient(90deg, rgba(255,248,235,.98) 0%, rgba(255,248,235,.90) 54%, rgba(255,248,235,.3) 100%); }
  .pet-hero__grid, .pet-story { grid-template-columns: 1fr; }
  .pet-hero__grid { padding: 44px 0 64px; gap: 36px; }
  .pet-category-grid, .pet-products ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .pet-trust__grid { grid-template-columns: 1fr; }
  .pet-trust__item { border-right: 0; border-bottom: 1px solid var(--pet-line); }
  .pet-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .pet-wrap { width: min(100% - 26px, 1180px); }
  .pet-hero h1 { font-size: 48px; }
  .pet-hero { background-position: 70% center; }
  .pet-hero::before { background: rgba(255,248,235,.84); }
  .pet-category-grid, .pet-products ul.products, .pet-checks { grid-template-columns: 1fr !important; }
  .pet-section { padding: 64px 0; }
  .pet-section__head, .pet-cta__inner { align-items: flex-start; flex-direction: column; }
  .pet-footer__grid { grid-template-columns: 1fr; }
  .pet-cta__inner { padding: 34px 28px; }
}

/* Petelier 2.0 visual system */
body { font-family: "DM Sans", Arial, sans-serif !important; color: #202124; }
h1, h2, h3, h4, h5, h6, .pet-product-card__title { font-family: "Manrope", "DM Sans", sans-serif !important; font-weight: 800; color: var(--pet-ink); }
.pet-logo img, .pet-header .pet-logo img { width: 172px !important; max-width: none !important; max-height: 68px !important; }
.pet-nav { flex-shrink: 0; }
.pet-nav li { list-style: none; margin: 0; padding: 0; }
.pet-nav a { font-family: "Manrope", sans-serif; font-size: 14px; }
.pet-header__row { gap: 20px; }
.pet-header-search { width: min(250px, 19vw); }
.pet-header-search form, .pet-mobile-menu form { position: relative; margin: 0; }
.pet-header-search input, .pet-mobile-menu input { width: 100%; height: 44px; border: 1px solid #d9e0e4; border-radius: 999px; padding: 0 48px 0 18px; background: #f7fafb; font: inherit; }
.pet-header-search button, .pet-mobile-menu button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; overflow: hidden; border: 0; border-radius: 50%; color: transparent; background: var(--pet-blue); }
.pet-header-search button::after, .pet-mobile-menu button::after { content: "⌕"; color: var(--pet-ink); font-size: 20px; position: absolute; inset: 5px; }
.pet-cart { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: "Manrope", sans-serif; font-weight: 800; white-space: nowrap; }
.pet-cart span { min-width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--pet-ink); color: #fff; }
.pet-menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #eef8fb; padding: 11px; }
.pet-menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--pet-ink); }
.pet-mobile-menu { border-top: 1px solid var(--pet-line); background: #fff; box-shadow: 0 14px 30px rgba(20,30,40,.1); }
.pet-mobile-menu[hidden] { display: none; }
.pet-mobile-menu .pet-wrap { display: grid; gap: 4px; padding-top: 16px; padding-bottom: 22px; }
.pet-mobile-menu a:not(.pet-pill) { padding: 12px 4px; text-decoration: none; font-family: "Manrope", sans-serif; font-weight: 700; border-bottom: 1px solid #edf1f3; }
.pet-mobile-menu form { margin-bottom: 8px; }

.pet-section--campaigns { padding: 72px 0 28px; }
.pet-campaign-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pet-campaign { position: relative; min-height: 440px; border-radius: 32px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: 0 18px 50px rgba(22,31,38,.13); }
.pet-campaign img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pet-campaign:hover img { transform: scale(1.035); }
.pet-campaign__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,18,20,.88), rgba(15,18,20,.3) 62%, transparent); }
.pet-campaign--cats .pet-campaign__shade { background: linear-gradient(90deg, rgba(15,18,20,.88), rgba(15,18,20,.36) 60%, transparent); }
.pet-campaign__copy { position: absolute; z-index: 2; left: 36px; bottom: 36px; max-width: 330px; display: grid; gap: 14px; }
.pet-campaign__copy small { color: var(--pet-blue); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.pet-campaign__copy strong { font: 800 clamp(30px,3vw,44px)/1.07 "Manrope", sans-serif; }
.pet-campaign__copy em { width: max-content; padding: 11px 16px; border-radius: 999px; background: #fff; color: var(--pet-ink); font-style: normal; font-weight: 800; }

.pet-category-grid { gap: 18px; }
.pet-category { position: relative; min-height: 245px; padding: 26px; border: 0; box-shadow: none; overflow: hidden; }
.pet-category:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(22,31,38,.12); }
.pet-category--blue { background: #d9f4ff !important; }
.pet-category--coral { background: #ffe0da !important; }
.pet-category--yellow { background: #fff1ba !important; }
.pet-category--green { background: #dff4df !important; }
.pet-category__number { margin-bottom: auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.8); font: 800 13px "Manrope"; }
.pet-category h3 { font-family: "Manrope", sans-serif !important; font-size: 26px; }
.pet-category b { margin-top: 18px; font-size: 14px; }

.pet-promo { padding: 0 0 88px; }
.pet-promo__inner { min-height: 480px; position: relative; overflow: hidden; border-radius: 34px; background: #60d5fa; }
.pet-promo__inner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pet-promo__inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 43%, transparent 68%); }
.pet-promo__copy { position: relative; z-index: 2; width: 52%; padding: 64px; }
.pet-promo__copy h2 { margin: 18px 0; font-size: clamp(38px,4vw,58px); line-height: 1.03; letter-spacing: -.045em; }
.pet-promo__copy p { max-width: 500px; color: #4f5963; font-size: 17px; line-height: 1.65; }

.pet-products ul.products { align-items: stretch; }
.pet-products ul.products li.product, ul.products li.pet-product-card { display: flex !important; flex-direction: column; padding: 0 !important; border: 1px solid #e3e9ec !important; border-radius: 22px !important; background: #fff !important; overflow: hidden !important; box-shadow: 0 12px 32px rgba(24,39,51,.08) !important; }
.pet-product-card__link { display: block; color: inherit; text-decoration: none; }
.pet-product-card__image { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; padding: 18px; background: #f8fafb; overflow: hidden; }
.pet-product-card__image img { width: 100% !important; height: 100% !important; object-fit: contain !important; margin: 0 !important; border-radius: 0 !important; transition: transform .35s ease; }
.pet-product-card:hover .pet-product-card__image img { transform: scale(1.05); }
.pet-product-card__body { padding: 18px 18px 12px; }
.pet-product-card__meta { display: block; margin-bottom: 7px; color: #1597c3; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pet-product-card .woocommerce-loop-product__title { min-height: 48px; margin: 0 0 10px !important; padding: 0 !important; color: var(--pet-ink) !important; font: 700 15px/1.45 "Manrope",sans-serif !important; }
.pet-product-card .price { display: block !important; color: var(--pet-ink) !important; font: 800 19px "Manrope",sans-serif !important; }
.pet-product-card__action { margin-top: auto; padding: 0 18px 18px; }
.pet-product-card__action .button { width: 100%; min-height: 44px; display: grid !important; place-items: center; margin: 0 !important; border-radius: 12px !important; background: var(--pet-ink) !important; color: #fff !important; }
.pet-sale { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: #ff6f61; color: #fff; font-size: 12px; font-weight: 800; }

.pet-brand-strip { padding: 28px 0; background: var(--pet-ink); color: #fff; }
.pet-brand-strip .pet-wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.pet-brand-strip span { color: var(--pet-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pet-brand-strip strong { font: 700 18px "Manrope", sans-serif; }
.pet-story__mark { padding: 0; overflow: hidden; background: #eef8fb; box-shadow: 12px 12px 0 var(--pet-blue); }
.pet-story__mark img { width: 100%; height: 520px; object-fit: cover; }
.pet-cta__inner { position: relative; overflow: hidden; background: linear-gradient(120deg, #1b1e21 0%, #1b1e21 62%, #159bc8 62%, #55c9f2 100%); }
.pet-cta h2, .pet-footer h2, .pet-footer h3 { color: #fff !important; }
.pet-footer__grid { grid-template-columns: 1.35fr .8fr .9fr 1fr; }
.pet-footer a:hover { color: var(--pet-blue); }
.pet-whatsapp svg { width: 29px; height: 29px; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

@media (max-width: 1120px) {
  .pet-header-search { display: none; }
  .pet-campaign { min-height: 390px; }
}
@media (max-width: 900px) {
  .pet-menu-toggle { display: block; }
  .pet-header__actions { margin-left: auto; }
  .pet-logo img, .pet-header .pet-logo img { width: 142px !important; }
  .pet-campaign-grid { grid-template-columns: 1fr; }
  .pet-campaign { min-height: 420px; }
  .pet-promo__copy { width: 68%; padding: 44px; }
  .pet-products ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .pet-footer__grid { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 560px) {
  .pet-announcement { font-size: 12px; line-height: 1.35; }
  .pet-announcement span:nth-of-type(2), .pet-announcement span:nth-of-type(2) + a { display: none; }
  .pet-header__row { gap: 12px; }
  .pet-logo img, .pet-header .pet-logo img { width: 118px !important; }
  .pet-cart { font-size: 0; }
  .pet-cart span { font-size: 12px; }
  .pet-hero { background-position: 68% center; }
  .pet-hero::before { background: linear-gradient(180deg, rgba(255,248,235,.96) 0%, rgba(255,248,235,.86) 56%, rgba(255,248,235,.18) 100%); }
  .pet-hero__grid { min-height: 720px; align-items: start; padding-top: 46px; }
  .pet-hero h1 { font-size: 46px; }
  .pet-hero p { font-size: 16px; }
  .pet-actions .pet-pill { width: 100%; }
  .pet-section--campaigns { padding-top: 42px; }
  .pet-campaign { min-height: 390px; }
  .pet-campaign__copy { left: 24px; bottom: 24px; }
  .pet-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .pet-category { min-height: 210px; padding: 20px; }
  .pet-category h3 { font-size: 21px; }
  .pet-promo__inner { min-height: 620px; }
  .pet-promo__inner > img { object-position: 70% center; }
  .pet-promo__inner::after { background: linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.9) 55%,rgba(255,255,255,.15)); }
  .pet-promo__copy { width: 100%; padding: 34px 26px; }
  .pet-promo__copy h2 { font-size: 38px; }
  .pet-products ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px; }
  .pet-product-card__image { padding: 10px; }
  .pet-product-card__body { padding: 13px 13px 8px; }
  .pet-product-card .woocommerce-loop-product__title { font-size: 13px !important; min-height: 58px; }
  .pet-product-card__action { padding: 0 13px 13px; }
  .pet-product-card__action .button { font-size: 12px; }
  .pet-brand-strip .pet-wrap { justify-content: center; }
  .pet-story__mark img { height: 360px; }
  .pet-cta__inner { background: linear-gradient(145deg,#1b1e21 0%,#1b1e21 72%,#55c9f2 72%); }
  .pet-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pet-footer__about { grid-column: 1/-1; }
  .pet-whatsapp { width: 52px; height: 52px; right: 14px; bottom: max(14px,env(safe-area-inset-bottom)); }
}
