/* Bright commerce surfaces. Layout is shared with the main storefront stylesheet. */
.search-dialog,
.product-dialog,
.cart-dialog,
.policy-dialog {
  color-scheme: light;
  color: #252722;
  background: #fff;
  border-color: #e0e4d9;
  box-shadow: 0 20px 80px #25272226;
  scrollbar-width: thin;
  scrollbar-color: #c5cdbd #f5f7f1;
}
.search-dialog::backdrop,
.product-dialog::backdrop,
.cart-dialog::backdrop,
.policy-dialog::backdrop {
  background: #25272273;
  backdrop-filter: none;
}
.search-dialog .icon-button,
.product-dialog .icon-button,
.cart-dialog .icon-button,
.policy-dialog .icon-button { color: #636b5b; }
.search-dialog .icon-button:hover,
.product-dialog .icon-button:hover,
.cart-dialog .icon-button:hover,
.policy-dialog .icon-button:hover { color: #252722; background: #f1f4ed; }
.search-dialog .button-primary,
.product-dialog .button-primary,
.cart-dialog .button-primary,
.policy-dialog .button-primary { color: #fff; background: #252722; border-color: #252722; }
.search-dialog .button-primary:hover,
.product-dialog .button-primary:hover,
.cart-dialog .button-primary:hover,
.policy-dialog .button-primary:hover { color: #fff; background: #434a3b; border-color: #434a3b; }
.search-dialog .button-secondary,
.product-dialog .button-secondary,
.cart-dialog .button-secondary,
.policy-dialog .button-secondary { color: #353f2c; background: #e8f4e8; border-color: #c6dbc1; }
.search-dialog .button-secondary:hover,
.product-dialog .button-secondary:hover,
.cart-dialog .button-secondary:hover,
.policy-dialog .button-secondary:hover { background: #d9ecd5; border-color: #b2caa8; }
.product-dialog .button-ghost { color: #4f5846; background: #fff; border-color: #d7dfcf; backdrop-filter: none; }
.product-dialog .button-ghost:hover { color: #252722; background: #f5f7f1; border-color: #bcc8b0; }
.product-dialog .text-button,
.policy-dialog .text-button { color: #a64128; }
.product-dialog .text-button:hover,
.policy-dialog .text-button:hover { color: #6e301f; }

/* Search */
.search-dialog { border-radius: 15px; }
.search-dialog-top { border-bottom-color: #e4e7e0; background: #fff; }
.search-dialog-top > span { color: #c85233; }
.search-dialog input { color: #252722; background: transparent; font-size: 1rem; }
.search-dialog input::placeholder { color: #676c63; }
.search-meta { color: #676c63; font-size: .75rem; }
.search-key { color: #676c63; font-size: .75rem; }
.search-item { background: #fff; border: 1px solid transparent; border-radius: 8px; }
.search-item:hover { background: #fff1ea; border-color: #f1d7ca; }
.search-item img { border-radius: 6px; background: #f0f3eb; }
.search-item strong { color: #252722; font-size: 1rem; font-weight: 600; }
.search-item small { color: #6e7763; font-size: .75rem; }
.search-item b { color: #303b26; font-size: .9375rem; font-weight: 600; }
.search-footer { color: #676c63; background: #f5f7f1; border-top-color: #e4e9dd; font-size: .8125rem; }
.search-empty { color: #68725c; font-size: 1rem; }

/* Product details */
.product-dialog { border-radius: 16px; }
.product-dialog-header { background: #fff; border-bottom-color: #e4e7e0; backdrop-filter: none; }
.product-breadcrumb { color: #959b8d; font-size: .75rem; }
.product-breadcrumb button { color: #626d55; font-size: .75rem; }
.product-breadcrumb button:hover { color: #a64128; }
.product-breadcrumb span:last-child { color: #343d2b; }
.product-gallery .product-art { border-color: #e1e7d9; border-radius: 10px; }
.gallery-caption { color: #676c63; font-size: .75rem; line-height: 1.6; }
.product-summary .eyebrow { color: #a84930; font-size: .75rem; }
.product-summary h2 { color: #252722; }
.product-summary .heading-dot { color: #e75a38; }
.product-tagline { color: #5e6854; font-size: 1rem; }
.product-summary .summary-price { color: #252722; }
.summary-price small { color: #676c63; font-size: .875rem; }
.price-note { color: #676c63; font-size: .75rem; line-height: 1.6; }
.summary-status { color: #3c6242; background: #e8f4e8; border-color: #cde2c9; font-size: .75rem; border-radius: 5px; padding: 4px 9px; }
.product-purchase-actions .button { font-size: .875rem; }
.product-fine-print { color: #676c63; font-size: .75rem; line-height: 1.7; }
.product-fine-print .icon { color: #676c63; }
.product-detail-tabs { border-bottom-color: #e0e6d8; }
.product-detail-tabs button { color: #676c63; font-size: .875rem; }
.product-detail-tabs button:hover { color: #343f29; }
.product-detail-tabs button[aria-selected=true] { color: #252722; font-weight: 600; }
.product-detail-tabs button[aria-selected=true]::after { background: #e75a38; }
.product-detail-panel { color: #626e55; font-size: 1rem; line-height: 1.8; }
.product-detail-panel h3 { color: #252722; }
.product-detail-panel > p { color: #626e55; }
.product-feature-list li { color: #48553b; font-size: .875rem; line-height: 1.75; }
.product-feature-list .icon { color: #7a964f; }
.release-note { color: #726332; background: #fff6d9; border-color: #ede1af; border-radius: 7px; font-size: .8125rem; line-height: 1.8; }
.requirements-list { color: #4a583e; font-size: .875rem; }
.related-products { border-top-color: #e2e7db; }
.related-products > h3 { color: #49553e; }
.related-item { background: #fff; border-color: #dfe6d6; border-radius: 9px; }
.related-item:hover { background: #f2f7ed; border-color: #c3d3b4; }
.related-item img { background: #f3f5ee; border-radius: 6px; }
.related-item strong { color: #293221; font-size: .875rem; }
.related-item small { color: #676c63; font-size: .75rem; }
.related-item > span:last-child { color: #4b5b3d; font-size: .9375rem; font-weight: 600; }

/* Basket */
.cart-dialog { border-radius: 0; border-left-color: #dbe2d2; }
.drawer-header .eyebrow { color: #a84930; font-size: .75rem; }
.drawer-header h2 { color: #252722; }
.drawer-header h2 span { color: #e75a38; }
.cart-preview-notice { color: #465e3c; background: #edf5e8; border-color: #d7e5ca; border-radius: 8px; }
.cart-preview-notice > .icon { color: #6b8a59; }
.cart-preview-notice p { color: #425d35; font-size: .8125rem; }
.cart-preview-notice span { color: #676c63; font-size: .75rem; }
.cart-item { border-bottom-color: #e3e8db; }
.cart-item img { border-radius: 8px; background: #f3f6ec; }
.cart-item h3 { color: #252722; font-size: 1rem; }
.cart-item small { color: #676c63; font-size: .75rem; }
.cart-remove { color: #9d4b35; border-bottom-color: #e1c5bb; font-size: .75rem; }
.cart-remove:hover { color: #673323; border-bottom-color: #b88471; }
.cart-item-price { color: #435734; font-size: 1rem; font-weight: 600; }
.cart-total { color: #3c4d2e; }
.cart-total strong { color: #252722; }
.cart-subnote { color: #676c63; font-size: .75rem; line-height: 1.7; }
.cart-secondary { color: #647a50; font-size: .875rem; }
.cart-secondary:hover { color: #2e4021; }
.cart-empty { color: #676c63; }
.cart-empty > .icon { color: #96ac82; }
.cart-empty h3 { color: #344329; }
.cart-empty p { color: #676c63; font-size: 1rem; }
.cart-empty .button { font-size: .875rem; }
.checkout-explanation { color: #695a3d; background: #fff4df; border-color: #efdfbd; border-radius: 8px; font-size: .875rem; }
.checkout-explanation h3 { color: #4e432d; }
.checkout-explanation .button { font-size: .875rem; }

/* Store and privacy information */
.policy-dialog { border-radius: 16px; }
.policy-dialog h2,
.policy-dialog h3 { color: #252722; }
.policy-dialog p { color: #657456; font-size: 1rem; line-height: 1.85; }
.policy-dialog li { color: #657456; font-size: .875rem; }
.policy-dialog .eyebrow { color: #a84930; font-size: .75rem; }
.toast { color: #fff; background: #333c2c; border-color: #49583e; border-radius: 8px; box-shadow: 0 7px 26px #25272220; font-size: .875rem; }

@media (max-width: 699px) {
  .product-dialog { border-radius: 0; border: 0; }
  .search-meta, .search-key { font-size: .6875rem; }
  .search-item strong { font-size: .875rem; }
  .search-item small { font-size: .75rem; }
  .search-item b { font-size: .875rem; }
  .search-footer, .gallery-caption { font-size: .75rem; }
  .summary-status { line-height: 1.5; }
  .related-item strong { font-size: .875rem; }
  .policy-dialog { border-radius: 14px; }
  .policy-dialog p, .product-detail-panel, .product-tagline { font-size: 1rem; }
  .toast { font-size: .8125rem; }
}
