/**
 * DeutschShirt - Component Layer
 * Buttons, badges, cards, forms, accordions, sticky bars, pagination.
 * Depends on: tokens.css, base.css
 */

/* =====================================================================
 * 1. Buttons & conversion triggers
 * ===================================================================== */

.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ds-space-xs);
    min-height: var(--ds-control-height);
    padding: var(--ds-space-sm) var(--ds-space-lg);
    border-radius: var(--ds-radius-lg);
    border: var(--ds-border-width) solid transparent;
    font-family: var(--ds-font-body);
    font-size: var(--ds-label-lg-size);
    line-height: var(--ds-label-lg-line);
    font-weight: 700;
    letter-spacing: var(--ds-label-lg-tracking);
    text-align: center;
    cursor: pointer;
    transition: background-color var(--ds-duration) var(--ds-ease),
        color var(--ds-duration) var(--ds-ease),
        border-color var(--ds-duration) var(--ds-ease),
        transform var(--ds-duration-fast) var(--ds-ease),
        box-shadow var(--ds-duration) var(--ds-ease);
    white-space: nowrap;
}

.ds-btn:active {
    transform: scale(0.99);
}

.ds-btn[disabled],
.ds-btn.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Primary CTA - Signal Amber */
.ds-btn--primary {
    background-color: var(--ds-primary);
    color: var(--ds-on-primary);
    box-shadow: var(--ds-shadow-md);
}

.ds-btn--primary:hover {
    background-color: var(--ds-primary-container);
    color: var(--ds-on-primary);
    transform: scale(1.02);
}

.ds-btn--primary:active {
    transform: scale(0.98);
}

/* Urgency / affiliate deal - Crimson Rose */
.ds-btn--urgency {
    background-color: var(--ds-secondary);
    color: var(--ds-on-secondary);
    box-shadow: var(--ds-shadow-md);
}

.ds-btn--urgency:hover {
    background-color: var(--ds-secondary-container);
    color: var(--ds-on-secondary-container);
}

/* Secondary action - outlined slate */
.ds-btn--secondary {
    background-color: transparent;
    border-color: var(--ds-neutral-900);
    color: var(--ds-neutral-900);
}

.ds-btn--secondary:hover {
    background-color: var(--ds-neutral-900);
    color: #ffffff;
}

/* Ghost on dark surfaces */
.ds-btn--ghost-inverse {
    background-color: rgba(211, 228, 254, 0.2);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ds-btn--ghost-inverse:hover {
    background-color: rgba(211, 228, 254, 0.3);
}

/* Slate solid */
.ds-btn--slate {
    background-color: var(--ds-inverse-surface);
    color: var(--ds-inverse-on-surface);
    box-shadow: var(--ds-shadow-md);
}

.ds-btn--slate:hover {
    background-color: var(--ds-on-background);
}

/* Sizes */
.ds-btn--sm {
    min-height: var(--ds-control-height-sm);
    padding: var(--ds-space-xs) var(--ds-space-md);
    font-size: var(--ds-label-md-size);
    line-height: var(--ds-label-md-line);
}

.ds-btn--lg {
    min-height: var(--ds-control-height-lg);
    padding: var(--ds-space-md) var(--ds-space-xl);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
}

.ds-btn--block {
    width: 100%;
}

.ds-btn--pill {
    border-radius: var(--ds-radius-full);
}

/* Affiliate external link button - the core conversion element */
.ds-btn--affiliate {
    background-color: var(--ds-primary);
    color: var(--ds-on-primary);
    box-shadow: var(--ds-shadow-md);
    position: relative;
}

.ds-btn--affiliate:hover {
    background-color: var(--ds-primary-container);
    transform: scale(1.02);
}

.ds-btn--affiliate .ds-btn__arrow {
    font-size: 1.1em;
    line-height: 1;
    transition: transform var(--ds-duration) var(--ds-ease);
}

.ds-btn--affiliate:hover .ds-btn__arrow {
    transform: translate(2px, -2px);
}

/* Micro-copy placed directly below a primary CTA */
.ds-btn-note {
    display: block;
    margin-top: var(--ds-space-xs);
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    color: var(--ds-on-surface-variant);
    text-align: center;
}

/* =====================================================================
 * 2. Badges, chips & pills
 * ===================================================================== */

.ds-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    padding: 0.15rem var(--ds-space-sm);
    border-radius: var(--ds-radius);
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: var(--ds-label-sm-weight);
    letter-spacing: var(--ds-label-sm-tracking);
    text-transform: uppercase;
    white-space: nowrap;
}

.ds-badge--bestseller {
    background-color: var(--ds-primary);
    color: var(--ds-on-primary);
}

.ds-badge--trending {
    background-color: var(--ds-secondary);
    color: var(--ds-on-secondary);
}

.ds-badge--new {
    background-color: var(--ds-inverse-surface);
    color: var(--ds-inverse-on-surface);
}

.ds-badge--sale {
    background-color: var(--ds-secondary);
    color: var(--ds-on-secondary);
}

.ds-badge--neutral {
    background-color: var(--ds-surface-container);
    color: var(--ds-tertiary);
}

.ds-badge--pill {
    border-radius: var(--ds-radius-full);
    padding-inline: var(--ds-space-md);
}

/* Eyebrow badge - high contrast pill for sections */
.ds-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    padding: 0.35rem 0.875rem;
    border-radius: var(--ds-radius-full);
    background-color: var(--ds-primary-fixed, #ffdbce);
    color: var(--ds-on-primary-fixed-variant, #7f2b00);
    border: 1px solid rgba(163, 57, 0, 0.18);
    font-size: var(--ds-label-sm-size, 0.75rem);
    line-height: var(--ds-label-sm-line, 1rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content;
}

/* Eyebrow badge on dark backgrounds (if any) */
.ds-hero .ds-eyebrow,
.ds-section--inverse .ds-eyebrow {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* =====================================================================
 * 3. Trust badges & guarantee modules
 * ===================================================================== */

.ds-trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ds-space-lg);
}

@media (min-width: 640px) {
    .ds-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ds-trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ds-trust-item {
    display: flex;
    align-items: center;
    gap: var(--ds-space-md);
    padding: var(--ds-space-md);
    background-color: var(--ds-surface-container-lowest);
    border-radius: var(--ds-radius-xl);
    box-shadow: var(--ds-shadow-sm);
    transition: box-shadow var(--ds-duration) var(--ds-ease);
}

.ds-trust-item:hover {
    box-shadow: var(--ds-shadow-md);
}

.ds-trust-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--ds-radius-lg);
    background-color: var(--ds-primary-fixed);
    color: var(--ds-primary);
}

.ds-trust-item__title {
    font-size: var(--ds-label-lg-size);
    line-height: var(--ds-label-lg-line);
    font-weight: 700;
    color: var(--ds-on-surface);
}

