.avd-variations-block-wrapper[hidden], .avd-overlay [hidden] { display: none !important; }
.avd-variations-block-wrapper {
    margin: var(--avd-mt, 12px) 0 var(--avd-mb, 14px);
    font-family: inherit;
}
.avd-variations-block-wrapper .avd-buy-all-variations-button,
.avd-overlay, .avd-overlay * {
    box-sizing: border-box;
    font-family: inherit;
}
.avd-variations-block-wrapper .avd-buy-all-variations-button {
    display: inline-flex;
    align-items: center;
    gap: .7em;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: .42em .95em .42em .45em;
    border: 1px solid rgba(35, 53, 61, .24);
    border-radius: var(--avd-radius, 10px);
    background: var(--avd-bg, #efe7d5);
    color: var(--avd-color, #17334a);
    font-size: var(--avd-font, 16px);
    font-weight: 650;
    line-height: 1.25;
    text-align: start;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    box-shadow: 0 2px 4px rgba(23, 44, 54, .1);
    cursor: pointer;
}
.avd-beacon {
    flex: none;
    display: inline-block;
    width: 2.35em;
    height: 2.35em;
    border-radius: 50%;
    background: #193b4a url("lighthouse.svg") center / 88% no-repeat;
}
.avd-offer-copy { min-width: 0; overflow-wrap: anywhere; }
.avd-offer-label, .avd-offer-detail { display: block; }
.avd-offer-detail { margin-top: .18em; font-size: .8em; font-weight: 480; }
.avd-variations-block-wrapper .avd-buy-all-variations-button:hover {
    box-shadow: 0 3px 9px rgba(23, 44, 54, .22);
}
.avd-variations-block-wrapper .avd-buy-all-variations-button[aria-busy="true"] { cursor: progress; opacity: .75; }
.avd-buy-all-variations-button:focus-visible, .avd-overlay :focus-visible {
    outline: 3px solid #407c9c;
    outline-offset: 3px;
}
html.avd-modal-open { overflow: hidden; }
.avd-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 12px;
    border: 0;
    background: transparent;
    color: var(--avd-popup-color, #193045);
}
.avd-overlay[open] { display: flex; }
.avd-overlay::backdrop, .avd-overlay.avd-fallback { background: rgba(6, 22, 32, .65); }
.avd-overlay .avd-dialog {
    position: relative;
    width: min(100%, 28rem);
    max-height: min(94vh, 94dvh);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(34,51,63,.18);
    border-radius: 14px;
    background: var(--avd-popup-bg, #fffdf8);
    color: var(--avd-popup-color, #193045);
    font: inherit;
    line-height: 1.4;
    box-shadow: 0 16px 50px rgba(6, 22, 32, .25);
}
.avd-panel-header {
    position: relative;
    display: grid;
    align-content: center;
    gap: 7px;
    color: inherit;
}
.avd-overlay .avd-panel-title {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 650;
    line-height: 1.2;
    text-transform: none;
    overflow-wrap: anywhere;
}
.avd-panel-status { margin: 0; color: inherit; font-size: 15px; line-height: 1.45; }
.avd-maritime.avd-overlay { --avd-edge: clamp(16px, 5vw, 28px); }
.avd-maritime.avd-overlay::backdrop, .avd-maritime.avd-fallback { background: rgba(8, 26, 37, .69); }
.avd-maritime.avd-overlay .avd-dialog {
    width: min(100%, var(--avd-popup-width, 500px));
    border: 0;
    border-radius: 15px;
    box-shadow: 0 20px 70px rgba(5,20,29,.42);
}
.avd-maritime .avd-panel-header {
    isolation: isolate;
    overflow: hidden;
    min-height: 148px;
    padding: 24px min(36%,166px) 24px var(--avd-edge);
    border-bottom: 3px solid #be965c;
    color: #fff8e6;
    background: linear-gradient(111deg,#122e3b 12%,#1d4753 76%,#2c5557);
}
.avd-maritime .avd-panel-title {
    font-size: clamp(29px,5vw,39px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.avd-overlay .avd-close {
    position: absolute;
    inset-inline-end: .45rem;
    top: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1.65rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}
.avd-overlay .avd-close:hover { background: rgba(148,156,142,.2); }
.avd-panel-body { padding: .9rem 1rem 1rem; }
.avd-popup-summary { display: flex; align-items: center; gap: .8rem; }
.avd-overlay img.avd-product-image {
    flex: none;
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid rgba(90,97,78,.25);
    border-radius: 8px;
    background: white;
}
.avd-description { flex: 1; font-size: .96em; min-width: 0; overflow-wrap: anywhere; }
.avd-description > :first-child { margin-top: 0; }
.avd-description > :last-child { margin-bottom: 0; }
.avd-overlay .avd-variant-list {
    display: grid;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: .8rem 0 0;
}
.avd-variant-item { display: flex; align-items: center; gap: .55rem; padding: .32rem 0; border-top: 1px solid rgba(90,97,78,.23); }
.avd-variant-item img { width: 38px; height: 38px; object-fit: contain; border-radius: 4px; background: white; }
.avd-variant-item span { overflow-wrap: anywhere; }
.avd-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .45rem; margin-top: .9rem; }
.avd-overlay .avd-action {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: .5rem .8rem;
    border: 1px solid #9d9b89;
    border-radius: 7px;
    background: #eee7d6;
    color: #193345;
    font: inherit;
    font-size: .94em;
    font-weight: 650;
    line-height: 1.25;
    white-space: normal;
    text-transform: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.avd-overlay .avd-checkout { background: #193b4a; color: #fff9ea; border-color: #193b4a; }
.avd-overlay .avd-continue { flex-basis: 100%; min-height: 36px; background: transparent; color: inherit; border-color: transparent; font-weight: 500; }
.avd-overlay .avd-action:hover { text-decoration: underline; }
.avd-variations-block-wrapper .avd-feedback { margin: .5rem 0 0; font-size: .95em; }
.avd-feedback.avd-error { color: #a52b1e; }
.avd-variations-block-wrapper.avd-classic { text-align: center; }
.avd-classic .avd-buy-all-variations-button {
    display: inline-block;
    padding: 15px 30px;
    border: 0;
    background: linear-gradient(45deg, var(--avd-bg), #fff 120%);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 5px 10px #0003;
}
.avd-overlay.avd-classic .avd-dialog { max-width: 600px; width: 100%; padding: 24px; border-radius: 10px; text-align: center; }
.avd-classic .avd-panel-header { justify-content: center; min-height: 38px; padding: .5rem 2.5rem; color: inherit; border: 0; background: transparent; }
.avd-classic .avd-panel-body { padding: .7rem 0 0; }
.avd-classic .avd-popup-summary { flex-direction: column; }
.avd-classic img.avd-product-image { max-width: 100%; width: auto; height: auto; max-height: 220px; border: 0; }
.avd-classic .avd-actions { justify-content: center; }
.avd-classic .avd-panel-header .avd-close { top: 0; transform: none; }
.avd-classic .avd-action { flex: 0 1 auto; background: #aa9f7c; border: 0; color: #172331; border-radius: 5px; }
.avd-classic .avd-variant-list, .avd-classic .avd-description { text-align: start; }
@media (max-width: 420px) {
    .avd-variations-block-wrapper.avd-maritime .avd-buy-all-variations-button { width: 100%; }
    .avd-overlay { padding: 8px; }
    .avd-panel-body { padding: .75rem; }
}

/* Use the silhouette of the Bullauge cart confirmation on its navy header. */
.avd-maritime .avd-coast {
    position: absolute; display: block; pointer-events: none; z-index: -1;
    right: 0; bottom: 0; width: min(36%, 166px); height: 126px; overflow: hidden;
}
.avd-maritime .avd-coast i { position: absolute; display: block; }
.avd-maritime .avd-sun {
    width: 48px; height: 48px; border-radius: 50%; bottom: 40px; right: 38%;
    background: repeating-linear-gradient(0deg,transparent 0 5px,#1b43503b 5px 6px),#e8be7e;
}
.avd-maritime .avd-beam {
    right: 24%; bottom: 59px; width: 67%; height: 30px;
    background: linear-gradient(90deg,transparent,#f6d58e70); clip-path: polygon(0 0,100% 53%,0 100%);
}
.avd-maritime .avd-shore {
    bottom: 15px; right: -2%; width: 104%; height: 27px; background: #122e3b;
    clip-path: polygon(0 96%,14% 88%,24% 70%,37% 63%,50% 38%,62% 29%,75% 20%,85% 34%,100% 21%,100% 100%,0 100%);
}
.avd-maritime .avd-tower {
    width: 24px; height: 42px; bottom: 35px; right: 19%;
    background: linear-gradient(90deg,#0000 70%,#213c443b 70%),linear-gradient(to top,#f4ddb1 0 32%,#be7557 32% 63%,#f4ddb1 63%);
    clip-path: polygon(27% 0,74% 0,96% 100%,3% 100%);
}
.avd-maritime .avd-tower::after {
    content: ''; position: absolute; bottom: 0; left: 10px; width: 4px; height: 7px;
    background: #213c44; border-radius: 2px 2px 0 0;
}
.avd-maritime .avd-lantern {
    width: 24px; height: 18px; bottom: 76px; right: 19%;
    background: linear-gradient(to bottom,#c88d68 0 36%,#153642 36% 50%,#ffdfa1 50% 78%,#153642 78% 90%,#e5c394 90%);
    clip-path: polygon(50% 0,93% 36%,76% 44%,76% 78%,100% 78%,100% 100%,2% 100%,2% 78%,24% 78%,24% 44%,7% 36%);
}
.avd-maritime .avd-sea {
    bottom: 0; right: 0; width: 100%; height: 25px;
    background: repeating-linear-gradient(to bottom,#517d7b 0 1px,#214951 1px 4px,#315d63 4px 6px);
    clip-path: polygon(0 88%,18% 55%,36% 49%,56% 23%,75% 24%,100% 0,100% 100%,0 100%);
}
.avd-maritime.avd-overlay .avd-close {
    inset: 5px 6px auto auto;
    z-index: 1;
    border-radius: 50%;
    color: #fffaed;
    transform: none;
}
.avd-maritime .avd-close::before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid #e9dec580;
    border-radius: 50%;
}
.avd-maritime .avd-panel-body { padding: 0 var(--avd-edge) 8px; }
.avd-maritime .avd-popup-summary {
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #a79f8f70;
}
.avd-maritime .avd-product-image { width: 64px; height: 64px; }
.avd-product-info { min-width: 0; overflow-wrap: anywhere; }
.avd-product-info strong { display: block; font-size: 18px; line-height: 1.3; font-weight: 650; }
.avd-product-info small { display: block; margin-top: 3px; font-size: 14px; }
.avd-maritime .avd-description { margin: .65rem 0; }
.avd-maritime .avd-description:empty { display: none; }
.avd-overlay .avd-amounts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    margin: 0;
    padding: 14px 0;
    gap: .5rem .75rem;
    font-size: 15px;
    line-height: 1.4;
}
.avd-amounts dt, .avd-amounts dd { margin: 0; overflow-wrap: anywhere; }
.avd-amounts dd { text-align: end; font-variant-numeric: tabular-nums; }
.avd-amounts dt.avd-total, .avd-amounts dd.avd-total {
    border-top: 1px dashed #a79f8f90; padding-top: .6rem; font-weight: 700;
}
.avd-amounts dd.avd-total { font-size: 23px; line-height: 1.15; }
.avd-maritime .avd-actions {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 8px; margin: 4px 0 0;
}
.avd-maritime .avd-actions .avd-action { min-height: 44px; font-size: 15px; }
.avd-maritime .avd-actions .avd-checkout {
    grid-column: 1 / -1; min-height: 49px; gap: 10px;
    font-size: 17px; font-weight: 700;
    background: var(--avd-checkout-bg, #e9bd70);
    color: var(--avd-checkout-color, #172f3a);
    border: 1px solid #0002;
}
.avd-maritime .avd-checkout::after { content: '→'; font-size: 1.25em; }
.avd-maritime .avd-actions :is(.avd-cart,.avd-continue) {
    border: 0; background: transparent; color: inherit; font-weight: 500;
}
.avd-maritime .avd-cart { text-decoration: underline; text-underline-offset: 3px; }
.avd-overlay .avd-related { margin: 8px 0 12px; padding-top: 14px; border-top: 1px solid #a79f8f70; text-align: start; }
.avd-related h3 {
    margin: 0 0 12px; color: inherit; font-size: 20px;
    font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: -.01em;
}
.avd-related .avd-related-list {
    display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,118px),1fr));
    gap: 14px 10px; margin: 0; padding: 0; list-style: none;
}
.avd-related-card { display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; margin: 0; padding: 0; }
.avd-related .avd-related-link { display: block; color: inherit; text-decoration: none; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.avd-related-link:hover { text-decoration: underline; }
.avd-related .avd-related-link img {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
    object-fit: contain; margin-bottom: 5px; border-radius: 6px; background: #fff;
}
.avd-related-card small { flex: 1; font-size: 12px; line-height: 1.3; }
.avd-related-card .avd-add-set {
    min-height: 40px; padding: 5px 7px; border: 1px solid #bdaa88; border-radius: 7px;
    background: #f2e8d5; color: #173744; font: inherit; font-size: 13px; font-weight: 650;
    text-transform: none; letter-spacing: normal; line-height: 1.3; overflow-wrap: anywhere; cursor: pointer;
}
.avd-related-card .avd-add-set:hover { background: #e9d7b4; }
.avd-related-card .avd-add-set[aria-disabled="true"] { color: inherit; background: transparent; cursor: default; }
.avd-card-feedback { margin: 0; font-size: 13px; line-height: 1.3; }
@media (max-width: 380px) {
    .avd-maritime .avd-panel-header { min-height: 136px; padding-inline-end: 31%; }
    .avd-maritime .avd-coast { width: 30%; height: 102px; }
    .avd-maritime :is(.avd-tower,.avd-lantern) { right: 34%; }
    .avd-maritime .avd-beam { right: 41%; }
    .avd-maritime .avd-sun { right: 50%; width: 39px; height: 39px; }
}
