/* Wild Dakota Girls store - every rule is scoped to .wds, every class starts with wds-, so nothing here touches the
   host site, and the host site's broad rules (like ".full-width-content p") don't reshape the store.
   colours: text 7:1 or better (AAA); the brand pink #A23659 (6.55:1) is used for accents and large text only */
.wds {
    --wds-ink: #212529;          /* 15.4:1 on white */
    --wds-muted: #495057;        /* 8.18:1 on white */
    --wds-accent: #8b2e4a;       /* white on it 8.12:1; as text on white 8.12:1 */
    --wds-accent-dark: #6f2439;
    --wds-brand: #a23659;        /* accents, borders, large text */
    --wds-line: #d6d8db;
    --wds-paper: #f8f9fa;
    --wds-radius: 8px;
    --wds-focus: #212529;
    box-sizing: border-box; color: var(--wds-ink); font-size: 1rem; line-height: 1.6; text-align: left;
}
.wds *, .wds *::before, .wds *::after { box-sizing: border-box; }

/* resets against the host page's broad element rules (the doubled class outranks them in any load order) */
.wds.wds p, .wds.wds ul, .wds.wds ol, .wds.wds li, .wds.wds h2, .wds.wds h3, .wds.wds h4, .wds.wds fieldset, .wds.wds legend, .wds.wds figure, .wds.wds dl, .wds.wds dd {
    margin: 0; padding: 0; color: inherit; font-size: inherit; line-height: inherit; text-align: inherit; font-weight: inherit; border: 0;
}
.wds.wds ul, .wds.wds ol { list-style: none; }
.wds.wds img { display: block; max-width: 100%; height: auto; }

/* focus: always visible, never removed by the host page's script-based focus rules */
.wds.wds a:focus { outline: 3px solid var(--wds-focus); outline-offset: 2px; }
.wds.wds button:focus { outline: 3px solid var(--wds-focus); outline-offset: 2px; }
.wds.wds input:focus { outline: 3px solid var(--wds-focus); outline-offset: 2px; }
.wds.wds select:focus { outline: 3px solid var(--wds-focus); outline-offset: 2px; }
.wds.wds textarea:focus { outline: 3px solid var(--wds-focus); outline-offset: 2px; }

/* text */
.wds.wds .wds-h2, .wds.wds .wds-product-title { margin: 0 0 0.75rem; font-size: 1.75rem; font-weight: 700; line-height: 1.25; color: var(--wds-ink); }
.wds.wds .wds-p { margin: 0 0 1rem; }
.wds.wds .wds-link { color: var(--wds-accent); text-decoration: underline; }
.wds.wds .wds-link:hover { color: var(--wds-accent-dark); }
.wds.wds .wds-notice { padding: 1rem 1.25rem; border-left: 4px solid var(--wds-brand); background: var(--wds-paper); }
.wds .wds-visually-hidden {
    display: inline-block !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important;
    overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; color: #212529 !important; background: #ffffff !important;
}

