body.customer-auth-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(31, 99, 211, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
    font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.customer-auth-card {
    overflow: hidden;
    border-radius: 1.25rem;
}

.customer-auth-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.customer-auth-hero {
    min-height: 100%;
    padding: 3rem;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #133e80 0%, #1f63d3 48%, #6fa5ff 100%);
}

.customer-auth-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.customer-auth-logo-wrap {
    width: 80%;
    max-width: 280px;
    margin: 0 auto 1rem;
}

.customer-auth-logo {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
}

.customer-auth-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.customer-auth-label {
    margin-bottom: 0.45rem;
    color: #5a5c69;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customer-social-login {
    display: grid;
    gap: 0.85rem;
}

.customer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border: 1px solid #d9e3f1;
    border-radius: 0.9rem;
    font-weight: 800;
    color: #243041;
}

.customer-social-btn:hover {
    color: #243041;
}

.customer-social-btn.disabled,
.customer-social-btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.65;
}

.customer-social-btn-google {
    background: #fff;
}

.customer-social-btn-facebook {
    background: #f5f8ff;
    border-color: #cfdcff;
}

.customer-social-note {
    padding: 0.25rem 0.15rem 0;
    line-height: 1.6;
}

.customer-auth-divider {
    position: relative;
    text-align: center;
}

.customer-auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    border-top: 1px solid #e3e6f0;
}

.customer-auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 0.9rem;
    background: #fff;
    color: #858796;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.customer-auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

.customer-auth-links a {
    color: #1f63d3;
    font-weight: 700;
    text-decoration: none;
}

.customer-auth-links a:hover {
    text-decoration: underline;
}

.customer-info-card {
    padding: 1.25rem;
    border: 1px solid #e3e6f0;
    border-radius: 1rem;
    background: #fff;
}

.customer-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
}

.customer-shell-card {
    overflow: hidden;
    border-radius: 1.25rem;
}

.customer-page-shell {
    width: min(80vw, 1720px);
    margin: 0 auto;
}

.customer-shell-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #e9edf5;
    background: #fff;
}

.customer-shell-logo {
    display: block;
    width: min(180px, 100%);
    padding: 0.45rem 0.7rem;
    border: 1px solid #e3e6f0;
    border-radius: 0.9rem;
    background: #f8faff;
}

.customer-shell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.customer-auth-page .btn:not(.btn-link),
.customer-panel-card .btn:not(.btn-link),
.customer-shell-actions .btn:not(.btn-link) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    border-radius: 0.9rem;
    font-weight: 800;
}

.customer-auth-page .btn.btn-sm:not(.btn-link),
.customer-panel-card .btn.btn-sm:not(.btn-link),
.customer-shell-actions .btn.btn-sm:not(.btn-link) {
    min-height: 2.2rem;
    gap: 0.45rem;
}

.customer-auth-page .btn.btn-block:not(.btn-link),
.customer-panel-card .btn.btn-block:not(.btn-link) {
    display: flex;
    width: 100%;
}

.customer-auth-page .btn i,
.customer-panel-card .btn i,
.customer-shell-actions .btn i,
.customer-menu-link i {
    width: 1rem;
    min-width: 1rem;
    margin-right: 0 !important;
    font-size: 0.95rem;
    line-height: 1;
    text-align: center;
}

.customer-shell-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.customer-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid #d9e3f1;
    border-radius: 999px;
    background: #fff;
}

.customer-language-label {
    padding: 0 0.5rem 0 0.65rem;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customer-language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.2rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    color: #1f63d3;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.customer-language-link:hover {
    color: #174ea7;
    text-decoration: none;
}

.customer-language-link.active {
    background: #1f63d3;
    color: #fff;
}

.customer-menu-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e9edf5;
    background: #fbfcff;
}

.customer-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.65rem;
    padding: 0.7rem 1rem;
    border: 1px solid #d9e3f1;
    border-radius: 999px;
    background: #fff;
    color: #1f63d3;
    font-weight: 800;
    text-decoration: none;
}

.customer-menu-link.active {
    border-color: #1f63d3;
    background: #1f63d3;
    color: #fff;
}

.customer-panel-card {
    padding: 1.5rem;
    border: 1px solid #e3e6f0;
    border-radius: 1rem;
    background: #fff;
}

.customer-form-grid,
.customer-grid-2 {
    display: grid;
    gap: 1rem;
}

.customer-empty-state {
    padding: 1rem 1.1rem;
    border: 1px dashed #ced8e7;
    border-radius: 0.9rem;
    background: #fbfcff;
    color: #6b7280;
}

.customer-project-grid {
    display: grid;
    gap: 1rem;
}

.customer-project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.customer-project-actions form {
    margin: 0;
}

.customer-project-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e3e6f0;
    border-radius: 1rem;
    background: #fff;
}

