/* ==========================================================================
   Global Commerce UI V2

   The cart and checkout pages are the visual source of truth: light-gray
   canvas, white surfaces, charcoal type, blue navigation/actions, orange
   purchase completion, red sale emphasis, 8px controls, and hairline borders.
   This final layer brings every other theme surface into that system.
   ========================================================================== */

body { color: var(--ink); background: var(--canvas); font-size: 15px; line-height: 1.5; }
::selection { color: #fff; background: var(--primary); }
.container { width: min(1400px, calc(100% - 40px)); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); }
h1 { line-height: 1.08; letter-spacing: -.035em; }
h2, h3 { letter-spacing: -.02em; }
a, button, input, select, textarea { transition: color .16s ease, background-color .16s ease, border-color .16s ease, opacity .16s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(23, 87, 200, .24); outline-offset: 2px; }

/* Header and navigation */
.site-header { color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.topbar { color: #fff; background: var(--ink); }
.topbar-inner { min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.topbar .header-promises a,
.topbar .header-actions a,
.topbar .header-menu-trigger,
.topbar .header-icon { color: #fff !important; }
.topbar .header-icon { border-color: rgba(255, 255, 255, .42); }
.topbar .header-promises a:hover strong,
.topbar .header-actions a:hover strong { color: #cfe0ff; }
.header-main { padding-top: 18px; padding-bottom: 16px; }
.site-header .header-main .brand { color: var(--ink); }
.site-header .brand-logo { filter: none; }
.site-header .search { min-height: 48px; overflow: hidden; border: 1px solid var(--field-border); border-radius: 8px; background: #fff; }
.site-header .search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(23, 87, 200, .14); }
.site-header .search input { color: var(--ink); background: #fff; }
.site-header .search button { min-width: 104px; color: #fff; background: var(--primary); }
.site-header .search button:hover { background: var(--primary-dark); }
.site-header .nav { padding-top: 11px; padding-bottom: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.site-header .nav > a,
.site-header .nav-trigger,
.site-header .nav-menu a { color: var(--ink); font-weight: 650; }
.site-header .nav a:hover,
.site-header .nav-menu a:hover,
.site-header .nav-sale { color: var(--primary) !important; }
.site-header .mega-menu,
.site-header .nav-menu .sub-menu,
.header-dropdown { border-color: var(--line); border-radius: 0 0 8px 8px; color: var(--ink); background: #fff; box-shadow: 0 14px 30px rgba(23, 25, 27, .12); }
.topbar .header-dropdown a { color: var(--ink) !important; }
.topbar .header-dropdown .dropdown-primary-button,
.topbar .header-dropdown .dropdown-button-primary { color: #fff !important; }
.header-dropdown a:hover { color: var(--primary) !important; background: var(--primary-soft); }
.cart-count { color: #fff; background: var(--checkout); }
.dropdown-primary-button,
.dropdown-button-primary { color: #fff !important; background: var(--primary); }
.dropdown-primary-button,
.dropdown-button { border-radius: 8px; }
.dropdown-primary-button:hover,
.dropdown-button-primary:hover { color: #fff !important; background: var(--primary-dark) !important; }
.cart-dropdown .dropdown-button-primary { background: linear-gradient(180deg, #ff5a2b 0%, #e8320c 100%); }
.cart-dropdown .dropdown-button-primary:hover { background: linear-gradient(180deg, #f04d1c 0%, #d92d08 100%) !important; }
.dropdown-button-outline { border-color: var(--primary); color: var(--primary) !important; }
.cart-dropdown-summary { border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { margin-top: 0; padding: 42px 0 22px; color: #fff; background: var(--ink); }
.footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-logo { filter: none; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .02em; }
.site-footer p, .site-footer a { color: #c9ccd0; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top-color: rgba(255, 255, 255, .16); color: #9fa4aa; }

/* Shared controls and feedback */
body:not(.woocommerce-cart):not(.woocommerce-checkout) .button,
body:not(.woocommerce-cart):not(.woocommerce-checkout) .woocommerce a.button,
body:not(.woocommerce-cart):not(.woocommerce-checkout) .woocommerce button.button,
body:not(.woocommerce-cart):not(.woocommerce-checkout) .woocommerce input.button,
body:not(.woocommerce-cart):not(.woocommerce-checkout) .product-cart-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 8px; color: #fff; background: var(--primary); box-shadow: none; font-size: 14px; font-weight: 700; }
body:not(.woocommerce-cart):not(.woocommerce-checkout) .button:hover,
body:not(.woocommerce-cart):not(.woocommerce-checkout) .woocommerce a.button:hover,
body:not(.woocommerce-cart):not(.woocommerce-checkout) .woocommerce button.button:hover,
body:not(.woocommerce-cart):not(.woocommerce-checkout) .woocommerce input.button:hover,
body:not(.woocommerce-cart):not(.woocommerce-checkout) .product-cart-button:hover { color: #fff; background: var(--primary-dark); }
.text-link, .section-heading a, .entry-content a, .woocommerce .woocommerce-breadcrumb a { color: var(--primary); }
.text-link:hover, .section-heading a:hover, .entry-content a:hover { text-decoration: underline; text-underline-offset: 3px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], select, textarea { border-color: var(--field-border); border-radius: 8px; color: var(--ink); background: #fff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top: 0; border-left: 4px solid var(--primary); border-radius: 8px; color: var(--ink); background: #fff; }
.woocommerce-error { border-left-color: var(--sale); }
.ipet-toast { border-radius: 8px; background: var(--primary); box-shadow: 0 12px 30px rgba(23, 25, 27, .18); }

/* Homepage */
body.home main { background: var(--canvas); }
body.home .section { padding-top: 14px; padding-bottom: 14px; }
body.home .sequence-promo-1 { padding-top: 12px; padding-bottom: 8px; }
body.home .sequence-promo-1 .sequence-card { min-height: 54px; border: 1px solid #dcebcf; border-radius: 8px; color: #1f3d14; background: var(--success-soft); }
body.home .sequence-promo-1 .sequence-card h2 { color: #1f3d14; font-size: 17px; font-weight: 700; letter-spacing: 0; }
body.home .carousel-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
body.home .carousel-slide::before,
body.home .carousel-slide:nth-child(2)::before,
body.home .carousel-slide:nth-child(3)::before { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.16) 76%); }
body.home .carousel-slide .eyebrow,
body.home .section .eyebrow { color: var(--primary); }
body.home .carousel-slide h2 { color: var(--ink); }
body.home .carousel-slide p:not(.eyebrow) { color: #5f646a; }
body.home .carousel-arrow { display: grid !important; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--primary); background: #fff; box-shadow: 0 4px 14px rgba(23, 25, 27, .12); font-size: 26px; }
body.home .carousel-arrow:hover { color: #fff; background: var(--primary); }
body.home .carousel-dots button { background: #cfd2d5; }
body.home .carousel-dots button.is-active { background: var(--primary); }
body.home .value-strip-membership { border-radius: 8px; background: var(--primary); }
body.home .value-strip-membership .button { color: var(--primary); background: #fff; }
body.home .value-strip-services a,
body.home .quick-links-row a,
body.home .brand-wall-row a { border-color: var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
body.home .value-strip-services a:hover,
body.home .quick-links-row a:hover,
body.home .brand-wall-row a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
body.home .section-heading h2 { color: var(--ink); font-size: 25px; font-weight: 750; }
body.home .pet-strip a,
body.home .popular-link-list a { color: var(--ink); }
body.home .pet-strip a:hover,
body.home .popular-link-list a:hover { color: var(--primary); transform: translateY(-2px); }
body.home .pet-strip a span.pet-image,
body.home .popular-links .popular-link-list .popular-image { overflow: hidden; border: 1px solid var(--line) !important; border-radius: 8px !important; background: var(--gray-soft); box-shadow: none !important; }
body.home .trust-strip-grid { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
body.home .trust-icon { color: var(--primary); background: var(--primary-soft); }
body.home .product,
body.home .best-sellers-empty { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; }
body.home .product:hover { border-color: #b9c9e6; }
body.home .product-image,
body.home .best-seller-card .product-image { border-radius: 8px; background: var(--gray-soft); }
body.home .product:nth-child(2) .product-image,
body.home .product:nth-child(3) .product-image,
body.home .product:nth-child(4) .product-image { background: var(--gray-soft); }
body.home .product-card-badge { color: #fff; background: var(--sale); }
body.home .product h3,
body.home .product h3 a { color: var(--ink); }
body.home .product h3 a:hover { color: var(--primary); }
body.home .stock-label { color: var(--sale); }
body.home .price,
body.home .price ins,
body.home .deal-label { color: var(--sale); }
body.home .summer-promo-card { border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
body.home .summer-promo-card .eyebrow { color: var(--primary); }
body.home .summer-promo-card p:not(.eyebrow) { color: var(--muted); }
body.home .summer-promo-card .button { color: #fff; background: var(--primary); }
body.home .seasonal-banner,
body.home .sequence-promo-3 .sequence-card,
body.home .care-feature-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
body.home .sequence-video,
body.home .sequence-video video,
body.home .sequence-video img { background: var(--gray-soft); }
body.home .care-feature-copy p:not(.eyebrow),
body.home .sequence-promo-3 .sequence-copy p:not(.eyebrow) { color: var(--muted); }
body.home .product-carousel-shell .product-carousel-prev,
body.home .product-carousel-shell .product-carousel-next { color: var(--primary); background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(23, 25, 27, .12); }

/* Shop, category and product grids */
.shop-shell { padding-top: 28px; padding-bottom: 64px; background: var(--canvas); }
.shop-shell .woocommerce-breadcrumb { color: var(--muted); }
.shop-shell .category-hero { min-height: 138px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
.shop-shell .category-hero h1 { color: var(--ink); font-size: clamp(32px, 4vw, 46px); }
.shop-shell .category-hero p { color: var(--muted); }
.shop-shell .category-hero > span { color: var(--primary); background: var(--primary-soft); }
.shop-category-list a { border-color: var(--line); border-radius: 8px; color: var(--primary); background: #fff; }
.shop-category-list a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.shop-layout { gap: 24px; }
.shop-sidebar { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.shop-sidebar .puppy-filter-group { border-bottom-color: var(--line); }
.shop-sidebar .puppy-filter-group legend { color: var(--ink); }
.shop-sidebar .puppy-filter-option { color: var(--muted); }
.shop-sidebar .puppy-filter-option input { accent-color: var(--primary); }
.shop-sidebar .puppy-filter-option:hover span { color: var(--primary); }
.shop-sidebar .puppy-filter-price-row input { border-color: var(--field-border); border-radius: 8px; }
.shop-sidebar .puppy-filter-submit { min-height: 44px; border-radius: 8px; background: var(--primary); }
.shop-sidebar .puppy-filter-submit:hover { background: var(--primary-dark); }
.sidebar-tip { border-radius: 8px; color: var(--ink); background: var(--primary-soft); }
.sidebar-tip span { color: var(--primary); }
.shop-results .woocommerce-result-count { color: var(--muted); }
.shop-results .woocommerce-ordering select { min-height: 44px; padding: 0 38px 0 12px; border: 1px solid var(--field-border); border-radius: 8px; background: #fff; }
.woocommerce ul.products { gap: 16px; }
.woocommerce ul.products li.product { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; }
.woocommerce ul.products li.product:hover { border-color: #b9c9e6; }
.woocommerce ul.products li.product .product-image,
.woocommerce ul.products li.product a img { border-radius: 8px; background: var(--gray-soft); }
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product h3 a,
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); }
.woocommerce ul.products li.product h3 a:hover { color: var(--primary); }
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .deal-label { color: var(--sale); }
.woocommerce ul.products li.product .product-card-badge { background: var(--sale); }
.woocommerce nav.woocommerce-pagination ul { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.woocommerce nav.woocommerce-pagination ul li { border-right-color: var(--line); }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; min-height: 42px; padding: 10px; color: var(--primary); background: #fff; }
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { color: #fff; background: var(--primary); }

/* Product detail */
body.single-product { background: var(--canvas); }
body.single-product .ipet-pdp-shell { padding-bottom: 72px; color: var(--ink); background: var(--canvas); }
body.single-product .ipet-pdp-promotion { margin: 10px 20px 0; border: 1px solid #dcebcf; border-radius: 8px; color: #1f3d14; background: var(--success-soft); }
body.single-product .ipet-pdp-container { width: min(1600px, calc(100% - 40px)); }
body.single-product .ipet-pdp-main { gap: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
body.single-product .ipet-pdp-gallery-stage { border-radius: 8px; background: var(--gray-soft); }
body.single-product .ipet-product-gallery .ipet-gallery-thumb { border-color: var(--line); border-radius: 8px; }
body.single-product .ipet-product-gallery .ipet-gallery-thumb.is-active,
body.single-product .ipet-product-gallery .ipet-gallery-thumb:hover { border-color: var(--primary); }
body.single-product .ipet-pdp-kicker,
body.single-product .ipet-pdp-brand a,
body.single-product .ipet-pdp-breadcrumb .woocommerce-breadcrumb a { color: var(--primary); }
body.single-product .ipet-pdp-option { border-color: #cfd2d5; border-radius: 8px; color: var(--primary); }
body.single-product .ipet-pdp-option:hover,
body.single-product .ipet-pdp-option.is-selected { border-color: var(--primary); }
body.single-product .ipet-pdp-benefits { border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
body.single-product .ipet-pdp-benefits h2,
body.single-product .ipet-pdp-benefit strong { color: var(--ink); }
body.single-product .ipet-pdp-benefit small { color: var(--muted); }
body.single-product .ipet-pdp-benefit > span { border-color: #c8d8f4; color: var(--primary); background: var(--primary-soft); }
body.single-product .ipet-pdp-purchase-panel,
body.single-product .ipet-pdp-mini-product { border-color: var(--line); border-radius: 8px; background: #fff; }
body.single-product .ipet-pdp-purchase-mode { border-color: var(--primary); border-radius: 8px; box-shadow: 0 0 0 2px rgba(23, 87, 200, .12); }
body.single-product .ipet-pdp-radio { border-color: var(--primary); background: var(--primary); }
body.single-product .ipet-pdp-price,
body.single-product .ipet-pdp-mini-product b { color: var(--sale); }
body.single-product .ipet-pdp-offer > span { background: var(--sale); }
body.single-product .ipet-pdp-cart-form form.cart .quantity .qty { border-color: var(--field-border); border-radius: 8px; }
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button { border-radius: 8px !important; background: var(--primary) !important; }
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button:hover { background: var(--primary-dark) !important; }
body.single-product .ipet-pdp .ipet-about-item { margin-top: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
body.single-product .ipet-pdp > .related.products,
body.single-product .ipet-pdp > .upsells.products { margin-top: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
body.single-product .ipet-pdp-lightbox { border-radius: 8px; }

/* Account, login and customer forms */
body.woocommerce-account,
body.logged-in.woocommerce-account { background: var(--canvas) !important; }
body.woocommerce-account .content-shell,
body.logged-in.woocommerce-account .content-shell { background: var(--canvas) !important; }
body.logged-in.woocommerce-account .entry-content > .woocommerce > .ipet-account-navigation,
body.logged-in.woocommerce-account .entry-content > .woocommerce > .woocommerce-MyAccount-content,
.ipet-account-panel,
.ipet-account-quick-actions a,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address { border-color: var(--line) !important; border-radius: 8px !important; background: #fff !important; }
body.logged-in.woocommerce-account .ipet-account-navigation li a:hover,
body.logged-in.woocommerce-account .ipet-account-navigation li.is-active a { color: var(--primary) !important; background: var(--primary-soft) !important; }
body.logged-in.woocommerce-account .ipet-account-navigation li.is-active a::before { background: var(--primary) !important; }
.ipet-account-profile-copy small,
.ipet-account-welcome p,
.ipet-account-panel-heading p,
.ipet-account-panel-heading > a,
.ipet-account-order-icon,
.ipet-account-empty > span { color: var(--primary) !important; }
.ipet-account-avatar,
.ipet-account-order-icon,
.ipet-account-empty > span { background: var(--primary-soft); }
.ipet-account-quick-actions a { color: var(--primary) !important; }
.ipet-account-quick-actions a:hover { border-color: #9db8ec !important; background: var(--primary-soft) !important; }
.ipet-account-secondary-button { border-color: var(--primary); color: var(--primary) !important; border-radius: 8px; }
body.woocommerce-account:not(.logged-in) .content-shell > .container.content-card { width: min(760px, calc(100% - 40px)); padding: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
body.woocommerce-account:not(.logged-in) form.login,
body.woocommerce-account:not(.logged-in) form.register,
body.woocommerce-account:not(.logged-in) form.lost_reset_password { max-width: none; padding: 0 !important; border: 0 !important; background: transparent; }

/* Pages, posts, archives, search and empty states */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.single-product) .content-shell { padding: 40px 0 72px; background: var(--canvas); }
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.single-product) .content-shell > .container.content-card { width: min(960px, calc(100% - 40px)); max-width: none; padding: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.content-shell > .container.content-card > .eyebrow,
.content-shell > .container > .eyebrow { color: var(--primary); }
.content-shell > .container.content-card > h1,
.content-shell > .container > h1,
.content-shell .section-heading h1 { max-width: 920px; margin-bottom: 24px; color: var(--ink); font-size: clamp(34px, 5vw, 52px); font-weight: 750; }
.entry-content { color: #4f5459; font-size: 16px; line-height: 1.7; }
.entry-content h2, .entry-content h3 { color: var(--ink); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); }
.post-grid { gap: 16px; }
.post-card { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.post-card:hover { border-color: #b9c9e6; }
.post-card h2 a:hover { color: var(--primary); }
.empty-state { min-height: 360px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.empty-state > span { font-size: 52px; }
body.blog main.section,
body.archive main.content-shell,
body.search main.content-shell,
body.error404 main.content-shell { background: var(--canvas); }
body.blog main.section > .container > article { padding: 22px 0; border-top: 1px solid var(--line); }
body.blog main.section > .container > article:first-of-type { border-top: 0; }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  body.home .value-strip-inner { grid-template-columns: 1fr; }
  body.home .value-strip-services { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 18px; }
  body.single-product .ipet-pdp-main { padding: 20px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 20px); }
  .topbar-inner { min-height: 38px; }
  .header-main { gap: 12px; padding: 12px 0; }
  .site-header .search { min-height: 46px; }
  .site-header .search button { min-width: 82px; padding: 0 14px; }
  .site-header .nav { overflow-x: auto; justify-content: flex-start; padding-top: 9px; padding-bottom: 10px; }
  .site-header .nav-menu { width: max-content; min-width: 100%; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  body.home .carousel-arrow { width: 36px; height: 36px; }
  body.home .value-strip-services { grid-template-columns: 1fr 1fr; }
  body.home .pet-strip a span.pet-image { border-radius: 8px !important; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.single-product .ipet-pdp-container { width: calc(100% - 20px); }
  body.single-product .ipet-pdp-main { padding: 14px; }
  body.single-product .ipet-pdp-promotion { margin-right: 10px; margin-left: 10px; }
  body.single-product .ipet-pdp .ipet-about-item,
  body.single-product .ipet-pdp > .related.products,
  body.single-product .ipet-pdp > .upsells.products { padding: 20px 16px; }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.single-product) .content-shell > .container.content-card { width: calc(100% - 20px); padding: 26px 20px; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body.home .value-strip-services { grid-template-columns: 1fr; }
  body.home .carousel-arrow { display: none !important; }
  .woocommerce ul.products { gap: 10px; }
  .woocommerce ul.products li.product { padding: 10px; }
  .content-shell > .container.content-card > h1,
  .content-shell > .container > h1,
  .content-shell .section-heading h1 { font-size: 32px; }
  .footer-bottom { display: grid; gap: 6px; }
}

/* ==========================================================================
   Storefront V3 — richer merchandising and visual density

   The reference direction is translated into the existing iPet system:
   saturated brand blue, pale-blue service surfaces, lime promotion bars,
   red deal language and orange ratings. Uploaded media and WooCommerce data
   remain the source of truth; this layer only presents them more strongly.
   ========================================================================== */

:root {
  --primary: #08246f;
  --primary-dark: #183da6;
  --primary-deep: #08246f;
  --primary-soft: #eaf2ff;
  --sky-soft: #dff1ff;
  --lime-soft: #ddffba;
  --sale: #cf2347;
  --star: #f59a0a;
  --success: #168044;
  --success-soft: #efffdf;
  --canvas: #fff;
  --gray-soft: #f5f6f7;
  --line: #dfe3e8;
}

body { background: #fff; }
.container { width: min(1600px, calc(100% - 40px)); }

/* One saturated brand band, including the utility and category navigation. */
.site-header { color: #fff; background: var(--primary); border-bottom: 0; }
.topbar { color: #fff; background: var(--primary); border-bottom: 1px solid rgba(255,255,255,.2); }
.topbar-inner { min-height: 54px; }
.header-main { min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
.site-header .header-main .brand,
.site-header .header-actions a,
.site-header .nav > a,
.site-header .nav-trigger,
.site-header .nav-menu > li > a { color: #fff; }
.site-header .brand-logo { filter: brightness(0) invert(1); }
.site-header .brand-text { color: #fff; }
.site-header .search { min-height: 52px; flex-basis: 620px; border: 0; border-radius: 6px; box-shadow: 0 0 0 1px rgba(7,31,101,.14); }
.site-header .search:focus-within { box-shadow: 0 0 0 3px rgba(24,61,166,.42); }
.site-header .search button { min-width: 108px; background: var(--primary-deep); }
.site-header .search button:hover { background: #061a51; }
.site-header .nav { min-height: 54px; padding-top: 12px; padding-bottom: 12px; border-top: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 15px; }
.site-header .nav a:hover,
.site-header .nav-menu a:hover { color: #ffe34f !important; }
.site-header .nav-sale { color: #ffe34f !important; }
.site-header .nav-trigger span { color: rgba(255,255,255,.76); }
.topbar .header-icon { color: #fff !important; border-color: rgba(255,255,255,.58); }
.topbar .header-promises a:hover strong,
.topbar .header-actions a:hover strong { color: #ffe34f; }
.cart-count { color: #10234f; background: #ffd629; box-shadow: 0 0 0 2px var(--primary); }
.site-header .mega-menu,
.site-header .nav-menu .sub-menu,
.header-dropdown { border-color: #d5dbe3; border-radius: 0 0 10px 10px; color: var(--ink); background: #fff; }

/* Homepage: large media, broad color fields and distinct merchandising zones. */
body.home main { background: #fff; }
body.home .section { padding-top: 22px; padding-bottom: 22px; }
body.home .section-heading { margin-bottom: 22px; }
body.home .section-heading h2 { font-size: clamp(25px, 2vw, 31px); font-weight: 800; }
body.home .sequence-promo-1 { padding-top: 18px; padding-bottom: 2px; }
body.home .sequence-promo-1 .sequence-card {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  color: #10240a;
  background: linear-gradient(90deg, #cfff9e, var(--lime-soft), #e6f5db);
}
body.home .sequence-promo-1 .sequence-card h2 { color: #10240a; font-size: 18px; font-weight: 800; }
body.home .home-carousel { padding-top: 18px; padding-bottom: 16px; }
body.home .carousel-frame { height: clamp(410px, 32vw, 520px); border: 0; border-radius: 16px; background: var(--primary-deep); }
body.home .carousel-slide { height: 100%; min-height: 100%; padding: 54px 8% 62px; background-color: var(--primary-deep) !important; }
body.home .carousel-slide::before,
body.home .carousel-slide:nth-child(2)::before,
body.home .carousel-slide:nth-child(3)::before {
  background: linear-gradient(90deg, rgba(5,29,103,.98) 0%, rgba(5,29,103,.96) 34%, rgba(5,29,103,.69) 54%, rgba(5,29,103,.08) 80%);
}
body.home .carousel-slide > div { max-width: 590px; }
body.home .carousel-slide .eyebrow { margin-bottom: 13px; color: #bfff78; font-size: 14px; }
body.home .carousel-slide h2 { max-width: 590px; margin-bottom: 16px; color: #fff; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.02; }
body.home .carousel-slide p:not(.eyebrow) { max-width: 520px; margin-bottom: 26px; color: rgba(255,255,255,.88); font-size: 18px; }
body.home .carousel-slide .button { min-height: 48px; color: var(--primary-deep); background: #fff; }
body.home .carousel-slide .button:hover { color: #fff; background: var(--primary); }
body.home .carousel-arrow { width: 44px; height: 44px; border: 0; color: var(--primary); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
body.home .carousel-dots button { background: rgba(255,255,255,.5); }
body.home .carousel-dots button.is-active { background: #fff; }

body.home .value-strip { padding-top: 8px; padding-bottom: 28px; }
body.home .value-strip-inner { grid-template-columns: minmax(250px, .75fr) minmax(0, 2.6fr); gap: 14px; padding: 20px; border-radius: 18px; background: #eef0f3; }
body.home .value-strip-membership { min-height: 132px; padding: 24px; border-radius: 14px; color: #fff; background: var(--primary-deep); }
body.home .value-strip-membership strong { font-size: 19px; }
body.home .value-strip-membership p { font-size: 13px; }
body.home .value-strip-membership .button { min-height: 40px; color: var(--primary); background: #fff; }
body.home .value-strip-services { gap: 14px; }
body.home .value-strip-services a { min-height: 132px; justify-content: center; padding: 20px; border: 0; border-radius: 14px; background: #fff; }
body.home .value-strip-services a span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--primary); background: var(--sky-soft); font-size: 22px; }
body.home .value-strip-services a:hover { color: var(--primary); background: var(--primary-soft); }

body.home .shop-by-pet { padding-top: 32px; padding-bottom: 32px; }
body.home .pet-strip { gap: 20px; }
body.home .pet-strip a span.pet-image,
body.home .popular-links .popular-link-list .popular-image {
  overflow: hidden;
  border: 0 !important;
  border-radius: 50% !important;
  background: #e9f1ff;
  box-shadow: inset 0 0 0 1px #dce7fa !important;
}
body.home .pet-strip a:nth-child(2n) span.pet-image,
body.home .popular-link-list a:nth-child(2n) .popular-image { background: #eef6e8; }
body.home .pet-strip a:nth-child(3n) span.pet-image,
body.home .popular-link-list a:nth-child(3n) .popular-image { background: #fff0e7; }
body.home .pet-strip strong,
body.home .popular-link-list strong { margin-top: 11px; font-size: 16px; }
body.home .quick-links { padding-top: 6px; padding-bottom: 24px; }
body.home .quick-links-row { gap: 10px; }
body.home .quick-links-row a { min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; color: var(--primary-deep); background: var(--primary-soft); }
body.home .quick-links-row a:nth-child(2n) { background: #eff9e7; }
body.home .quick-links-row a:last-child { color: #8d1732; background: #ffe8ee; }
body.home .brand-wall { padding-top: 24px; padding-bottom: 28px; background: #f7f9fc; }
body.home .brand-wall-row { gap: 12px; }
body.home .brand-wall-row a { min-height: 62px; justify-content: center; border: 0; border-radius: 12px; font-size: 16px; box-shadow: 0 1px 0 rgba(10,35,82,.06); }

body.home .trust-strip { padding: 18px 0 24px; background: var(--primary-soft); }
body.home .trust-strip-grid { border: 0; border-radius: 16px; background: #fff; }
body.home .trust-item { min-height: 104px; padding: 20px; }
body.home .trust-item + .trust-item { border-left: 1px solid var(--line); }
body.home .trust-icon { width: 44px; height: 44px; color: #fff; background: var(--primary); }

body.home .best-sellers { padding-top: 42px; padding-bottom: 42px; }
body.home .best-sellers-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
body.home .product,
body.home .best-sellers-empty { padding: 0; border: 0; border-radius: 0; background: #fff; }
body.home .product:hover { border-color: transparent; }
body.home .product-image,
body.home .best-seller-card .product-image { height: 270px; border-radius: 12px; background: var(--gray-soft); }
body.home .product h3 { margin-top: 10px; font-size: 16px; line-height: 1.35; }
body.home .product-card-badge { border-radius: 8px 0 8px 0; background: var(--sale); }

body.home .seasonal-section { padding-top: 10px; padding-bottom: 30px; }
body.home .seasonal-banner { min-height: 210px; padding: 34px 44px; border: 0; border-radius: 16px; color: #fff; background: linear-gradient(110deg, var(--primary-deep), #164bb5); }
body.home .seasonal-banner h2 { color: #fff; font-size: clamp(30px, 3vw, 44px); }
body.home .seasonal-banner p:not(.eyebrow) { color: rgba(255,255,255,.84); }
body.home .seasonal-banner .eyebrow { color: #c7ff87; }
body.home .seasonal-banner > span { color: #8ddcff; opacity: .55; }
body.home .seasonal-banner .button { color: var(--primary-deep); background: #fff; }

body.home .popular-links { padding-top: 38px; padding-bottom: 44px; }
body.home .popular-links .popular-link-list { gap: 18px !important; }
body.home .sequence-promo-3 { padding: 20px 0 42px; }
body.home .sequence-promo-3 .sequence-card { min-height: 390px; height: 390px; grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr); gap: 0; padding: 30px; border: 0; border-radius: 16px; background: var(--sky-soft); }
body.home .sequence-video { min-height: 330px; overflow: hidden; border-radius: 13px; background: #cbdff0; }
body.home .sequence-promo-3 .sequence-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px; text-align: center; }
body.home .sequence-promo-3 .sequence-copy h2 { color: var(--primary-deep); }
body.home .sequence-promo-3 .sequence-copy p:not(.eyebrow) { margin-right: auto; margin-left: auto; color: #344d64; }

body.home .product-showcase { padding: 38px 0; background: #f6f9ff; }
body.home .product-showcase-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 22px; }
body.home .summer-promo-card { min-height: 100%; padding: 28px; border: 0; border-radius: 16px; color: #fff; background: var(--primary-deep); }
body.home .summer-promo-card h2 { color: #fff; font-size: 30px; }
body.home .summer-promo-card p:not(.eyebrow) { color: rgba(255,255,255,.8); }
body.home .summer-promo-card .eyebrow { color: #c7ff87; }
body.home .summer-promo-card .button { color: var(--primary); background: #fff; }
body.home .product-carousel-track { gap: 20px; }
body.home .product-carousel-shell .product-carousel-track .product { flex-basis: var(--product-card-width, 230px) !important; width: var(--product-card-width, 230px) !important; }
body.home .product-carousel-shell .product-image { height: 230px; }

body.home .care-feature { padding: 42px 0 54px; }
body.home .care-feature-card { min-height: 360px; border: 0; border-radius: 16px; background: #eff9e7; }
body.home .care-feature-image { min-height: 360px; }
body.home .care-feature-copy { padding: 48px; }
body.home .care-feature-copy h2 { color: #173a23; font-size: clamp(32px, 3vw, 46px); }
body.home .care-feature-copy p:not(.eyebrow) { color: #45604d; font-size: 17px; }

/* Data-rich product cards. */
.product-card-brand {
  box-sizing: border-box;
  height: 15px;
  min-height: 15px;
  overflow: hidden;
  line-height: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body.home .product-card-brand,
.shop-results .product-card-brand { min-height: 18px; margin: 10px 0 3px; color: var(--primary); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.product-card-rating,
.ipet-pdp-rating { display: flex; min-height: 24px; align-items: center; gap: 7px; color: #656a70; font-size: 12px; }
.product-card-rating strong,
.ipet-pdp-rating strong { color: #4d5156; font-size: 13px; }
.product-card-rating .star-rating,
.ipet-pdp-rating .star-rating { width: 5.4em; margin: 0; float: none; color: var(--star); font-size: 14px; }
.product-card-rating .star-rating::before,
.product-card-rating .star-rating span::before,
.ipet-pdp-rating .star-rating::before,
.ipet-pdp-rating .star-rating span::before { color: var(--star); }
.product-card-empty-stars { color: #c9cdd2; letter-spacing: .04em; }
.product-card-saving { min-height: 20px; margin: 2px 0 0; color: var(--sale); font-size: 13px; font-weight: 750; }
.product-card-availability { display: flex; min-height: 21px; align-items: center; gap: 7px; margin: 5px 0 10px; color: #5f666d; font-size: 12px; }
.product-card-availability > span { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #9ca3aa; }
.product-card-availability.is-available { color: var(--success); }
.product-card-availability.is-available > span { background: var(--success); }
.product-card-availability.is-unavailable { color: var(--sale); }
.product-card-availability.is-unavailable > span { background: var(--sale); }

/* Shop and category pages: flat filters, large image wells, dense real data. */
.shop-shell { padding-top: 24px; padding-bottom: 72px; background: #fff; }
.shop-shell .category-hero { min-height: 180px; padding: 34px 42px; border: 0; border-radius: 16px; color: #fff; background: linear-gradient(110deg, var(--primary-deep), #2458d4); }
.shop-shell .category-hero h1 { color: #fff; font-size: clamp(36px, 4vw, 54px); }
.shop-shell .category-hero p { color: rgba(255,255,255,.82); font-size: 16px; }
.shop-shell .category-hero .eyebrow { color: #c7ff87; }
.shop-shell .category-hero > span { width: 104px; height: 104px; color: #fff; background: rgba(255,255,255,.16); }
.shop-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 34px; }
.shop-sidebar { padding: 0 24px 0 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.shop-sidebar .sidebar-filter-heading { padding-bottom: 16px; }
.shop-sidebar .puppy-filter-group { margin-bottom: 20px; padding-bottom: 20px; }
.shop-sidebar .puppy-filter-group legend { font-size: 16px; }
.shop-sidebar .puppy-filter-option { padding: 8px 0; color: #4f555b; font-size: 14px; }
.shop-sidebar .puppy-filter-option input { width: 18px; height: 18px; }
.shop-sidebar .puppy-filter-submit { min-height: 48px; }
.sidebar-tip { padding: 18px; background: var(--sky-soft); }
.shop-results .woocommerce-result-count { font-size: 14px; }
.shop-results .woocommerce-ordering select { min-width: 190px; }
.shop-results .woocommerce ul.products { gap: 30px 20px; }
.shop-results .woocommerce ul.products li.product { padding: 0; border: 0; border-radius: 0; background: #fff; }
.shop-results .woocommerce ul.products li.product:hover { border-color: transparent; }
.shop-results .woocommerce ul.products li.product .product-card-media { margin-bottom: 12px; }
.shop-results .woocommerce ul.products li.product .product-image,
.shop-results .woocommerce ul.products li.product a img { height: clamp(230px, 20vw, 310px); margin-bottom: 0; border-radius: 12px; object-fit: contain; background: var(--gray-soft); }
.shop-results .woocommerce ul.products li.product h3 { min-height: 48px; margin: 6px 0; font-size: 16px; line-height: 1.35; }
.shop-results .woocommerce ul.products li.product .price { margin: 4px 0 0; color: #16191d; font-size: 21px; }
.shop-results .woocommerce ul.products li.product .price ins { color: var(--sale); }
.shop-results .woocommerce ul.products li.product .price del { color: #73787e; font-size: 13px; }
.shop-results .woocommerce ul.products li.product .product-card-badge { padding: 8px 16px; border-radius: 10px 0 10px 0; background: var(--sale); font-size: 13px; }
.shop-results .product-cart-button {
  width: 100%;
  min-height: 46px !important;
  margin-top: auto;
  border: 2px solid #ee3a22 !important;
  color: #d72d17 !important;
  background: #fff !important;
}
.shop-results .product-cart-button:hover { color: #fff !important; background: #e63a20 !important; }

/* Product detail: vivid purchase hierarchy without inventing product data. */
body.single-product { background: #fff; }
body.single-product .ipet-pdp-shell { background: #fff; }
body.single-product .ipet-pdp-promotion { min-height: 50px; margin-top: 18px; border: 0; border-radius: 12px; color: #10240a; background: linear-gradient(90deg, #cfff9e, var(--lime-soft), #e6f5db); }
body.single-product .ipet-pdp-container { width: min(1760px, calc(100% - 56px)); }
body.single-product .ipet-pdp-main { grid-template-columns: minmax(430px, 1.25fr) minmax(330px, .92fr) minmax(360px, 440px); gap: 42px; padding: 0; border: 0; border-radius: 0; background: #fff; }
body.single-product .ipet-pdp-gallery-stage { min-height: 640px; border-radius: 14px; background: var(--gray-soft); }
body.single-product .ipet-pdp-badge { padding: 9px 20px; border-radius: 12px 0 12px 0; background: var(--sale); }
body.single-product .ipet-pdp-info-column .product_title { font-size: clamp(28px, 2.1vw, 36px); }
body.single-product .ipet-pdp-brand { margin-top: 10px; }
body.single-product .ipet-pdp-rating { margin-top: 8px; }
body.single-product .ipet-pdp-rating span:last-child { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
body.single-product .ipet-pdp-summary-copy { margin-top: 22px; padding: 18px 20px; border-left: 5px solid var(--primary); border-radius: 0 10px 10px 0; background: var(--primary-soft); }
body.single-product .ipet-pdp-option { min-height: 54px; background: #fff; }
body.single-product .ipet-pdp-option:hover { background: var(--primary-soft); }
body.single-product .ipet-pdp-benefits { padding: 26px; border: 0; border-radius: 12px; color: var(--primary-deep); background: var(--sky-soft); }
body.single-product .ipet-pdp-benefits h2,
body.single-product .ipet-pdp-benefit strong { color: var(--primary-deep); }
body.single-product .ipet-pdp-benefit small { color: #53687c; }
body.single-product .ipet-pdp-benefit > span { border-color: #a9cbed; color: var(--primary); background: #fff; }
body.single-product .ipet-pdp-purchase-panel { padding: 18px; border: 1px solid #d8dde4; border-radius: 12px; background: #fff; }
body.single-product .ipet-pdp-purchase-mode { padding: 20px; border: 2px solid var(--primary); border-radius: 12px; box-shadow: 0 0 0 3px rgba(36,82,200,.14); }
body.single-product .ipet-pdp-price { color: var(--sale); font-size: 34px; }
body.single-product .ipet-pdp-stock-row { padding: 18px; border: 0; border-radius: 10px; background: #f7f9fb; }
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button { min-height: 62px !important; background: linear-gradient(180deg, #2b63e5, #1d49bf) !important; }
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button:hover { background: var(--primary-dark) !important; }
body.single-product .ipet-pdp-mini-product { border: 0; background: var(--primary-soft); }
body.single-product .ipet-pdp .ipet-about-item,
body.single-product .ipet-pdp > .related.products,
body.single-product .ipet-pdp > .upsells.products { border: 0; border-radius: 14px; background: #f7f9fc; }

/* Richer accents on editorial and account surfaces, while checkout/cart layout stays intact. */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.single-product) .content-shell > .container.content-card { border-top: 6px solid var(--primary); }
.post-card { border-top: 5px solid var(--primary); }
.post-card:nth-child(3n + 2) { border-top-color: var(--sale); }
.post-card:nth-child(3n) { border-top-color: var(--star); }
.site-footer { background: var(--primary-deep); }

@media (max-width: 1200px) {
  .header-promises a:nth-child(3) { display: none; }
  body.home .pet-strip { gap: 12px; }
  body.home .product-image,
  body.home .best-seller-card .product-image { height: 235px; }
  body.single-product .ipet-pdp-main { grid-template-columns: minmax(360px, 1.1fr) minmax(300px, .9fr) 360px; gap: 26px; }
  body.single-product .ipet-pdp-gallery-stage { min-height: 540px; }
}

@media (max-width: 1000px) {
  .site-header .search { flex-basis: 460px; }
  .header-promises a:nth-child(2) { display: none; }
  body.home .value-strip-inner { grid-template-columns: 1fr; }
  body.home .value-strip-services { grid-template-columns: repeat(4, 1fr); }
  body.home .value-strip-services a { min-height: 116px; }
  body.home .sequence-promo-3 .sequence-card { grid-template-columns: 1fr 1fr; }
  body.home .product-showcase-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .shop-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 20px); }
  .topbar-inner { min-height: 42px; }
  .header-promises { margin-left: 0; }
  .header-promises a { font-size: 13px; }
  .header-promises strong { font-size: 13px; }
  .site-header .brand-logo { max-width: 112px; }
  .site-header .search { min-height: 46px; flex-basis: 100%; }
  .site-header .nav { min-height: 48px; }
  body.home .section { padding-top: 16px; padding-bottom: 16px; }
  body.home .carousel-frame { height: 340px; }
  body.home .carousel-slide { padding: 34px 28px 48px; }
  body.home .carousel-slide::before,
  body.home .carousel-slide:nth-child(2)::before,
  body.home .carousel-slide:nth-child(3)::before { background: linear-gradient(90deg, rgba(5,29,103,.96), rgba(5,29,103,.76)); }
  body.home .carousel-slide h2 { font-size: 35px; }
  body.home .carousel-slide p:not(.eyebrow) { font-size: 15px; }
  body.home .value-strip-inner { padding: 14px; }
  body.home .value-strip-services { grid-template-columns: 1fr 1fr; }
  body.home .pet-strip a span.pet-image { border-radius: 50% !important; }
  body.home .best-sellers-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  body.home .product-image,
  body.home .best-seller-card .product-image { height: 210px; }
  body.home .sequence-promo-3 .sequence-card { height: auto; grid-template-columns: 1fr; padding: 14px; }
  body.home .sequence-video { min-height: 250px; }
  body.home .sequence-promo-3 .sequence-copy { padding: 28px 18px; }
  body.home .product-showcase-layout { grid-template-columns: 1fr; }
  body.home .summer-promo-card { min-height: 240px; }
  body.home .care-feature-card { grid-template-columns: 1fr; }
  body.home .care-feature-image { min-height: 260px; }
  body.home .care-feature-copy { padding: 34px 26px; }
  .shop-shell .category-hero { min-height: 150px; padding: 26px; }
  .shop-shell .category-hero > span { width: 76px; height: 76px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .shop-results .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .shop-results .woocommerce ul.products li.product .product-image,
  .shop-results .woocommerce ul.products li.product a img { height: 210px; }
  body.single-product .ipet-pdp-container { width: calc(100% - 20px); }
  body.single-product .ipet-pdp-main { padding: 0; }
  body.single-product .ipet-pdp-gallery-stage { min-height: 400px; }
}

@media (max-width: 480px) {
  body.home .value-strip-services { grid-template-columns: 1fr; }
  body.home .best-sellers-grid { grid-template-columns: 1fr 1fr; }
  body.home .product-image,
  body.home .best-seller-card .product-image { height: 165px; }
  body.home .product h3 { font-size: 14px; }
  body.home .seasonal-banner { padding: 28px 24px; }
  .shop-shell .category-hero > span { display: none; }
  .shop-results .woocommerce ul.products li.product .product-image,
  .shop-results .woocommerce ul.products li.product a img { height: 165px; }
  .shop-results .woocommerce ul.products li.product h3 { min-height: 57px; font-size: 14px; }
  .product-card-rating { gap: 4px; font-size: 11px; }
  .product-card-rating strong { display: none; }
  .product-card-rating .star-rating { font-size: 12px; }
}

/* ==========================================================================
   Homepage V5 — focused refinements

   Compact two-row header, lighter hero overlay, image-first category circles,
   circular service icons and shorter unified homepage product cards.
   ========================================================================== */

/* Header: both rows share one deep blue; the input stays white and the search
   action uses a lighter blue for separation. */
.site-header {
  border: 0;
  color: #fff;
  background: var(--primary);
  box-shadow: none;
}
.site-header .header-main {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-header .header-main .brand { flex: 0 0 auto; margin: 0; }
.site-header .header-main .brand,
.site-header .brand-text { color: #fff; }
.site-header .header-main .brand-logo { width: 118px; max-height: 40px; }
.site-header .header-main .search {
  min-width: 260px;
  max-width: 560px;
  min-height: 48px;
  flex: 1 1 460px;
  margin: 0;
  border: 1px solid rgba(8,36,111,.22);
  background: #fff;
  box-shadow: none;
}
.site-header .header-main .search:focus-within { box-shadow: 0 0 0 3px rgba(24,61,166,.2); }
.site-header .header-main .search input { color: var(--ink); background: #fff; }
.site-header .header-main .search input::placeholder { color: #777d86; }
.site-header .header-main .search button {
  min-width: 88px;
  padding-right: 14px;
  padding-left: 14px;
  color: #fff;
  background: #004fd9;
  font-weight: 650;
}
.site-header .header-main .search button:hover { color: #fff; background: #1569fa; }
.header-utilities { display: flex; min-width: 0; flex: 0 0 auto; align-items: center; gap: 24px; margin-left: auto; }
.site-header .header-main .header-promises { display: flex; align-items: center; gap: 24px; margin: 0; }
.site-header .header-main .header-promises > a,
.site-header .header-main .header-actions > .header-menu > .header-menu-trigger {
  min-height: 42px;
  gap: 8px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
}
.site-header .header-main .header-promises > a > strong,
.site-header .header-main .header-actions > .header-menu > .header-menu-trigger > strong { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.site-header .header-main .header-promises .header-icon,
.site-header .header-main .header-actions .header-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.1);
}
.site-header .header-main .header-promises .header-icon svg,
.site-header .header-main .header-actions .header-icon svg { width: 24px; height: 24px; }
.site-header .header-main .header-actions { gap: 24px; margin: 0; }
.site-header .header-main .header-menu-trigger { min-height: 42px; padding: 0; }
.site-header .header-main .header-dropdown a { color: var(--ink) !important; }
.site-header .header-main .header-dropdown .dropdown-primary-button,
.site-header .header-main .header-dropdown .dropdown-button-primary { color: #fff !important; }
.site-header .nav {
  min-height: 50px;
  padding-top: 10px;
  padding-bottom: 11px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.site-header .nav > a,
.site-header .nav-trigger,
.site-header .nav-menu > li > a { color: #fff; font-weight: 600; }
.site-header .nav a:hover,
.site-header .nav-menu a:hover { color: #dce7ff !important; }

/* No image overlay: green and blue copy stays legible over the editorial media. */
body.home .carousel-slide::before,
body.home .carousel-slide:nth-child(2)::before,
body.home .carousel-slide:nth-child(3)::before {
  background: none;
}
body.home .carousel-slide.no-media { background-color: #eef8e9 !important; }
body.home .carousel-slide > div { max-width: 520px; }
body.home .carousel-slide .eyebrow { color: #168044; text-shadow: 0 1px 0 rgba(255,255,255,.9); }
body.home .carousel-slide h2 { max-width: 520px; color: #0c3f97; text-shadow: 0 1px 0 rgba(255,255,255,.9), 0 0 12px rgba(255,255,255,.68); }
body.home .carousel-slide p:not(.eyebrow) { color: #2259a5; text-shadow: 0 1px 0 rgba(255,255,255,.92), 0 0 10px rgba(255,255,255,.72); }

/* Category media fills the circle; missing backend media stays visually empty. */
body.home .shop-by-pet { padding-bottom: 34px; }
body.home .pet-strip a,
body.home .popular-link-list a { padding: 0; }
body.home .pet-strip a span.pet-image,
body.home .popular-links .popular-link-list .popular-image,
body.home .pet-strip a:nth-child(2n) span.pet-image,
body.home .popular-link-list a:nth-child(2n) .popular-image,
body.home .pet-strip a:nth-child(3n) span.pet-image,
body.home .popular-link-list a:nth-child(3n) .popular-image {
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.home .pet-image img,
body.home .popular-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

/* Service icons remain true circles and supporting copy uses regular weight. */
body.home .value-strip-services a { font-weight: 400; }
body.home .value-strip-services a strong { font-weight: 500; }
body.home .value-strip-membership p,
body.home .trust-item p { font-weight: 400; }
body.home .value-strip-services a span,
body.home .trust-icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  line-height: 1;
}
body.home .trust-icon { align-self: center; }
body.home .trust-item strong { font-weight: 600; }
body.home .brand-wall-row a { font-weight: 500; }

/* One compact gray card contains image, data and the white/red cart action. */
body.home .product {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #f2f3f5;
}
body.home .product:hover { background: #eceff3; }
body.home .product-card-media {
  margin: -12px -12px 8px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
body.home .product-image,
body.home .best-seller-card .product-image {
  height: 230px;
  margin-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #fff;
}
body.home .product-image img { object-fit: contain; }
body.home .product-card-brand {
  min-height: 0;
  margin: 4px 0 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
}
body.home .product h3 {
  min-height: 40px;
  margin: 3px 0 4px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.32;
}
body.home .product h3 a { font-weight: inherit; }
body.home .product-card-rating { min-height: 20px; gap: 5px; font-weight: 400; }
body.home .product-card-rating strong { font-weight: 500; }
body.home .product-card-rating.is-empty { display: none; }
body.home .product-price-row,
body.home .product-carousel-shell .product-price-row { min-height: 28px; margin: 1px 0; align-items: center; }
body.home .product-carousel-shell .product-price-row .price { min-height: 0; }
body.home .price,
body.home .price ins { font-size: 17px; font-weight: 650; }
body.home .price del { font-weight: 400; }
body.home .product-card-saving { min-height: 0; margin: 0; font-weight: 500; }
body.home .product-card-availability {
  min-height: 0;
  margin: 2px 0 4px;
  font-weight: 400;
  line-height: 1.25;
}
body.home .product-cart-button,
body.home .woocommerce a.product-cart-button {
  width: 100%;
  min-height: 40px;
  margin-top: 4px !important;
  border: 1.5px solid #e23a22 !important;
  color: #cf2f19 !important;
  background: #fff !important;
  font-weight: 500;
}
body.home .product-cart-button:hover,
body.home .woocommerce a.product-cart-button:hover { color: #fff !important; background: #df3b23 !important; }
body.home .product-card-badge { font-weight: 600; }

/* The last rail uses the Best seller component unchanged; only its outer width differs. */
body.home .product-showcase { padding-top: 20px; padding-bottom: 20px; }
body.home .product-showcase .product-carousel-track { align-items: flex-start; }
body.home .product-showcase .product-carousel-track .product {
  align-self: flex-start;
  flex-basis: var(--product-card-width, 250px) !important;
  width: var(--product-card-width, 250px) !important;
}
body.home .product-showcase .product-card-saving { display: block; }

/* Shared product-card geometry: shop, categories, related items and cart rail. */
body:not(.woocommerce-cart) .woocommerce ul.products li.product {
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #f2f3f5;
  overflow: hidden;
}
body:not(.woocommerce-cart) .woocommerce ul.products li.product:hover { background: #eceff3; }
body:not(.woocommerce-cart) .woocommerce ul.products li.product .product-card-media {
  margin: -12px -12px 8px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
body:not(.woocommerce-cart) .woocommerce ul.products li.product .product-image,
body:not(.woocommerce-cart) .woocommerce ul.products li.product a img {
  width: 100%;
  height: 230px;
  margin: 0;
  border-radius: 12px 12px 0 0;
  object-fit: contain;
  background: #fff;
}
body:not(.woocommerce-cart) .woocommerce ul.products li.product .product-cart-button {
  width: 100%;
  min-height: 40px;
  margin-top: 4px !important;
  border: 1.5px solid #e23a22 !important;
  color: #cf2f19 !important;
  background: #fff !important;
  font-weight: 500;
}
body:not(.woocommerce-cart) .woocommerce ul.products li.product .product-cart-button:hover { color: #fff !important; background: #df3b23 !important; }
body.woocommerce-cart .puppy-cart-recommendation {
  flex-basis: 230px;
  padding: 10px;
  border-radius: 12px;
  background: #f2f3f5;
  overflow: hidden;
}
body.woocommerce-cart .puppy-cart-recommendation .product-card-media { margin: -10px -10px 8px; }
body.woocommerce-cart .puppy-cart-recommendation .product-image {
  width: auto;
  height: 230px;
  border-radius: 12px 12px 0 0;
  background: #fff;
}
body.woocommerce-cart .puppy-cart-recommendation .product-image img { object-fit: contain; }
body.woocommerce-cart .puppy-cart-recommendation .product-cart-button {
  margin-top: 4px;
  border: 1.5px solid #e23a22;
  color: #cf2f19 !important;
  background: #fff;
  font-weight: 500;
}
body.woocommerce-cart .puppy-cart-recommendation .product-cart-button:hover { color: #fff !important; background: #df3b23; }

/* Cart recommendations reuse the complete homepage Best Seller card treatment. */
body.woocommerce-cart .puppy-cart-recommendation {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 0;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  color: #242629;
  background: #f2f3f5;
  overflow: hidden;
}
body.woocommerce-cart .puppy-cart-recommendation:hover { background: #eceff3; }
body.woocommerce-cart .puppy-cart-recommendation .product-card-media {
  margin: -12px -12px 8px;
  overflow: hidden;
  border-radius: 12px 12px 0 0 !important;
}
body.woocommerce-cart .puppy-cart-recommendation .product-card-media > a {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0 !important;
  line-height: 0;
}
body.woocommerce-cart .puppy-cart-recommendation .product-image {
  width: 100%;
  height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0 !important;
  background: #fff;
}
body.woocommerce-cart .puppy-cart-recommendation .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  object-fit: contain;
  object-position: center;
}
body.woocommerce-cart .puppy-cart-recommendation .product-card-brand {
  min-height: 0;
  margin: 4px 0 2px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}
body.woocommerce-cart .puppy-cart-recommendation h3 {
  display: block;
  min-height: 40px;
  margin: 3px 0 4px;
  overflow: visible;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.32;
  text-overflow: clip;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}
body.woocommerce-cart .puppy-cart-recommendation h3 a { color: inherit; font-weight: inherit; }
body.woocommerce-cart .puppy-cart-recommendation .product-card-rating {
  min-height: 20px;
  gap: 5px;
  font-weight: 400;
}
body.woocommerce-cart .puppy-cart-recommendation .product-card-rating strong { font-weight: 500; }
body.woocommerce-cart .puppy-cart-recommendation .product-card-rating.is-empty { display: none; }
body.woocommerce-cart .puppy-cart-recommendation .product-price-row {
  min-height: 28px;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 1px 0;
}
body.woocommerce-cart .puppy-cart-recommendation .price {
  color: var(--sale);
  font-size: 17px;
  font-weight: 650;
}
body.woocommerce-cart .puppy-cart-recommendation .price ins { color: var(--sale); font-size: 17px; font-weight: 650; }
body.woocommerce-cart .puppy-cart-recommendation .price del { font-weight: 400; }
body.woocommerce-cart .puppy-cart-recommendation .product-card-saving {
  min-height: 0;
  margin: 0;
  font-weight: 500;
}
body.woocommerce-cart .puppy-cart-recommendation .product-card-availability {
  min-height: 0;
  margin: 2px 0 4px;
  font-weight: 400;
  line-height: 1.25;
}
body.woocommerce-cart .puppy-cart-recommendation .product-card-badges { display: flex; }
body.woocommerce-cart .puppy-cart-recommendation .product-card-badge { font-weight: 600; }
body.woocommerce-cart .puppy-cart-recommendation .product-cart-button {
  display: flex !important;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 4px !important;
  padding: 0 12px !important;
  border: 1.5px solid #e23a22;
  border-radius: 8px;
  color: #cf2f19 !important;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1 !important;
  text-align: center;
}
body.woocommerce-cart .puppy-cart-recommendation .product-cart-button:hover {
  color: #fff !important;
  background: #df3b23;
}

/* Small supporting text stays regular; prominent headings retain emphasis. */
body.home .sequence-copy p,
body.home .care-feature-copy p,
body.home .seasonal-banner p,
body.home .summer-promo-card p,
body.home .product > p { font-weight: 400; }

@media (max-width: 1320px) {
  .site-header .header-main { gap: 10px; }
  .site-header .header-main .brand-logo { width: 108px; }
  .site-header .header-main .search { max-width: 430px; min-width: 220px; }
  .header-utilities { gap: 16px; }
  .site-header .header-main .header-promises { display: flex !important; gap: 16px; }
  .site-header .header-main .header-actions { gap: 16px; }
  .site-header .header-main .header-promises a:nth-child(2),
  .site-header .header-main .header-promises a:nth-child(3) { display: flex !important; }
  .site-header .header-main .header-promises > a > strong,
  .site-header .header-main .header-actions > .header-menu > .header-menu-trigger > strong { font-size: 13px; font-weight: 700; }
  .site-header .header-main .header-promises .header-icon,
  .site-header .header-main .header-actions .header-icon { width: 34px; height: 34px; flex-basis: 34px; }
}

@media (max-width: 1000px) {
  .site-header .header-main { flex-wrap: wrap; }
  .site-header .header-main .brand { order: 1; }
  .header-utilities { order: 2; }
  .site-header .header-main .search { order: 3; max-width: none; flex-basis: 100%; }
  .site-header .header-main .header-promises > a > strong { display: none; }
  .site-header .header-main .header-actions > .header-menu > .header-menu-trigger > strong { font-size: 11px; }
}

@media (max-width: 760px) {
  .site-header .header-main { min-height: 112px; padding-top: 9px; padding-bottom: 9px; }
  .site-header .header-main .header-promises { display: flex !important; }
  .site-header .header-main .header-promises a:nth-child(2),
  .site-header .header-main .header-promises a:nth-child(3) { display: flex !important; }
  .site-header .header-main .header-actions > .header-menu > .header-menu-trigger > strong { display: none; }
  .site-header .header-main .header-promises .header-icon,
  .site-header .header-main .header-actions .header-icon { width: 26px; height: 26px; flex-basis: 26px; }
  .site-header .nav { border-top: 0; font-size: 13px; }
  body.home .carousel-slide::before,
  body.home .carousel-slide:nth-child(2)::before,
  body.home .carousel-slide:nth-child(3)::before {
    background: none;
  }
  body.home .product-image,
  body.home .best-seller-card .product-image,
  body.home .product-carousel-shell .product-image,
  body:not(.woocommerce-cart) .woocommerce ul.products li.product .product-image,
  body:not(.woocommerce-cart) .woocommerce ul.products li.product a img { height: 195px; }
  body.woocommerce-cart .puppy-cart-recommendation .product-image { height: 195px; }
  body.woocommerce-cart .puppy-cart-recommendation { flex-basis: 195px; }
}

@media (max-width: 480px) {
  .site-header .header-main .brand-logo { width: 96px; }
  .header-utilities { gap: 7px; }
  .site-header .header-main .header-promises { gap: 7px; }
  .site-header .header-main .header-actions { gap: 7px; }
  body.home .product { padding: 9px; }
  body.home .product-image,
  body.home .best-seller-card .product-image,
  body.home .product-carousel-shell .product-image,
  body:not(.woocommerce-cart) .woocommerce ul.products li.product .product-image,
  body:not(.woocommerce-cart) .woocommerce ul.products li.product a img { height: 155px; }
  body.woocommerce-cart .puppy-cart-recommendation .product-image { height: 155px; }
  body.woocommerce-cart .puppy-cart-recommendation { flex-basis: 155px; }
  body.home .product h3 { min-height: 38px; font-size: 13px; }
  body.home .product-card-availability { font-size: 11px; }
}

/* Homepage V5.3: the lower rail scales the complete Best seller card. The
   thumbnail well follows the card width instead of keeping a fixed height,
   and every DOM layer owns the same radius so the first item cannot fall back
   to WooCommerce/global image spacing or mismatched square corners. */
body.home .product-showcase .product-card-media {
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}
body.home .product-showcase .product-card-media > a {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  line-height: 0;
}
body.home .product-showcase .product-image,
body.home .product-showcase .best-seller-card .product-image {
  width: 100%;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}
body.home .product-showcase .product-image img,
body.home .product-showcase .best-seller-card .product-image img {
  display: block;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  object-position: center;
  background: transparent !important;
}

/* Homepage V5.4: remove the divider between the search row and category links,
   keep the lower product photos square along their bottom edge, and expand the
   footer into a support, directory, social and reassurance destination. */
.site-header .nav { border-top: 0; }

body.home .product-showcase .product-card-media,
body.home .product-showcase .product-card-media > a,
body.home .product-showcase .product-image,
body.home .product-showcase .best-seller-card .product-image,
body.home .product-showcase .product-image img,
body.home .product-showcase .best-seller-card .product-image img {
  border-radius: 12px 12px 0 0 !important;
}

.site-footer { margin-top: 0; padding: 0; color: var(--ink); background: #fff; }
.footer-support { color: #fff; background: var(--primary); }
.footer-support-inner { display: grid; min-height: 122px; grid-template-columns: minmax(280px, 1.35fr) auto auto auto; align-items: center; gap: clamp(24px, 4vw, 72px); padding-top: 22px; padding-bottom: 22px; }
.footer-support-title { margin: 0; }
.footer-support-title strong { display: block; color: #fff; font-size: clamp(20px, 1.8vw, 27px); letter-spacing: -.025em; }
.footer-support-title span { display: block; max-width: 510px; margin-top: 4px; color: rgba(255,255,255,.78); font-size: 13px; }
.footer-support-link { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; white-space: nowrap; }
.footer-support-link svg { width: 31px; height: 31px; flex: 0 0 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-support-link small { display: block; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 500; }
.footer-support-link strong { display: block; color: #fff; font-size: 16px; }
.footer-support-link:hover { color: #dce7ff !important; }
.footer-back-top { display: inline-flex; min-height: 54px; min-width: 168px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border-radius: 12px; color: var(--primary) !important; background: #fff; font-size: 15px; font-weight: 750; white-space: nowrap; }
.footer-back-top span { font-size: 24px; line-height: 1; }
.footer-back-top:hover { color: var(--primary-deep) !important; background: var(--primary-soft); text-decoration: none !important; }

.footer-main { padding: 42px 0 22px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(120px, .8fr)) 1.2fr; gap: clamp(24px, 3vw, 52px); }
.site-footer .footer-main .brand,
.site-footer .footer-main h3 { color: var(--ink); }
.site-footer .footer-main h3 { margin: 0 0 13px; font-size: 15px; letter-spacing: -.01em; }
.site-footer .footer-main p,
.site-footer .footer-main a { color: var(--muted); font-size: 14px; }
.site-footer .footer-main a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-brand p { max-width: 270px; margin: 14px 0 0; line-height: 1.55; }
.site-footer .brand-logo { filter: none; }
.footer-menu { gap: 9px; }
.footer-connect > p { max-width: 270px; margin-bottom: 17px; font-size: 13px !important; line-height: 1.5; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .footer-social { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff !important; }
.site-footer .footer-social:hover { color: #fff !important; text-decoration: none; transform: translateY(-2px); }
.site-footer .footer-social.is-disabled { opacity: .55; cursor: default; }
.site-footer .footer-social.is-disabled:hover { transform: none; }
.footer-social svg { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.footer-social .footer-social-cutout { fill: #fff; stroke: #fff; stroke-width: 1.5; }
.footer-social-facebook { background: #1877f2; }
.footer-social-youtube { background: #ff0033; }
.footer-social-instagram { background: #e60073; }
.footer-social-tiktok { background: #111; }

.footer-quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 38px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-quick-links span { color: var(--ink); font-weight: 650; }
.site-footer .footer-quick-links a { color: var(--ink); font-size: 14px; }
.footer-reassurance { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)) minmax(300px, 1.4fr); align-items: center; gap: 18px; padding: 26px 0; }
.footer-reassurance > div { display: grid; grid-template-columns: 38px 1fr; align-items: center; column-gap: 11px; }
.footer-reassurance > div > span:first-child { display: grid; width: 38px; height: 38px; grid-row: 1 / span 2; place-items: center; border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-weight: 800; }
.footer-reassurance strong { color: var(--ink); font-size: 13px; }
.footer-reassurance small { color: var(--muted); font-size: 11px; }
.footer-reassurance .footer-payments { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin: 0; padding: 0; border: 0; }
.footer-reassurance .footer-payments strong { display: flex; align-items: center; margin-right: 4px; }
.footer-reassurance .footer-payments span { display: inline-flex; min-height: 30px; align-items: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; color: #4d535a; background: #fff; font-size: 10px; font-weight: 750; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); color: #858b92; font-size: 12px; }

@media (max-width: 1100px) {
  .footer-support-inner { grid-template-columns: 1fr auto auto; gap: 22px 34px; }
  .footer-support-title { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .footer-connect { grid-column: span 2; }
  .footer-reassurance { grid-template-columns: repeat(3, 1fr); }
  .footer-reassurance .footer-payments { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .footer-support-inner { grid-template-columns: 1fr 1fr; }
  .footer-support-title,
  .footer-back-top { grid-column: 1 / -1; }
  .footer-back-top { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand,
  .footer-connect { grid-column: 1 / -1; }
  .footer-reassurance { grid-template-columns: 1fr 1fr; }
  .footer-reassurance .footer-payments { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-support-inner,
  .footer-grid,
  .footer-reassurance { grid-template-columns: 1fr; }
  .footer-support-link { white-space: normal; }
  .footer-brand,
  .footer-connect,
  .footer-reassurance .footer-payments { grid-column: auto; }
  .footer-quick-links { gap: 10px 18px; }
  .site-footer .footer-bottom { display: grid; gap: 5px; }
}

/* Product detail V2: reference-style information hierarchy with a single
   horizontal gallery. Product images never stack vertically. */
body.single-product .ipet-pdp-container { width: min(2000px, calc(100% - 32px)); }
body.single-product .ipet-pdp-breadcrumb { margin-top: 26px; margin-bottom: 24px; }
body.single-product .ipet-pdp-main { grid-template-columns: minmax(320px, 1.2fr) minmax(260px, .92fr) minmax(300px, 390px); gap: clamp(18px, 2vw, 38px); }

body.single-product .ipet-pdp-gallery-stage { min-height: 0; height: clamp(430px, 29vw, 580px); aspect-ratio: auto; border-radius: 12px; background: #f5f5f5; touch-action: pan-y; }
body.single-product .ipet-detail-image { min-height: 0; padding: clamp(26px, 4vw, 58px); }
body.single-product .ipet-detail-image img { width: 100% !important; height: 100% !important; max-height: 590px; object-fit: contain; opacity: 1; transition: opacity .14s ease; }
body.single-product .ipet-detail-image img.is-switching { opacity: .35; }
body.single-product .ipet-gallery-arrow { position: absolute; z-index: 4; top: 50%; display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--primary); background: rgba(255,255,255,.94); box-shadow: 0 5px 18px rgba(17,28,48,.14); font: inherit; cursor: pointer; transform: translateY(-50%); }
body.single-product .ipet-gallery-arrow span { margin-top: -3px; font-size: 34px; line-height: 1; }
body.single-product .ipet-gallery-arrow:hover { color: #fff; background: var(--primary); }
body.single-product .ipet-gallery-prev { left: 16px; }
body.single-product .ipet-gallery-next { right: 16px; }
body.single-product .ipet-gallery-count { position: absolute; z-index: 3; right: 18px; bottom: 16px; padding: 5px 10px; border-radius: 999px; color: #42484f; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 700; }
body.single-product .ipet-product-gallery .ipet-gallery-thumbs { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 14px; padding: 2px 0 5px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: thin; }
body.single-product .ipet-product-gallery .ipet-gallery-thumb { width: 74px; height: 74px; flex: 0 0 74px; scroll-snap-align: center; }

body.single-product .ipet-pdp-info-column { padding-top: 0; }
body.single-product .ipet-pdp-info-column > .ipet-pdp-kicker { display: none; }
body.single-product .ipet-pdp-info-column .product_title { font-size: clamp(29px, 2vw, 38px); line-height: 1.1; }
body.single-product .ipet-pdp-summary-copy { margin-top: 22px; padding: 17px 0; border-top: 1px solid var(--line); border-right: 0; border-bottom: 1px solid var(--line); border-left: 0; border-radius: 0; color: var(--muted); background: transparent; }
body.single-product .ipet-pdp-options { margin-top: 28px; }
body.single-product .ipet-pdp-option-group legend { font-size: 16px; }
body.single-product .ipet-pdp-option { min-height: 54px; padding-right: 18px; padding-left: 18px; }
body.single-product .ipet-pdp-benefits { margin-top: 28px; padding: 22px 0 0; border-top: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; }
body.single-product .ipet-pdp-benefits h2,
body.single-product .ipet-pdp-benefit strong { color: var(--ink); }
body.single-product .ipet-pdp-benefit small { color: var(--muted); }
body.single-product .ipet-pdp-benefit > span { border-color: #c8d8f4; color: var(--primary); background: var(--primary-soft); }

body.single-product .ipet-pdp-purchase-column { top: 18px; }
body.single-product .ipet-pdp-purchase-panel { padding: 0; border: 0; border-radius: 0; background: #fff; }
body.single-product .ipet-pdp-purchase-heading { display: flex; min-height: 54px; align-items: flex-start; justify-content: space-between; gap: 14px; }
body.single-product .ipet-pdp-price { margin: 0; color: var(--ink); font-size: clamp(34px, 2.5vw, 43px); font-weight: 760; letter-spacing: -.035em; }
body.single-product .ipet-pdp-price ins { color: var(--ink); }
body.single-product .ipet-pdp-price del { color: #777d84; font-size: 15px; }
body.single-product .ipet-pdp-sale-note { margin-top: 8px; padding: 5px 8px; border-radius: 5px; color: var(--sale); background: #fff0f3; font-size: 11px; font-weight: 700; white-space: nowrap; }
body.single-product .ipet-pdp-offers { margin-top: 18px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
body.single-product .ipet-pdp-offer { margin-top: 11px; padding-top: 0; border-top: 0; }
body.single-product .ipet-pdp-stock-row { margin-top: 0; padding: 20px 0; border-top: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
body.single-product .ipet-pdp-stock-row small { font-size: 13px; }
body.single-product .ipet-pdp-stock-row strong { font-size: 15px; }
body.single-product .ipet-pdp-cart-form { margin-top: 22px; }
body.single-product .ipet-pdp-cart-form form.cart { display: grid !important; grid-template-columns: 130px minmax(0,1fr); gap: 10px 14px; }
body.single-product .ipet-pdp-cart-form form.cart::before { grid-column: 1 / -1; }
body.single-product .ipet-pdp-cart-form form.cart .quantity { grid-column: 1; }
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button { width: 100%; min-height: 64px !important; grid-column: 1 / -1; margin-top: 8px !important; color: #fff !important; background: linear-gradient(180deg, #ff5a20 0%, #ed330b 100%) !important; font-size: 18px !important; }
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button:hover { background: linear-gradient(180deg, #f04c17 0%, #d92d08 100%) !important; }
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button.disabled,
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button:disabled { background: #9aa9c8 !important; cursor: not-allowed; }
body.single-product .ipet-pdp-cart-form .single_variation_wrap { width: 100%; grid-column: 1 / -1; }
body.single-product .ipet-pdp-cart-form .woocommerce-variation-add-to-cart { display: grid; width: 100%; grid-template-columns: 130px minmax(0,1fr); gap: 10px 14px; }
body.single-product .ipet-pdp-cart-form .woocommerce-variation-add-to-cart .single_add_to_cart_button { grid-column: 1 / -1; }
body.single-product .ipet-pdp-reassurance { gap: 14px; margin-top: 22px; padding-top: 20px; }
body.single-product .ipet-pdp-account-benefit { display: grid; grid-template-columns: 46px 1fr; gap: 12px; margin-top: 22px; padding: 18px; border: 1px solid #cfe0ff; border-radius: 12px; background: #f7faff; }
body.single-product .ipet-pdp-account-benefit > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font-weight: 800; }
body.single-product .ipet-pdp-account-benefit strong { color: var(--ink); font-size: 14px; }
body.single-product .ipet-pdp-account-benefit p { margin: 3px 0 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }
body.single-product .ipet-pdp-account-benefit a { color: var(--primary); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
body.single-product .ipet-pdp-payments { justify-content: center; padding-top: 18px; border-top: 1px solid var(--line); }

/* Quantity sits on the left; stock status sits above delivery on the right. */
body.single-product .ipet-pdp-buy-grid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: end;
  column-gap: 18px;
  row-gap: 20px;
  padding-top: 20px;
  border-bottom: 1px solid var(--line);
}
body.single-product .ipet-pdp-stock-row,
body.single-product .ipet-pdp-cart-form,
body.single-product .ipet-pdp-cart-form form.cart,
body.single-product .ipet-pdp-cart-form .single_variation_wrap,
body.single-product .ipet-pdp-cart-form .woocommerce-variation-add-to-cart {
  display: contents !important;
}
body.single-product .ipet-pdp-delivery-summary {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}
body.single-product .ipet-pdp-delivery-summary small {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
}
body.single-product .ipet-pdp-delivery-summary strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  overflow-wrap: anywhere;
}
body.single-product .ipet-pdp-quantity-unavailable,
body.single-product .ipet-pdp-cart-form form.cart .quantity {
  width: 110px;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  float: none !important;
  margin: 0 !important;
}
body.single-product .ipet-pdp-quantity-unavailable small,
body.single-product .ipet-pdp-cart-form form.cart .quantity::before {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  content: "Quantity";
  font-size: 13px;
  font-weight: 400;
}
body.single-product .ipet-pdp-quantity-unavailable strong {
  display: block;
  min-height: 44px;
  padding-top: 11px;
  color: var(--ink);
  font-size: 15px;
}
body.single-product .ipet-pdp-cart-form form.cart .quantity .qty {
  width: 110px !important;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid #9da1a5;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  text-align: center;
}
body.single-product .ipet-pdp-cart-form form.cart::before { display: none; content: none; }
body.single-product .ipet-pdp-cart-form .woocommerce-variation {
  grid-column: 1 / -1;
  width: 100%;
}
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button,
body.single-product .ipet-pdp-cart-form .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .ipet-pdp-cart-form form.cart .group_table {
  width: 100%;
  grid-column: 1 / -1;
  margin-top: 0 !important;
}
body.single-product .ipet-pdp-cart-form form.cart .single_add_to_cart_button { margin-bottom: 20px !important; }
body.single-product .ipet-pdp-cart-form .stock { display: none !important; }

@media (max-width: 520px) {
  body.single-product .ipet-pdp-buy-grid {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 12px;
  }
  body.single-product .ipet-pdp-delivery-summary small,
  body.single-product .ipet-pdp-cart-form form.cart .quantity::before,
  body.single-product .ipet-pdp-quantity-unavailable small { font-size: 11px; }
  body.single-product .ipet-pdp-delivery-summary strong { font-size: 12px; }
  body.single-product .ipet-pdp-quantity-unavailable,
  body.single-product .ipet-pdp-cart-form form.cart .quantity,
  body.single-product .ipet-pdp-cart-form form.cart .quantity .qty { width: 92px !important; }
}

@media (max-width: 1050px) {
  body.single-product .ipet-pdp-main { grid-template-columns: minmax(380px, 1.1fr) minmax(340px, .95fr); grid-template-areas: "gallery info" "gallery purchase"; }
  body.single-product .ipet-pdp-gallery-column { grid-area: gallery; }
  body.single-product .ipet-pdp-info-column { grid-area: info; }
  body.single-product .ipet-pdp-purchase-column { position: static; grid-area: purchase; }
}

@media (max-width: 900px) {
  body.single-product .ipet-pdp-main { grid-template-columns: 1fr; grid-template-areas: "gallery" "info" "purchase"; }
  body.single-product .ipet-pdp-gallery-stage { height: auto; aspect-ratio: 1.18 / 1; }
}

@media (max-width: 767px) {
  body.single-product .ipet-pdp-main { grid-template-areas: "mobile-title" "gallery" "info" "purchase"; }
  body.single-product .ipet-pdp-gallery-stage { aspect-ratio: 1 / 1; }
  body.single-product .ipet-gallery-arrow { width: 40px; height: 40px; }
  body.single-product .ipet-gallery-prev { left: 10px; }
  body.single-product .ipet-gallery-next { right: 10px; }
  body.single-product .ipet-product-gallery .ipet-gallery-thumb { width: 64px; height: 64px; flex-basis: 64px; }
  body.single-product .ipet-pdp-account-benefit { padding: 15px; }
  body.single-product .ipet-pdp-mobile-cart button { background: linear-gradient(180deg, #ff5a20 0%, #ed330b 100%); }
}

/* Header hover menus V7: compact real-page sizing. */
.site-header .header-main .header-actions > .header-menu { position: relative; z-index: 24; align-self: center; }
.site-header .header-main .header-actions > .header-menu::after { position: absolute; z-index: 0; inset: -20px -10px; content: ""; background: #1e49b7; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.site-header .header-main .header-actions > .header-menu:hover::after,
.site-header .header-main .header-actions > .header-menu:focus-within::after,
.site-header .header-main .header-actions > .header-menu.is-open::after {
  opacity: 1;
  pointer-events: auto;
}
.site-header .header-main .header-actions .header-menu-trigger { position: relative; z-index: 2; padding: 0 12px !important; }
.site-header .header-main .header-account-copy { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.site-header .header-main .header-account-copy small { margin-bottom: 2px; color: #fff; font-size: 10px; font-weight: 500; }
.site-header .header-main .header-account-copy strong { color: #fff; font-size: 15px; font-weight: 700; }
.site-header .header-main .header-actions .header-dropdown-chevron { display: inline-block; width: 10px; height: 10px; margin: -5px 1px 0 3px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); }
.site-header .header-main .header-menu:hover .header-dropdown-chevron,
.site-header .header-main .header-menu:focus-within .header-dropdown-chevron,
.site-header .header-main .header-menu.is-open .header-dropdown-chevron { transform: rotate(225deg) translate(-2px, -2px); }
.site-header .header-main .header-dropdown { top: calc(100% + 20px); padding: 0; border: 0; border-radius: 0 0 9px 9px; box-shadow: 0 7px 14px rgba(20, 28, 37, .28); }
.site-header .header-main .header-dropdown::before { top: -8px; right: 25px; width: 16px; height: 16px; border: 0; background: #fff; }
.site-header .header-main .header-dropdown::after {
  position: absolute;
  top: -20px;
  right: -10px;
  left: -10px;
  height: 20px;
  content: "";
  background: transparent;
}

.site-header .header-main .account-dropdown { width: 300px; }
.site-header .header-main .account-dropdown.is-guest { padding: 24px; }
.site-header .header-main .account-dropdown .dropdown-primary-button { min-height: 64px; padding: 0 18px; border: 0; border-radius: 14px; color: #fff !important; background: linear-gradient(135deg, #0f63ff 0%, #2449c8 100%); font-size: 16px !important; font-weight: 760; }
.site-header .header-main .account-dropdown .dropdown-primary-button:hover { color: #fff !important; background: linear-gradient(135deg, #0758ec 0%, #1c3eae 100%) !important; }
.site-header .header-main .account-dropdown.is-customer { max-height: calc(100vh - 96px); overflow-y: auto; }
.site-header .header-main .account-dropdown.is-customer > a { margin: 0; padding: 17px 22px; border-bottom: 1px solid #e1e1e1; border-radius: 0; color: #171717 !important; background: #fff; font-size: 16px; font-weight: 500; line-height: 1.35; white-space: normal; }
.site-header .header-main .account-dropdown.is-customer > a:last-child { border-bottom: 0; }
.site-header .header-main .account-dropdown.is-customer > a:hover { color: var(--primary) !important; background: #f4f7ff !important; }

.site-header .header-main .cart-dropdown { width: 400px; gap: 0; }
.site-header .header-main .cart-dropdown-summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 2px solid #f0f1f3; color: #111; font-size: 16px; font-weight: 800; }
.site-header .header-main .cart-dropdown-summary strong { color: #111; font-size: 18px; font-weight: 800; }
.site-header .header-main .cart-dropdown-shipping-wrap { padding: 16px 20px 12px; }
.site-header .header-main .cart-dropdown-shipping { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; color: #181818; font-size: 14px; }
.site-header .header-main .cart-dropdown-shipping strong { color: #181818; font-size: inherit; font-weight: 800; }
.site-header .header-main .cart-dropdown-truck { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header .header-main .cart-dropdown-progress { height: 8px; overflow: hidden; border-radius: 999px; background: #e9edf4; }
.site-header .header-main .cart-dropdown-progress span { display: block; height: 100%; border-radius: inherit; background: #254fd1; }
.site-header .header-main .cart-dropdown-actions { display: grid; gap: 10px; padding: 14px 20px 18px; }
.site-header .header-main .cart-dropdown-actions .dropdown-button { min-height: 52px; padding: 0 16px; border-radius: 13px; font-size: 15px !important; font-weight: 760; }
.site-header .header-main .cart-dropdown-actions .dropdown-button-outline { border: 2px solid #1552e5; color: #174ec7 !important; background: #fff; }
.site-header .header-main .cart-dropdown-actions .dropdown-button-outline:hover { color: #174ec7 !important; background: #f3f7ff !important; }
.site-header .header-main .cart-dropdown-actions .dropdown-button-primary { color: #fff !important; background: linear-gradient(180deg, #ff590f 0%, #ee260b 100%); }
.site-header .header-main .cart-dropdown-actions .dropdown-button-primary:hover { color: #fff !important; background: linear-gradient(180deg, #ef4c0b 0%, #d91e07 100%) !important; }
.site-header .header-main .cart-dropdown-items { display: flex; max-height: min(300px, 38vh); flex-direction: column; gap: 0; margin: 0 20px; overflow-y: auto; overscroll-behavior: contain; }
.site-header .header-main .cart-dropdown-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 0; border-top: 1px solid #ededed; white-space: normal; }
.site-header .header-main .cart-dropdown-item:first-child { border-top: 0; }
.site-header .header-main .cart-dropdown-item:hover { color: var(--ink) !important; background: transparent !important; }
.site-header .header-main .cart-dropdown-item-image { display: grid; width: 58px; height: 72px; place-items: center; overflow: hidden; border: 0; border-radius: 0; background: #fff; }
.site-header .header-main .cart-dropdown-item-image img { width: 100%; height: 100%; object-fit: contain; }
.site-header .header-main .cart-dropdown-item-info { gap: 6px; padding-top: 1px; }
.site-header .header-main .cart-dropdown-item-info strong { overflow: visible; color: #161616; font-size: 13px; font-weight: 500; line-height: 1.4; text-overflow: clip; white-space: normal; }
.site-header .header-main .cart-dropdown-item:hover .cart-dropdown-item-info strong { text-decoration: underline; text-underline-offset: 3px; }
.site-header .header-main .cart-dropdown-item-info span { color: #161616; font-size: 12px; line-height: 1.35; }
.site-header .header-main .cart-dropdown-more { margin: 0; padding: 15px 0 24px; border-top: 1px solid #ededed; color: var(--muted); font-size: 13px; }
.site-header .header-main .cart-dropdown-empty { margin: 0; padding: 24px 20px 10px; color: var(--muted); font-size: 14px; }
.site-header .header-main .cart-dropdown > .dropdown-button-primary { min-height: 52px; margin: 8px 20px 22px; border-radius: 13px; font-size: 15px !important; }

@media (max-width: 760px) {
  .site-header .header-main .account-dropdown { right: -40px; width: min(300px, calc(100vw - 28px)); }
  .site-header .header-main .account-dropdown.is-guest { padding: 20px; }
  .site-header .header-main .account-dropdown .dropdown-primary-button { min-height: 58px; border-radius: 13px; font-size: 15px !important; }
  .site-header .header-main .cart-dropdown { right: -6px; width: min(400px, calc(100vw - 16px)); }
}

/* Header logo and icon-only search. The same backend-managed custom logo is
   shared by header and footer; the header renders it white over the blue band. */
.site-header .header-main .brand-logo {
  width: 150px;
  max-height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.site-footer .footer-main .brand-logo {
  width: 150px;
  max-height: 58px;
  object-fit: contain;
  filter: none;
}
.site-header .header-main .search {
  min-height: 56px;
  flex: 1 1 580px;
  max-width: 700px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.site-header .header-main .search:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .28);
}
.site-header .header-main .search input {
  min-width: 0;
  flex: 1;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 400;
}
.site-header .header-main .search input::placeholder { color: #777d86; opacity: 1; }
.site-header .header-main .search button {
  display: grid;
  width: 64px;
  min-width: 64px;
  padding: 0;
  border: 0;
  place-items: center;
  color: var(--primary);
  background: #fff;
  cursor: pointer;
}
.site-header .header-main .search button svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.site-header .header-main .search button:hover { color: var(--primary-deep); background: #f3f6ff; }

@media (max-width: 1320px) {
  .site-header .header-main .brand-logo { width: 126px; max-height: 50px; }
  .site-header .header-main .search { max-width: 520px; }
}
@media (max-width: 1000px) {
  .site-header .header-main .search { width: 100%; max-width: none; flex-basis: 100%; }
}
@media (max-width: 760px) {
  .site-header .header-main .brand-logo { width: 112px; max-height: 44px; }
  .site-header .header-main .search { min-height: 50px; }
  .site-header .header-main .search input { padding: 0 15px; font-size: 16px; }
  .site-header .header-main .search button { width: 58px; min-width: 58px; }
  .site-header .header-main .search button svg { width: 26px; height: 26px; }
}
@media (max-width: 480px) {
  .site-header .header-main .brand-logo { width: 96px; }
}
/* Backend-managed three-level category mega menu.
   Level 1 stays horizontal, level 2 becomes columns, and level 3 is stacked. */
@media (min-width: 901px) {
  .site-header .nav {
    position: relative;
    z-index: 10;
    min-height: 50px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .site-header .nav-menu {
    position: static;
    align-self: stretch;
    gap: 14px;
  }

  .site-header .nav-menu,
  .site-header .nav-menu ul {
    list-style: none;
  }

  .site-header .nav-menu > li {
    position: static;
    display: flex;
    align-items: stretch;
    margin: 0;
  }

  .site-header .nav-menu > li > a {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    transition: color .16s ease, background-color .16s ease;
  }

  .site-header .nav-menu > li:hover > a,
  .site-header .nav-menu > li:focus-within > a,
  .site-header .nav-menu > li.current-menu-item > a,
  .site-header .nav-menu > li.current-menu-ancestor > a {
    color: #fff !important;
    background: var(--primary-deep);
  }

  /* Down arrow: WordPress adds menu-item-has-children automatically. */
  .site-header .nav-menu > li.menu-item-has-children > a::after {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
  }

  .site-header .nav-menu > li.menu-item-has-children:hover > a::after,
  .site-header .nav-menu > li.menu-item-has-children:focus-within > a::after {
    transform: translateY(3px) rotate(225deg);
  }

  /* First submenu: a responsive white mega-menu panel. */
  .site-header .nav-menu > li > .sub-menu {
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    display: flex;
    width: max-content;
    max-width: 100%;
    max-height: min(72vh, 720px);
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px 32px;
    margin: 0 !important;
    padding: 28px 32px 34px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #dfe3eb;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(8, 27, 72, .2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }

  .site-header .nav-menu > li:hover > .sub-menu,
  .site-header .nav-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Every level-2 item is one column. One item = one column; siblings add columns. */
  .site-header .nav-menu > li > .sub-menu > li {
    width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
    margin: 0;
    padding: 0;
  }

  .site-header .nav-menu > li > .sub-menu > li > a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e3e5e8;
    color: #181a1f !important;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
    white-space: normal;
  }

  .site-header .nav-menu > li > .sub-menu > li > a:hover,
  .site-header .nav-menu > li > .sub-menu > li > a:focus-visible {
    color: var(--primary) !important;
  }

  /* Right arrow on level-2 headings that contain level-3 links. */
  .site-header .nav-menu > li > .sub-menu > li.menu-item-has-children > a::after {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 2px solid #73777e;
    border-bottom: 2px solid #73777e;
    content: "";
    transform: rotate(-45deg);
  }

  /* Third level is always visible as a vertical list within its level-2 column. */
  .site-header .nav-menu > li > .sub-menu > li > .sub-menu {
    position: static;
    display: flex;
    width: auto;
    max-width: none;
    flex-direction: column;
    gap: 0;
    margin: 0 !important;
    padding: 8px 0 0 !important;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-header .nav-menu > li > .sub-menu > li > .sub-menu > li {
    margin: 0;
    padding: 0;
  }

  .site-header .nav-menu > li > .sub-menu > li > .sub-menu > li > a {
    display: block;
    padding: 7px 0;
    color: #272a30 !important;
    font-size: 15px;
    font-weight: 450;
    line-height: 1.35;
    white-space: normal;
  }

  .site-header .nav-menu > li > .sub-menu > li > .sub-menu > li > a:hover,
  .site-header .nav-menu > li > .sub-menu > li > .sub-menu > li > a:focus-visible {
    color: var(--primary) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* A branch with no level-3 children is a compact anchored dropdown, not a mega menu. */
  .site-header .nav-menu > li.puppy-menu-two-level-only {
    position: relative;
  }

  .site-header .nav-menu > li.puppy-menu-two-level-only > .sub-menu {
    left: 0;
    width: 300px;
    max-width: min(360px, calc(100vw - 32px));
    max-height: min(60vh, 520px);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
  }

  .site-header .nav-menu > li.puppy-menu-two-level-only > .sub-menu > li {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
  }

  .site-header .nav-menu > li.puppy-menu-two-level-only > .sub-menu > li > a {
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 550;
    line-height: 1.35;
  }

  .site-header .nav-menu > li.puppy-menu-two-level-only > .sub-menu > li > a:hover,
  .site-header .nav-menu > li.puppy-menu-two-level-only > .sub-menu > li > a:focus-visible {
    color: var(--primary) !important;
    background: #f2f4f8;
    text-decoration: none;
  }

  .site-header .nav-menu a:focus-visible {
    outline: 3px solid #ffd629;
    outline-offset: -3px;
  }
}

/* Keep the existing compact horizontal navigation on touch-sized screens. */
@media (max-width: 900px) {
  .site-header .nav-menu > li > .sub-menu {
    display: none !important;
  }

  .site-header .nav-menu > li.menu-item-has-children > a::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-menu > li > a,
  .site-header .nav-menu > li > .sub-menu {
    transition: none;
  }
}
/* Product-only search results. */
body.search .puppy-search-results {
  padding: 36px 0 72px;
  background: var(--canvas);
}

body.search .puppy-search-results > .container {
  width: min(1400px, calc(100% - 40px));
}

.puppy-search-header {
  margin-bottom: 28px;
}

.puppy-search-header .eyebrow {
  margin-bottom: 6px;
  color: var(--primary);
}

.puppy-search-header h1 {
  max-width: none;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 750;
  line-height: 1.12;
}

.puppy-search-count {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.puppy-search-refine {
  display: flex;
  width: min(760px, 100%);
  min-height: 50px;
  overflow: hidden;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: #fff;
}

.puppy-search-refine:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 61, 166, .14);
}

.puppy-search-refine input[type="search"] {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #fff;
  font-size: 16px;
}

.puppy-search-refine button {
  min-width: 112px;
  padding: 0 22px;
  border: 0;
  color: #fff;
  background: var(--primary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.puppy-search-refine button:hover {
  background: var(--primary-dark);
}

.search-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.search-product-grid > .product {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  transition: border-color .16s ease, transform .16s ease;
}

.search-product-grid > .product:hover {
  border-color: #b9c9e6;
  transform: translateY(-2px);
}

.search-product-grid .product-card-media,
.search-product-grid .product-card-media > a {
  display: block;
}

.search-product-grid .product-image {
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray-soft);
}

.search-product-grid .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-product-grid h3 {
  min-height: 44px;
  margin: 0 0 10px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-product-grid h3 a {
  color: var(--ink);
}

.search-product-grid h3 a:hover {
  color: var(--primary);
}

.search-product-grid .product-price-row {
  margin: 0 0 13px;
}

.search-product-grid .price,
.search-product-grid .price ins {
  color: var(--primary) !important;
  font-size: 18px;
  font-weight: 750;
}

.search-product-grid .price del {
  color: #777d86 !important;
  font-size: 13px;
  font-weight: 500;
}

.search-product-grid .product-cart-button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #fff !important;
  background: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.search-product-grid .product-cart-button:hover {
  color: #fff !important;
  background: var(--primary-dark);
}

.search-product-grid .product-cart-button.is-loading {
  opacity: .72;
  pointer-events: none;
}

.puppy-search-pagination {
  margin-top: 34px;
}

.puppy-search-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.puppy-search-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary);
  background: #fff;
}

.puppy-search-pagination .page-numbers.current,
.puppy-search-pagination a.page-numbers:hover {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.puppy-search-empty {
  min-height: 420px;
  padding: 44px 24px;
}

.puppy-search-suggestions {
  width: min(760px, 100%);
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.puppy-search-suggestions h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.puppy-search-suggestions > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.puppy-search-suggestions a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  background: #fff;
}

.puppy-search-suggestions a:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

@media (max-width: 1200px) {
  .search-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .search-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.search .puppy-search-results > .container {
    width: calc(100% - 20px);
  }

  .puppy-search-refine {
    min-height: 48px;
  }

  .puppy-search-refine button {
    min-width: 92px;
    padding: 0 14px;
  }

  .search-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .search-product-grid > .product {
    padding: 10px;
  }

  .search-product-grid h3 {
    min-height: 40px;
    font-size: 14px;
  }

  .search-product-grid .product-cart-button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
  }
}
/* Search-page isolation: WordPress adds the class "search" to <body>.
   Keep that class from inheriting legacy header-search form layout rules. */
body.search {
  display: block !important;
  width: 100%;
  min-height: 100%;
  flex: none !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--canvas);
}

body.search > .site-header,
body.search > main,
body.search > .site-footer {
  width: 100%;
  max-width: none;
}
/* Homepage service assurance replaces the former member-perks card. */
body.home .value-strip-inner {
  grid-template-columns: minmax(320px, .95fr) minmax(0, 2.5fr);
  align-items: stretch;
  gap: 10px;
  padding: 12px;
}

body.home .value-strip-assurance {
  position: relative;
  display: grid;
  min-height: 96px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  column-gap: 10px;
  row-gap: 0;
  padding: 12px 14px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, var(--primary-deep) 0%, #1f50cb 100%);
  text-decoration: none;
  cursor: pointer;
}

body.home .value-strip-assurance::after {
  position: absolute;
  right: -36px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
}

body.home .value-strip-assurance .assurance-shield {
  display: grid;
  width: 40px;
  height: 40px;
  grid-row: auto;
  place-items: center;
  border-radius: 50%;
  color: var(--primary-deep);
  background: #d8ff7a;
}

body.home .value-strip-assurance .assurance-shield svg {
  width: 22px;
  height: 22px;
}

body.home .value-strip-assurance .assurance-copy {
  position: relative;
  z-index: 1;
}

body.home .value-strip-assurance .assurance-copy .eyebrow {
  margin: 0 0 2px;
  color: #d8ff7a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.home .value-strip-assurance .assurance-copy > strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
}

body.home .value-strip-assurance .assurance-copy > p:last-child {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, .84);
  font-size: 11.5px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home .value-strip-assurance .button {
  position: relative;
  z-index: 1;
  min-height: 32px;
  grid-column: 3;
  margin: 0;
  padding: 0 11px;
  border: 0;
  color: var(--primary-deep) !important;
  background: #fff;
  font-size: 12px;
}

body.home .value-strip-services {
  gap: 10px;
}

body.home .value-strip-services > a {
  position: relative;
  min-height: 96px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #fff;
}

body.home .value-strip-services > a > .service-icon {
  display: grid;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
}

body.home .value-strip-services > a > .service-icon svg {
  width: 20px;
  height: 20px;
}

body.home .value-strip-services > a > .service-copy {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  border-radius: 0;
  color: inherit;
  background: transparent;
}

body.home .value-strip-services > a > .service-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

body.home .value-strip-services > a > .service-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home .value-strip-services > a > .service-arrow {
  display: block;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  margin-top: 0;
  margin-left: auto;
  border-radius: 0;
  color: var(--primary);
  background: transparent;
  font-size: 16px;
  line-height: 1;
}

body.home .value-strip-services > a:hover {
  border-color: #9db8ec;
  color: var(--primary);
  background: var(--primary-soft);
}

body.home .value-strip-services > a:hover > .service-icon {
  color: #fff;
  background: var(--primary);
}

@media (max-width: 1100px) {
  body.home .value-strip-inner {
    grid-template-columns: 1fr;
  }

  body.home .value-strip-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.home .value-strip-assurance {
    min-height: 96px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 11px 13px;
  }

  body.home .value-strip-assurance .assurance-shield {
    width: 38px;
    height: 38px;
  }

  body.home .value-strip-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .value-strip-services > a {
    min-height: 84px;
  }
}

@media (max-width: 480px) {
  body.home .value-strip-assurance {
    min-height: 92px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  body.home .value-strip-assurance .button {
    display: none;
  }

  body.home .value-strip-services {
    grid-template-columns: 1fr;
  }

  body.home .value-strip-services > a {
    min-height: 74px;
  }
}

/* Contact Us page. */
.ipet-contact-page {
  color: var(--ink);
  background: #f5f7fb;
}

.ipet-contact-page .container {
  width: min(1320px, calc(100% - 40px));
}

.ipet-contact-hero {
  padding: 46px 0;
  color: #fff;
  background: var(--primary-deep);
}

.ipet-contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: 46px;
  align-items: center;
}

.ipet-contact-hero-copy .eyebrow,
.ipet-contact-promise .eyebrow,
.ipet-contact-page .ipet-contact-section-heading .eyebrow,
.ipet-contact-help-card > .eyebrow {
  margin: 0 0 8px;
  color: #b9ff63;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ipet-contact-hero-copy h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 760;
  line-height: .98;
  letter-spacing: -.055em;
}

.ipet-contact-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.6;
}

.ipet-contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.ipet-contact-hero-actions .button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  color: var(--primary-deep);
  background: #b9ff63;
}

.ipet-contact-hero-actions .button:hover {
  color: var(--primary-deep);
  background: #a7ef4c;
}

.ipet-contact-text-link {
  color: #fff;
  font-weight: 650;
}

.ipet-contact-text-link:hover {
  color: #b9ff63;
}

.ipet-contact-promise {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.ipet-contact-promise-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary-deep);
  background: #b9ff63;
}

.ipet-contact-promise-icon svg {
  width: 30px;
  height: 30px;
}

.ipet-contact-promise h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

.ipet-contact-promise > p:not(.eyebrow) {
  color: rgba(255, 255, 255, .8);
}

.ipet-contact-promise ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ipet-contact-promise li {
  display: flex;
  gap: 9px;
  color: #fff;
  font-size: 14px;
}

.ipet-contact-promise li::before {
  color: #b9ff63;
  content: "✓";
  font-weight: 800;
}

.ipet-contact-methods {
  padding: 52px 0 30px;
}

.ipet-contact-section-heading {
  margin-bottom: 22px;
}

.ipet-contact-page .ipet-contact-section-heading .eyebrow,
.ipet-contact-help-card > .eyebrow {
  color: var(--primary);
}

.ipet-contact-section-heading h2,
.ipet-contact-help-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 720;
}

.ipet-contact-section-heading > p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
}

.ipet-contact-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ipet-contact-method-grid > a {
  display: grid;
  min-height: 150px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}

.ipet-contact-method-grid > a:hover {
  border-color: #9db8ec;
  color: var(--primary);
  background: var(--primary-soft);
}

.ipet-contact-method-grid > a > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
}

.ipet-contact-method-grid > a:hover > span {
  color: #fff;
  background: var(--primary);
}

.ipet-contact-method-grid svg {
  width: 26px;
  height: 26px;
}

.ipet-contact-method-grid strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 680;
}

.ipet-contact-method-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.ipet-contact-method-grid b {
  color: var(--primary);
  font-size: 20px;
  font-weight: 500;
}

.ipet-contact-workspace {
  padding: 26px 0 76px;
}

.ipet-contact-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  align-items: start;
}

.ipet-contact-form-card,
.ipet-contact-help-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.ipet-contact-notice {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.ipet-contact-notice.is-success {
  border: 1px solid #b9dda7;
  color: #205c24;
  background: #efffdf;
}

.ipet-contact-notice.is-error {
  border: 1px solid #efb2b2;
  color: #92252d;
  background: #fff0f1;
}

.ipet-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ipet-contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ipet-contact-field.is-full,
.ipet-contact-submit.is-full {
  grid-column: 1 / -1;
}

.ipet-contact-field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.ipet-contact-field label span {
  color: var(--sale);
}

.ipet-contact-form input,
.ipet-contact-form select,
.ipet-contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.ipet-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.ipet-contact-form input:focus,
.ipet-contact-form select:focus,
.ipet-contact-form textarea:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(24, 61, 166, .12);
}

.ipet-contact-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.ipet-contact-submit button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.ipet-contact-submit button:hover {
  background: var(--primary-dark);
}

.ipet-contact-submit small {
  color: var(--muted);
}

.ipet-contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ipet-contact-help-card {
  position: sticky;
  top: 20px;
}

.ipet-contact-help-card > a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.ipet-contact-help-card > a:hover {
  color: var(--primary);
}

.ipet-contact-help-card > a > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 11px;
  font-weight: 750;
}

.ipet-contact-help-card strong {
  color: var(--ink);
  font-size: 15px;
}

.ipet-contact-help-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.ipet-contact-help-card b {
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
}

.ipet-contact-business-email {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--primary-soft);
}

.ipet-contact-business-email strong {
  display: block;
  margin-bottom: 4px;
}

.ipet-contact-business-email a {
  color: var(--primary);
  word-break: break-word;
}

@media (max-width: 900px) {
  .ipet-contact-hero-grid,
  .ipet-contact-workspace-grid {
    grid-template-columns: 1fr;
  }

  .ipet-contact-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ipet-contact-help-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .ipet-contact-page .container {
    width: calc(100% - 20px);
  }

  .ipet-contact-hero {
    padding: 34px 0;
  }

  .ipet-contact-hero-copy h1 {
    font-size: 44px;
  }

  .ipet-contact-method-grid,
  .ipet-contact-form {
    grid-template-columns: 1fr;
  }

  .ipet-contact-field.is-full,
  .ipet-contact-submit.is-full {
    grid-column: auto;
  }

  .ipet-contact-form-card,
  .ipet-contact-help-card {
    padding: 22px 18px;
  }
}

/* Search controls V5.5: compact typography, calm blue palette, and a stable
   submit-button colour. Scoped to the two product-search forms only. */
.site-header .header-main .search {
  position: relative;
  z-index: 20;
  min-height: 50px;
  overflow: visible;
  border: 1px solid #cbd8ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.site-header .header-main .search:focus-within {
  border-color: #a9bfe9;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .2);
}

.site-header .header-main .search input[type="search"] {
  padding: 0 17px;
  appearance: none;
  color: #17233c;
  background: #fff;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
}

.site-header .header-main .search input[type="search"]::placeholder {
  color: #747e8f;
  opacity: 1;
}

.site-header .header-main .search button {
  width: 58px;
  min-width: 58px;
  border-left: 1px solid #d7e2f5;
  color: #234fbf;
  border-radius: 0 9px 9px 0;
  background: #fff;
  transition: none;
}

.site-header .header-main .search button:hover,
.site-header .header-main .search button:focus-visible,
.site-header .header-main .search button:active {
  color: #234fbf;
  background: #fff;
  box-shadow: none;
  transform: none;
}

.site-header .header-main .search button svg {
  width: 25px;
  height: 25px;
}

.puppy-search-suggest-panel[hidden] {
  display: none !important;
}

.puppy-search-suggest-panel {
  position: absolute;
  z-index: 100;
  top: calc(100% + 7px);
  right: -1px;
  left: -1px;
  max-height: min(560px, calc(100vh - 150px));
  padding: 18px 22px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #cfd3da;
  border-radius: 0;
  color: #171717;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 28, 51, .18);
}

.puppy-search-suggest-list,
.puppy-search-suggest-group {
  display: flex;
  flex-direction: column;
}

.puppy-search-suggest-group {
  gap: 4px;
}

.puppy-search-suggest-group + .puppy-search-suggest-group {
  margin-top: 20px;
}

.puppy-search-suggest-item {
  display: grid;
  min-height: 48px;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 0;
  color: #171717 !important;
  background: #fff;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

.puppy-search-suggest-item:hover,
.puppy-search-suggest-item:focus-visible,
.puppy-search-suggest-item.is-active {
  color: #171717 !important;
  background: #f2f2f2;
  outline: 0;
}

.puppy-search-suggest-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #111;
}

.puppy-search-suggest-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.puppy-search-suggest-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.puppy-search-suggest-label strong {
  font-weight: 750;
}

.puppy-search-refine {
  min-height: 48px;
  border-color: #cbd5e6;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.puppy-search-refine:focus-within {
  border-color: #8fa9dd;
  box-shadow: 0 0 0 3px rgba(35, 79, 191, .1);
}

.puppy-search-refine input[type="search"] {
  padding: 0 16px;
  appearance: none;
  color: #17233c;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.puppy-search-refine input[type="search"]::placeholder {
  color: #747e8f;
  opacity: 1;
}

.puppy-search-refine button {
  min-width: 104px;
  padding: 0 20px;
  color: #fff;
  background: #234fbf;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  transition: none;
}

.puppy-search-refine button:hover,
.puppy-search-refine button:focus-visible,
.puppy-search-refine button:active {
  color: #fff;
  background: #234fbf;
  box-shadow: none;
  transform: none;
}

@media (max-width: 760px) {
  .site-header .header-main .search {
    min-height: 48px;
  }

  .site-header .header-main .search input[type="search"] {
    padding: 0 14px;
    font-size: 15px;
  }

  .site-header .header-main .search button {
    width: 54px;
    min-width: 54px;
  }

  .site-header .header-main .search button svg {
    width: 24px;
    height: 24px;
  }

  .puppy-search-suggest-panel {
    top: calc(100% + 6px);
    max-height: min(480px, calc(100vh - 132px));
    padding: 12px;
  }

  .puppy-search-suggest-item {
    min-height: 44px;
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 8px;
    font-size: 15px;
  }

  .puppy-search-suggest-icon,
  .puppy-search-suggest-icon svg {
    width: 20px;
    height: 20px;
  }

  .puppy-search-refine button {
    min-width: 92px;
    padding: 0 14px;
  }
}

/* Shipping and Returns information pages. */
.ipet-policy-page {
  color: var(--ink);
  background: #f5f7fb;
}

.ipet-policy-page .container {
  width: min(1260px, calc(100% - 40px));
}

.ipet-policy-hero {
  padding: 52px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep) 0%, #2454c8 100%);
}

.ipet-policy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  gap: 46px;
  align-items: center;
}

.ipet-policy-page .eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ipet-policy-hero .eyebrow,
.ipet-policy-highlight .eyebrow,
.ipet-policy-cta .eyebrow {
  color: #b9ff63;
}

.ipet-policy-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 5.6vw, 70px);
  font-weight: 740;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.ipet-policy-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.6;
}

.ipet-policy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.ipet-policy-actions .button,
.ipet-policy-cta .button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  color: var(--primary-deep) !important;
  background: #b9ff63;
  font-size: 15px;
  font-weight: 750;
}

.ipet-policy-actions .button:hover,
.ipet-policy-cta .button:hover {
  color: var(--primary-deep) !important;
  background: #a7ef4c;
}

.ipet-policy-text-link {
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}

.ipet-policy-text-link:hover {
  color: #b9ff63;
}

.ipet-policy-highlight {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .09);
}

.ipet-policy-highlight > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary-deep);
  background: #b9ff63;
}

.ipet-policy-highlight svg {
  width: 31px;
  height: 31px;
}

.ipet-policy-highlight > strong {
  display: block;
  color: #fff;
  font-size: 25px;
  font-weight: 720;
  line-height: 1.25;
}

.ipet-policy-highlight > p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
}

.ipet-policy-summary,
.ipet-policy-process,
.ipet-policy-details,
.ipet-policy-faq {
  padding: 58px 0;
}

.ipet-policy-process,
.ipet-policy-faq {
  background: #fff;
}

.ipet-policy-heading {
  margin-bottom: 24px;
}

.ipet-policy-heading h2,
.ipet-policy-details h2,
.ipet-policy-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(29px, 4vw, 40px);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.ipet-policy-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ipet-policy-card-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.ipet-policy-card-grid article > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 800;
}

.ipet-policy-card-grid h3,
.ipet-policy-steps h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}

.ipet-policy-card-grid p,
.ipet-policy-steps p,
.ipet-policy-details li,
.ipet-policy-faq-list p,
.ipet-policy-cta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ipet-policy-card-grid p,
.ipet-policy-steps p,
.ipet-policy-cta p {
  margin: 0;
}

.ipet-policy-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ipet-policy-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.ipet-policy-steps li + li {
  border-left: 0;
}

.ipet-policy-steps li:first-child {
  border-radius: 12px 0 0 12px;
}

.ipet-policy-steps li:last-child {
  border-radius: 0 12px 12px 0;
}

.ipet-policy-steps li > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
}

.ipet-policy-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ipet-policy-details article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.ipet-policy-details h2 {
  font-size: 30px;
}

.ipet-policy-details ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ipet-policy-details li {
  position: relative;
  padding-left: 24px;
}

.ipet-policy-details li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--primary);
  content: "✓";
  font-weight: 800;
}

.ipet-policy-faq-list {
  border-top: 1px solid var(--line);
}

.ipet-policy-faq-list details {
  border-bottom: 1px solid var(--line);
}

.ipet-policy-faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 680;
  cursor: pointer;
  list-style: none;
}

.ipet-policy-faq-list summary::-webkit-details-marker {
  display: none;
}

.ipet-policy-faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--primary);
  content: "+";
  font-size: 24px;
  font-weight: 500;
}

.ipet-policy-faq-list details[open] summary::after {
  content: "−";
}

.ipet-policy-faq-list p {
  max-width: 900px;
  margin: -4px 0 20px;
}

.ipet-policy-cta {
  padding: 0 0 72px;
}

.ipet-policy-cta .container {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 38px;
  border-radius: 14px;
  color: #fff;
  background: var(--primary-deep);
}

.ipet-policy-cta h2 {
  color: #fff;
}

.ipet-policy-cta p:last-child {
  max-width: 720px;
  margin-top: 9px;
  color: rgba(255, 255, 255, .78);
}

.ipet-policy-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .ipet-policy-hero-grid,
  .ipet-policy-details-grid {
    grid-template-columns: 1fr;
  }

  .ipet-policy-card-grid,
  .ipet-policy-steps {
    grid-template-columns: 1fr;
  }

  .ipet-policy-steps li + li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .ipet-policy-steps li:first-child {
    border-radius: 12px 12px 0 0;
  }

  .ipet-policy-steps li:last-child {
    border-radius: 0 0 12px 12px;
  }

  .ipet-policy-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ipet-policy-page .container {
    width: calc(100% - 20px);
  }

  .ipet-policy-hero {
    padding: 38px 0;
  }

  .ipet-policy-hero-grid {
    gap: 28px;
  }

  .ipet-policy-hero-copy h1 {
    font-size: 43px;
  }

  .ipet-policy-hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .ipet-policy-highlight,
  .ipet-policy-card-grid article,
  .ipet-policy-details article {
    padding: 22px 18px;
  }

  .ipet-policy-summary,
  .ipet-policy-process,
  .ipet-policy-details,
  .ipet-policy-faq {
    padding: 42px 0;
  }

  .ipet-policy-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 20px 18px;
  }

  .ipet-policy-steps li > span {
    width: 40px;
    height: 40px;
  }

  .ipet-policy-cta {
    padding-bottom: 50px;
  }

  .ipet-policy-cta .container {
    padding: 28px 20px;
  }

  .ipet-policy-cta .button {
    width: 100%;
  }
}

/* Chewy-inspired add-to-cart confirmation drawer. */
body.ipet-cart-drawer-open {
  overflow: hidden;
}

.ipet-cart-drawer-shell {
  position: fixed;
  /* WordPress's logged-in admin bar uses z-index: 99999. */
  z-index: 1000000;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.ipet-cart-drawer-shell.is-open {
  visibility: visible;
  pointer-events: auto;
}

.ipet-cart-drawer-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(20, 28, 38, .46);
  opacity: 0;
  transition: opacity .24s ease;
  cursor: default;
}

.ipet-cart-drawer-shell.is-open .ipet-cart-drawer-overlay {
  opacity: 1;
}

.ipet-cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: clamp(540px, 43vw, 760px);
  height: 100%;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  box-shadow: -16px 0 44px rgba(16, 31, 51, .18);
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transform: translateX(102%);
  transition: transform .28s cubic-bezier(.22, .8, .24, 1);
}

.ipet-cart-drawer-shell.is-open .ipet-cart-drawer {
  transform: translateX(0);
}

.ipet-cart-drawer-header {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 28px 17px;
  border-bottom: 1px solid var(--line);
}

.ipet-cart-drawer-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #176b31;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.ipet-cart-drawer-header h2 > span {
  font-size: 21px;
  line-height: 1;
}

.ipet-cart-drawer-close {
  position: absolute;
  top: 3px;
  right: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 2px solid #e6e8eb;
  border-radius: 50%;
  color: #1c2025;
  background: #fff;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.ipet-cart-drawer-close:hover,
.ipet-cart-drawer-close:focus-visible {
  border-color: #b8bec7;
  color: #1c2025;
  background: #fff;
}

.ipet-cart-drawer-body {
  padding: 26px 30px 34px;
  overflow-y: auto;
  transition: opacity .16s ease;
}

.ipet-cart-drawer-shell.is-loading .ipet-cart-drawer-body {
  opacity: .58;
}

.ipet-cart-drawer-item {
  display: grid;
  min-height: 168px;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 28px;
  color: var(--ink) !important;
  text-decoration: none;
}

.ipet-cart-drawer-image {
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f6f7;
}

.ipet-cart-drawer-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.ipet-cart-drawer-item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding-top: 5px;
}

.ipet-cart-drawer-item-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.ipet-cart-drawer-item-copy > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ipet-cart-drawer-item-copy .amount {
  color: var(--ink);
  font-weight: 400;
}

.ipet-cart-drawer-summary {
  padding: 27px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ipet-cart-drawer-shipping {
  margin: 0 0 11px;
  color: #282d33;
  font-size: 16px;
  line-height: 1.35;
}

.ipet-cart-drawer-shipping strong {
  font-size: 18px;
  font-weight: 400;
}

.ipet-cart-drawer-progress {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #dceaf8;
}

.ipet-cart-drawer-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width .35s ease;
}

.ipet-cart-drawer-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  color: #42474d;
  font-size: 16px;
}

.ipet-cart-drawer-subtotal > strong {
  font-weight: 400;
}

.ipet-cart-drawer-subtotal > span,
.ipet-cart-drawer-subtotal .amount {
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
}

.ipet-cart-drawer-actions {
  display: grid;
  grid-template-columns: minmax(170px, .85fr) minmax(260px, 1.65fr);
  gap: 14px;
  padding-top: 24px;
}

.ipet-cart-drawer-actions a {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}

/* Keep every drawer label regular even when WooCommerce outputs <strong>. */
.ipet-cart-drawer h2,
.ipet-cart-drawer strong,
.ipet-cart-drawer b,
.ipet-cart-drawer .amount,
.ipet-cart-drawer-actions a {
  font-weight: 400 !important;
}

/* The drawer replaces WooCommerce's small link injected below product cards. */
.product .added_to_cart.wc-forward,
li.product .added_to_cart.wc-forward {
  display: none !important;
}

.ipet-cart-drawer-view {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: #fff;
}

.ipet-cart-drawer-view:hover {
  color: var(--primary-dark) !important;
  background: var(--primary-soft);
}

.ipet-cart-drawer-checkout {
  border: 2px solid transparent;
  color: #fff !important;
  background: linear-gradient(180deg, #ff5a20 0%, #ed330b 100%);
}

.ipet-cart-drawer-checkout:hover {
  color: #fff !important;
  background: linear-gradient(180deg, #f04c17 0%, #d92d08 100%);
}

@media (max-width: 760px) {
  .ipet-cart-drawer {
    width: 100%;
  }

  .ipet-cart-drawer-header {
    min-height: 66px;
    padding: 14px 18px 15px;
  }

  .ipet-cart-drawer-header h2 {
    font-size: 18px;
  }

  .ipet-cart-drawer-close {
    top: 4px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 29px;
  }

  .ipet-cart-drawer-body {
    padding: 22px 18px 28px;
  }

  .ipet-cart-drawer-item {
    min-height: 120px;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
  }

  .ipet-cart-drawer-image {
    width: 104px;
    height: 104px;
  }

  .ipet-cart-drawer-item-copy strong {
    font-size: 16px;
  }

  .ipet-cart-drawer-actions {
    grid-template-columns: 1fr;
  }

  .ipet-cart-drawer-actions a {
    min-height: 56px;
  }
}

/* Homepage lower product rail: keep the promotion and product cards aligned. */
body.home .product-showcase .product h3 {
  height: 2.64em;
  min-height: 2.64em;
  max-height: 2.64em;
  overflow: hidden;
}

body.home .product-showcase .product h3 a {
  display: -webkit-box;
  overflow: hidden;
  line-height: inherit;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

@media (min-width: 761px) {
  body.home .product-showcase-layout {
    align-items: stretch;
  }

  body.home .product-showcase .summer-promo-card {
    height: 100%;
    min-height: 0;
    align-self: stretch;
    box-sizing: border-box;
  }

  body.home .product-showcase .product-carousel-shell,
  body.home .product-showcase .product-carousel-viewport,
  body.home .product-showcase .product-carousel-track {
    height: 100%;
  }

  body.home .product-showcase .product-carousel-track {
    align-items: stretch;
  }

  body.home .product-showcase .product-carousel-track .product {
    height: auto;
    align-self: stretch;
  }
}


/* Cart V4: clear-all control and a first-party empty-cart experience. */
body.woocommerce-cart .puppy-cart-heading {
  align-items: center;
}
body.woocommerce-cart .puppy-cart-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.woocommerce-cart .puppy-cart-clear-button {
  appearance: none;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #e4a8a0;
  border-radius: 8px;
  color: #b92d1a;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
body.woocommerce-cart .puppy-cart-clear-button:hover {
  border-color: #df3b23;
  color: #fff;
  background: #df3b23;
}
body.woocommerce-cart .puppy-cart-clear-button:focus-visible {
  outline: 3px solid rgba(223, 59, 35, .2);
  outline-offset: 2px;
}

body.woocommerce-cart .puppy-cart-empty-page {
  box-sizing: border-box;
  width: 100%;
  margin: 24px 0 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
body.woocommerce-cart .puppy-cart-empty-content {
  max-width: 670px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  text-align: center;
}
body.woocommerce-cart .puppy-cart-empty-page-icon {
  display: inline-grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
}
body.woocommerce-cart .puppy-cart-empty-eyebrow {
  margin: 20px 0 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.woocommerce-cart .puppy-cart-empty-page h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.035em;
}
body.woocommerce-cart .puppy-cart-empty-copy {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}
body.woocommerce-cart .puppy-cart-empty-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
body.woocommerce-cart .puppy-cart-empty-primary,
body.woocommerce-cart .puppy-cart-empty-secondary {
  display: inline-flex;
  min-width: 150px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
body.woocommerce-cart .puppy-cart-empty-primary {
  color: #fff;
  background: var(--primary);
}
body.woocommerce-cart .puppy-cart-empty-primary:hover {
  border-color: var(--primary-dark);
  color: #fff;
  background: var(--primary-dark);
}
body.woocommerce-cart .puppy-cart-empty-secondary {
  color: var(--primary);
  background: #fff;
}
body.woocommerce-cart .puppy-cart-empty-secondary:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}
body.woocommerce-cart .puppy-cart-empty-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: #f8f9fb;
}
body.woocommerce-cart .puppy-cart-empty-benefits > div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 22px 18px;
}
body.woocommerce-cart .puppy-cart-empty-benefits > div + div {
  border-left: 1px solid var(--line);
}
body.woocommerce-cart .puppy-cart-empty-benefits > div > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-size: 13px;
  line-height: 1;
}
body.woocommerce-cart .puppy-cart-empty-benefits p {
  margin: 0;
  text-align: left;
}
body.woocommerce-cart .puppy-cart-empty-benefits strong,
body.woocommerce-cart .puppy-cart-empty-benefits small {
  display: block;
}
body.woocommerce-cart .puppy-cart-empty-benefits strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
body.woocommerce-cart .puppy-cart-empty-benefits small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 760px) {
  body.woocommerce-cart .puppy-cart-heading {
    align-items: flex-start;
  }
  body.woocommerce-cart .puppy-cart-heading-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
  }
  body.woocommerce-cart .puppy-cart-clear-button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }
  body.woocommerce-cart .puppy-cart-empty-page {
    margin: 14px 0 28px;
  }
  body.woocommerce-cart .puppy-cart-empty-content {
    padding: 52px 20px 46px;
  }
  body.woocommerce-cart .puppy-cart-empty-actions {
    flex-direction: column;
  }
  body.woocommerce-cart .puppy-cart-empty-primary,
  body.woocommerce-cart .puppy-cart-empty-secondary {
    width: 100%;
  }
  body.woocommerce-cart .puppy-cart-empty-benefits {
    grid-template-columns: 1fr;
  }
  body.woocommerce-cart .puppy-cart-empty-benefits > div {
    justify-content: flex-start;
    padding: 16px 20px;
  }
  body.woocommerce-cart .puppy-cart-empty-benefits > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}


/* Cart line savings use the product's real regular and current prices. */
body.woocommerce-cart .puppy-cart-line-saving {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--success);
  background: var(--success-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}
body.woocommerce-cart .puppy-cart-line-saving-icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-size: 10px;
  line-height: 1;
}
body.woocommerce-cart .puppy-cart-line-saving strong {
  font-weight: 600;
}


/* Order-summary details and coupon controls are interactive, not decorative. */
body.woocommerce-cart button.puppy-cart-see-details {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  color: var(--primary);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
body.woocommerce-cart button.puppy-cart-see-details:hover {
  color: var(--primary-dark);
}
body.woocommerce-cart button.puppy-cart-see-details:focus-visible {
  outline: 3px solid rgba(23, 87, 200, .2);
  outline-offset: 3px;
}
body.woocommerce-cart .puppy-cart-details-panel {
  margin: 11px 0 4px;
  padding: 4px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
body.woocommerce-cart .puppy-cart-details-panel[hidden] {
  display: none !important;
}
body.woocommerce-cart .puppy-cart-detail-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}
body.woocommerce-cart .puppy-cart-detail-item + .puppy-cart-detail-item {
  border-top: 1px solid #eff0f2;
}
body.woocommerce-cart .puppy-cart-detail-copy {
  min-width: 0;
}
body.woocommerce-cart .puppy-cart-detail-copy strong,
body.woocommerce-cart .puppy-cart-detail-copy small {
  display: block;
}
body.woocommerce-cart .puppy-cart-detail-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.woocommerce-cart .puppy-cart-detail-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
body.woocommerce-cart .puppy-cart-detail-price {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
body.woocommerce-cart button.puppy-cart-promo-toggle {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
}
body.woocommerce-cart button.puppy-cart-promo-toggle:focus-visible {
  outline: 3px solid rgba(23, 87, 200, .2);
  outline-offset: 2px;
}
body.woocommerce-cart .puppy-cart-promo-msg:not(:empty) {
  padding: 8px 10px;
  border-radius: 7px;
  background: #f6f7f8;
}
body.woocommerce-cart .puppy-cart-promo-msg.is-error {
  background: #fff0f2;
}
body.woocommerce-cart .puppy-cart-promo-msg.is-success {
  background: var(--success-soft);
}


/* Checkout payment methods: isolate WooCommerce radio accordions from generic
   radio-card rules so labels, logos and gateway fields cannot overlap. */
body.woocommerce-checkout .wc-block-checkout__payment-method {
  clear: both;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 20px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control {
  width: 100%;
  margin: 0;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option {
  margin-top: 10px;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option > .wc-block-components-radio-control__option {
  position: relative !important;
  display: flex !important;
  box-sizing: border-box;
  width: 100% !important;
  min-height: 58px;
  align-items: center !important;
  margin: 0 !important;
  padding: 15px 16px 15px 48px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: var(--ink);
  background: #fff !important;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__input {
  position: absolute !important;
  top: 50% !important;
  left: 16px !important;
  z-index: 2;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  transform: translateY(-50%);
  accent-color: var(--primary);
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option-layout {
  position: static !important;
  display: flex !important;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label-group,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
}
body.woocommerce-checkout .wc-block-components-payment-method-label {
  display: flex !important;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: normal;
}
body.woocommerce-checkout .wc-block-components-payment-method-label img {
  width: auto !important;
  max-width: 96px !important;
  height: auto !important;
  max-height: 28px !important;
  flex: 0 0 auto;
  object-fit: contain;
}
body.woocommerce-checkout .wc-block-components-payment-method-label img:first-of-type {
  margin-left: auto;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
  position: relative !important;
  clear: both;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 16px 16px 48px !important;
  border: 0 !important;
  background: #fff !important;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content > :first-child {
  margin-top: 0;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content > :last-child {
  margin-bottom: 0;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content iframe,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content input,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content select,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content .wc-block-gateway-container {
  box-sizing: border-box;
  max-width: 100%;
}

/* Classic checkout fallback for stores that switch away from Checkout Blocks. */
body.woocommerce-checkout form.checkout #payment {
  overflow: visible;
  border: 0;
  background: transparent;
}
body.woocommerce-checkout form.checkout #payment ul.payment_methods {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
body.woocommerce-checkout form.checkout #payment li.wc_payment_method {
  position: relative;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
body.woocommerce-checkout form.checkout #payment li.wc_payment_method:has(> input[type="radio"]:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
body.woocommerce-checkout form.checkout #payment li.wc_payment_method > input[type="radio"] {
  position: absolute;
  top: 20px;
  left: 16px;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary);
}
body.woocommerce-checkout form.checkout #payment li.wc_payment_method > label {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 15px 16px 15px 48px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
body.woocommerce-checkout form.checkout #payment li.wc_payment_method > label img {
  width: auto;
  max-width: 96px;
  height: auto;
  max-height: 28px;
  margin-left: auto;
  object-fit: contain;
}
body.woocommerce-checkout form.checkout #payment div.payment_box {
  position: static;
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 0 16px 16px 48px !important;
  color: var(--muted);
  background: #fff !important;
}
body.woocommerce-checkout form.checkout #payment div.payment_box::before {
  display: none !important;
}

@media (max-width: 600px) {
  body.woocommerce-checkout .wc-block-components-radio-control-accordion-option > .wc-block-components-radio-control__option {
    min-height: 54px;
    padding: 13px 12px 13px 44px !important;
  }
  body.woocommerce-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__input {
    left: 13px !important;
  }
  body.woocommerce-checkout .wc-block-components-payment-method-label {
    font-size: 13px;
  }
  body.woocommerce-checkout .wc-block-components-payment-method-label img,
  body.woocommerce-checkout form.checkout #payment li.wc_payment_method > label img {
    max-width: 78px !important;
    max-height: 24px !important;
  }
  body.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
  body.woocommerce-checkout form.checkout #payment div.payment_box {
    padding-right: 12px !important;
    padding-bottom: 14px !important;
    padding-left: 44px !important;
  }
}


/* Merged Returns & Support page: keep the policy design and give the form a clear handoff. */
.ipet-returns-page .ipet-contact-workspace {
  border-top: 1px solid var(--line);
  background: #f7f9fc;
}
.ipet-returns-page .ipet-contact-section-heading .eyebrow,
.ipet-returns-page .ipet-contact-help-card > .eyebrow {
  color: var(--primary);
}
.ipet-returns-page .ipet-contact-help-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}


/* Returns & Support V3: full-width return steps with a compact note below. */
.ipet-returns-page .ipet-policy-hero {
  padding: 32px 0;
}
.ipet-returns-page .ipet-policy-hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 32px;
}
.ipet-returns-page .ipet-policy-hero-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.06;
}
.ipet-returns-page .ipet-policy-hero-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.5;
}
.ipet-returns-page .ipet-policy-actions {
  margin-top: 16px;
}
.ipet-returns-page .ipet-policy-highlight {
  padding: 22px;
}
.ipet-returns-page .ipet-policy-highlight > span {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}
.ipet-returns-page .ipet-policy-highlight svg {
  width: 24px;
  height: 24px;
}
.ipet-returns-page .ipet-policy-highlight > strong {
  font-size: 20px;
}
.ipet-policy-compact {
  padding: 34px 0;
  background: #fff;
}
.ipet-policy-compact .ipet-policy-heading {
  margin-bottom: 16px;
}
.ipet-policy-compact .ipet-policy-heading h2,
.ipet-policy-compact-note h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.ipet-policy-compact .ipet-policy-steps li {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 19px 18px;
}
.ipet-policy-compact .ipet-policy-steps li > span {
  width: 40px;
  height: 40px;
}
.ipet-policy-compact .ipet-policy-steps h3 {
  font-size: 17px;
}
.ipet-policy-compact .ipet-policy-steps p {
  line-height: 1.45;
}
.ipet-policy-compact-note {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 16px 28px;
  align-items: center;
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f9fc;
}
.ipet-policy-compact-note-heading .eyebrow {
  margin-bottom: 6px;
}
.ipet-policy-compact-note h2 {
  font-size: 24px;
}
.ipet-policy-compact-note ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ipet-policy-compact-note li {
  position: relative;
  padding-left: 21px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.ipet-policy-compact-note li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--primary);
  content: "✓";
  font-weight: 800;
}
.ipet-policy-compact-note > p:last-child {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.ipet-returns-page .ipet-contact-workspace {
  padding: 34px 0 46px;
}
.ipet-returns-page .ipet-contact-workspace-grid {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
}
.ipet-returns-page .ipet-contact-form-card,
.ipet-returns-page .ipet-contact-help-card {
  padding: 24px;
}
.ipet-returns-page .ipet-contact-section-heading {
  margin-bottom: 18px;
}
.ipet-returns-page .ipet-contact-section-heading h2,
.ipet-returns-page .ipet-contact-help-card h2 {
  font-size: 30px;
}
.ipet-returns-page .ipet-contact-form {
  gap: 14px;
}
.ipet-returns-page .ipet-contact-form textarea {
  min-height: 120px;
}
.ipet-returns-page .ipet-contact-help-card > a {
  padding: 14px 0;
}
.ipet-returns-page .ipet-contact-business-email {
  margin-top: 14px;
  padding: 14px;
}

@media (max-width: 900px) {
  .ipet-returns-page .ipet-policy-hero-grid,
  .ipet-returns-page .ipet-contact-workspace-grid {
    grid-template-columns: 1fr;
  }
  .ipet-policy-compact-note {
    grid-template-columns: 1fr;
  }
  .ipet-policy-compact-note > p:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .ipet-returns-page .ipet-policy-hero {
    padding: 26px 0;
  }
  .ipet-returns-page .ipet-policy-hero-copy h1 {
    font-size: 36px;
  }
  .ipet-policy-compact {
    padding: 28px 0;
  }
  .ipet-policy-compact .ipet-policy-steps li {
    padding: 16px 14px;
  }
  .ipet-policy-compact-note {
    padding: 18px;
  }
  .ipet-policy-compact-note ul {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .ipet-returns-page .ipet-contact-workspace {
    padding: 28px 0 36px;
  }
}


/* About page V2 — editorial, image-led layout inspired by modern pet retail. */
.ipet-about-page {
  color: var(--ink);
  background: #fff;
}
.ipet-about-page .eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ipet-about-hero {
  padding: 38px 0 54px;
  background: #eef5ff;
}
.ipet-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: center;
}
.ipet-about-hero-copy {
  padding: 24px 0;
}
.ipet-about-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 740;
  line-height: .98;
  letter-spacing: -.055em;
}
.ipet-about-hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 22px 0 0;
  color: #38516f;
  font-size: 18px;
  line-height: 1.58;
}
.ipet-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
}
.ipet-about-actions .button,
.ipet-about-cta .button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  color: #fff !important;
  background: var(--primary);
  font-size: 15px;
  font-weight: 700;
}
.ipet-about-actions > a:not(.button) {
  color: var(--primary);
  font-size: 15px;
  font-weight: 680;
}
.ipet-about-hero-media,
.ipet-about-mosaic-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(190, 255, 103, .32), transparent 24%),
    linear-gradient(135deg, #dce7f7, #eef2f6);
}
.ipet-about-hero-media {
  min-height: 500px;
  border-radius: 18px;
}
.ipet-about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ipet-about-hero-media .ipet-about-image,
.ipet-about-mosaic-media .ipet-about-image {
  position: absolute;
  inset: 0;
}
.ipet-about-mission {
  padding: 78px 0 72px;
  text-align: center;
}
.ipet-about-mission .container {
  max-width: 980px;
}
.ipet-about-mission h2,
.ipet-about-section-heading h2,
.ipet-about-cta h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 730;
  line-height: 1.06;
  letter-spacing: -.045em;
}
.ipet-about-mission > .container > p:last-child {
  max-width: 820px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}
.ipet-about-mosaic {
  padding-bottom: 76px;
}
.ipet-about-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ipet-about-mosaic-grid > * {
  min-height: 390px;
}
.ipet-about-mosaic-media:first-child {
  border-radius: 18px 0 0 0;
}
.ipet-about-mosaic-media:last-child {
  border-radius: 0 0 18px 0;
}
.ipet-about-mosaic-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
}
.ipet-about-mosaic-copy.is-blue {
  border-radius: 0 18px 0 0;
  color: #fff;
  background: var(--primary);
}
.ipet-about-mosaic-copy.is-lime {
  border-radius: 0 0 0 18px;
  color: var(--primary-deep);
  background: #c9ff80;
}
.ipet-about-mosaic-copy .eyebrow {
  color: inherit;
  opacity: .75;
}
.ipet-about-mosaic-copy h2 {
  max-width: 540px;
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 730;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.ipet-about-mosaic-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.58;
  opacity: .86;
}
.ipet-about-mosaic-copy > a {
  align-self: flex-start;
  margin-top: 24px;
  color: inherit;
  font-weight: 700;
}
.ipet-about-editor-section {
  padding: 0 0 70px;
}
.ipet-about-editor-content {
  max-width: 980px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.ipet-about-editor-content > :first-child {
  margin-top: 0;
}
.ipet-about-editor-content > :last-child {
  margin-bottom: 0;
}
.ipet-about-services {
  padding: 72px 0 78px;
  background: #f7f9fc;
}
.ipet-about-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.ipet-about-section-heading h2 {
  font-size: clamp(36px, 4.6vw, 52px);
}
.ipet-about-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ipet-about-service-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.ipet-about-service-grid article > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
}
.ipet-about-service-grid svg {
  width: 28px;
  height: 28px;
}
.ipet-about-service-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 680;
}
.ipet-about-service-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.ipet-about-cta {
  padding: 70px 0;
  background: #fff;
}
.ipet-about-cta-inner {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 42px 46px;
  border-radius: 18px;
  color: #fff;
  background: var(--primary-deep);
}
.ipet-about-cta .eyebrow {
  color: #b9ff63;
}
.ipet-about-cta h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(34px, 4.3vw, 50px);
}
.ipet-about-cta p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.55;
}
.ipet-about-cta .button {
  flex: 0 0 auto;
  color: var(--primary-deep) !important;
  background: #b9ff63;
}

@media (max-width: 900px) {
  .ipet-about-hero-grid {
    grid-template-columns: 1fr;
  }
  .ipet-about-hero-media {
    min-height: 430px;
  }
  .ipet-about-mosaic-grid {
    grid-template-columns: 1fr;
  }
  .ipet-about-mosaic-grid > * {
    min-height: 340px;
  }
  .ipet-about-mosaic-media:first-child,
  .ipet-about-mosaic-copy.is-blue,
  .ipet-about-mosaic-copy.is-lime,
  .ipet-about-mosaic-media:last-child {
    border-radius: 0;
  }
  .ipet-about-mosaic-media:first-child {
    border-radius: 16px 16px 0 0;
  }
  .ipet-about-mosaic-media:last-child {
    border-radius: 0 0 16px 16px;
  }
  .ipet-about-service-grid {
    grid-template-columns: 1fr;
  }
  .ipet-about-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ipet-about-page .container {
    width: calc(100% - 20px);
  }
  .ipet-about-hero {
    padding: 24px 0 34px;
  }
  .ipet-about-hero-copy h1 {
    font-size: 46px;
  }
  .ipet-about-hero-media {
    min-height: 320px;
    border-radius: 14px;
  }
  .ipet-about-mission {
    padding: 52px 0 48px;
  }
  .ipet-about-mosaic {
    padding-bottom: 52px;
  }
  .ipet-about-mosaic-grid > * {
    min-height: 280px;
  }
  .ipet-about-mosaic-copy {
    padding: 34px 24px;
  }
  .ipet-about-editor-section {
    padding-bottom: 50px;
  }
  .ipet-about-editor-content {
    padding: 24px 20px;
  }
  .ipet-about-services {
    padding: 52px 0;
  }
  .ipet-about-service-grid article {
    padding: 24px;
  }
  .ipet-about-cta {
    padding: 48px 0;
  }
  .ipet-about-cta-inner {
    min-height: 0;
    padding: 32px 24px;
  }
  .ipet-about-cta .button {
    width: 100%;
  }
}


/* Customer Care V4 — compact nested panels inspired by Chewy's help density. */
.ipet-care-page {
  color: var(--ink);
  background: #fff;
}
.ipet-care-page .eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ipet-care-hero {
  padding: 32px 0 36px;
  text-align: center;
  background: #eef5ff;
}
.ipet-care-hero-inner {
  max-width: 880px;
}
.ipet-care-hero h1 {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(38px, 4.6vw, 54px);
  font-weight: 740;
  line-height: 1;
  letter-spacing: -.05em;
}
.ipet-care-hero-inner > p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px auto 0;
  color: #435b77;
  font-size: 15px;
  line-height: 1.58;
}
.ipet-care-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}
.ipet-care-hero-actions .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  color: #fff !important;
  background: var(--primary);
  font-size: 15px;
  font-weight: 700;
}
.ipet-care-hero-actions .button:hover {
  background: var(--primary-dark);
}
.ipet-care-help {
  padding: 38px 0 46px;
  background: #fff;
  scroll-margin-top: 100px;
}
.ipet-care-help-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}
.ipet-care-sidebar {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.ipet-care-sidebar h2 {
  margin: 0 0 12px;
  color: var(--primary-deep);
  font-size: 20px;
  font-weight: 710;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.ipet-care-topic-selector {
  display: grid;
  gap: 2px;
}
.ipet-care-topic-control {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  opacity: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ipet-care-topic-option {
  display: block;
  margin: 0;
  cursor: pointer;
}
.ipet-care-topic-option span {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: #43536a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  transition: color .16s ease, background-color .16s ease;
}
.ipet-care-topic-option:hover span,
.ipet-care-topic-option:has(.ipet-care-topic-control:checked) span {
  color: var(--primary);
  background: var(--primary-soft);
}
.ipet-care-topic-option:has(.ipet-care-topic-control:focus-visible) span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.ipet-care-help-main {
  min-width: 0;
}
.ipet-care-common-return {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0 0 18px;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 14px;
  font-weight: 680;
  cursor: pointer;
}
.ipet-care-common-return:hover {
  background: #dfeaff;
}
.ipet-care-question-groups {
  min-height: 0;
}
.ipet-care-question-group {
  display: none;
}
.ipet-care-help-layout:has(#care-topic-common:checked) #common-questions,
.ipet-care-help-layout:has(#care-topic-orders:checked) #orders-help,
.ipet-care-help-layout:has(#care-topic-shipping:checked) #shipping-help,
.ipet-care-help-layout:has(#care-topic-returns:checked) #returns-help,
.ipet-care-help-layout:has(#care-topic-products:checked) #products-help {
  display: block;
}
.ipet-care-help-layout:has(#care-topic-common:checked) .ipet-care-common-return {
  display: none;
}
.ipet-care-help-layout:not(:has(.ipet-care-question-group)) {
  grid-template-columns: minmax(0, 1fr);
}
.ipet-care-help-layout:not(:has(.ipet-care-question-group)) .ipet-care-sidebar,
.ipet-care-help-layout:not(:has(.ipet-care-question-group)) .ipet-care-common-return {
  display: none;
}
.ipet-care-question-heading {
  max-width: 720px;
  margin-bottom: 18px;
}
.ipet-care-question-heading h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.ipet-care-question-heading > p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.ipet-care-faq-list {
  display: grid;
  gap: 8px;
}
.ipet-care-faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.ipet-care-faq-list details[open] {
  border-color: #b8c9eb;
  box-shadow: 0 6px 18px rgba(24, 61, 166, .06);
}
.ipet-care-faq-list summary {
  position: relative;
  padding: 15px 46px 15px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.ipet-care-faq-list summary::-webkit-details-marker {
  display: none;
}
.ipet-care-faq-list summary::after {
  position: absolute;
  top: 10px;
  right: 16px;
  color: var(--primary);
  content: "+";
  font-size: 22px;
  font-weight: 500;
}
.ipet-care-faq-list details[open] summary::after {
  content: "−";
}
.ipet-care-faq-list details > p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.ipet-care-section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}
.ipet-care-section-heading h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.ipet-care-section-heading > p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.ipet-care-channels {
  padding: 40px 0 46px;
  background: #f7f9fc;
  scroll-margin-top: 100px;
}
.ipet-care-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ipet-care-channel {
  display: grid;
  min-height: 128px;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
a.ipet-care-channel:hover {
  border-color: #9db7ec;
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(24, 61, 166, .08);
  transform: translateY(-2px);
}
.ipet-care-channel.is-disabled {
  color: var(--muted);
  background: #f1f3f6;
}
.ipet-care-channel-icon {
  display: grid;
  width: 44px;
  height: 44px;
  grid-row: 1 / span 3;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
}
.ipet-care-channel.is-disabled .ipet-care-channel-icon {
  color: #8893a3;
  background: #e2e6eb;
}
.ipet-care-channel svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.ipet-care-channel strong {
  grid-column: 2;
  color: inherit;
  font-size: 19px;
  font-weight: 690;
}
.ipet-care-channel p {
  grid-column: 2;
  margin: 4px 0 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.ipet-care-channel small {
  grid-column: 2;
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 680;
}

@media (max-width: 900px) {
  .ipet-care-help-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ipet-care-sidebar {
    padding: 16px;
  }
  .ipet-care-topic-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .ipet-care-topic-option {
    min-width: 0;
  }
  .ipet-care-topic-option span {
    min-height: 40px;
    justify-content: center;
    text-align: center;
  }
  .ipet-care-question-groups {
    min-height: 0;
  }
  .ipet-care-channel-grid {
    grid-template-columns: 1fr;
  }
  .ipet-care-channel {
    min-height: 112px;
  }
}

@media (max-width: 640px) {
  .ipet-care-page .container {
    width: calc(100% - 20px);
  }
  .ipet-care-hero {
    padding: 28px 0 32px;
  }
  .ipet-care-hero h1 {
    font-size: 38px;
  }
  .ipet-care-help,
  .ipet-care-channels {
    padding-top: 32px;
    padding-bottom: 38px;
  }
  .ipet-care-sidebar {
    padding: 15px;
  }
  .ipet-care-faq-list summary {
    padding: 14px 44px 14px 16px;
  }
  .ipet-care-faq-list details > p {
    padding: 0 16px 15px;
  }
}