/* product list */
.wds.wds .wds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; }
.wds.wds .wds-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--wds-line); border-radius: var(--wds-radius); background: #ffffff; }
.wds .wds-card-photo { aspect-ratio: 1 / 1; background: var(--wds-paper); }
.wds.wds .wds-card-photo img { width: 100%; height: 100%; object-fit: contain; }
.wds .wds-card-body { padding: 1rem 1.1rem 1.25rem; }
.wds.wds .wds-card-title { margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.wds.wds .wds-card-link { display: inline-flex; align-items: center; min-height: 2.875rem; color: var(--wds-ink); text-decoration: none; }
.wds.wds .wds-card-link:hover { color: var(--wds-accent); text-decoration: underline; }
.wds.wds .wds-card-desc { margin: 0.4rem 0 0; color: var(--wds-muted); font-size: 0.9375rem; }
.wds.wds .wds-price { margin: 0; font-size: 1.1rem; font-weight: 600; }
.wds .wds-from { font-size: 0.875rem; font-weight: 400; color: var(--wds-muted); }
.wds .wds-was { margin-left: 0.4rem; color: var(--wds-muted); font-weight: 400; }

/* product page */
.wds.wds .wds-back { margin: 0 0 1.25rem; }
.wds.wds .wds-back .wds-link { display: inline-flex; align-items: center; min-height: 2.875rem; }
.wds .wds-product { display: grid; gap: 2rem; }
@media (min-width: 56em) { .wds .wds-product { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.wds .wds-product-photo { border-radius: var(--wds-radius); overflow: hidden; background: var(--wds-paper); }
.wds.wds .wds-price-lg { margin: 0 0 1.5rem; font-size: 1.75rem; font-weight: 400; }
.wds.wds .wds-options { margin: 0 0 1.5rem; }
.wds.wds .wds-legend { margin: 0 0 0.6rem; font-size: 1.05rem; font-weight: 600; }
.wds .wds-choice { position: relative; display: flex; align-items: flex-start; gap: 0.6rem; min-height: 2.875rem; padding: 0.35rem 0; }
.wds.wds .wds-radio { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--wds-accent); }
.wds .wds-choice-label { flex: 1 1 auto; cursor: pointer; }
.wds .wds-radio:disabled + .wds-choice-label { cursor: not-allowed; color: var(--wds-muted); }
.wds .wds-delta { color: var(--wds-muted); }
.wds .wds-soldout { margin-left: 0.35rem; padding: 0.05rem 0.5rem; border-radius: 999px; background: #e9ecef; color: var(--wds-ink); font-size: 0.8125rem; font-weight: 600; }
.wds .wds-qty { margin: 0 0 1rem; }
.wds.wds .wds-label { display: block; margin: 0 0 0.3rem; font-weight: 600; }
.wds.wds .wds-input { min-height: 2.875rem; padding: 0.5rem 0.75rem; border: 1px solid #6c757d; border-radius: 6px; background: #ffffff; color: var(--wds-ink); font: inherit; }
.wds.wds .wds-input-qty { width: 6rem; }
.wds.wds .wds-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.875rem; margin: 0; padding: 0.7rem 1.5rem;
    border: 2px solid transparent; border-radius: 6px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.wds.wds .wds-btn-primary { width: 100%; background: var(--wds-accent); border-color: var(--wds-accent); color: #ffffff; }
.wds.wds .wds-btn-primary:hover { background: var(--wds-accent-dark); border-color: var(--wds-accent-dark); color: #ffffff; }
.wds.wds .wds-btn-primary:focus { outline: 3px solid var(--wds-focus); outline-offset: 3px; }
.wds.wds .wds-soldout-note { margin: 0 0 1rem; font-weight: 600; }
.wds .wds-desc { margin-top: 2rem; }
.wds.wds .wds-desc p { margin: 0 0 1rem; }

/* cart link (for any page) */
.wds.wds-cart-link-wrap { display: inline-block; }
.wds.wds .wds-cart-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.875rem; padding: 0 0.25rem; color: var(--wds-accent); font-weight: 600; text-decoration: underline; }
.wds .wds-cart-icon { flex: 0 0 auto; }

/* high-contrast modes and reduced motion */
@media (forced-colors: active) { .wds.wds .wds-btn { border-color: ButtonText; } .wds.wds .wds-card { border-color: CanvasText; } }
@media (prefers-reduced-motion: reduce) { .wds *, .wds *::before, .wds *::after { transition: none !important; animation: none !important; } }

/* messages */
.wds.wds .wds-alert { margin: 0 0 1rem; padding: 0.75rem 1rem; border-left: 4px solid #9b1c1c; background: #fbeeee; color: var(--wds-ink); }
.wds.wds .wds-ok { margin: 0 0 1rem; padding: 0.75rem 1rem; border-left: 4px solid #1f6b3a; background: #eef6f0; color: var(--wds-ink); }
.wds.wds .wds-notice { margin: 0 0 1.25rem; }
.wds.wds .wds-options-error { padding-left: 0.75rem; border-left: 4px solid #9b1c1c; }

/* more buttons */
.wds.wds .wds-btn-secondary { background: #ffffff; border-color: var(--wds-accent); color: var(--wds-accent); }
.wds.wds .wds-btn-secondary:hover { background: var(--wds-paper); color: var(--wds-accent-dark); }
.wds.wds .wds-btn-link { min-height: 2.875rem; padding: 0 0.25rem; border: 0; background: none; color: var(--wds-accent); font-weight: 600; text-decoration: underline; }
.wds.wds .wds-btn-link:hover { color: var(--wds-accent-dark); }
.wds.wds a.wds-btn-primary { width: auto; }

/* cart */
.wds.wds .wds-cart { margin: 0 0 1rem; border-top: 1px solid var(--wds-line); }
.wds .wds-cart-line { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--wds-line); }
@media (max-width: 30em) { .wds .wds-cart-line { grid-template-columns: 4.5rem minmax(0, 1fr); } .wds.wds .wds-cart-total { grid-column: 2; } }
.wds .wds-cart-photo { aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--wds-paper); }
.wds.wds .wds-cart-photo img { width: 100%; height: 100%; object-fit: cover; }
.wds.wds .wds-cart-name, .wds.wds h4.wds-cart-name { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 700; }
.wds.wds .wds-cart-name .wds-link { display: inline-flex; align-items: center; min-height: 2.875rem; }
.wds.wds .wds-cart-opts { margin: 0 0 0.5rem; color: var(--wds-muted); font-size: 0.9375rem; }
.wds.wds .wds-cart-each { margin: 0 0 0.5rem; color: var(--wds-muted); }
.wds .wds-cart-qty { margin: 0 0 0.25rem; }
.wds.wds .wds-cart-total { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.wds .wds-cart-line-off .wds-cart-photo { opacity: 0.6; }
.wds.wds .wds-cart-update { margin: 0 0 1.5rem; }
.wds .wds-summary { max-width: 28rem; margin-left: auto; }
.wds.wds .wds-sums { margin: 0 0 1.25rem; }
.wds.wds .wds-sums li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--wds-line); }
.wds .wds-sum-label { font-weight: 600; }
.wds .wds-sum-value { text-align: right; }
.wds.wds .wds-link-block { display: inline-flex; align-items: center; min-height: 2.875rem; }

/* checkout, payment, thank you */
.wds .wds-checkout { display: grid; gap: 2rem; }
@media (min-width: 56em) { .wds .wds-checkout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.wds .wds-checkout-side { padding: 1.25rem; border: 1px solid var(--wds-line); border-radius: var(--wds-radius); background: var(--wds-paper); }
.wds.wds .wds-h3 { margin: 0 0 0.75rem; font-size: 1.15rem; font-weight: 700; }
.wds.wds .wds-group { margin: 0 0 1.5rem; padding: 1rem 1.25rem 0.5rem; border: 1px solid var(--wds-line); border-radius: var(--wds-radius); }
.wds.wds .wds-group .wds-legend { padding: 0 0.4rem; }
.wds .wds-field { margin: 0 0 1rem; }
.wds.wds .wds-field .wds-input { width: 100%; }
.wds.wds .wds-field-msg { display: block; margin: 0 0 0.3rem; color: #9b1c1c; font-weight: 600; }
.wds.wds .wds-field-error .wds-input { border: 2px solid #9b1c1c; }
.wds.wds .wds-err-list { margin: 0; padding-left: 1.25rem; list-style: disc; }
.wds.wds .wds-err-list li { margin: 0.25rem 0; }
.wds .wds-check { display: flex; align-items: flex-start; gap: 0.6rem; min-height: 2.875rem; padding: 0.35rem 0; }
.wds.wds .wds-checkbox { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--wds-accent); }
.wds.wds .wds-hint { margin: 0.75rem 0 0; color: var(--wds-muted); font-size: 0.9375rem; }
.wds.wds .wds-cart-compact { border-top: 0; }
.wds .wds-cart-line-compact { grid-template-columns: minmax(0, 1fr) auto; padding: 0.6rem 0; }
.wds .wds-qty-x { font-weight: 400; color: var(--wds-muted); }
.wds.wds .wds-sum-total { font-size: 1.1rem; font-weight: 700; border-bottom: 0; }
.wds.wds .wds-address { margin: 0; }
.wds .wds-paypal { max-width: 28rem; margin: 1rem 0; }
.wds .wds-thanks { max-width: 36rem; margin: 0 0 1.5rem; }
.wds.wds .wds-check-label { padding: 0.7rem 0; }
.wds.wds [hidden] { display: none !important; }
.wds.wds .wds-address { margin: 0; font-style: normal; }
.wds .wds-address-line { display: block; }
/* multi-item discount */
.wds.wds .wds-multi { margin: 0 0 1.25rem; padding: 0.6rem 0.9rem; border-left: 4px solid var(--wds-brand); background: var(--wds-paper); font-weight: 600; }
.wds .wds-cart-each del { color: var(--wds-muted); }
/* preorder: a tag over the photo, and notes */
.wds .wds-card-photo, .wds .wds-product-photo { position: relative; }
.wds.wds .wds-tag { position: absolute; top: 0.75rem; left: 0.75rem; display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; color: #ffffff; font-size: 0.8125rem; font-weight: 700; }
.wds.wds .wds-tags { margin: 0.75rem 0 0 0.75rem; }
.wds.wds .wds-tags .wds-tag { position: static; }
.wds .wds-tag-pre { background: #1d4f91; }   /* white text on it: 8.14:1 */
.wds.wds .wds-preorder { margin: 0 0 1.25rem; padding: 0.6rem 0.9rem; border-left: 4px solid #1d4f91; background: var(--wds-paper); font-weight: 600; }
.wds.wds .wds-cart-pre { margin: 0 0 0.4rem; color: #1d4f91; font-weight: 600; font-size: 0.9375rem; }

/* the whole card opens the product: the title link is stretched over the card (still one link per card, so it
   reads the same to screen readers and keyboards; right-click and ctrl/cmd-click work as on any link) */
.wds.wds .wds-card { position: relative; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.wds.wds .wds-card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--wds-radius); }
.wds.wds .wds-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); transform: translateY(-2px); }
.wds.wds .wds-card:hover .wds-card-link { color: var(--wds-accent); text-decoration: underline; }
/* keyboard: the focus outline goes around the whole card */
.wds.wds .wds-card:focus-within { outline: 3px solid var(--wds-ink); outline-offset: 3px; }
.wds.wds .wds-card-link:focus, .wds.wds .wds-card-link:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .wds.wds .wds-card, .wds.wds .wds-card:hover { transition: none; transform: none; } }
@media (forced-colors: active) { .wds.wds .wds-card:focus-within { outline-color: Highlight; } }
/* card photos: always a square, the photo shown whole and centered (a tall photo can't stretch the square) */
.wds.wds .wds-card-photo { overflow: hidden; }
.wds.wds .wds-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* bundle savings: tags over card photos, the savings rows, and "Complete your bundle" */
.wds.wds .wds-tags-over { position: absolute; top: 0.75rem; left: 0.75rem; right: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.35rem; z-index: 1; }
.wds.wds .wds-tags-over .wds-tag, .wds.wds .wds-tags .wds-tag { position: static; }
.wds .wds-tag-save { background: #175c35; }   /* white text on it: 8.02:1 */
.wds.wds .wds-sums .wds-sum-savings { font-weight: 700; color: #175c35; border-bottom: 0; }
.wds.wds .wds-sums .wds-sum-sub { padding-left: 1.25rem; font-size: 0.9375rem; color: var(--wds-muted); }
.wds.wds .wds-bundle { margin: 2rem 0 0; padding: 1.25rem; border: 1px solid var(--wds-line); border-radius: var(--wds-radius); background: var(--wds-paper); }
.wds.wds .wds-bundle-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.wds.wds .wds-bundle-item { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; padding: 0.75rem; border-radius: var(--wds-radius); background: #ffffff; }
.wds .wds-bundle-photo { position: relative; width: 4.5rem; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 0.375rem; background: var(--wds-paper); }
.wds.wds .wds-bundle-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wds.wds .wds-bundle-name { margin: 0; font-weight: 700; }
.wds.wds .wds-bundle-price { margin: 0.15rem 0 0; }
.wds.wds .wds-bundle-save { margin: 0.2rem 0 0; color: #175c35; font-weight: 600; font-size: 0.9375rem; }
.wds.wds .wds-bundle-add { margin: 0; }
@media (max-width: 30em) { .wds.wds .wds-bundle-item { grid-template-columns: 3.5rem minmax(0, 1fr); } .wds .wds-bundle-photo { width: 3.5rem; } .wds.wds .wds-bundle-add, .wds.wds .wds-bundle-item > .wds-btn { grid-column: 1 / -1; } }

/* checkout: gift */
.wds.wds .wds-gift-fields { margin: 0.5rem 0 0; padding: 0.75rem 0 0 1.85rem; border-top: 1px solid var(--wds-line); }
/* cart: savings within reach */
.wds.wds .wds-reach { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-left: 4px solid #175c35; border-radius: var(--wds-radius); background: var(--wds-paper); }
.wds.wds .wds-reach-list { margin: 0; padding: 0; list-style: none; }
.wds.wds .wds-reach-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.4rem 0; }
.wds.wds .wds-reach-list li + li { border-top: 1px solid var(--wds-line); }
.wds.wds .wds-reach-text { font-weight: 600; color: #175c35; }
.wds.wds .wds-reach-add { margin: 0; }
/* cart: "View quantity discounts" */
.wds.wds .wds-tiers { flex: 1 1 100%; margin: 0.15rem 0 0.25rem; }
.wds.wds .wds-tiers summary { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.875rem; color: var(--wds-accent); font-weight: 600; text-decoration: underline; cursor: pointer; list-style: none; }
.wds.wds .wds-tiers summary::-webkit-details-marker { display: none; }
.wds.wds .wds-tiers summary::before { content: ''; width: 0.45em; height: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s ease; }
.wds.wds .wds-tiers[open] summary::before { transform: rotate(45deg); }
.wds.wds .wds-tier-table { width: 100%; max-width: 22rem; margin: 0.4rem 0 0.25rem; border-collapse: collapse; background: #ffffff; }
.wds.wds .wds-tier-table caption { padding: 0 0 0.4rem; text-align: left; font-weight: 700; }
.wds.wds .wds-tier-table th, .wds.wds .wds-tier-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--wds-line); text-align: left; font-weight: 400; }
.wds.wds .wds-tier-table thead th { font-weight: 700; }
.wds.wds .wds-tier-table td { text-align: right; color: var(--wds-muted); }
.wds.wds .wds-tier-now th, .wds.wds .wds-tier-now td { font-weight: 700; color: #175c35; }
.wds.wds .wds-tier-here { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .wds.wds .wds-tiers summary::before { transition: none; } }
.wds.wds .wds-tier-table thead th:last-child { text-align: right; }
/* product page: the savings sentence and its "(view quantity discounts)" button */
.wds.wds .wds-multi-text { margin: 0; }
.wds.wds .wds-linkbtn { display: inline; min-height: 0; margin: 0; padding: 0.2rem 0.1rem; border: 0; background: none; color: var(--wds-accent); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.wds.wds .wds-linkbtn:hover { color: var(--wds-ink); }
.wds.wds .wds-tiers-panel { margin: 0.6rem 0 0; }
/* card: the savings line, right under the photo */
.wds.wds .wds-card-save { display: inline-block; margin: 0 0 0.6rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: #175c35; color: #ffffff; font-size: 0.875rem; font-weight: 700; line-height: 1.35; }
/* cart: "Keep shopping" beside the heading */
.wds.wds .wds-cart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; margin: 0 0 1rem; }
.wds.wds .wds-cart-head .wds-h2 { margin: 0; }
