/* KitPup editorial refresh: restrained color, denser type and image-led campaigns. */
:root {
	--kp-ink: #1b332d;
	--kp-ink-2: #40564e;
	--kp-text: #43564e;
	--kp-muted: #718078;
	--kp-primary: #245c49;
	--kp-primary-d: #173f32;
	--kp-primary-l: #e6f1e9;
	--kp-sun: #e4b367;
	--kp-sun-l: #fcf2de;
	--kp-sale: #c76150;
	--kp-soft: #e9f2e8;
	--kp-soft-d: #c5dbbd;
	--kp-soft-l: #f3f7f0;
	--kp-mint: #deeee5;
	--kp-peach: #f6e7dc;
	--kp-butter: #f7ecd2;
	--kp-cream: #f5f6f2;
	--kp-bg: #fbfcf9;
	--kp-line: #e3e9e1;
	--kp-edge: #dfe7dd;
	--kp-edge-2: #cbd8ca;
	--kp-green: #2d7856;
	--kp-radius: 14px;
	--kp-radius-sm: 9px;
	--kp-shadow-sm: 0 3px 12px rgba(21, 50, 38, .05);
	--kp-shadow: 0 12px 32px rgba(21, 50, 38, .08);
	--kp-shadow-lg: 0 20px 48px rgba(21, 50, 38, .12);
	--kp-shadow-soft: 0 20px 42px rgba(21, 50, 38, .1);
	--kp-shadow-primary: 0 8px 18px rgba(36, 92, 73, .2);
	--kp-header-h: 70px;
}

body { font-size: 14px; line-height: 1.85; }
.kp-btn, .woocommerce a.button, .woocommerce button.button { font-size: 13.5px; padding: 9px 18px; }
.kp-btn--lg { font-size: 14px; padding: 12px 24px; }
.kp-section { padding-block: 54px; }
.kp-section-head__eyebrow { font-size: 12px; letter-spacing: .01em; }
.kp-section-head__title { font-size: clamp(20px, 2.3vw, 27px); }
.kp-page-head__title { font-size: clamp(21px, 2.8vw, 31px); }
.kp-section-head { margin-bottom: 24px; }