.ds-trust-item__text {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-tertiary);
}

/* Bio-cotton / OEKO-TEX verification pill */
.ds-verify-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    padding: var(--ds-space-xs) var(--ds-space-md);
    border-radius: var(--ds-radius-full);
    background-color: var(--ds-trust-green-tint);
    border: var(--ds-border-width) solid var(--ds-trust-green-border);
    color: var(--ds-trust-green-text);
    font-size: var(--ds-label-md-size);
    line-height: var(--ds-label-md-line);
    font-weight: 600;
    letter-spacing: var(--ds-label-md-tracking);
}

/* DHL GoGreen chip */
.ds-dhl-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    padding: var(--ds-space-xs) var(--ds-space-md);
    border-radius: var(--ds-radius-full);
    background-color: var(--ds-surface-container-lowest);
    border: var(--ds-border-width) solid var(--ds-neutral-200);
    color: var(--ds-on-surface);
    font-size: var(--ds-label-md-size);
    line-height: var(--ds-label-md-line);
    font-weight: 600;
    letter-spacing: var(--ds-label-md-tracking);
}

.ds-dhl-chip__mark {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--ds-radius-full);
    background-color: var(--ds-dhl-yellow);
    box-shadow: 0 0 0 2px var(--ds-dhl-red);
}

/* =====================================================================
 * 4. Product cards
 * ===================================================================== */

.ds-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--ds-surface-container-lowest);
    border: var(--ds-border-card);
    border-radius: var(--ds-radius-xl);
    padding: var(--ds-space-sm);
    box-shadow: var(--ds-shadow-sm);
    transition: box-shadow var(--ds-duration) var(--ds-ease),
        transform var(--ds-duration) var(--ds-ease);
    height: 100%;
}

.ds-product-card:hover {
    box-shadow: var(--ds-shadow-lg);
    transform: translateY(-3px);
}

.ds-product-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: var(--ds-card-media-ratio);
    background-color: var(--ds-neutral-100);
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    margin-bottom: var(--ds-space-sm);
}

.ds-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ds-duration-slow) var(--ds-ease);
}

.ds-product-card:hover .ds-product-card__media img {
    transform: scale(1.04);
}

.ds-product-card__badge {
    position: absolute;
    top: var(--ds-space-sm);
    left: var(--ds-space-sm);
    z-index: var(--ds-z-base);
}

.ds-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.ds-product-card__category {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: var(--ds-label-sm-weight);
    letter-spacing: var(--ds-label-sm-tracking);
    text-transform: uppercase;
    color: var(--ds-tertiary);
}

.ds-product-card__title {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-label-lg-size);
    line-height: 1.35;
    font-weight: 700;
    color: var(--ds-on-surface);
    margin-top: var(--ds-space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ds-product-card__title a {
    color: inherit;
}

.ds-product-card__title a:hover {
    color: var(--ds-primary);
}

.ds-product-card__price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--ds-space-sm);
    margin-top: var(--ds-space-xs);
    margin-bottom: var(--ds-space-sm);
}

.ds-product-card__price {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 800;
    color: var(--ds-on-surface);
}

.ds-product-card__price del {
    font-size: var(--ds-body-sm-size);
    font-weight: 400;
    color: var(--ds-on-surface-variant);
    margin-right: var(--ds-space-xs);
}

.ds-product-card__price ins {
    text-decoration: none;
}

.ds-product-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: var(--ds-label-sm-size);
    color: var(--ds-primary);
}

.ds-product-card__cta {
    margin-top: auto;
}

/* =====================================================================
 * 5. Collection cards
 * ===================================================================== */

.ds-collection-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: var(--ds-collection-card-height);
    border-radius: var(--ds-radius-xl);
    overflow: hidden;
    background-color: var(--ds-surface-container-lowest);
    box-shadow: var(--ds-shadow-md);
    transition: box-shadow var(--ds-duration-slow) var(--ds-ease);
}

.ds-collection-card:hover {
    box-shadow: var(--ds-shadow-xl);
}

.ds-collection-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ds-collection-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ds-duration-slow) var(--ds-ease);
}

.ds-collection-card:hover .ds-collection-card__media img {
    transform: scale(1.05);
}

.ds-collection-card__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top,
            rgba(11, 28, 48, 0.92) 0%,
            rgba(11, 28, 48, 0.55) 45%,
            rgba(11, 28, 48, 0.1) 100%);
}

.ds-collection-card__body {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: var(--ds-space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-sm);
    color: #ffffff;
}

.ds-collection-card__title {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 700;
    color: #ffffff;
}

.ds-collection-card__text {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: rgba(255, 255, 255, 0.85);
}

.ds-collection-card__count {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: var(--ds-label-sm-weight);
    letter-spacing: var(--ds-label-sm-tracking);
    text-transform: uppercase;
    color: var(--ds-primary-fixed);
}

/* =====================================================================
 * 6. Blog / article cards
 * ===================================================================== */

.ds-post-card {
    display: flex;
    flex-direction: column;
    background-color: var(--ds-surface-container-lowest);
    border: var(--ds-border-card);
    border-radius: var(--ds-radius-xl);
    overflow: hidden;
    box-shadow: var(--ds-shadow-sm);
    transition: box-shadow var(--ds-duration) var(--ds-ease),
        transform var(--ds-duration) var(--ds-ease);
    height: 100%;
}

.ds-post-card:hover {
    box-shadow: var(--ds-shadow-lg);
    transform: translateY(-3px);
}

.ds-post-card__media {
    aspect-ratio: 16 / 9;
    background-color: var(--ds-neutral-100);
    overflow: hidden;
}

.ds-post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: var(--ds-space-sm);
    padding: var(--ds-space-lg);
}

.ds-post-card__meta {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: var(--ds-label-sm-weight);
    letter-spacing: var(--ds-label-sm-tracking);
    text-transform: uppercase;
    color: var(--ds-tertiary);
}

.ds-post-card__title {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 700;
    color: var(--ds-on-surface);
}

.ds-post-card__excerpt {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
}

.ds-post-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    font-size: var(--ds-label-lg-size);
    line-height: var(--ds-label-lg-line);
    font-weight: 700;
    color: var(--ds-primary);
    transition: color var(--ds-duration) var(--ds-ease);
}

.ds-post-card__link:hover {
    color: var(--ds-primary-container);
}

/* =====================================================================
 * 7. FAQ accordion
 * ===================================================================== */

.ds-faq {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-md);
}

.ds-faq__item {
    background-color: var(--ds-surface-container-low);
    border-radius: var(--ds-radius-xl);
    box-shadow: var(--ds-shadow-sm);
    transition: box-shadow var(--ds-duration) var(--ds-ease);
}

.ds-faq__item[open] {
    box-shadow: var(--ds-shadow-md);
}

.ds-faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-md);
    padding: var(--ds-space-md);
    cursor: pointer;
    list-style: none;
}

