.interior-site {
    --page-ink: #0c0d0e;
    --page-muted: #666970;
    --page-red: #e63946;
    --page-border: #e5e7eb;
    --page-panel: #ffffff;
}

.interior-site .top-bar {
    min-height: 32px;
}

.interior-site .navbar {
    border-bottom-color: var(--page-border);
}

.interior-site .nav-actions {
    gap: 12px;
}

.interior-site main.page-main {
    padding-top: 34px;
}

.page-main {
    padding-bottom: 32px;
}

.page-main > * {
    min-width: 0;
}

.interior-site .footer-brand > a {
    color: var(--page-ink);
}

.sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.page-main > * + * {
    margin-top: 28px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 16px;
    color: #ffffff;
    background:
        linear-gradient(110deg, rgba(13, 14, 16, 0.97) 0%, rgba(13, 14, 16, 0.88) 54%, rgba(13, 14, 16, 0.62) 100%),
        var(--page-hero-image, linear-gradient(135deg, #25272d, #0d0e10));
    background-position: center;
    background-size: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.page-hero::after {
    position: absolute;
    right: -72px;
    bottom: -180px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 690px;
}

.page-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--page-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.page-eyebrow-light {
    color: #ff7b83;
}

.page-title {
    margin: 0;
    color: var(--page-ink);
    font-family: var(--font-heading);
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.03;
    text-transform: uppercase;
}

.page-hero .page-title {
    color: #ffffff;
}

.page-lede {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--page-muted);
    font-size: 13px;
    line-height: 1.75;
}

.page-hero .page-lede {
    color: rgba(255, 255, 255, 0.76);
}

.page-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--page-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.page-breadcrumbs a:hover,
.page-inline-link {
    color: var(--page-red);
}

.page-section {
    margin-top: 34px;
}

.page-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.page-section-title {
    margin: 0;
    color: var(--page-ink);
    font-family: var(--font-heading);
    font-size: clamp(19px, 2.5vw, 26px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-transform: uppercase;
}

.page-section-note {
    margin: 6px 0 0;
    color: var(--page-muted);
    font-size: 11px;
    line-height: 1.6;
}

.page-panel {
    border: 1px solid rgba(0, 0, 0, 0.045);
    border-radius: 16px;
    background: var(--page-panel);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.035);
}

.page-panel-pad {
    padding: clamp(20px, 3vw, 30px);
}

.page-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.page-category-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 16px;
    background: #22252b;
    color: #ffffff;
}

.page-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.5s ease;
}

.page-category-card:hover img {
    transform: scale(1.05);
}

.page-category-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(13, 14, 16, 0.86) 100%);
    content: "";
}

.page-category-copy {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 1;
}

.page-category-copy span {
    display: block;
    margin-bottom: 5px;
    color: #ff9aa0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.page-category-copy strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 19px;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.page-category-copy i {
    font-size: 12px;
}

.page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--page-border);
}

.page-toolbar-count {
    color: var(--page-muted);
    font-size: 11px;
}

.page-select,
.page-form input,
.page-form select,
.page-form textarea,
.page-search-input {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--page-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--page-ink);
    font: 12px var(--font-body);
}

.page-select {
    width: auto;
    min-width: 150px;
}

.page-form textarea {
    min-height: 132px;
    resize: vertical;
}

.page-form input:focus,
.page-form select:focus,
.page-form textarea:focus,
.page-select:focus,
.page-search-input:focus {
    border-color: var(--page-ink);
    outline: 2px solid rgba(12, 13, 14, 0.08);
}

.page-form label {
    display: block;
    margin: 0 0 7px;
    color: var(--page-ink);
    font-size: 11px;
    font-weight: 700;
}

.page-form-field {
    margin-bottom: 15px;
}

.page-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.page-form-span {
    grid-column: 1 / -1;
}

.page-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.page-product-grid .product-card {
    min-width: 0;
    flex: initial;
}

