/* 159 finishing pass: open layouts instead of nested decorative cards.
 * Explicit container selectors only. Fields, focus, errors, product choices,
 * selected states and modal backdrops keep their functional boundaries.
 */
body .palo-page:is(.palo-checkout-page, .palo-account-page, .palo-wishlist-page, .palo-gift-page, .palo-faq-page) {
  background: #fffaf3 !important;
}
body .palo-page:is(.palo-checkout-page, .palo-cart-page, .palo-account-page, .palo-wishlist-page, .palo-gift-page, .palo-faq-page) :is(.palo-hero, .palo-section) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* The checkout's outer shadow used to outline every flush-aligned notice. */
body .palo-page.palo-checkout-page :is(.palo-woocommerce-slot--checkout, .palo-checkout-layout, .pcc-checkout-account-note, .woocommerce-billing-fields, .woocommerce-additional-fields, .pcc-checkout-fields, form.woocommerce-form-login, form.checkout_coupon),
body .palo-page.palo-checkout-page #order_review,
body .palo-page.palo-checkout-page #pcc-pickup-fields,
body .palo-page.palo-checkout-page #payment,
body .palo-page.palo-checkout-page #payment :is(ul.payment_methods, li.wc_payment_method, .payment_box, .place-order) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body .palo-page.palo-checkout-page :is(.palo-woocommerce-slot--checkout, .woocommerce-billing-fields, .woocommerce-additional-fields, .pcc-checkout-fields),
body .palo-page.palo-checkout-page #order_review,
body .palo-page.palo-checkout-page #pcc-pickup-fields { padding: 0 !important; }
body .palo-page.palo-checkout-page .pcc-checkout-account-note { padding: 8px 0 20px !important; margin: 0 0 8px !important; }
body .palo-page.palo-checkout-page :is(form.woocommerce-form-login, form.checkout_coupon) { padding: 12px 0 24px !important; }
body .palo-page.palo-checkout-page .woocommerce-additional-fields,
body .palo-page.palo-checkout-page .pcc-checkout-fields { margin-top: 36px !important; }
body .palo-page.palo-checkout-page .woocommerce form.checkout { column-gap: clamp(32px, 5vw, 72px) !important; }
body .palo-page.palo-checkout-page #payment ul.payment_methods > li.wc_payment_method { padding: 24px 0 8px !important; }
body .palo-page.palo-checkout-page #payment .place-order { padding: 20px 0 0 !important; }
body .palo-page.palo-checkout-page .woocommerce-checkout-review-order-table :is(th, td) { background: transparent !important; }

/* Account: content groups share the page canvas, not another inset card. */
body .palo-account-v3 :is(.pcc-purchase, .pcc-purchase-summary, .pcc-purchase-info, .pcc-account-details, .pcc-account-empty, .pcc-order-document, .pcc-account-password-help, .pcc-owned-lists > li, .pcc-account-list-actions > article),
body .palo-account-v3 .pcc-account-auth :is(form.login, form.register, form.lost_reset_password),
body .palo-page .palo-order-tracker {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body .palo-account-v3 .pcc-purchase { margin-bottom: 44px !important; }
body .palo-account-v3 .pcc-purchase-summary { margin-top: 20px !important; }
body .palo-account-v3 :is(.pcc-purchase-info, .pcc-order-document, .pcc-account-password-help) { margin-block: 32px !important; }
body .palo-account-v3 :is(.pcc-account-auth #customer_login, .pcc-account-list-actions) { column-gap: clamp(28px, 5vw, 64px) !important; row-gap: 40px !important; }
body .palo-account-v3 .pcc-account-auth #customer_login h2 { margin-bottom: 24px !important; }
body .palo-page .palo-order-tracker { margin-bottom: 40px !important; }

/* Full cart: no card around totals, nor a tinted rectangle behind coupons. */
body.palomano-cart-page-v2 .palo-cart-page :is(.palo-woocommerce-slot--cart, .cart_totals, .cart-collaterals),
body.palomano-cart-page-v2 .palo-cart-page .woocommerce-cart-form td.actions {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.palomano-cart-page-v2 .palo-cart-page .cart_totals { padding: 0 !important; }

/* Lists: forms and reading panels breathe within the existing page gutters. */
body .palo-page:is(.palo-wishlist-page, .palo-gift-page) :is(.palo-form-card, .palo-wishlist-browser, .palo-wishlist-summary, .palo-wishlist-share, .palo-wishlist-intro, .palo-gift-card, .palo-gift-note, .palo-wishlist-message, .palo-wishlist-empty, .palo-link-open-form, .palo-message-example-preview),
body .palo-wishlist-page [data-palo-wishlist-result] > .palo-success {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body .palo-page:is(.palo-wishlist-page, .palo-gift-page) :is(.palo-form-card, .palo-wishlist-browser, .palo-link-open-form) { padding: 0 !important; }
body .palo-gift-page .palo-link-open-form,
body .palo-wishlist-page [data-palo-wishlist-result] > .palo-success { backdrop-filter: none !important; }
/* A transparent filter panel must stay in normal flow, never obscure products. */
body .palo-wishlist-page .palo-wishlist-browser { position: static !important; top: auto !important; margin-bottom: 28px !important; }

/* FAQ: open accordion rows. Summary controls and their focus are preserved. */
body .palo-faq-page :is(.palo-faq-nav, .palo-faq-item),
body .palo-faq-page .palo-faq-item > :is(p, div) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body .palo-faq-page .palo-faq-nav { padding: 0 !important; margin-bottom: 32px !important; backdrop-filter: none !important; }
body .palo-faq-page .palo-faq-item { margin-bottom: 18px !important; backdrop-filter: none !important; overflow: visible !important; }
body .palo-faq-page .palo-faq-item summary { padding: 16px 44px 16px 0 !important; }
body .palo-faq-page .palo-faq-item > :is(p, div) { padding: 0 44px 16px 0 !important; }

/* Catalogue filters are already non-sticky; they need no enclosing card. */
body .palo-page.palo-shop-home-v2 .palo-category-browser {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-inline: 0 !important;
}

/* Product photography retains its white canvas, without a frame or shadow.
 * Coloured universe storytelling, quantity controls and checkboxes are intact. */
body .palo-product-page .gallery-main { border: 0 !important; box-shadow: none !important; }
body .palo-product-page :is(.buy-card, .selected-park, .gift-option, .fact-card, .related-card, .pickup-steps > li) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4a4a49;
}
body .palo-product-page .buy-card { padding: 20px 0 !important; top: calc(var(--palomano-header-height, 140px) + 24px) !important; }
body .palo-product-page :is(.selected-park, .gift-option) { padding-inline: 0 !important; }
body .palo-product-page .fact-card--red p { color: #4a4a49 !important; }
body .palo-product-page .fact-card:hover { transform: none !important; }
body .palo-product-page .accordion { border: 0 !important; }

@media (max-width: 767px) {
  body .palo-page.palo-checkout-page .palo-section { padding-inline: 22px !important; }
  body .palo-account-v3 :is(.pcc-purchase-info, .pcc-order-document, .pcc-account-password-help) { margin-block: 28px !important; }
  body.palomano-cart-page-v2 .palo-cart-page .cart_totals { margin-top: 20px !important; }
}
@media (max-width: 359px) {
  body .palo-page.palo-checkout-page .palo-section { padding-inline: 18px !important; }
}