/* Compact, quiet navigation. The existing logo remains untouched. */
.kp-topbar { background: #173c32; color: #edf4ed; font-size: 11.5px; }
.kp-topbar__text .kp-icon { color: #e8c686; }
.kp-header { background: rgba(255, 255, 255, .97); border-bottom-color: #e8ede7; }
.kp-header__inner { gap: 22px; }
.kp-logo img.kp-logo__img { height: 46px; }
.kp-header.is-stuck .kp-header__inner { min-height: 64px; }
.kp-search input[type="search"] { background: #f4f6f2; border: 1px solid #e6ebe4; font-size: 13px; padding-top: 9px; padding-bottom: 9px; }
.kp-search > button { background: var(--kp-ink); }
.kp-hbtn__label { font-size: 12px; }
.kp-hbtn__label small { font-size: 10.5px; }
.kp-hbtn--cart > .kp-icon { width: 39px; height: 39px; padding: 9px; box-shadow: none; }
.kp-nav { border-top-color: #eef1ec; }
.kp-menu > li > a { font-size: 13px; padding-block: 11px; font-weight: 650; }
.kp-nav__deal { font-size: 12px; padding: 5px 12px; }

/* Campaign carousel: real image, live Persian copy and generous negative space. */
.kp-slider { width: min(1440px, calc(100% - 40px)); margin: 20px auto 0; border-radius: 20px; overflow: hidden; background: #173c32; }
.kp-slide { position: relative; padding: 0; min-height: 0; aspect-ratio: 1940 / 820; background: #173c32; }
.kp-slide--mustard { background: #cf7853; }
.kp-slide--coral { background: #478eaa; }
.kp-slide__inner { position: relative; display: flex; align-items: center; min-height: 0; height: 100%; max-width: none; width: 100%; padding: 0; gap: 0; }
.kp-slide__media { position: absolute; inset: 0; z-index: 0; width: 100%; max-width: none; margin: 0; padding: 0; }
.kp-slide__frame { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; transform: none !important; background: transparent; }
.kp-slide__frame picture { display: block; width: 100%; height: 100%; }
.kp-slide__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; transition: none; }
.kp-slide.is-active .kp-slide__frame img { transform: none; }
.kp-slide--aqua .kp-slide__frame img, .kp-slide--aqua.is-active .kp-slide__frame img { transform: scaleX(-1); }
.kp-slide__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(10, 36, 29, .65) 0%, rgba(10, 36, 29, .2) 35%, transparent 68%); }
.kp-slide--mustard .kp-slide__media::after, .kp-slide--coral .kp-slide__media::after { background: none; }
.kp-slide__content { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin-inline: auto; padding: 42px clamp(26px, 5vw, 70px) 66px; color: #fff; }
.kp-slide__content > * { max-width: 480px; }
.kp-slide__title { color: #fff; font-size: clamp(27px, 3.4vw, 43px); line-height: 1.38; margin: 13px 0 10px; letter-spacing: 0; }
.kp-slide__text { color: rgba(255, 255, 255, .87); font-size: 14px; line-height: 1.95; margin-bottom: 22px; }
.kp-slide .kp-tag { background: rgba(255, 255, 255, .17); color: inherit; box-shadow: none; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); font-size: 11.5px; padding: 4px 10px; }
.kp-slide .kp-tag .kp-icon { color: inherit; }
.kp-slide__btns { gap: 9px; }
.kp-slide__btns .kp-btn--primary { background: #fff; border-color: #fff; color: #173c32; box-shadow: none; }
.kp-slide__btns .kp-btn--primary:hover { background: #e5f1e6; color: #173c32; }
.kp-slide__btns .kp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.kp-slide__btns .kp-btn--ghost:hover { background: rgba(255, 255, 255, .17); color: #fff; border-color: #fff; }
.kp-slide__stats, .kp-sticker, .kp-ground { display: none; }
.kp-slide--mustard .kp-slide__content { color: #41271f; }
.kp-slide--mustard .kp-slide__title { color: #41271f; }
.kp-slide--mustard .kp-slide__text { color: #563329; }
.kp-slide--mustard .kp-tag { background: rgba(255, 255, 255, .35); border-color: rgba(255, 255, 255, .45); }
.kp-slide--mustard .kp-slide__btns .kp-btn--primary { background: #41271f; border-color: #41271f; color: #fff; }
.kp-slide--coral .kp-slide__content { color: #163a46; }
.kp-slide--coral .kp-slide__title { color: #163a46; }
.kp-slide--coral .kp-slide__text { color: #1e4a59; }
.kp-slide--coral .kp-tag { background: rgba(255, 255, 255, .38); border-color: rgba(255, 255, 255, .48); }
.kp-slide--coral .kp-slide__btns .kp-btn--primary { background: #173d4b; border-color: #173d4b; color: #fff; }
.kp-slider__nav { bottom: 19px; left: auto; right: clamp(25px, 5vw, 70px); transform: none; background: rgba(255, 255, 255, .9); border-radius: 30px; padding: 3px 5px; box-shadow: none; }
.kp-slider__arrow { background: transparent; border-radius: 50%; width: 30px; height: 30px; }
.kp-slider__dots button span { background: #b3c1b4; }
.kp-slider__dots button.is-active span { background: #245c49; }

/* Shop sections follow the clean, image-led reference layout. */
.kp-features { margin-top: 16px; }
.kp-features__grid { border: 1px solid var(--kp-line); box-shadow: none; }
.kp-feature { padding: 12px 16px; gap: 11px; }
.kp-feature > span { width: 40px; height: 40px; border-radius: 10px; background: #e9f2e8; color: var(--kp-primary); }
.kp-feature:nth-child(2) > span { background: #f9eedc; color: #85612b; }
.kp-feature:nth-child(3) > span { background: #eaf2f3; color: #417c87; }
.kp-feature:nth-child(4) > span { background: #f5e9e2; color: #ad6754; }
.kp-feature strong { font-size: 12.5px; }
.kp-feature p { font-size: 11px; }
.kp-pets__grid { gap: 14px; }
.kp-pet { padding: 14px 12px 12px; border: 1px solid var(--kp-line); background: #edf4e8; }
.kp-pet--mustard { background: #f7eddb; }
.kp-pet--aqua { background: #e7f3f2; }
.kp-pet--brown { background: #f3e8e5; }
.kp-pet__img { width: 138px; height: 112px; border: 0; border-radius: 12px; box-shadow: none; margin-bottom: 8px; background: transparent; }
.kp-pet strong { font-size: 14px; font-weight: 700; }
.kp-pet small { font-size: 11px; background: none; }
.kp-cat { border-color: var(--kp-line); box-shadow: none; }
.kp-cat__body strong { font-size: 13px; }
.kp-tabs { background: #eef2eb; }
.kp-tabs button { font-size: 12px; padding: 7px 13px; }
.woocommerce ul.products li.product.kp-card, .woocommerce-page ul.products li.product.kp-card { box-shadow: none; border-color: #e5eae3; }
.kp-card__media { background: #fff; border-bottom-color: #edf1eb; }
.kp-card__img { aspect-ratio: 1 / .88; }
.woocommerce ul.products li.product .kp-card__img img { object-fit: contain; padding: 13px; }
.kp-card__body { padding: 12px 13px 13px; }
.kp-card__meta { font-size: 11px; }
.woocommerce ul.products li.product .kp-card__title { font-size: 13px; font-weight: 650; min-height: 43px; line-height: 1.6; }
.woocommerce ul.products li.product .price { font-size: 14px; }
.woocommerce ul.products li.product .button.kp-card__cart { font-size: 12px; background: #edf3eb; color: var(--kp-primary-d); }
.kp-badge, .woocommerce span.onsale.kp-badge { font-size: 10.5px; border-radius: 5px; }
.kp-banners__grid { gap: 16px; }
.kp-banner { min-height: 205px; border-radius: 14px; box-shadow: none; grid-template-columns: 1fr 42%; background: #dbece8; color: #173c32; }
.kp-banner--mustard { background: #f7e4d8; color: #563329; }
.kp-banner:hover, .kp-banner--mustard:hover { color: inherit; }
.kp-banner__text { padding: 22px 26px; }
.kp-banner h3 { font-size: clamp(17px, 1.7vw, 21px); }
.kp-banner p { font-size: 12px; }
.kp-banner img { object-position: left center; }
.kp-banner .kp-btn--light { background: #fff; color: var(--kp-ink); font-size: 12px; }
.kp-deal__box { background: #f6efdf; }
.kp-deal__media { transform: none; }
.kp-brand__mark { transform: none; }
.kp-brand { min-width: 0; }
.kp-brand img.kp-brand__logo { display: block; width: 100%; max-width: 190px; height: 54px; object-fit: contain; }
@media (min-width: 1024px) {
	.kp-brands__row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.kp-testi { box-shadow: none; }
.kp-newsletter__inner { background: #245c49; }
.kp-newsletter__icon { transform: none; }
.kp-footer { background: #173c32; }
.kp-footer__about .kp-logo { display: inline-block; padding: 5px 9px; margin-bottom: 16px; border-radius: 9px; background: #edf4ec; }
.kp-footer__about .kp-logo img.kp-logo__img { display: block; margin-bottom: 0; }
.kp-trust-badges { align-items: flex-start; }
.kp-trust-badges__enamad { width: 100px; height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; gap: 3px; padding: 6px; overflow: hidden; border-radius: 12px; background: #fff; color: #173c32 !important; }
.kp-trust-badges__enamad img { display: block; width: 100%; height: 78px; max-height: none; padding: 0; border-radius: 0; object-fit: contain; font-size: 0; color: transparent; }
.kp-trust-badges__enamad span { flex: 0 0 auto; font-size: 10px; font-weight: 700; line-height: 1.3; white-space: nowrap; }

/* The product summary must scroll away before its tabs and description. */
.woocommerce div.product .summary { position: static; top: auto; align-self: auto; }
.woocommerce div.product .product_title { font-size: clamp(20px, 2.2vw, 26px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 24px; }
.woocommerce div.product .woocommerce-tabs .panel { line-height: 1.9; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 18px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: 13px; }

@media (max-width: 900px) {
	.kp-slider { width: min(100% - 28px, 1440px); margin-top: 14px; }
	.kp-slide { aspect-ratio: auto; min-height: 390px; }
	.kp-slide__inner { min-height: 390px; }
	.kp-slide__content { padding: 34px 25px 62px; }
	.kp-slide__content > * { max-width: 44%; }
	.kp-slide__title { font-size: clamp(24px, 3.2vw, 34px); }
	.kp-slide__text { font-size: 12.5px; }
	.kp-slide__media { order: initial; width: 100%; padding: 0; margin: 0; }
	.kp-slide__frame { box-shadow: none; }
	.kp-feature { flex-direction: row; text-align: right; }
}

@media (max-width: 600px) {
	.kp-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 8px; row-gap: 8px; min-height: 60px; }
	.kp-header__burger { grid-column: 1; grid-row: 1; }
	.kp-header__brand { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; justify-self: center; }
	.kp-logo img.kp-logo__img { width: auto; height: auto; max-height: 37px; max-width: 100%; }
	.kp-header__actions { grid-column: 3; grid-row: 1; margin: 0; }
	.kp-search { grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; margin: 0; }
	.kp-brands__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kp-brand { padding: 16px 8px; }
	.kp-brand img.kp-brand__logo { max-width: 100%; }
	.kp-slider { width: calc(100% - 24px); border-radius: 15px; margin-top: 12px; }
	.kp-slide { aspect-ratio: 4 / 5; min-height: 0; }
	.kp-slide__inner { min-height: 0; height: 100%; align-items: center; }
	.kp-slide__media { inset: 0; height: 100%; }
	.kp-slide__frame img { object-position: center; }
	.kp-slide--aqua .kp-slide__frame img, .kp-slide--aqua.is-active .kp-slide__frame img { transform: none; object-position: center; }
	.kp-slide__media::after { display: none; }
	.kp-slide__content { width: 58%; margin: 0; padding: 0 18px 24px 0; max-width: none; color: #fff; }
	.kp-slide__content > * { max-width: none; }
	.kp-slide__title { font-size: clamp(17px, 5vw, 21px); margin: 9px 0 8px; line-height: 1.45; }
	.kp-slide__text { font-size: 10.5px; line-height: 1.7; margin-bottom: 13px; }
	.kp-slide .kp-tag { font-size: 10.5px; }
	.kp-slide__btns .kp-btn { flex: 0 1 auto; font-size: 10.5px; padding: 7px 10px; }
	.kp-slide__btns .kp-btn--ghost { display: none; }
	.kp-slide--mustard .kp-slide__content { color: #41271f; }
	.kp-slide--coral .kp-slide__content { color: #163a46; }
	.kp-slider__nav { right: 16px; bottom: 10px; }
	.kp-features__grid { grid-template-columns: repeat(2, 1fr); }
	.kp-feature { padding: 9px 8px; gap: 7px; flex-direction: row; text-align: right; }
	.kp-feature > span { width: 32px; height: 32px; }
	.kp-feature > span .kp-icon { width: 19px; height: 19px; }
	.kp-feature strong { font-size: 10.5px; }
	.kp-feature p { font-size: 9.5px; }
	.kp-pet__img { width: 100%; max-width: 130px; height: 100px; }
	.kp-pet strong { font-size: 12.5px; }
	.kp-banner { min-height: 190px; }
	.kp-banner__text { padding: 16px; }
	.kp-banner h3 { font-size: 17px; }
}

/* KitPup animal-first category navigation, 2026-11-27. */
@media (min-width: 1025px) {
  .kp-nav__inner { position: relative; }
  .kp-menu > li.kp-mega { position: static; }
  .kp-menu > li.kp-mega > .sub-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    max-height: min(72vh, 670px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px;
    border-radius: 0 0 18px 18px;
    z-index: 100;
  }
  .kp-menu > li.kp-mega > .sub-menu > li > a {
    font-size: 14px;
    font-weight: 800;
    color: var(--kp-primary);
    padding: 7px 8px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--kp-line);
    border-radius: 0;
  }
  .kp-menu > li.kp-mega > .sub-menu > li > .sub-menu {
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: inherit;
    transform: none;
  }
  .kp-menu > li.kp-mega > .sub-menu > li > .sub-menu a {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
    padding: 6px 8px;
  }
  .kp-menu > li.kp-mega:focus-within > .sub-menu,
  .kp-menu > li.kp-mega:hover > .sub-menu { visibility: visible; }
}

.kp-category-guide { margin-top: 32px; padding: 24px; border: 1px solid var(--kp-line); border-radius: 18px; background: #fff; line-height: 2; }
.kp-category-guide h2 { margin: 20px 0 10px; font-size: 20px; color: var(--kp-ink); }
.kp-category-guide a { color: var(--kp-primary); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .kp-category-guide { padding: 18px; } .kp-category-guide h2 { font-size: 18px; } }
