

.user-dropdown .btn-primary,
.card .btn-primary {
    text-decoration: none;
}


.dynamic-card {
    max-height: none;
}

.dynamic-card .card-title a,
.dynamic-card .product-name a {
    text-decoration: none;
}



* {
    box-sizing: border-box;
}


.dynamic-card .after-cart {
    padding: 10px;
    display: flex;
    align-items: center;
}

.dynamic-card .after-cart.hidden {
    display: none !important;
}

.dynamic-card .after-cart .count {
    min-width: 32px;
    text-align: center;
    font-size: var(--fs-lg);
    font-weight: 600;
}

.dynamic-card .selections .row:last-child {
    align-items: end;
}

.dynamic-card .selection-quantity-row {
    align-items: center;
    padding-top: 8px;
}

.dynamic-card .selection-quantity-row .count {
    min-width: 32px;
    text-align: center;
    font-size: var(--fs-lg);
    font-weight: 600;
}

.dynamic-card .quantity-available-copy {
    margin-top: 4px;
    font-size: var(--fs-xs);
    color: var(--gray);
}

.dynamic-card .icon-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.dynamic-card .card-status {
    padding: 0 10px 8px;
    font-size: var(--fs-xs);
    color: var(--darkGray);
}

.hero-section .dynamic-banner-link {
    display: flex;
    height: 100%;
}

.hero-section .dynamic-banner-link .click {
    width: 100%;
}

.blog-card .btn-primary {
    display: inline-flex;
    justify-content: center;
}

.designer-page .section-spacer {
    height: 4px;
}

.auth-page-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(242, 96, 0, 0.10), transparent 26%),
        linear-gradient(180deg, #fff8f2 0%, #ffffff 44%, #fff7ef 100%);
}

.auth-top-link {
    color: var(--black);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
}

.auth-hero {
    padding: 56px 0 72px;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 500px);
    gap: 30px;
    align-items: start;
}

.auth-shell-wide {
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.15fr);
}

.auth-copy-panel,
.auth-form-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.auth-copy-panel {
    padding: 34px 36px;
}

.auth-copy-panel h2,
.auth-form-header h3 {
    color: var(--black);
}

.auth-copy-panel h2 {
    margin: 18px 0 14px;
    font-size: clamp(2rem, 2.2vw, 2.8rem);
    line-height: 1.1;
}

.auth-copy-panel p,
.auth-form-header p {
    color: #5c6065;
    line-height: 1.7;
}

.auth-provider-row {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-provider {
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

.auth-help-card {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #fff6ee;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #5c6065;
    font-size: var(--fs-sm);
}

.auth-form-card {
    padding: 34px 36px;
}

.auth-form-wide {
    max-width: none;
}

.auth-form-header {
    margin-bottom: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.auth-field span {
    color: var(--black);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.auth-field input,
.auth-field select,
.auth-form-card textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 14px;
    background: #fff;
    color: var(--black);
    font-size: var(--fs-sm);
}

.auth-field input:focus,
.auth-field select:focus,
.auth-form-card textarea:focus {
    outline: none;
    border-color: rgba(242, 96, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(242, 96, 0, 0.12);
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.auth-field-full {
    grid-column: 1 / -1;
}

.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.auth-links-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.auth-links-row a {
    color: var(--black);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
}

.auth-links-row a:hover,
.auth-top-link:hover {
    color: var(--primary);
}

.auth-error {
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .auth-shell,
    .auth-shell-wide {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        padding-top: 32px;
    }
}

@media screen and (max-width: 640px) {
    .auth-copy-panel,
    .auth-form-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }
}

.auth-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 5px;
    margin-bottom: 18px;
    background: #f4f5f7;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
}

.auth-mode-button {
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--black);
    font-weight: 700;
    cursor: pointer;
}

.auth-mode-button.active {
    background: var(--black);
    color: #fff;
}

.collection-shell {
    padding: 34px 0 70px;
}


.filter-toggle-button strong {
    min-width: 18px;
    min-height: 22px;
    padding: 2px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: #fff;
    font-size: 12px;
}

.result-count {
    color: #8a8f98;
    font-weight: 600;
}

.sort-form {
    margin-left: auto;
}



.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4f1e2;
    color: var(--black);
    text-decoration: none;
    font-size: 13px;
}

.filter-chip::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #193bff;
}