.ds-faq__summary::-webkit-details-marker {
    display: none;
}

.ds-faq__question {
    display: flex;
    align-items: center;
    gap: var(--ds-space-sm);
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 700;
    color: var(--ds-on-surface);
}

.ds-faq__chevron {
    flex-shrink: 0;
    color: var(--ds-tertiary);
    transition: transform var(--ds-duration) var(--ds-ease);
}

.ds-faq__item[open] .ds-faq__chevron {
    transform: rotate(180deg);
}

.ds-faq__answer {
    padding: 0 var(--ds-space-md) var(--ds-space-md);
    font-size: var(--ds-body-md-size);
    line-height: var(--ds-body-md-line);
    color: var(--ds-on-surface-variant);
}

/* =====================================================================
 * 8. Sticky conversion bar
 * ===================================================================== */

.ds-sticky-bar {
    position: fixed;
    bottom: var(--ds-space-md);
    right: var(--ds-space-md);
    z-index: var(--ds-z-sticky);
    display: none;
    align-items: center;
    gap: var(--ds-space-sm);
    padding: var(--ds-space-sm);
    background-color: var(--ds-surface-container-lowest);
    color: var(--ds-on-surface);
    border-radius: var(--ds-radius-xl);
    box-shadow: var(--ds-shadow-2xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: calc(100vw - 2 * var(--ds-space-md));
}

@media (min-width: 640px) {
    .ds-sticky-bar {
        display: flex;
    }
}

.ds-sticky-bar[hidden] {
    display: none;
}

.ds-sticky-bar__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--ds-radius-lg);
    background-color: var(--ds-primary-fixed);
    color: var(--ds-primary);
}

.ds-sticky-bar__text {
    padding-right: var(--ds-space-sm);
}

.ds-sticky-bar__title {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: 700;
    color: var(--ds-on-surface);
}

.ds-sticky-bar__sub {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    color: var(--ds-tertiary);
}

.ds-sticky-bar__code {
    color: var(--ds-primary);
    font-weight: 700;
}

.ds-sticky-bar__close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ds-radius-full);
    background-color: var(--ds-inverse-surface);
    color: var(--ds-inverse-on-surface);
    box-shadow: var(--ds-shadow-md);
}

.ds-sticky-bar__close .ds-icon {
    font-size: 14px;
}

/* =====================================================================
 * 9. Forms
 * ===================================================================== */

.ds-field {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-xs);
}

.ds-label {
    font-size: var(--ds-label-md-size);
    line-height: var(--ds-label-md-line);
    font-weight: 600;
    letter-spacing: var(--ds-label-md-tracking);
    color: var(--ds-on-surface);
}

.ds-input,
.ds-select,
.ds-textarea {
    width: 100%;
    min-height: var(--ds-control-height);
    padding: var(--ds-space-sm) var(--ds-space-md);
    background-color: var(--ds-surface-container-lowest);
    border: var(--ds-border-input);
    border-radius: var(--ds-radius-lg);
    color: var(--ds-on-surface);
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    transition: border-color var(--ds-duration) var(--ds-ease);
}

.ds-input::placeholder,
.ds-textarea::placeholder {
    color: var(--ds-on-surface-variant);
}

.ds-input:focus,
.ds-select:focus,
.ds-textarea:focus {
    outline: none;
    border: var(--ds-border-width-focus) solid var(--ds-primary);
}

.ds-textarea {
    min-height: 8rem;
    resize: vertical;
}

.ds-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a4138' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--ds-space-md) center;
    padding-right: var(--ds-space-xl);
}

/* Search field with inset shadow, matching the reference header */
.ds-search-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.ds-search-field__icon {
    position: absolute;
    left: var(--ds-space-md);
    display: flex;
    align-items: center;
    pointer-events: none;
    color: var(--ds-tertiary);
}

.ds-search-field__input {
    width: 100%;
    padding: var(--ds-space-sm) var(--ds-space-md) var(--ds-space-sm) 2.5rem;
    background-color: var(--ds-surface-container-low);
    border: 0;
    border-radius: var(--ds-radius-xl);
    box-shadow: var(--ds-shadow-inset);
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface);
}

.ds-search-field__input::placeholder {
    color: var(--ds-on-surface-variant);
}

.ds-search-field__input:focus {
    outline: none;
    box-shadow: var(--ds-shadow-inset), 0 0 0 2px var(--ds-primary);
}

.ds-search-field__hint {
    position: absolute;
    right: var(--ds-space-sm);
    display: flex;
    align-items: center;
    gap: var(--ds-space-xs);
}

.ds-kbd {
    background-color: var(--ds-surface-container);
    padding: 0.1rem var(--ds-space-xs);
    border-radius: var(--ds-radius);
    color: var(--ds-tertiary);
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: var(--ds-label-sm-weight);
    letter-spacing: var(--ds-label-sm-tracking);
    text-transform: uppercase;
}

/* =====================================================================
 * 10. Breadcrumbs
 * ===================================================================== */

.ds-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ds-space-xs);
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
    padding-block: var(--ds-space-md);
}

.ds-breadcrumbs a {
    color: var(--ds-on-surface-variant);
    transition: color var(--ds-duration) var(--ds-ease);
}

.ds-breadcrumbs a:hover {
    color: var(--ds-primary);
}

.ds-breadcrumbs__sep {
    color: var(--ds-neutral-400);
}

.ds-breadcrumbs__current {
    color: var(--ds-on-surface);
    font-weight: 600;
}

/* =====================================================================
 * 11. Pagination
 * ===================================================================== */

.ds-pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--ds-space-xl);
}

.ds-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding-inline: var(--ds-space-sm);
    margin-inline: 2px;
    border: var(--ds-border-card);
    border-radius: var(--ds-radius-lg);
    background-color: var(--ds-surface-container-lowest);
    color: var(--ds-on-surface);
    font-size: var(--ds-label-lg-size);
    font-weight: 600;
    transition: background-color var(--ds-duration) var(--ds-ease),
        color var(--ds-duration) var(--ds-ease),
        border-color var(--ds-duration) var(--ds-ease);
}

.ds-pagination .page-numbers:hover {
    border-color: var(--ds-primary);
    color: var(--ds-primary);
}

.ds-pagination .page-numbers.current {
    background-color: var(--ds-primary);
    border-color: var(--ds-primary);
    color: var(--ds-on-primary);
}

.ds-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* =====================================================================
 * 12. Notices & empty states
 * ===================================================================== */

.ds-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--ds-space-sm);
    padding: var(--ds-space-md);
    border-radius: var(--ds-radius-lg);
    border: var(--ds-border-width) solid var(--ds-neutral-200);
    background-color: var(--ds-surface-container-low);
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface);
}

.ds-notice--info {
    background-color: var(--ds-surface-container-low);
    border-color: var(--ds-neutral-200);
}

