.dgs-consent[hidden], .dgs-consent [hidden] { display: none !important; }
.dgs-amazon-outbound[hidden], .dgs-amazon-outbound [hidden] { display: none !important; }
.dgs-consent { position: fixed; z-index: 100000; right: 0; bottom: 0; left: 0; padding: 16px; pointer-events: none; }
.dgs-consent__panel { position: relative; max-width: 1120px; max-height: min(82vh, 720px); margin: 0 auto; overflow: auto; padding: clamp(22px, 4vw, 38px); color: #1f2821; background: #fffdf8; border: 1px solid #d9d7ce; border-radius: 18px; box-shadow: 0 18px 60px rgba(31, 40, 33, .22); pointer-events: auto; }
.dgs-consent__panel h2 { margin: 0 40px 10px 0; color: #3c5740; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.12; }
.dgs-consent__panel p { margin: 0; color: #535d54; line-height: 1.6; }
.dgs-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dgs-consent__button { min-height: 46px; padding: 11px 18px; border: 2px solid #3c5740; border-radius: 999px; color: #fffdf8; background: #3c5740; font: inherit; font-weight: 750; cursor: pointer; }
.dgs-consent__actions--choices .dgs-consent__button:not(.dgs-consent__button--secondary) { flex: 1 1 180px; }
.dgs-consent__button:hover, .dgs-consent__button:focus-visible { outline: 3px solid #dfe6dc; outline-offset: 2px; }
.dgs-consent__button--secondary { color: #3c5740; background: transparent; }
.dgs-consent__close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; color: #3c5740; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.dgs-consent__purpose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 12px; padding: 16px; border: 1px solid #d9d7ce; border-radius: 12px; background: #f7f4ee; }
.dgs-consent__purpose strong { display: block; margin-bottom: 4px; color: #1f2821; }
.dgs-consent__purpose span span, .dgs-consent__purpose p { display: block; color: #535d54; line-height: 1.48; }
.dgs-consent__purpose input { width: 24px; height: 24px; accent-color: #3c5740; }
.dgs-consent__always { padding: 6px 9px; color: #3c5740; background: #dfe6dc; border-radius: 999px; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.dgs-consent__privacy { display: inline-block; margin-top: 18px; color: #3c5740; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dgs-consent-footer-button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; text-align: left; }
.dgs-consent-footer-button:hover, .dgs-consent-footer-button:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.dgs-amazon-outbound { position: fixed; z-index: 100010; inset: 0; display: grid; place-items: center; overflow: auto; padding: 18px; background: rgba(31, 40, 33, .52); }
.dgs-amazon-outbound__panel { position: relative; width: min(100%, 590px); padding: clamp(24px, 5vw, 38px); color: #1f2821; background: #fffdf8; border: 1px solid #d9d7ce; border-radius: 18px; box-shadow: 0 24px 70px rgba(16, 24, 18, .3); }
.dgs-amazon-outbound__panel h2 { margin: 0 42px 12px 0; color: #3c5740; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.15; }
.dgs-amazon-outbound__panel p { margin: 0; color: #535d54; line-height: 1.58; }
.dgs-amazon-outbound__destination { margin-bottom: 12px !important; padding: 10px 12px; color: #1f2821 !important; background: #f7f4ee; border-radius: 10px; }
.dgs-amazon-outbound__destination strong { color: #3c5740; }
.dgs-amazon-outbound__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; color: #3c5740; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.dgs-amazon-outbound__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dgs-amazon-outbound__status { margin-top: 14px !important; font-weight: 700; }
.dgs-amazon-outbound__status[data-state="error"] { color: #9f2f25; }
.dgs-amazon-outbound__status[data-state="loading"] { color: #3c5740; }
.dgs-amazon-placeholder { display: grid; width: 100%; min-height: 180px; place-items: center; padding: 18px; color: #3c5740; background: linear-gradient(145deg, #f7f4ee, #dfe6dc); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-weight: 700; text-align: center; }
.dgs-product-card .dgs-product-card__placeholder,.dgs-market-hero__product .dgs-amazon-placeholder { display: grid; width: 100%; min-height: 180px; align-content: center; justify-items: center; gap: 10px; height: 100%; padding: 18px; color: #3c5740; font-family: inherit; font-size: 1rem; text-align: center; }
[data-dgs-image-fallback] { position: absolute; z-index: 1; inset: 0; }
.dgs-product-card__image-wrap > [data-dgs-proxy-image] { grid-area: 1 / 1; }
.dgs-market-hero__product > a { position: relative; display: block; }
[data-dgs-image-fallback][hidden] { display: none !important; }
.dgs-product-card__placeholder-icon { width: 72px; height: 72px; color: #61785c; }
.dgs-product-card__placeholder-title { font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.25rem; font-weight: 750; }
.dgs-product-card__placeholder-text { max-width: 230px; color: #535d54; font-size: .82rem; font-weight: 600; line-height: 1.45; }
.dgs-amazon-preview-notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin: 0 0 26px; padding: 17px 18px; color: #1f2821; background: #f7f4ee; border: 1px solid #d9d7ce; border-radius: 14px; }
.dgs-amazon-preview-notice__icon { width: 42px; height: 42px; color: #61785c; }
.dgs-amazon-preview-notice__copy,.dgs-amazon-preview-notice__copy span { display: block; }
.dgs-amazon-preview-notice__copy strong { display: block; margin-bottom: 3px; color: #3c5740; font-size: 1rem; }
.dgs-amazon-preview-notice__copy span { color: #535d54; font-size: .88rem; line-height: 1.45; }
.dgs-amazon-preview-notice__button { min-height: 44px; padding: 10px 16px; border: 2px solid #3c5740; border-radius: 999px; color: #fffdf8; background: #3c5740; font: inherit; font-weight: 750; cursor: pointer; }
.dgs-amazon-preview-notice__button:hover,.dgs-amazon-preview-notice__button:focus-visible { outline: 3px solid #dfe6dc; outline-offset: 2px; }
@media (max-width: 640px) { .dgs-consent { padding: 8px; } .dgs-consent__panel { max-height: 88vh; padding: 20px; border-radius: 14px; } .dgs-consent__actions { flex-direction: column; } .dgs-consent__button { width: 100%; } .dgs-consent__purpose { gap: 12px; padding: 13px; } .dgs-consent__always { white-space: normal; } }
@media (max-width: 640px) { .dgs-amazon-outbound { padding: 10px; } .dgs-amazon-outbound__panel { padding: 24px 20px; border-radius: 14px; } .dgs-amazon-outbound__actions { flex-direction: column; } }
@media (max-width: 640px) { .dgs-amazon-preview-notice { grid-template-columns: auto minmax(0, 1fr); } .dgs-amazon-preview-notice__button { grid-column: 1 / -1; width: 100%; } }
@media (prefers-reduced-motion: no-preference) { .dgs-consent:not([hidden]) .dgs-consent__panel { animation: dgs-consent-in .22s ease-out both; } @keyframes dgs-consent-in { from { opacity: 0; transform: translateY(16px); } } }
@media (prefers-reduced-motion: no-preference) { .dgs-amazon-outbound:not([hidden]) .dgs-amazon-outbound__panel { animation: dgs-consent-in .18s ease-out both; } }

