:root {
  --bccm-red: #e3000f;
  --bccm-red-dark: #bd000c;
  --bccm-blue: #0068b4;
  --bccm-blue-dark: #00528e;
  --bccm-ink: #17232c;
  --bccm-muted: #5e6972;
  --bccm-line: #dce3e8;
  --bccm-soft: #f4f7f9;
  --bccm-white: #fff;
}

.bccm-root,
.bccm-root * { box-sizing: border-box; }
.bccm-root[hidden],
.bccm-root [hidden] { display: none !important; }

.bccm-root {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: Gilroy, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--bccm-ink);
}
.bccm-root:not([hidden]) { display: flex; }

.bccm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, .58);
  backdrop-filter: blur(6px);
  animation: bccm-overlay-in .22s ease both;
}

.bccm-panel {
  position: relative;
  width: min(790px, 100%);
  max-height: calc(100vh - 48px);
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 26px;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, .98) 0, rgba(255, 255, 255, 0) 38%), linear-gradient(135deg, #f8f8f9 0%, #eceeef 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .9);
  outline: none;
  animation: bccm-popup-in .3s cubic-bezier(.22, 1, .36, 1) both;
}

.bccm-accent { position: absolute; z-index: 2; top: 0; left: 34px; right: 34px; height: 4px; border-radius: 0 0 99px 99px; background: linear-gradient(90deg, var(--bccm-red) 0 50%, var(--bccm-blue) 50% 100%); box-shadow: 0 3px 14px rgba(0, 104, 180, .16); }
.bccm-panel-inner { padding: 0; }
.bccm-header { display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1px solid rgba(0, 0, 0, .045); border-radius: 16px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 8px 28px rgba(24, 35, 44, .045); animation: bccm-section-up .34s .04s ease both; }
.bccm-heading { min-width: 0; }
.bccm-header h2 { margin: 0; color: var(--bccm-ink); font-size: 17px; font-weight: 800; line-height: 1.2; }
.bccm-close { display: grid; width: 34px; height: 34px; place-items: center; padding: 0 0 2px; border: 0; border-radius: 50%; background: rgba(23, 35, 44, .07); color: var(--bccm-ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.bccm-close:hover { background: rgba(23, 35, 44, .13); transform: rotate(90deg); }
.bccm-summary { margin-top: 12px; padding: 15px 17px; border: 1px solid rgba(0, 0, 0, .045); border-radius: 18px; background: rgba(255, 255, 255, .68); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); animation: bccm-section-up .34s .08s ease both; }
.bccm-summary > p:first-child,
.bccm-pref-intro { margin: 0; color: var(--bccm-muted); font-size: 13.5px; line-height: 1.5; }
.bccm-links { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; font-size: 12px; }
.bccm-links a { color: var(--bccm-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.bccm-actions { display: grid; grid-template-columns: 1.05fr 1.05fr .9fr; gap: 10px; margin-top: 12px; animation: bccm-section-up .34s .12s ease both; }
.bccm-button,
.bccm-inline-settings {
  position: relative;
  min-height: 50px;
  padding: 11px 17px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.bccm-button::before { content: ""; position: absolute; top: 0; left: -120%; width: 68%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent); transform: skewX(-18deg); transition: left .62s ease; pointer-events: none; }
.bccm-button:hover::before { left: 135%; }
.bccm-button:hover,
.bccm-inline-settings:hover { transform: translateY(-2px); }
.bccm-button:focus-visible,
.bccm-close:focus-visible,
.bccm-legal-footer button:focus-visible,
.bccm-switch input:focus-visible + span,
.bccm-external-placeholder button:focus-visible { outline: 3px solid rgba(0, 104, 180, .24); outline-offset: 2px; }
.bccm-button-primary { background: linear-gradient(135deg, #ee0010, var(--bccm-red-dark)); color: #fff; box-shadow: 0 12px 26px rgba(227, 0, 15, .2), inset 0 1px 0 rgba(255, 255, 255, .18); }
.bccm-button-primary:hover { background: linear-gradient(135deg, #f20b1a, #ac000b); color: #fff; box-shadow: 0 16px 32px rgba(227, 0, 15, .27); }
.bccm-button-secondary { border-color: rgba(0, 104, 180, .3); background: linear-gradient(135deg, #0876c5, var(--bccm-blue-dark)); color: #fff; box-shadow: 0 12px 25px rgba(0, 104, 180, .17), inset 0 1px 0 rgba(255, 255, 255, .18); }
.bccm-button-secondary:hover { border-color: var(--bccm-blue); background: linear-gradient(135deg, #1180cf, #004d85); color: #fff; box-shadow: 0 16px 32px rgba(0, 104, 180, .24); }
.bccm-button-plain { border-color: rgba(23, 35, 44, .1); background: linear-gradient(135deg, #263944, #17232c); color: #fff; box-shadow: 0 12px 24px rgba(23, 35, 44, .15), inset 0 1px 0 rgba(255, 255, 255, .1); }
.bccm-button-plain:hover { color: #fff; box-shadow: 0 16px 30px rgba(23, 35, 44, .22); }

.bccm-preferences { margin-top: 12px; padding: 14px; border: 1px solid rgba(0, 0, 0, .045); border-radius: 18px; background: rgba(255, 255, 255, .68); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); animation: bccm-section-up .28s ease both; }
.bccm-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.bccm-category { display: flex; align-items: center; gap: 13px; min-height: 90px; padding: 13px 14px; border: 1px solid rgba(23, 35, 44, .08); border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px rgba(23, 35, 44, .04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; animation: bccm-category-in .26s ease both; }
.bccm-category:nth-child(2) { animation-delay: .03s; }
.bccm-category:nth-child(3) { animation-delay: .06s; }
.bccm-category:nth-child(4) { animation-delay: .09s; }
.bccm-category:hover { border-color: rgba(0, 104, 180, .19); transform: translateY(-2px); box-shadow: 0 12px 25px rgba(23, 35, 44, .08); }
.bccm-category > div { min-width: 0; flex: 1; }
.bccm-category h3 { margin: 0 0 5px; color: var(--bccm-ink); font-size: 15px; font-weight: 800; }
.bccm-category p { margin: 0; color: var(--bccm-muted); font-size: 12px; line-height: 1.45; }
.bccm-switch { display: grid; flex: 0 0 84px; justify-items: center; gap: 5px; cursor: pointer; }
.bccm-switch input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.bccm-switch span { position: relative; width: 47px; height: 26px; border-radius: 99px; background: #c9d3dc; box-shadow: inset 0 1px 2px rgba(23, 35, 44, .12); transition: background .22s ease, box-shadow .22s ease; }
.bccm-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.22); transition: transform .18s ease; }
.bccm-switch input:checked + span { background: linear-gradient(135deg, #0a7dcc, var(--bccm-blue-dark)); box-shadow: 0 5px 14px rgba(0, 104, 180, .2); }
.bccm-switch input:checked + span::after { transform: translateX(21px); }
.bccm-switch em { color: var(--bccm-muted); font-size: 10px; font-style: normal; font-weight: 700; }
.bccm-switch-locked { cursor: not-allowed; opacity: .86; }
.bccm-actions-preferences { grid-template-columns: 1.1fr 1.1fr .8fr; }

body.bccm-open { overflow: hidden; }

.bccm-inline-settings { border-color: var(--bccm-blue); background: var(--bccm-blue); color: #fff; }
.bccm-external-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  min-height: 260px;
  padding: 28px;
  border: 1px dashed #9db9a5;
  border-radius: 12px;
  background: linear-gradient(135deg, #f3f8f4, #e9f4ec);
  color: var(--bccm-ink);
  text-align: left;
}
.bccm-placeholder-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #fff; color: var(--bccm-blue); }
.bccm-placeholder-icon svg { width: 25px; height: 25px; fill: currentColor; }
.bccm-external-placeholder strong,
.bccm-external-placeholder small { display: block; }
.bccm-external-placeholder small { margin-top: 4px; color: var(--bccm-muted); }
.bccm-external-placeholder button { margin-left: 12px; padding: 10px 15px; border: 0; border-radius: 8px; background: var(--bccm-blue); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }

@keyframes bccm-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bccm-popup-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes bccm-section-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bccm-category-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bccm-popup-mobile-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .bccm-root { align-items: flex-end; padding: 10px; }
  .bccm-panel { width: 100%; max-height: calc(100vh - 20px); padding: 10px; overflow-y: auto; border-radius: 22px; animation: bccm-popup-mobile-in .3s cubic-bezier(.22, 1, .36, 1) both; }
  .bccm-header { grid-template-columns: minmax(0, 1fr) 32px; gap: 9px; padding: 11px 13px; border-radius: 15px; }
  .bccm-header h2 { font-size: 16px; }
  .bccm-close { width: 32px; height: 32px; }
  .bccm-summary { margin-top: 9px; padding: 13px 14px; border-radius: 16px; }
  .bccm-summary > p:first-child,
  .bccm-pref-intro { font-size: 12.5px; }
  .bccm-preferences { margin-top: 9px; padding: 11px; border-radius: 16px; }
  .bccm-category-list { grid-template-columns: 1fr; }
  .bccm-category { min-height: 84px; padding: 12px; }
  .bccm-actions,
  .bccm-actions-preferences { grid-template-columns: 1fr; }
  .bccm-actions { gap: 8px; margin-top: 9px; }
  .bccm-button { width: 100%; min-height: 48px; border-radius: 13px; }
  .bccm-button:hover { transform: none; }
  .bccm-external-placeholder { flex-direction: column; text-align: center; }
  .bccm-external-placeholder button { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bccm-panel,
  .bccm-backdrop,
  .bccm-header,
  .bccm-summary,
  .bccm-actions,
  .bccm-preferences,
  .bccm-category { animation: none; }
  .bccm-root * { scroll-behavior: auto !important; transition: none !important; }
}

.bccm-legal-footer,
.bccm-legal-footer * { box-sizing: border-box; }
.bccm-legal-footer { clear: both; padding: 13px 20px; border-top: 1px solid #e2e2e2; background: #f6f6f6; color: #666; font-family: Gilroy, Inter, sans-serif; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.bccm-legal-footer-inner { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 2.15fr); align-items: center; gap: 8px 28px; width: min(1170px, 100%); margin: 0 auto; }
.bccm-legal-footer p { margin: 0; color: #666; font-size: 11.5px; line-height: 1.45; }
.bccm-legal-footer p strong { display: block; color: #20272c; font-size: 12px; }
.bccm-legal-footer p span { margin-right: 8px; color: #747474; white-space: nowrap; }
.bccm-legal-footer nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.bccm-legal-footer a,
.bccm-legal-footer button { display: inline-flex; align-items: center; min-height: 31px; padding: 6px 9px; border: 1px solid #e4e4e4; border-radius: 9px; background: rgba(255, 255, 255, .72); color: #30383e; font: inherit; font-size: 11px; line-height: 1.2; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgba(23, 35, 44, .025); transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.bccm-legal-footer a:hover { border-color: rgba(0, 104, 180, .24); background: #fff; color: var(--bccm-blue); transform: translateY(-1px); box-shadow: 0 5px 13px rgba(23, 35, 44, .06); }
.bccm-legal-footer button { border-color: var(--bccm-blue); background: var(--bccm-blue); color: #fff; cursor: pointer; }
.bccm-legal-footer button:hover { background: var(--bccm-blue-dark); color: #fff; transform: translateY(-1px); }
.bccm-legal-card { margin: 18px 0 28px; padding: 18px 20px; border-left: 4px solid var(--bccm-blue); border-radius: 0 10px 10px 0; background: var(--bccm-soft); line-height: 1.7; }
.bccm-table-wrap { max-width: 100%; overflow-x: auto; }
.bccm-table-wrap table { width: 100%; margin: 18px 0 26px; border-collapse: collapse; }
.bccm-table-wrap th,
.bccm-table-wrap td { padding: 12px 14px; border: 1px solid var(--bccm-line); text-align: left; vertical-align: top; }
.bccm-table-wrap th { background: #edf7f0; color: var(--bccm-ink); }
.bccm-withdrawal-form { margin: 20px 0; padding: 22px; border: 1px solid var(--bccm-line); border-radius: 10px; background: #fff; }
.bccm-checkout-notice,
.bccm-checkout-legal { margin: 0 0 20px; padding: 14px 16px; border-left: 4px solid var(--bccm-blue); background: #f0f7fc; color: #33434f; font-size: 13px; line-height: 1.55; }
.bccm-checkout-legal p:last-child,
.bccm-checkout-legal p:only-child { margin-bottom: 0; }
.bccm-product-legal,
.bccm-cart-legal { margin: 14px 0; font-size: 13px; }
.bccm-product-legal span { margin: 0 8px; }
.bccm-form-privacy { margin-top: 10px; color: #45545f; font-size: 12px; line-height: 1.45;padding:20px; }
.bccm-form-privacy p { margin: 0 0 7px; color: #687680; font-size: 11.5px; }
.bccm-consent-check { position: relative; display: grid !important; grid-template-columns: 19px minmax(0, 1fr); align-items: start; gap: 8px; margin: 0; color: #34434d; font-weight: 400; cursor: pointer; }
.bccm-consent-check input { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; opacity: 0; }
.bccm-check-box { position: relative; display: block; width: 19px; height: 19px; border: 1.5px solid #8a9aa5; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgba(20, 36, 46, .06); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.bccm-consent-check:hover .bccm-check-box { border-color: var(--bccm-blue); }
.bccm-consent-check input:focus-visible + .bccm-check-box { outline: 3px solid rgba(0, 104, 180, .18); outline-offset: 2px; }
.bccm-consent-check input:checked + .bccm-check-box { border-color: var(--bccm-blue); background: var(--bccm-blue); }
.bccm-consent-check input:checked + .bccm-check-box::after { content: ""; position: absolute; top: 3px; left: 6px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bccm-check-label { min-width: 0; padding-top: 1px; line-height: 1.45; }
.bccm-check-label a { color: var(--bccm-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.bccm-form-consent > p a { color: var(--bccm-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.bccm-form-error { display: block; margin: 7px 0 0 27px; color: #b0000c; font-size: 11px; font-weight: 700; line-height: 1.35; }
.bccm-form-error[hidden] { display: none !important; }
.bccm-search-privacy { position: absolute; z-index: 4; top: 100%; left: 0; display: block; width: 100%; margin-top: 3px; color: #5d6c62; font-size: 10px; line-height: 1.25; text-align: left; }
.bccm-search-status { position: relative; display: flex; align-items: flex-start; gap: 5px; margin: 0; font-weight: 400; }
.bccm-search-status input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bccm-search-check { position: relative; flex: 0 0 12px; width: 12px; height: 12px; margin-top: 1px; border-radius: 3px; background: #a9b7bf; }
.bccm-search-check::after { content: ""; position: absolute; top: 2px; left: 4px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.bccm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 980px) {
	.bccm-legal-footer-inner { grid-template-columns: minmax(210px, .7fr) 1.3fr; }
}

@media (max-width: 760px) {
  .bccm-legal-footer { padding: 11px 16px; }
  .bccm-legal-footer-inner { grid-template-columns: 1fr; gap: 8px; padding-right: 66px; }
  .bccm-legal-footer p span { display: block; margin-right: 0; white-space: normal; }
}