.ds-notice--success {
    background-color: var(--ds-trust-green-tint);
    border-color: var(--ds-trust-green-border);
    color: var(--ds-trust-green-text);
}

.ds-notice--error {
    background-color: var(--ds-error-container);
    border-color: var(--ds-error);
    color: var(--ds-on-error-container);
}

.ds-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ds-space-md);
    padding: var(--ds-space-xl) var(--ds-space-md);
    text-align: center;
    background-color: var(--ds-surface-container-low);
    border-radius: var(--ds-radius-xl);
}

.ds-empty-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--ds-radius-full);
    background-color: var(--ds-surface-container);
    color: var(--ds-tertiary);
}

/* =====================================================================
 * 13. Spec matrix (product technical data)
 * ===================================================================== */

.ds-spec-table {
    width: 100%;
    border: var(--ds-border-card);
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
}

.ds-spec-table th,
.ds-spec-table td {
    padding: var(--ds-space-sm) var(--ds-space-md);
    text-align: left;
    border-bottom: var(--ds-border-width) solid var(--ds-neutral-200);
}

.ds-spec-table tr:last-child th,
.ds-spec-table tr:last-child td {
    border-bottom: 0;
}

.ds-spec-table th {
    width: 40%;
    background-color: var(--ds-surface-container-low);
    font-weight: 600;
    color: var(--ds-on-surface);
}

.ds-spec-table td {
    color: var(--ds-on-surface-variant);
}

/* =====================================================================
 * 14. Feature boxes (production & shipping section)
 * ===================================================================== */

.ds-feature-box {
    background-color: var(--ds-surface-container-low);
    padding: var(--ds-space-md);
    border-radius: var(--ds-radius-xl);
}

.ds-feature-box__head {
    display: flex;
    align-items: center;
    gap: var(--ds-space-xs);
    color: var(--ds-primary);
    font-weight: 700;
    margin-bottom: var(--ds-space-xs);
}

.ds-feature-box__text {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
}

/* =====================================================================
 * 15. Stats row (hero)
 * ===================================================================== */

.ds-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ds-space-md);
    padding-top: var(--ds-space-md);
    border-top: var(--ds-border-width) solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 32rem;
}

.ds-stat-value {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 800;
    color: #ffffff;
}

.ds-stat-label {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    color: rgba(255, 255, 255, 0.7);
}

/* =====================================================================
 * 16. Showcase card (hero product preview)
 * ===================================================================== */

.ds-showcase {
    position: relative;
    width: 100%;
    max-width: 28rem;
    padding: var(--ds-space-md);
    border-radius: var(--ds-radius-xl);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--ds-shadow-2xl);
}

.ds-showcase__media {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    background-color: var(--ds-neutral-100);
}

.ds-showcase__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-showcase__footer {
    margin-top: var(--ds-space-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-md);
    padding: var(--ds-space-md);
    background-color: var(--ds-surface-container-lowest);
    border-radius: var(--ds-radius-lg);
    box-shadow: var(--ds-shadow-md);
    color: var(--ds-on-surface);
}

.ds-showcase__title {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-label-lg-size);
    line-height: 1.3;
    font-weight: 700;
}

.ds-showcase__meta {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    color: var(--ds-tertiary);
}

.ds-showcase__price {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 800;
    color: var(--ds-primary);
}

/* =====================================================================
 * 17. Filter sidebar
 * ===================================================================== */

.ds-filter {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-lg);
}

.ds-filter__group {
    border: var(--ds-border-card);
    border-radius: var(--ds-radius-xl);
    background-color: var(--ds-surface-container-lowest);
    overflow: hidden;
}

.ds-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ds-space-md);
    font-size: var(--ds-label-lg-size);
    line-height: var(--ds-label-lg-line);
    font-weight: 700;
    color: var(--ds-on-surface);
    cursor: pointer;
    list-style: none;
}

.ds-filter__head::-webkit-details-marker {
    display: none;
}

.ds-filter__body {
    padding: 0 var(--ds-space-md) var(--ds-space-md);
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-sm);
}

.ds-filter__option {
    display: flex;
    align-items: center;
    gap: var(--ds-space-sm);
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface);
    cursor: pointer;
}

.ds-filter__option input[type="checkbox"],
.ds-filter__option input[type="radio"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--ds-primary);
    flex-shrink: 0;
}

.ds-filter__option:hover {
    color: var(--ds-primary);
}

.ds-filter__count {
    margin-left: auto;
    color: var(--ds-tertiary);
    font-size: var(--ds-label-sm-size);
}

.ds-filter__reset {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    font-size: var(--ds-label-md-size);
    font-weight: 600;
    color: var(--ds-primary);
}

.ds-filter__reset:hover {
    color: var(--ds-primary-container);
}

/* Catalog toolbar: result count + sorting */
.ds-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-md);
    padding: var(--ds-space-md);
    background-color: var(--ds-surface-container-low);
    border-radius: var(--ds-radius-xl);
    margin-bottom: var(--ds-space-lg);
}

.ds-catalog-toolbar__count {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
}

.ds-catalog-toolbar__count strong {
    color: var(--ds-on-surface);
    font-weight: 700;
}

.ds-catalog-toolbar__actions {
    display: flex;
    align-items: center;
    gap: var(--ds-space-sm);
}

.ds-catalog-toolbar .ds-select {
    min-height: var(--ds-control-height-sm);
    width: auto;
    min-width: 12rem;
}

/* Catalog layout: sidebar + grid */
.ds-catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ds-space-xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .ds-catalog-layout {
        grid-template-columns: 17rem minmax(0, 1fr);
    }
}

.ds-catalog-sidebar {
    position: sticky;
    top: calc(var(--ds-header-height) + var(--ds-space-md));
}

@media (max-width: 1023px) {
    .ds-catalog-sidebar {
        position: static;
    }
}

/* Mobile filter toggle */
.ds-filter-toggle {
    display: inline-flex;
}

@media (min-width: 1024px) {
    .ds-filter-toggle {
        display: none;
    }
}

/* =====================================================================
 * 18. Header
 * ===================================================================== */

.ds-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--ds-z-header);
    background-color: rgba(248, 249, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--ds-shadow-header);
    transition: box-shadow var(--ds-duration) var(--ds-ease);
}

.ds-header.is-scrolled {
    box-shadow: var(--ds-shadow-md);
}

/* Announcement bar */
.ds-announcement {
    background-color: var(--ds-inverse-surface);
    color: var(--ds-inverse-on-surface);
    padding-block: var(--ds-space-xs);
}

.ds-announcement__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-xs);
    text-align: center;
}

@media (min-width: 640px) {
    .ds-announcement__inner {
        flex-direction: row;
        text-align: left;
    }
}

.ds-announcement__left {
    display: flex;
    align-items: center;
    gap: var(--ds-space-sm);
    font-size: var(--ds-label-md-size);
    line-height: var(--ds-label-md-line);
}

