html .gift-topbar { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(110deg,#741e30,#a52936 45%,#8b2434); color:#fffaf1; border-bottom:1px solid #e6c79155; }
html .gift-topbar::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.55; background-image:radial-gradient(circle,#f7dca8 1px,transparent 1.8px),radial-gradient(circle,#fff8eb88 .8px,transparent 1.6px); background-size:137px 57px,89px 71px; background-position:12px 8px,51px 32px; mask-image:linear-gradient(90deg,#000,transparent 30%,transparent 70%,#000); }
html .topbar.gift-topbar > a.wrap { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 20px; min-height:60px; padding-block:10px; color:#fffaf1; text-decoration:none; font-size:14px; }
html .gift-topbar .gift-topbar-tree { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; color:#f4d79c; border:1px solid #f4d79c55; border-radius:50%; background:#ffffff08; }
html .gift-topbar-tree svg { display:block; width:25px; height:30px; }
html .gift-topbar strong { color:#f7dfa9; text-decoration:underline; text-decoration-color:#e6c79188; text-underline-offset:5px; transition:color .2s; }
html .gift-topbar a:hover strong { color:#fff; }
html .gift-topbar a:focus-visible { outline:2px solid #f7dfa9; outline-offset:-4px; }
.gift-topbar-snow { position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.gift-topbar-snow span { position:absolute; top:-32px; left:3%; color:#fff4dd; font-size:24px; line-height:1; opacity:.65; animation:gift-snowfall 10s linear infinite; animation-delay:-4s; }
.gift-topbar-snow span:nth-child(2) { left:12%; font-size:18px; animation-duration:13s; animation-delay:-9s; }
.gift-topbar-snow span:nth-child(3) { left:22%; font-size:28px; animation-duration:12s; animation-delay:-2s; }
.gift-topbar-snow span:nth-child(4) { left:31%; font-size:17px; opacity:.3; animation-duration:15s; animation-delay:-11s; }
.gift-topbar-snow span:nth-child(5) { left:68%; font-size:18px; opacity:.3; animation-duration:12s; animation-delay:-6s; }
.gift-topbar-snow span:nth-child(6) { left:78%; font-size:28px; animation-duration:14s; animation-delay:-10s; }
.gift-topbar-snow span:nth-child(7) { left:88%; font-size:20px; animation-duration:11s; animation-delay:-3s; }
.gift-topbar-snow span:nth-child(8) { left:96%; font-size:25px; animation-duration:13s; animation-delay:-7s; }
@keyframes gift-snowfall { from { transform:translate3d(-6px,0,0) rotate(0deg); } to { transform:translate3d(12px,150px,0) rotate(70deg); } }
@media(prefers-reduced-motion:reduce) { .gift-topbar-snow span { animation:none; top:18%; } .gift-topbar-snow span:nth-child(even) { top:55%; } }
@media(max-width:600px) { .gift-topbar-snow span:nth-child(n+3):nth-child(-n+6) { display:none; } .gift-topbar-snow span { opacity:.4; } }
@media(max-width:600px) { html .topbar.gift-topbar > a.wrap { display:grid; grid-template-columns:28px auto; gap:3px 10px; width:100%; min-height:0; padding:8px 20px; font-size:12px; line-height:1.25; text-align:left; } html .gift-topbar .gift-topbar-tree { grid-row:1 / 3; width:28px; height:32px; border:0; background:none; } html .gift-topbar-message { max-width:270px; line-height:1.25; } html .gift-topbar strong { grid-column:2; line-height:1.25; text-underline-offset:3px; } }
.gift-popup { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; border-radius: 28px; width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; background: #fffaf5; color: #202235; box-shadow: 0 28px 100px #0005; }
.gift-popup[open] { display: grid; grid-template-columns: 1fr 1fr; }
.gift-popup::backdrop { background: #101827a8; backdrop-filter: blur(5px); }
html .gift-popup-gallery { position: relative; min-height: 440px; background: #f0ebe5; overflow: hidden; }
html .gift-popup-gallery > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
html .gift-popup-gallery > img.gift-photo-cover { object-fit: cover; padding: 0; }
html .gift-popup-gallery > img[hidden] { display: none; }
html .gift-popup-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; padding: 10px 14px; border-radius: 24px; background: #ffffffeb; }
html .gift-popup-dots button { appearance: none; width: 8px; height: 8px; min-width: 8px; min-height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c5c5cc; cursor: pointer; }
html .gift-popup-dots button[aria-pressed="true"] { background: #a52936; }
html #petsGiftPopup .gift-popup-close { display: grid; place-items: center; padding: 0; z-index: 2; line-height: 1; }
html #petsGiftPopup .gift-popup-close svg { width: 20px; height: 20px; margin: 0; }
html #petsGiftPopup .gift-popup-close::before, html #petsGiftPopup .gift-popup-close::after { display: none; }
.gift-popup-copy { padding: 56px 32px 28px; align-self: center; }
.gift-eyebrow { color: #a52936; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gift-popup h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.2; margin: 16px 0; color: #202235; }
.gift-popup p { font-size: 16px; line-height: 1.65; color: #596174; margin: 0 0 24px; }
.gift-popup-close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 1px solid #e7d8d7; background: #fff; border-radius: 50%; color: #202235; font-size: 28px; cursor: pointer; }
.gift-popup-action { display: flex; justify-content: center; gap: 18px; border-radius: 40px; padding: 15px 22px; color: white; background: #a52936; font-weight: 700; text-decoration: none; }
.gift-popup-action:hover { background: #84212c; color: white; }
.gift-popup-later { display: block; margin: 16px auto 0; padding: 8px; border: 0; background: none; color: #596174; cursor: pointer; }
html .order-summary [data-checkout-shipping-note] { margin: 20px 0 0; text-align: center; line-height: 1.6; }
html .order-summary .journey-summary dt { color: var(--text, #202235); }
html[data-theme="dark"] .order-summary .journey-summary dt { color: #d4deed; }
html .order-summary .summary-total dt, html .order-summary .summary-total dd { color: var(--primary, #3d50f5); font-weight: 800; }
html[data-theme="dark"] .order-summary .summary-total dt, html[data-theme="dark"] .order-summary .summary-total dd { color: #bfd9ff; }
html .checkout-help { margin-top: 28px; padding: 4px 12px; border: 0; background: transparent; color: #53627a; }
html .checkout-help h3 { margin: 0 0 20px; color: #24344b; font-size: 18px; font-weight: 750; line-height: 1.35; }
.checkout-help-person { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.checkout-help-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #dfe8ff; color: #4054e8; font-size: 14px; font-weight: 750; letter-spacing: .02em; }
.checkout-help-person strong { display: block; color: #24344b; font-size: 15px; line-height: 1.5; }
.checkout-help-person div > span { display: block; font-size: 13px; line-height: 1.5; }
html .checkout-help .checkout-help-chat { margin: 20px 0 0; font-size: 13px; line-height: 1.7; }
.checkout-help-chat strong { font-weight: 600; }
html[data-theme="dark"] .checkout-help { color: #b5c4d9; }
html[data-theme="dark"] .checkout-help h3, html[data-theme="dark"] .checkout-help-person strong { color: #edf3ff; }
html[data-theme="dark"] .checkout-help-avatar { background: #2b405e; color: #bfd9ff; }
html[data-pets-portal="cats"] .checkout-help-avatar { background: #ffe2d0; color: #a44816; }
html #checkoutJourney .checklabel { color: var(--text, #202235); gap: 12px; line-height: 1.6; }
html[data-theme="dark"] #checkoutJourney .checklabel { color: #dce5f3; }
html #checkoutJourney .checklabel input { appearance: auto; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; accent-color: #4054f5; }
html[data-theme] #site_content #checkoutJourney .journey-actions .btn { white-space: normal; text-align: center; line-height: 1.4; }
@media (max-width: 600px) {
    .gift-popup[open] { grid-template-columns:1fr; grid-template-rows:auto auto; align-content:start; }
    html .gift-popup-gallery { height:auto; min-height:0; aspect-ratio:1 / 1; }
    html .gift-popup-copy { padding:24px 24px 20px; align-self:start; }
}


.checkout-sidebar { min-width: 0; }
.checkout-sidebar .order-summary { position: static; }

.checkout-help a { white-space: nowrap; }
html .order-summary .journey-summary dd { white-space: nowrap; flex-shrink: 0; }
html .order-summary .journey-summary dt { min-width: 0; }
html[data-theme] #site_content #checkoutJourney .journey-actions { display: flex; flex-direction: column-reverse; align-items: center; gap: 18px; }
html[data-theme] #site_content #checkoutJourney .journey-actions > button[type="submit"] { width: 100%; margin: 0; }
html[data-theme] #site_content #checkoutJourney .journey-actions > [data-pets-click="checkout-back"] { width: auto; min-width: 0; min-height: 0; margin: 0; padding: 4px 12px; background: transparent; border: 0; box-shadow: none; border-radius: 0; text-decoration: underline; text-underline-offset: 4px; text-transform: none; letter-spacing: 0; }
html[data-theme] #site_content #checkoutJourney .journey-actions > [data-pets-click="checkout-back"]::before, html[data-theme] #site_content #checkoutJourney .journey-actions > [data-pets-click="checkout-back"]::after { display: none; }
html .commerce-layout > .checkout-sidebar { padding: 0; }
html .checkout-sidebar > .order-summary { width: 100%; margin-inline: 0; box-sizing: border-box; }

html[data-theme] #site_content #checkoutJourney .journey-actions .pets-back-button .smpls-button-icon { display: none; }
html[data-theme] .pets-payment-detail .payment-detail-card { width: calc(100% - 32px); max-width: 620px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; margin: 0 auto; box-sizing: border-box; }
html[data-theme] .pets-payment-detail .payment-detail-icon { width: 56px; height: 56px; min-width: 56px; min-height: 56px; flex: 0 0 56px; aspect-ratio: 1; padding: 0; margin: 0 auto 24px; box-sizing: border-box; border-radius: 50%; }
html[data-theme] .pets-payment-detail .theme-subheading, html[data-theme] .pets-payment-detail .theme-subheading * { text-align: center; color: var(--blue); font-size: 11px; letter-spacing: .12em; }
html[data-theme] .pets-payment-detail .theme-heading { margin: 10px 0 28px; }
html[data-theme] .pets-payment-detail .theme-heading h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; text-align: center; }
html[data-theme] .pets-payment-detail .payment-detail-summary { display: flex; flex-direction: column; gap: 18px; padding: 24px; margin: 0 0 12px; background: color-mix(in srgb, var(--blue) 4%, transparent); border: 0; border-radius: 16px; }
html[data-theme] .pets-payment-detail .payment-detail-summary > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-align: left; }
html[data-theme] .pets-payment-detail .payment-detail-summary dt { margin: 0; font-size: 13px; }
html[data-theme] .pets-payment-detail .payment-detail-summary dd { font-size: 15px; white-space: nowrap; }
html[data-theme] .pets-payment-detail .payment-detail-summary dd.payment-detail-amount { font-size: clamp(24px, 4vw, 32px); color: var(--blue); font-weight: 800; }
html[data-theme] .pets-payment-detail [role="alert"] { padding: 8px 14px; border-radius: 30px; font-size: 13px; line-height: 1.5; box-shadow: none; }
html[data-theme] .pets-payment-detail [role="alert"].bg-orange-800 { background: color-mix(in srgb, var(--blue) 8%, transparent); color: var(--blue); }
html[data-theme] .pets-payment-detail [role="alert"] > svg { display: none; }
html[data-theme] .pets-payment-detail .payment-detail-pay { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 18px 0 0; padding: 14px 24px; white-space: normal; font-size: 14px; line-height: 1.4; }
html[data-theme] .pets-payment-detail .payment-detail-footer { margin-top: 28px; padding-top: 22px; font-size: 13px; }
html[data-theme] .pets-payment-detail .payment-detail-footer a { text-underline-offset: 4px; }
@media (max-width: 480px) { html[data-theme] .pets-payment-detail .payment-detail-card { padding: 24px 20px; } html[data-theme] .pets-payment-detail .payment-detail-summary { padding: 20px 16px; } }
html[data-theme] .pets-payment-detail .payment-detail-card { max-width: 620px !important; width: calc(100% - 32px) !important; }
html[data-theme] .pets-payment-detail .theme-subheading, html[data-theme] .pets-payment-detail .theme-subheading * { text-align: center !important; width: 100%; }
html[data-theme] .pets-payment-detail [role="alert"].bg-orange-800 { background: color-mix(in srgb, var(--blue) 8%, transparent) !important; color: var(--blue) !important; }

html[data-theme] #site_content .account-orders .app-filter { display:grid; grid-template-columns:minmax(0,1fr) minmax(200px,280px); gap:16px; align-items:center; }
html[data-theme] #site_content .account-orders .app-search { position:relative; width:100%; max-width:none; min-width:0; }
html[data-theme] #site_content .account-orders .app-search input { width:100%; min-width:0; padding-left:44px; }
html[data-theme] #site_content .account-orders .app-search>.icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); pointer-events:none; }
html[data-theme] #site_content .account-orders .app-filter select { width:100%; min-width:0; }
html[data-theme] #site_content .account-orders .app-filter>label.hide { display:none; }
@media(max-width:600px) { html[data-theme] #site_content .account-orders .app-filter { grid-template-columns:minmax(0,1fr); gap:12px; } }

.shop-breadcrumb a { display:inline-flex; align-items:center; gap:7px; text-decoration:none; }
.shop-breadcrumb .icon { width:18px; height:18px; }

html .checkout-help { display:grid; grid-template-columns:1fr; gap:0; max-width:380px; margin:28px auto 0; padding:4px 16px; }
html .checkout-help h3 { margin-bottom:16px; }
.checkout-help-person { margin-bottom:16px; }
html .checkout-help .checkout-help-chat { margin-top:14px; }

html[data-theme] #site_content .cart-page-heading .pagehead { display:grid; gap:12px; width:100%; max-width:none; margin:0 auto; padding:32px 24px 20px; text-align:center; }
html[data-theme] #site_content .cart-page-heading h1 { max-width:none; width:100%; margin:0; font-size:clamp(32px,3vw,56px); line-height:1.15; text-align:center; }
html[data-theme] #site_content .cart-page-heading p { text-align:center; margin:0 auto; line-height:1.5; }

/* The cart heading has its own wrapper, outside the shared pagehead sibling rules. */
html[data-theme] #site_content .cart-page-heading .ep-editor-widget,
html[data-theme] #site_content .cart-page-heading .smpls-widget-content { margin:0; padding:0; }
html[data-theme] #site_content .cart-page-heading + #commerceBody { padding-top:12px; }
html[data-theme] #site_content #commerceBody .journey-steps { gap:16px; margin-bottom:24px; }
html[data-theme] #site_content #commerceBody .journey-steps li { min-width:0; line-height:1.35; }
html[data-theme] #site_content #commerceBody .journey-steps li > span { display:flex; align-items:center; justify-content:center; flex:0 0 34px; width:34px; height:34px; padding:0; box-sizing:border-box; }
html[data-theme] #site_content #commerceBody .journey-steps li > span > svg.icon { display:block; width:18px; height:18px; min-width:18px; max-width:18px; margin:0; flex:none; }
@media (max-width:600px) {
    html[data-theme] #site_content .cart-page-heading .pagehead { gap:10px; padding:26px 20px 18px; }
    html[data-theme] #site_content .cart-page-heading p { font-size:15px; }
    html[data-theme] #site_content #commerceBody .journey-steps { gap:12px; }
    html[data-theme] #site_content #commerceBody .journey-steps li { flex-direction:column; gap:8px; padding-bottom:14px; text-align:center; font-size:12px; }
}

/* Keep the native radio inside its grid cell, including iOS form-control defaults. */
html[data-theme] #checkoutJourney .portal-methods .delivery-choice > input[type="radio"] {
    appearance:auto; -webkit-appearance:radio; position:static; width:20px; height:20px;
    min-width:20px; max-width:20px; min-height:20px; max-height:20px;
    margin:2px 0 0; padding:0; border:0; background:none; box-shadow:none; transform:none;
    align-self:start; accent-color:var(--blue,#4054f5);
}
html[data-theme] #checkoutJourney .portal-methods .delivery-choice > input[type="radio"]::before,
html[data-theme] #checkoutJourney .portal-methods .delivery-choice > input[type="radio"]::after { content:none; display:none; }
@media (max-width:600px) {
    html[data-theme] #checkoutJourney .portal-methods .delivery-choice { grid-template-columns:20px minmax(0,1fr) auto; gap:8px 12px; padding:14px; align-items:start; }
    html[data-theme] #checkoutJourney .portal-methods .delivery-choice > input { grid-column:1; grid-row:1 / 3; }
    html[data-theme] #checkoutJourney .portal-methods .delivery-choice > span { grid-column:2 / 4; grid-row:1; min-width:0; }
    html[data-theme] #checkoutJourney .portal-methods .delivery-choice strong { display:block; font-size:14px; line-height:1.4; }
    html[data-theme] #checkoutJourney .portal-methods .delivery-choice small { display:block; font-size:13px; line-height:1.45; margin-top:4px; }
    html[data-theme] #checkoutJourney .portal-methods .delivery-choice small:empty { display:none; }
    html[data-theme] #checkoutJourney .portal-methods .delivery-choice > b { grid-column:3; grid-row:2; font-size:13px; line-height:1.4; white-space:nowrap; }
    html[data-theme] #checkoutJourney .portal-methods .delivery-choice > .portal-method-logo { grid-column:2; grid-row:2; max-width:64px; height:22px; }
}