.page-product-grid .product-info {
    min-height: 120px;
}

.page-product-grid .add-cart-btn {
    padding: 0 10px;
}

.page-search-form {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin-top: 24px;
}

.page-search-input {
    flex: 1;
}

.page-empty {
    padding: 40px 24px;
    border: 1px dashed #d6d8dd;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.page-empty-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin: 0 auto 13px;
    place-items: center;
    border-radius: 50%;
    background: #f1f2f4;
    color: var(--page-red);
}

.page-empty .page-section-title {
    margin-bottom: 8px;
}

.page-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    align-items: start;
    gap: 20px;
}

.page-columns-checkout {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
}

.page-stack {
    display: grid;
    gap: 16px;
}

.page-summary {
    position: sticky;
    top: 88px;
}

.page-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--page-border);
    color: var(--page-muted);
    font-size: 11px;
}

.page-summary-row strong {
    color: var(--page-ink);
}

.page-summary-total {
    margin-top: 4px;
    padding-top: 17px;
    border-bottom: 0;
    color: var(--page-ink);
    font-size: 14px;
    font-weight: 700;
}

.page-summary .btn {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
}

.page-cart-list {
    display: grid;
}

.page-cart-list .cart-item {
    align-items: flex-start;
    padding: 16px 0;
}

.page-cart-list .cart-item:first-child {
    padding-top: 0;
}

.page-cart-list .cart-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.page-cart-list .cart-item-img {
    width: 78px;
    height: 96px;
    border-radius: 10px;
}

.page-cart-list .cart-item-title {
    font-size: 12px;
}

.page-cart-list .cart-item-price {
    color: var(--page-muted);
    font-weight: 600;
}

.page-cart-list .qty-btn {
    width: 24px;
    height: 24px;
    background: #f1f2f4;
}

.page-cart-remove {
    margin-left: auto;
    padding: 4px;
    color: var(--page-muted);
}

.page-cart-remove:hover {
    color: var(--page-red);
}

.page-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    align-items: start;
    gap: clamp(24px, 5vw, 64px);
}

.page-product-gallery {
    min-width: 0;
}

.page-product-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #e6e7ea;
}

.page-product-image img {
    width: 100%;
    aspect-ratio: 0.86;
    object-fit: cover;
}

.page-product-image .page-product-main-image {
    display: block;
    transition: opacity 0.2s ease;
}

.page-gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--page-ink);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease;
}

.page-gallery-arrow:hover {
    background: var(--page-ink);
    color: #ffffff;
}

.page-gallery-prev {
    left: 14px;
}

.page-gallery-next {
    right: 14px;
}

.page-product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.page-product-thumbnail {
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #e6e7ea;
    cursor: pointer;
}

.page-product-thumbnail.active,
.page-product-thumbnail:focus-visible {
    border-color: var(--page-ink);
    outline: none;
}

.page-product-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.page-product-copy {
    padding: clamp(20px, 3vw, 34px);
}

.page-product-copy .page-title {
    font-size: clamp(26px, 3.5vw, 38px);
}

.page-product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 16px 0;
}

.page-product-price .product-price {
    font-size: 22px;
}

.page-product-copy .page-lede {
    margin-bottom: 20px;
}

.page-product-meta {
    display: grid;
    gap: 0;
    margin: 22px 0;
    border-top: 1px solid var(--page-border);
}

.page-product-meta div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--page-border);
    color: var(--page-muted);
    font-size: 10px;
}

.page-product-meta strong {
    color: var(--page-ink);
}

.page-product-copy .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
}

.page-product-help {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 15px;
    color: var(--page-muted);
    font-size: 10px;
}

.page-product-help i {
    margin-right: 5px;
    color: var(--page-red);
}

.page-related {
    margin-top: 40px;
}

.page-aside-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 26px;
    border-radius: 16px;
    background: #0d0e10;
    color: #ffffff;
}