.ds-announcement__right {
    display: flex;
    align-items: center;
    gap: var(--ds-space-md);
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: var(--ds-label-sm-weight);
    letter-spacing: var(--ds-label-sm-tracking);
    text-transform: uppercase;
}

.ds-announcement__item {
    display: flex;
    align-items: center;
    gap: var(--ds-space-xs);
}

.ds-announcement .ds-icon {
    color: var(--ds-primary-fixed);
}

.ds-announcement__sep {
    display: none;
}

@media (min-width: 768px) {
    .ds-announcement__sep {
        display: inline;
    }
}

/* Main header row */
.ds-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    z-index: var(--ds-z-header);
    background-color: rgba(248, 249, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--ds-shadow-header);
    transition: box-shadow var(--ds-duration) var(--ds-ease);
}

.ds-header.is-scrolled {
    box-shadow: var(--ds-shadow-md);
}

.ds-header__bar {
    height: var(--ds-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-sm);
    min-width: 0;
    width: 100%;
    max-width: var(--ds-container-landing);
    margin-inline: auto;
    padding-inline: var(--ds-margin-mobile);
}

@media (min-width: 768px) {
    .ds-header__bar {
        padding-inline: var(--ds-margin);
    }
}

.ds-header__brand {
    display: flex;
    align-items: center;
    gap: var(--ds-space-xs);
    flex-shrink: 0;
}

.ds-header__logo {
    max-height: 2.75rem;
    width: auto;
}

.ds-header__brand-text {
    display: flex;
    flex-direction: column;
}

.ds-header__brand-name {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--ds-on-surface);
}

.ds-header__brand-name span {
    color: var(--ds-primary);
}

.ds-header__brand-tagline {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    color: var(--ds-tertiary);
    margin-top: -2px;
}

.ds-header__search {
    flex: 0 1 18rem;
    min-width: 11rem;
    max-width: 20rem;
    margin-inline: var(--ds-space-xs);
    display: none;
}

@media (min-width: 1200px) {
    .ds-header__search {
        display: block;
    }
}

.ds-header__nav {
    display: none;
    align-items: center;
    min-width: 0;
    flex-shrink: 1;
}

@media (min-width: 992px) {
    .ds-header__nav {
        display: flex;
    }
}

.ds-header__nav .ds-nav__list,
.ds-header__nav ul {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
}

.ds-header__nav li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ds-header__nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
    color: var(--ds-on-surface-variant);
    border-radius: var(--ds-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    transition: color var(--ds-duration) var(--ds-ease),
        background-color var(--ds-duration) var(--ds-ease);
    white-space: nowrap;
    text-decoration: none;
}

.ds-header__nav a:hover {
    color: var(--ds-on-surface);
    background-color: var(--ds-surface-container);
}

.ds-header__nav .current-menu-item > a,
.ds-header__nav .current_page_item > a,
.ds-header__nav .current-menu-ancestor > a {
    background-color: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
    font-weight: 700;
}

.ds-nav__arrow {
    font-size: 0.75rem;
    margin-left: 2px;
    display: inline-block;
    transition: transform var(--ds-duration) var(--ds-ease);
}

.ds-header__nav .menu-item-has-children:hover .ds-nav__arrow,
.ds-header__nav .menu-item-has-children:focus-within .ds-nav__arrow {
    transform: rotate(180deg);
}

/* Sub-menu Dropdown */
.ds-header__nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 28rem;
    background: #ffffff;
    border: 1px solid var(--ds-outline-variant);
    border-radius: var(--ds-radius-xl);
    box-shadow: var(--ds-shadow-xl);
    padding: 0.75rem;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s var(--ds-ease),
                visibility 0.2s var(--ds-ease),
                transform 0.2s var(--ds-ease);
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

.ds-header__nav .menu-item-has-children:hover > .sub-menu,
.ds-header__nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ds-header__nav .sub-menu li {
    width: 100%;
}

.ds-header__nav .sub-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: var(--ds-radius-md);
    color: var(--ds-on-surface);
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
}

.ds-header__nav .sub-menu a:hover {
    background-color: var(--ds-surface-container);
    color: var(--ds-primary);
}

.ds-header__actions {
    display: flex;
    align-items: center;
    gap: var(--ds-space-xs);
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .ds-header__search-toggle {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .ds-header__menu-toggle {
        display: none !important;
    }
}

.ds-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--ds-radius-xl);
    color: var(--ds-on-surface);
    transition: background-color var(--ds-duration) var(--ds-ease);
}

.ds-icon-btn:hover {
    background-color: var(--ds-surface-container-high);
}

.ds-icon-btn--mobile-only {
    display: flex;
}

@media (min-width: 768px) {
    .ds-icon-btn--mobile-only {
        display: none;
    }
}

.ds-icon-btn--desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .ds-icon-btn--desktop-only {
        display: flex;
    }
}

/* =====================================================================
 * 19. Mobile drawer
 * ===================================================================== */

.ds-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--ds-z-drawer);
    display: none;
}

.ds-mobile-drawer.is-open {
    display: block;
}

.ds-mobile-drawer__scrim {
    position: absolute;
    inset: 0;
    background-color: rgba(11, 28, 48, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ds-mobile-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(22rem, 88vw);
    background-color: var(--ds-surface-container-lowest);
    box-shadow: var(--ds-shadow-2xl);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: ds-slide-in var(--ds-duration-slow) var(--ds-ease-out);
}

@keyframes ds-slide-in {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.ds-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ds-space-md);
    border-bottom: var(--ds-border-width) solid var(--ds-neutral-200);
}

.ds-mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: var(--ds-space-md);
    gap: var(--ds-space-xs);
}

.ds-mobile-drawer__nav a {
    display: block;
    padding: var(--ds-space-sm) var(--ds-space-md);
    border-radius: var(--ds-radius-lg);
    font-size: var(--ds-label-lg-size);
    line-height: var(--ds-label-lg-line);
    font-weight: 600;
    color: var(--ds-on-surface);
    transition: background-color var(--ds-duration) var(--ds-ease);
}

.ds-mobile-drawer__nav a:hover {
    background-color: var(--ds-surface-container-low);
}

.ds-mobile-drawer__nav .current-menu-item>a,
.ds-mobile-drawer__nav .current_page_item>a {
    background-color: var(--ds-primary-container);
    color: var(--ds-on-primary-container);
}

.ds-mobile-drawer__search {
    padding: var(--ds-space-md);
    border-bottom: var(--ds-border-width) solid var(--ds-neutral-200);
}

.ds-mobile-drawer__footer {
    margin-top: auto;
    padding: var(--ds-space-md);
    border-top: var(--ds-border-width) solid var(--ds-neutral-200);
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-sm);
}

/* =====================================================================
 * 20. Search overlay (mobile / Ctrl+K)
 * ===================================================================== */