.clear-filter-link {
    color: var(--black);
    text-decoration: underline;
    font-size: 13px;
}

.collection-filter-panel details {
    border-bottom: 1px solid rgba(17, 24, 39, 0.22);
    padding: 14px 0;
}

.collection-filter-panel summary {
    cursor: pointer;
    color: var(--black);
    font-weight: 700;
}

.collection-results .product-display {
    padding-top: 0;
}

.product-zoom-frame {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.product-zoom-frame img {
    transition: transform 160ms ease;
    will-change: transform;
}

.magnifier-cue {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--black);
    font-weight: 800;
    pointer-events: none;
}

.size-chart-image {
    max-width: 100%;
    height: auto;
    margin-top: 12px;
    border: 1px solid rgba(17, 24, 39, 0.1);
}

.product-brand {
    margin: 0 0 10px;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 0;
}

.card .img-hold {
    overflow: hidden;
}

.card .img-hold a {
    display: block;
    overflow: hidden;
}

.card .img-hold a img {
    transition: transform 1200ms ease-in-out;
    will-change: transform;
}

.card:hover .img-hold a img {
    transform: scale(1.18);
}


.account-logout-link {
    margin-top: auto;
    padding: 14px 12px;
    color: #e11d48;
    text-decoration: none;
}

.account-main-panel {
    padding: 18px;
}

.address-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.address-add-card,
.address-card {
    min-height: 116px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 6px;
    background: #fff;
}

.address-add-card {
    display: grid;
}

.address-add-card summary {
    display: grid;
    min-height: 116px;
    place-items: center;
    cursor: pointer;
    color: #001b44;
    font-weight: 600;
    list-style: none;
}

.address-add-card summary::-webkit-details-marker,
.address-actions-menu summary::-webkit-details-marker {
    display: none;
}

.address-add-card[open] {
    grid-column: 1 / -1;
    padding: 0 16px 16px;
}

.address-add-card[open] summary {
    min-height: auto;
    padding: 16px 0;
    place-items: start;
}

.address-form {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    padding-top: 16px;
}

.address-edit-panel {
    margin-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.address-edit-panel summary {
    padding-top: 12px;
    cursor: pointer;
    color: #001b44;
    font-weight: 600;
    list-style: none;
}

.address-edit-panel summary::-webkit-details-marker {
    display: none;
}

.address-edit-panel .address-form {
    margin-top: 12px;
}

.address-card {
    padding: 18px;
    color: #001b44;
}

.address-card header,
.address-card header div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-card header {
    justify-content: space-between;
    margin-bottom: 16px;
}

.address-card strong {
    font-size: 14px;
}

.address-card header span,
.checkout-address-card em {
    padding: 2px 7px;
    border-radius: 999px;
    background: #e8fff0;
    color: #0a9f45;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.address-card p {
    max-width: 34ch;
    margin: 4px 0 0;
    color: #001b44;
    font-size: 13px;
    line-height: 1.45;
}

.address-actions-menu {
    position: relative;
}

.address-actions-menu summary {
    cursor: pointer;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    list-style: none;
}

.address-actions-menu form {
    position: absolute;
    top: 24px;
    right: 0;
    z-index: 3;
    min-width: 96px;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 6px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.address-actions-menu button {
    width: 100%;
    border: 0;
    background: transparent;
    color: #e11d48;
    cursor: pointer;
    font: inherit;
    padding: 8px 10px;
    text-align: left;
}

.checkout-address-choices {
    display: grid;
    gap: 10px;
    min-width: min(360px, 100%);
}

.checkout-address-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
}

.checkout-address-card:has(input:checked) {
    border-color: #0d5bd7;
    box-shadow: 0 0 0 1px #0d5bd7;
}

.checkout-address-card span {
    display: grid;
    gap: 4px;
}

.checkout-address-card small {
    color: #536078;
    line-height: 1.4;
}

@media screen and (max-width: 800px) {

    .account-side-menu {
        min-height: auto;
    }

    .address-card-grid {
        grid-template-columns: 1fr;
    }
}

.nav-collection {
    position: relative;
}


.nav-collection:hover .collection-dropdown,
.nav-collection:focus-within .collection-dropdown {
    display: block;
}

@media screen and (max-width: 900px) {
    .collection-layout {
        grid-template-columns: 1fr;
    }

    .collection-filter-panel {
        position: static;
    }

    .sort-form {
        margin-left: 0;
    }
}