.page-aside-card .page-section-title {
    color: #ffffff;
}

.page-aside-card p {
    margin: 10px 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1.75;
}

.page-aside-card .btn {
    justify-content: center;
}

.page-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.page-auth-card {
    padding: clamp(22px, 3vw, 34px);
}

.page-auth-card .page-section-title {
    margin-bottom: 8px;
}

.page-auth-card .btn {
    justify-content: center;
}

.page-account-login {
    display: grid;
    min-height: 510px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
    overflow: hidden;
    border-radius: 16px;
    background: #0d0e10;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.page-account-login.page-signup-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
}

.page-account-login-story {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(28px, 5vw, 58px);
    background:
        linear-gradient(180deg, rgba(13, 14, 16, 0.12), rgba(13, 14, 16, 0.94)),
        url("https://images.unsplash.com/photo-1509631179647-0177331693ae?auto=format&fit=crop&w=1200&q=80") center 35% / cover;
}

.page-account-login-story .page-title {
    color: #ffffff;
}

.page-account-login-form {
    align-self: center;
    margin: 24px;
    padding: clamp(22px, 3vw, 34px);
}

.page-account-login-form .btn {
    width: 100%;
    justify-content: center;
}

.page-account-signup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0 0;
    padding: clamp(22px, 3vw, 30px);
}

.page-account-signup .page-section-title {
    font-size: clamp(17px, 2vw, 22px);
}

.page-account-signup .btn {
    flex-shrink: 0;
    justify-content: center;
}

.page-form-error,
.page-form-success {
    margin-top: 16px;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.5;
}

.page-form-error {
    background: #fff0f0;
    color: #9b2530;
}

.page-form-success {
    background: #edf9f1;
    color: #24633b;
}

.customer-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    margin-top: 28px;
}

.customer-nav {
    position: sticky;
    top: 88px;
    padding: 12px;
}

.customer-nav-profile {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 9px 16px;
    margin-bottom: 7px;
    border-bottom: 1px solid var(--page-border);
}

.customer-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #0d0e10;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
}

.customer-nav-profile strong,
.customer-nav-profile small {
    display: block;
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-nav-profile strong {
    color: var(--page-ink);
    font-size: 11px;
}

.customer-nav-profile small {
    margin-top: 3px;
    color: var(--page-muted);
    font-size: 9px;
}

.customer-nav > a,
.customer-nav > form > button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border-radius: 7px;
    color: var(--page-muted);
    font-size: 10px;
    font-weight: 600;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}

.customer-nav > a:hover,
.customer-nav > a.active {
    background: #f1f2f4;
    color: var(--page-ink);
}

.customer-nav > a.active {
    box-shadow: inset 2px 0 var(--page-red);
}

.customer-nav > a i,
.customer-nav > form > button i {
    width: 16px;
    color: var(--page-red);
    text-align: center;
}

.customer-nav > form {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--page-border);
}

.customer-nav > form > button {
    cursor: pointer;
    background: transparent;
}

.customer-nav > form > button:hover {
    background: #fff2f2;
    color: var(--page-red);
}

.customer-content {
    min-width: 0;
}

.customer-content .page-title {
    overflow-wrap: anywhere;
}

.customer-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-portal-card {
    display: block;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.customer-portal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.customer-portal-card .page-inline-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 10px;
    font-weight: 700;
}

.customer-address-card {
    display: grid;
    gap: 5px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--page-border);
    border-radius: 10px;
    background: #f8f8f9;
    color: var(--page-muted);
    font-size: 11px;
}

.customer-address-card strong {
    margin-bottom: 3px;
    color: var(--page-ink);
}

.page-checkout-note,
.page-notice {
    padding: 13px 15px;
    border-left: 3px solid var(--page-red);
    border-radius: 0 8px 8px 0;
    background: #fff5f5;
    color: #5d4245;
    font-size: 10px;
    line-height: 1.65;
}