.ds-search-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--ds-z-overlay);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    padding-inline: var(--ds-space-md);
    background-color: rgba(11, 28, 48, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ds-search-overlay.is-open {
    display: flex;
}

.ds-search-overlay__panel {
    width: 100%;
    max-width: 40rem;
    background-color: var(--ds-surface-container-lowest);
    border-radius: var(--ds-radius-xl);
    box-shadow: var(--ds-shadow-2xl);
    overflow: hidden;
    animation: ds-fade-up var(--ds-duration) var(--ds-ease-out);
}

@keyframes ds-fade-up {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ds-search-overlay__head {
    padding: var(--ds-space-md);
    border-bottom: var(--ds-border-width) solid var(--ds-neutral-200);
}

.ds-search-overlay__results {
    max-height: 60vh;
    overflow-y: auto;
    padding: var(--ds-space-sm);
}

.ds-search-result {
    display: flex;
    align-items: center;
    gap: var(--ds-space-md);
    padding: var(--ds-space-sm);
    border-radius: var(--ds-radius-lg);
    transition: background-color var(--ds-duration-fast) var(--ds-ease);
}

.ds-search-result:hover,
.ds-search-result.is-active {
    background-color: var(--ds-surface-container-low);
}

.ds-search-result__thumb {
    width: 3rem;
    height: 3rem;
    border-radius: var(--ds-radius-lg);
    object-fit: cover;
    background-color: var(--ds-neutral-100);
    flex-shrink: 0;
}

.ds-search-result__body {
    flex: 1 1 auto;
    min-width: 0;
}

.ds-search-result__title {
    font-size: var(--ds-label-lg-size);
    line-height: var(--ds-label-lg-line);
    font-weight: 600;
    color: var(--ds-on-surface);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ds-search-result__meta {
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    color: var(--ds-tertiary);
}

.ds-search-result__price {
    font-size: var(--ds-label-lg-size);
    font-weight: 700;
    color: var(--ds-primary);
    flex-shrink: 0;
}

.ds-search-overlay__empty {
    padding: var(--ds-space-xl) var(--ds-space-md);
    text-align: center;
    color: var(--ds-on-surface-variant);
    font-size: var(--ds-body-sm-size);
}

.ds-search-overlay__foot {
    padding: var(--ds-space-sm) var(--ds-space-md);
    border-top: var(--ds-border-width) solid var(--ds-neutral-200);
    background-color: var(--ds-surface-container-low);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-sm);
    font-size: var(--ds-label-sm-size);
    color: var(--ds-tertiary);
}

.ds-search-overlay__hint {
    display: flex;
    align-items: center;
    gap: var(--ds-space-xs);
}

/* =====================================================================
 * 21. Footer
 * ===================================================================== */

.ds-footer {
    width: 100%;
    background-color: var(--ds-surface-container-low);
    color: var(--ds-on-surface);
    margin-top: var(--ds-space-xl);
}

.ds-footer__trust {
    background-color: var(--ds-surface-container);
    padding-block: var(--ds-space-lg);
}

.ds-footer__trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ds-space-lg);
}

@media (min-width: 768px) {
    .ds-footer__trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ds-footer__trust-item {
    display: flex;
    align-items: center;
    gap: var(--ds-space-sm);
}

.ds-footer__trust-item .ds-icon {
    color: var(--ds-primary);
}

.ds-footer__trust-title {
    font-size: var(--ds-label-lg-size);
    line-height: var(--ds-label-lg-line);
    font-weight: 600;
}

.ds-footer__trust-text {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-tertiary);
}

.ds-footer__main {
    padding-block: var(--ds-space-xl);
}

.ds-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ds-space-xl);
}

@media (min-width: 768px) {
    .ds-footer__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

.ds-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    text-decoration: none;
    color: inherit;
}

.ds-footer__logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.ds-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-sm);
}

@media (min-width: 768px) {
    .ds-footer__brand {
        grid-column: span 4;
    }
}

.ds-footer__brand-row {
    display: flex;
    align-items: center;
    gap: var(--ds-space-xs);
}

.ds-footer__brand-row .ds-icon {
    color: var(--ds-primary);
}

.ds-footer__brand-name {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.ds-footer__brand-name span {
    color: var(--ds-primary);
}

.ds-footer__about {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
}

.ds-footer__social {
    display: flex;
    align-items: center;
    gap: var(--ds-space-sm);
    margin-top: var(--ds-space-xs);
}

.ds-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--ds-radius-lg);
    background-color: var(--ds-surface-container-lowest);
    color: var(--ds-tertiary);
    transition: color var(--ds-duration) var(--ds-ease),
        background-color var(--ds-duration) var(--ds-ease);
}

.ds-footer__social a:hover {
    background-color: var(--ds-primary);
    color: var(--ds-on-primary);
}

.ds-footer__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ds-space-lg);
}

@media (min-width: 768px) {
    .ds-footer__columns {
        grid-column: span 8;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ds-footer__col-title {
    font-size: var(--ds-label-md-size);
    line-height: var(--ds-label-md-line);
    font-weight: 700;
    letter-spacing: var(--ds-label-md-tracking);
    text-transform: uppercase;
    color: var(--ds-on-surface);
    margin-bottom: var(--ds-space-sm);
}

.ds-footer__col-list {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-xs);
}

.ds-footer__col-list a {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
    transition: color var(--ds-duration) var(--ds-ease);
}

.ds-footer__col-list a:hover {
    color: var(--ds-primary);
}

.ds-footer__bottom {
    border-top: var(--ds-border-width) solid var(--ds-neutral-200);
    padding-block: var(--ds-space-lg);
}

.ds-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-md);
    text-align: center;
}

@media (min-width: 768px) {
    .ds-footer__bottom-inner {
        flex-direction: row;
        text-align: left;
    }
}

.ds-footer__ssl {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    font-size: var(--ds-body-sm-size);
    color: var(--ds-on-surface-variant);
}

.ds-footer__ssl-icon {
    color: var(--ds-tertiary);
    font-size: 1.125rem;
}

.ds-footer__copyright {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
}

.ds-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--ds-space-md);
}

.ds-footer__legal a {
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
}

.ds-footer__legal a:hover {
    color: var(--ds-primary);
}