.customer-project-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    overflow: hidden;
    border-radius: 0.9rem;
    background: #f8faff;
    color: #6b7280;
    font-size: 0.85rem;
}

.customer-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-cart-list,
.customer-order-stack {
    display: grid;
    gap: 1rem;
}

.customer-cart-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e3e6f0;
    border-radius: 1rem;
    background: #fff;
}

.customer-cart-total {
    min-width: 110px;
    text-align: right;
}

.customer-summary-card {
    align-self: start;
    position: sticky;
    top: 1rem;
}

.customer-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #edf1f7;
}

.customer-summary-row-total {
    font-size: 1.05rem;
    border-bottom: 0;
}

.customer-inline-form {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.customer-qty-input {
    width: 4.75rem;
}

.customer-size-form {
    display: grid;
    gap: 0.85rem;
}

.customer-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 0.75rem;
}

.customer-size-field {
    margin: 0;
}

.customer-size-field .customer-auth-label {
    display: block;
    margin-bottom: 0.35rem;
}

.customer-size-field .form-control {
    text-align: center;
}

.customer-cart-mini-list {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.customer-summary-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #edf1f7;
}

.customer-order-card {
    padding: 1.2rem;
    border: 1px solid #e3e6f0;
    border-radius: 1rem;
    background: #fff;
}

.customer-order-header,
.customer-order-item,
.customer-order-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.customer-order-items {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #edf1f7;
}

.customer-order-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 0.85rem;
    background: #f8faff;
    color: #6b7280;
    font-size: 0.75rem;
    flex: 0 0 auto;
}

.customer-order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-order-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
}

.customer-order-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #edf1f7;
}

.customer-shop-header {
    align-items: center;
}

.customer-shop-header-copy {
    max-width: 40rem;
}

.customer-shop-kicker {
    display: inline-block;
    margin-top: 1rem;
    color: #1f63d3;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.customer-shop-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.customer-shop-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 1rem;
}

.customer-shop-media {
    display: grid;
    gap: 1rem;
}

.customer-shop-side-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid #d9e3f1;
    border-radius: 999px;
    background: #fff;
    justify-self: start;
}

.customer-shop-side-btn {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #1f63d3;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.6rem 1rem;
}

.customer-shop-side-btn.is-active {
    background: #1f63d3;
    color: #fff;
}

.customer-shop-media-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
}

.customer-shop-flip-frame {
    perspective: 1400px;
}

.customer-shop-flip-card {
    position: relative;
    width: 100%;
    min-height: 280px;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}

.customer-shop-flip-card.is-back {
    transform: rotateY(180deg);
}

.customer-shop-flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    cursor: zoom-in;
}

.customer-shop-flip-face-back {
    transform: rotateY(180deg);
}

.customer-shop-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.9rem;
    transform-origin: 50% 50%;
    transition: transform 0.18s ease-out;
}

.customer-shop-flip-face.is-zoomed img {
    transform: scale(2.3);
}

.customer-shop-body {
    display: grid;
    gap: 1rem;
}

.customer-shop-card-footer {
    display: grid;
}

.customer-shop-buy-trigger {
    min-height: 3rem;
    font-weight: 800;
}

.customer-shop-detail-layout {
    display: grid;
    gap: 1.5rem;
}

.customer-shop-detail-panel {
    align-self: start;
}

.customer-shop-detail-frame {
    min-height: 520px;
}

.customer-shop-details[hidden] {
    display: none !important;
}

.customer-shop-details {
    display: grid;
    gap: 1rem;
    padding-top: 0.25rem;
    border-top: 1px solid #edf1f7;
}

.customer-shop-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.customer-shop-form {
    display: grid;
    gap: 1rem;
}

.customer-shop-swatch-grid,
.customer-shop-sleeve-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.customer-shop-option {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d9e3f1;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    margin: 0;
}

.customer-shop-option input {
    margin: 0;
}

.customer-shop-option-color {
    min-width: 8.5rem;
    justify-content: flex-start;
}

.customer-color-dot {
    width: 1rem;
    height: 1rem;
    border: 1px solid rgba(17, 24, 39, 0.16);
    border-radius: 999px;
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .customer-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-grid-2 {
        grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    }

    .customer-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .customer-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .customer-shop-detail-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
        align-items: start;
    }
}

@media (min-width: 1200px) {
    .customer-shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .customer-shell-header,
    .customer-menu-bar {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .customer-auth-links {
        flex-direction: column;
    }

    .customer-language-switcher {
        width: 100%;
        justify-content: center;
    }

    .customer-project-card {
        grid-template-columns: 1fr;
    }

    .customer-cart-card,
    .customer-order-item {
        grid-template-columns: 1fr;
    }

    .customer-cart-total {
        text-align: left;
    }

    .customer-shop-detail-frame {
        min-height: 380px;
    }
}

@media (max-width: 991.98px) {
    .customer-page-shell {
        width: min(94vw, 1720px);
    }
}