.page-content-card {
    padding: clamp(22px, 4vw, 42px);
}

.page-content-card > * + * {
    margin-top: 15px;
}

.page-prose {
    color: var(--page-muted);
    font-size: 12px;
    line-height: 1.85;
}

.page-prose h2 {
    margin: 28px 0 8px;
    color: var(--page-ink);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.page-prose h2:first-child {
    margin-top: 0;
}

.page-prose p + p {
    margin-top: 10px;
}

.page-prose ul {
    margin: 8px 0 0 18px;
}

.page-prose li + li {
    margin-top: 5px;
}

.page-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.page-info-card {
    padding: 22px;
}

.page-info-card i {
    display: grid;
    width: 36px;
    height: 36px;
    margin-bottom: 13px;
    place-items: center;
    border-radius: 50%;
    background: #f1f2f4;
    color: var(--page-red);
}

.page-info-card h2 {
    margin: 0 0 8px;
    color: var(--page-ink);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.page-info-card p {
    margin: 0;
    color: var(--page-muted);
    font-size: 10px;
    line-height: 1.75;
}

.page-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--page-border);
    border-radius: 12px;
    background: #ffffff;
}

.page-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--page-muted);
    font-size: 11px;
    text-align: left;
}

.page-table th,
.page-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--page-border);
    white-space: nowrap;
}

.page-table th {
    background: #f8f8f9;
    color: var(--page-ink);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.page-table tbody tr:last-child td {
    border-bottom: 0;
}

.page-confirmation {
    max-width: 720px;
    margin: 46px auto 70px;
    padding: clamp(28px, 6vw, 58px);
    text-align: center;
}

.page-confirmation .page-empty-icon {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.page-confirmation .page-title {
    font-size: clamp(26px, 4vw, 38px);
}

.page-confirmation .page-lede {
    margin: 12px auto 22px;
}

.page-confirmation .btn {
    justify-content: center;
}

.interior-site .footer-col ul li a,
.interior-site .footer-bottom a {
    transition: color 0.2s ease;
}

.interior-site .footer-col ul li a:hover,
.interior-site .footer-bottom a:hover {
    color: var(--page-red);
}

@media (max-width: 900px) {
    .page-columns,
    .page-columns-checkout {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
    }

    .page-product-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
        gap: 22px;
    }

    .page-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .page-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .interior-site main.page-main {
        padding-top: 20px;
    }

    .page-main {
        padding-bottom: 18px;
    }

    .page-main > * + * {
        margin-top: 20px;
    }

    .page-hero {
        padding: 28px 22px;
        border-radius: 13px;
    }

    .page-breadcrumbs {
        margin-bottom: 16px;
    }

    .page-section {
        margin-top: 26px;
    }

    .page-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .page-category-grid,
    .page-columns,
    .page-columns-checkout,
    .page-product-layout,
    .page-auth-grid,
    .customer-layout,
    .page-account-login,
    .page-info-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-account-login.page-signup-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-nav {
        position: static;
    }

    .customer-nav-profile {
        display: none;
    }

    .customer-stat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-account-login-story {
        min-height: 250px;
    }

    .page-account-login-form {
        margin: 14px;
    }

    .page-account-signup {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-top: 20px;
    }

    .page-account-signup .btn {
        width: 100%;
    }

    .page-category-card {
        min-height: 170px;
    }

    .page-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .page-select {
        width: 100%;
    }

    .page-search-form {
        flex-direction: column;
    }

    .page-search-form .btn {
        justify-content: center;
    }

    .page-summary {
        position: static;
    }

    .page-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-form-span {
        grid-column: auto;
    }

    .page-product-image img {
        aspect-ratio: 0.95;
    }

    .page-product-copy {
        padding: 22px;
    }

    .page-cart-list .cart-item-img {
        width: 68px;
        height: 84px;
    }
}