.ds-footer__payments {
    display: flex;
    align-items: center;
    gap: var(--ds-space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.ds-footer__payment-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    padding: var(--ds-space-xs) var(--ds-space-sm);
    border-radius: var(--ds-radius);
    background-color: var(--ds-surface-container-lowest);
    border: var(--ds-border-width) solid var(--ds-neutral-200);
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: 600;
    color: var(--ds-tertiary);
}

/* =====================================================================
 * 22. Affiliate disclosure
 * ===================================================================== */

.ds-affiliate-disclosure {
    display: flex;
    align-items: flex-start;
    gap: var(--ds-space-sm);
    padding: var(--ds-space-md);
    border-radius: var(--ds-radius-lg);
    background-color: var(--ds-surface-container-low);
    border: var(--ds-border-width) solid var(--ds-neutral-200);
    font-size: var(--ds-body-sm-size);
    line-height: var(--ds-body-sm-line);
    color: var(--ds-on-surface-variant);
}

.ds-affiliate-disclosure .ds-icon {
    color: var(--ds-tertiary);
    flex-shrink: 0;
}

/* =====================================================================
 * 23. Utility: aspect ratios & misc
 * ===================================================================== */

.ds-aspect-square {
    aspect-ratio: 1 / 1;
}

.ds-aspect-video {
    aspect-ratio: 16 / 9;
}

.ds-rounded-lg {
    border-radius: var(--ds-radius-lg);
}

.ds-rounded-xl {
    border-radius: var(--ds-radius-xl);
}

.ds-overflow-hidden {
    overflow: hidden;
}

.ds-relative {
    position: relative;
}

.ds-hidden {
    display: none;
}

.ds-block {
    display: block;
}

.ds-w-full {
    width: 100%;
}

.ds-max-w-lg {
    max-width: 32rem;
}

.ds-mx-auto {
    margin-inline: auto;
}

.ds-mb-sm {
    margin-bottom: var(--ds-space-sm);
}

.ds-mb-md {
    margin-bottom: var(--ds-space-md);
}

.ds-mb-lg {
    margin-bottom: var(--ds-space-lg);
}

.ds-mb-xl {
    margin-bottom: var(--ds-space-xl);
}

.ds-mt-sm {
    margin-top: var(--ds-space-sm);
}

.ds-mt-md {
    margin-top: var(--ds-space-md);
}

.ds-mt-lg {
    margin-top: var(--ds-space-lg);
}

.ds-mt-xl {
    margin-top: var(--ds-space-xl);
}

.ds-pt-md {
    padding-top: var(--ds-space-md);
}

.ds-p-md {
    padding: var(--ds-space-md);
}

.ds-p-lg {
    padding: var(--ds-space-lg);
}

.ds-border-top {
    border-top: var(--ds-border-width) solid var(--ds-neutral-200);
}

.ds-border-bottom {
    border-bottom: var(--ds-border-width) solid var(--ds-neutral-200);
}

.ds-shadow-sm {
    box-shadow: var(--ds-shadow-sm);
}

.ds-shadow-md {
    box-shadow: var(--ds-shadow-md);
}

.ds-shadow-lg {
    box-shadow: var(--ds-shadow-lg);
}

.ds-bg-white {
    background-color: var(--ds-surface-container-lowest);
}

.ds-bg-tinted {
    background-color: var(--ds-surface-container-low);
}

.ds-bg-container {
    background-color: var(--ds-surface-container);
}

.ds-bg-dark {
    background-color: var(--ds-inverse-surface);
    color: var(--ds-inverse-on-surface);
}

.ds-bg-dark h1,
.ds-bg-dark h2,
.ds-bg-dark h3,
.ds-bg-dark h4 {
    color: var(--ds-inverse-on-surface);
}

.ds-bg-slate {
    background-color: var(--ds-neutral-900);
    color: #ffffff;
}

.ds-bg-slate h1,
.ds-bg-slate h2,
.ds-bg-slate h3,
.ds-bg-slate h4 {
    color: #ffffff;
}

.ds-bg-primary {
    background-color: var(--ds-primary);
    color: var(--ds-on-primary);
}

.ds-bg-primary-fixed {
    background-color: var(--ds-primary-fixed);
    color: var(--ds-primary);
}

.ds-bg-secondary {
    background-color: var(--ds-secondary);
    color: var(--ds-on-secondary);
}

.ds-bg-neutral {
    background-color: var(--ds-neutral-100);
}

.ds-border {
    border: var(--ds-border-card);
}

.ds-border-primary {
    border: var(--ds-border-width) solid var(--ds-primary);
}

.ds-rounded-full {
    border-radius: var(--ds-radius-full);
}

.ds-opacity-70 {
    opacity: 0.7;
}

.ds-leading-tight {
    line-height: 1.25;
}

.ds-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ds-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ds-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ds-divider {
    height: var(--ds-border-width);
    background-color: var(--ds-neutral-200);
    border: 0;
    margin-block: var(--ds-space-lg);
}

.ds-divider--inverse {
    background-color: rgba(255, 255, 255, 0.1);
}

/* =====================================================================
 * 24. Responsive visibility helpers
 * ===================================================================== */

.ds-show-mobile {
    display: block;
}

.ds-show-desktop {
    display: none;
}

@media (min-width: 768px) {
    .ds-show-mobile {
        display: none;
    }

    .ds-show-desktop {
        display: block;
    }
}

.ds-show-sm {
    display: none;
}

@media (min-width: 640px) {
    .ds-show-sm {
        display: block;
    }
}

.ds-hide-sm {
    display: block;
}

@media (min-width: 640px) {
    .ds-hide-sm {
        display: none;
    }
}

.ds-hide-md {
    display: block;
}

@media (min-width: 768px) {
    .ds-hide-md {
        display: none;
    }
}

.ds-hide-lg {
    display: block;
}

@media (min-width: 1024px) {
    .ds-hide-lg {
        display: none;
    }
}

/* =====================================================================
 * 25. Front page - Hero / Trust / Bestseller foot / Production
 * Synced from deutschshirt_old stable UI + premium upgrade (Stitch/DESIGN.md)
 * ===================================================================== */

.ds-front {
    display: block;
    background-color: var(--ds-background);
}

/* Hero - inverse slate, glass badge, showcase card */
.ds-hero {
    position: relative;
    background-color: var(--ds-inverse-surface);
    color: var(--ds-inverse-on-surface);
    overflow: hidden;
    padding: 4rem 0 5rem;
    box-shadow: var(--ds-shadow-2xl);
}

@media (min-width: 1024px) {
    .ds-hero {
        padding: 5rem 0 6.5rem;
    }
}

.ds-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60rem 30rem at 15% 10%, rgba(204, 73, 0, 0.28), transparent 60%),
        radial-gradient(50rem 26rem at 90% 90%, rgba(211, 228, 254, 0.14), transparent 60%);
    pointer-events: none;
}

.ds-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ds-space-xl);
}

@media (min-width: 1024px) {
    .ds-hero__inner {
        flex-direction: row;
        align-items: center;
    }
}

.ds-hero__content {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ds-space-md);
    min-width: 0;
}

.ds-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-xs);
    background-color: rgba(211, 228, 254, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--ds-space-xs) var(--ds-space-md);
    border-radius: var(--ds-radius-full);
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: var(--ds-label-sm-weight);
    letter-spacing: var(--ds-label-sm-tracking);
    text-transform: uppercase;
    color: var(--ds-primary-fixed);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ds-hero__badge-icon {
    font-size: 16px;
}

.ds-hero__title {
    color: #ffffff;
    font-family: var(--ds-font-headline);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 42rem;
    margin: 0;
}

.ds-hero__text {
    font-size: var(--ds-body-lg-size);
    line-height: var(--ds-body-lg-line);
    color: var(--ds-surface-container);
    max-width: 36rem;
}

.ds-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ds-space-md);
    padding-top: var(--ds-space-sm);
    width: 100%;
}

@media (min-width: 640px) {
    .ds-hero__actions {
        width: auto;
    }
}

.ds-hero__actions .ds-btn--primary {
    box-shadow: var(--ds-shadow-xl);
}

.ds-btn__icon {
    font-size: 20px;
}

.ds-hero__stats {
    margin: 0;
}

.ds-stats__item {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    min-width: 0;
}

.ds-stats__item dt,
.ds-stats__item dd {
    margin: 0;
}

.ds-hero__showcase {
    width: 100%;
    max-width: 28rem;
    flex: 0 0 auto;
}

@media (min-width: 1024px) {
    .ds-hero__showcase {
        width: 41.6%;
        max-width: none;
    }
}

.ds-showcase__body {
    margin-top: var(--ds-space-sm);
    background-color: var(--ds-surface-container-lowest);
    color: var(--ds-on-surface);
    padding: var(--ds-space-md);
    border-radius: var(--ds-radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-xs);
    box-shadow: var(--ds-shadow-md);
}

.ds-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: var(--ds-label-sm-size);
    line-height: var(--ds-label-sm-line);
    font-weight: var(--ds-label-sm-weight);
    letter-spacing: var(--ds-label-sm-tracking);
    text-transform: uppercase;
    color: var(--ds-primary);
    margin: 0;
}

.ds-showcase__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-sm);
    margin-top: var(--ds-space-xs);
}

.ds-showcase__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 22rem;
    background: linear-gradient(135deg, var(--ds-surface-container), var(--ds-surface-container-highest));
}

.ds-showcase__placeholder-icon {
    font-size: 64px;
    color: var(--ds-tertiary);
    opacity: 0.7;
}

.ds-price {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    line-height: var(--ds-headline-sm-line);
    font-weight: 800;
    color: var(--ds-on-surface);
    font-feature-settings: "tnum" 1;
}

/* Trust section spacing - trust grid itself already exists */
.ds-trust-section {
    background-color: var(--ds-surface-container-low);
    box-shadow: var(--ds-shadow-sm);
    padding-block: var(--ds-space-lg);
}

.ds-collections-grid {
    align-items: stretch;
}

/* Empty state titles */
.ds-empty-state__title {
    font-family: var(--ds-font-headline);
    font-size: var(--ds-headline-sm-size);
    margin: 0;
}

.ds-empty-state__text {
    color: var(--ds-on-surface-variant);
    font-size: var(--ds-body-sm-size);
    max-width: 36rem;
}

/* Bestseller foot - premium upsell bar ported from old .more */
.ds-bestseller__foot {
    margin-top: var(--ds-space-xl);
    padding: var(--ds-space-lg);
    background-color: var(--ds-surface-container);
    border-radius: var(--ds-radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ds-space-md);
    text-align: center;
    box-shadow: var(--ds-shadow-sm);
}

@media (min-width: 640px) {
    .ds-bestseller__foot {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.ds-bestseller__foot-text {
    display: flex;
    align-items: center;
    gap: var(--ds-space-md);
    text-align: left;
}

.ds-bestseller__foot-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--ds-radius-full);
    background-color: var(--ds-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
}

.ds-bestseller__foot-title {
    font-family: var(--ds-font-headline);
    font-weight: 600;
    font-size: var(--ds-headline-sm-size);
    margin: 0;
}

.ds-bestseller__foot-sub {
    font-size: var(--ds-body-sm-size);
    color: var(--ds-on-surface-variant);
    margin: 0;
}

/* Production - 2-col editorial + visual + DHL badge */
.ds-production {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ds-space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .ds-production {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.ds-production__content {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-md);
    min-width: 0;
}

.ds-production__content .ds-eyebrow {
    color: var(--ds-primary);
    background-color: var(--ds-primary-fixed);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.ds-production__text {
    color: var(--ds-on-surface-variant);
    max-width: 38rem;
}

.ds-production__features {
    padding-top: var(--ds-space-xs);
}

.ds-feature-box__icon {
    font-size: 20px;
}

.ds-production__verify {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ds-space-sm);
    padding-top: var(--ds-space-xs);
}

.ds-verify-pill__icon {
    font-size: 18px;
}

.ds-production__media {
    position: relative;
    margin-bottom: 1.5rem;
    min-width: 0;
}

.ds-production__media-frame {
    border-radius: var(--ds-radius-xl);
    overflow: hidden;
    background-color: var(--ds-surface-container);
    box-shadow: var(--ds-shadow-xl);
}

.ds-production__img {
    width: 100%;
    height: 26rem;
    object-fit: cover;
    display: block;
}

.ds-production__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ds-surface-container-highest), var(--ds-surface-container));
}

.ds-production__placeholder-icon {
    font-size: 64px;
    color: var(--ds-primary);
    opacity: 0.6;
}

.ds-production__badge {
    position: absolute;
    bottom: -1.5rem;
    left: 1rem;
    right: 1rem;
    max-width: 24rem;
    background-color: var(--ds-surface-container-lowest);
    padding: var(--ds-space-md);
    border-radius: var(--ds-radius-xl);
    box-shadow: var(--ds-shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--ds-space-md);
    border: var(--ds-border-card);
}

@media (min-width: 640px) {
    .ds-production__badge {
        left: 1.5rem;
        right: auto;
    }
}

.ds-production__badge-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--ds-radius-lg);
    background-color: var(--ds-primary-fixed);
    color: var(--ds-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
}

.ds-production__badge-title {
    font-weight: 700;
    font-size: var(--ds-label-lg-size);
    margin: 0;
}

.ds-production__badge-text {
    font-size: var(--ds-body-sm-size);
    color: var(--ds-tertiary);
    margin: 0;
}

/* Post card image + link icon */
.ds-post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ds-duration-slow) var(--ds-ease);
}

.ds-post-card:hover .ds-post-card__img {
    transform: scale(1.05);
}

.ds-post-card__link-icon {
    font-size: 18px;
}

/* Sticky header + admin bar - stable like old */
.admin-bar .ds-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .ds-header {
        top: 46px;
    }
}

/* Icon font fallback - avoid raw text explosion when offline */
.ds-icon {
    min-width: 1em;
    min-height: 1em;
    text-align: center;
    overflow: hidden;
    flex-shrink: 0;
}

/* Anchor offset for sticky header */
.ds-front section[id],
.ds-main section[id] {
    scroll-margin-top: calc(var(--ds-header-height) + var(--ds-space-md));
}