/* =========================================
   Base & Custom Properties
   ========================================= */
:root {
    --primary-color: #151827;
    --accent-color: #d9353f;
    --accent-hover: #b91c28;
    --accent-light: #fff1f2;
    --text-color: #151827;
    --text-light: #5f6674;
    --text-muted: #9aa2b1;
    --bg-color: #f5f6f8;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-xs: 4px;
    --box-shadow: 0 1px 2px rgba(21, 24, 39, 0.04), 0 10px 28px rgba(21, 24, 39, 0.06);
    --box-shadow-hover: 0 2px 8px rgba(21, 24, 39, 0.08), 0 16px 38px rgba(21, 24, 39, 0.10);
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

h1 { font-size: 1.9rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; }

p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

/* =========================================
   Layout
   ========================================= */
.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0;
}

.shop-main {
    padding-top: 0;
}

/* =========================================
   Shop Intro
   ========================================= */
.shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 2.5rem;
    align-items: center;
    min-height: 430px;
    padding: 2.25rem 0 2rem;
}

.shop-hero-copy {
    max-width: 620px;
}

.shop-hero h1 {
    max-width: 600px;
    margin-bottom: 0.8rem;
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.shop-hero p:not(.hero-label) {
    max-width: 580px;
    font-size: 1.04rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1.3rem;
}

.hero-button,
.hero-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-xs);
    font-weight: 700;
    text-decoration: none;
}

.hero-button {
    padding: 0.78rem 1.15rem;
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.22);
    transition: background-color var(--transition), transform var(--transition);
}

.hero-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.hero-link {
    gap: 0.4rem;
    color: var(--primary-color);
}

.hero-link::after {
    content: '->';
    color: var(--accent-color);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.3rem;
}

.hero-proof span {
    padding: 0.36rem 0.58rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xs);
    background: var(--white);
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-link:hover {
    color: var(--accent-color);
}

.hero-product-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    align-items: stretch;
}

.hero-product-strip img {
    width: 100%;
    aspect-ratio: 4 / 5.25;
    object-fit: contain;
    padding: 0.8rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    box-shadow: var(--box-shadow);
}

.hero-product-strip img:nth-child(2) {
    transform: translateY(24px);
}

@media (max-width: 800px) {
    .shop-hero {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hero-product-strip {
        max-width: 540px;
    }

    .hero-product-strip img:nth-child(2) {
        transform: none;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        padding-top: 1.2rem;
    }

    .shop-hero h1 {
        font-size: 2.15rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-button,
    .hero-link {
        width: 100%;
    }
}

/* =========================================
   Navigation
   ========================================= */
.top-strip {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.top-strip .container {
    padding: 0 20px;
}

.top-strip-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 1px 0 var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: grid;
    grid-template-columns: minmax(150px, 0.75fr) auto minmax(280px, 1fr);
    align-items: center;
    padding: 0 20px;
    height: 76px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    padding: 0.4rem 0;
    position: relative;
}

.nav-cta {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xs);
    color: var(--primary-color);
    background: var(--white);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
    transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-search {
    width: min(260px, 28vw);
    position: relative;
    display: block;
}

.nav-search span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.nav-search::before {
    content: '⌕';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.nav-search input {
    width: 100%;
    min-height: 40px;
    padding: 0.55rem 0.8rem 0.55rem 2.1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xs);
    background: var(--gray-50);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.nav-search input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(217, 53, 63, 0.10);
}

.nav-cta:hover {
    border-color: rgba(217, 53, 63, 0.35);
    color: var(--accent-color);
    box-shadow: 0 6px 16px rgba(21, 24, 39, 0.08);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

@media (max-width: 640px) {
    .top-strip-inner {
        min-height: 40px;
        justify-content: center;
        text-align: center;
    }

    .top-strip-inner span:last-child {
        display: none;
    }

    .navbar .container {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 14px 20px;
        gap: 12px;
    }

    .logo img {
        height: 44px;
    }

    .nav-links {
        gap: 1.5rem;
        width: 100%;
        justify-content: center;
        padding-bottom: 4px;
    }

    .nav-cta {
        display: none;
    }

    .nav-actions,
    .nav-search {
        width: 100%;
    }

    .nav-search input {
        width: 100%;
    }
}

/* =========================================
   Free Delivery Banner
   ========================================= */
.delivery-banner {
    background: var(--white);
    color: var(--text-color);
    padding: 0;
    border-radius: var(--border-radius-sm);
    margin: 0 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.delivery-banner span {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-right: 1px solid var(--gray-200);
    color: var(--text-light);
    font-size: 0.88rem;
    text-align: center;
}

.delivery-banner span:last-child {
    border-right: 0;
}

.delivery-banner strong {
    margin-right: 0.25rem;
    color: var(--text-color);
}

.free-delivery-footer {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 640px) {
    .delivery-banner {
        grid-template-columns: 1fr;
    }

    .delivery-banner span {
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .delivery-banner span:last-child {
        border-bottom: 0;
    }
}

/* =========================================
   Search & Filter Bar
   ========================================= */
.catalog-panel {
    margin-bottom: 2.75rem;
    padding: 1.15rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--box-shadow);
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.catalog-header h2 {
    margin-bottom: 0.2rem;
    font-size: 1.45rem;
}

.catalog-header p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.filter-container {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0 1rem;
    align-items: flex-end;
}

.search-container {
    flex-grow: 1;
    position: relative;
}

.search-container label,
.college-filter label,
.sort-filter label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.search-container::before {
    content: '🔍';
    position: absolute;
    left: 14px;
    bottom: 11px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0.5;
}

#searchInput {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.inventory-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -0.5rem 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

#searchInput::placeholder {
    color: var(--text-muted);
}

#searchInput:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.10);
}

.college-filter select,
.sort-filter select {
    padding: 0.7rem 1.1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition);
    min-width: 175px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.sort-filter select {
    min-width: 170px;
}

.college-filter select:focus,
.sort-filter select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.10);
}

@media (max-width: 640px) {
    .catalog-panel {
        padding: 0.9rem;
    }

    .catalog-header {
        flex-direction: column;
    }

    .sort-filter,
    .sort-filter select {
        width: 100%;
    }

    .filter-container {
        flex-direction: column;
        gap: 0.6rem;
    }

    .search-container,
    .college-filter,
    .college-filter select {
        width: 100%;
    }
}

/* =========================================
   Items Grid
   ========================================= */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.no-results {
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    grid-column: 1 / -1;
}

/* =========================================
   Item Card
   ========================================= */
.item-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: none;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    animation: fadeUp 0.4s ease-out both;
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Item Image
   ========================================= */
.item-image-wrapper {
    width: 100%;
    height: 230px;
    background-color: #f8f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.35s ease;
}

.item-card:hover .item-image {
    transform: scale(1.06);
}

/* =========================================
   Item Info
   ========================================= */
.item-info {
    padding: 0.95rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--border-radius-xs);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-size {
    background-color: var(--gray-100);
    color: var(--text-light);
}

.badge-school {
    background-color: var(--accent-light);
    color: var(--accent-color);
}

.badge-condition {
    background-color: #ecfdf5;
    color: #065f46;
}

.badge-condition.badge-like-new {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.badge-condition.badge-brand-new {
    background-color: #ecfdf5;
    color: #065f46;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin: auto 0 0.85rem;
    padding-top: 0.5rem;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.resale-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.15rem;
}

.buy-button {
    display: block;
    text-align: center;
    padding: 0.6rem 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-xs);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    transition: background-color var(--transition), transform var(--transition);
}

.buy-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

/* =========================================
   Total Sold Badge
   ========================================= */
.total-sold {
    margin: 0.75rem 0 1.25rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.total-sold span {
    font-weight: 700;
    color: var(--accent-color);
}

/* =========================================
   About Page
   ========================================= */
.about-section {
    padding: 2rem 0;
}

.about-section h1 {
    margin-bottom: 1rem;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.section-heading h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.section-heading p:not(.hero-label) {
    font-size: 1.02rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.step {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
}

.step h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* =========================================
   Services / Exchange Page
   ========================================= */
.services-section {
    padding: 2rem 0;
}

.intro-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 4px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
}

.service-card.highlight {
    border-top-color: var(--accent-color);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.service-card h2 {
    color: var(--text-color);
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.service-card.highlight h2 {
    color: var(--accent-color);
}

.service-details {
    margin-top: 1.25rem;
}

.service-details h3 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    color: var(--text-color);
}

.service-details ul {
    margin-bottom: 1.25rem;
    padding-left: 1.2rem;
}

.service-details li {
    margin-bottom: 0.45rem;
    color: var(--text-light);
    font-size: 0.92rem;
}

.service-details a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.service-details a:hover {
    text-decoration: underline;
}

.note {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

.contact-box {
    background-color: var(--accent-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 2.5rem;
    border-left: 4px solid var(--accent-color);
}

.contact-box h2 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.contact-box p {
    margin-bottom: 0.4rem;
}

.contact-box a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .service-options {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.25rem;
    }
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: var(--white);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

/* =========================================
   Responsive – Mobile Grid
   ========================================= */
@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .item-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 400px) {
    .items-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Reference Ecommerce Layout
   ========================================= */
body {
    background: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

:root {
    --page-gutter: clamp(18px, 4vw, 72px);
}

.container {
    max-width: none;
    width: 100%;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
}

.top-strip {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e6e9ef;
    background: #ffffff;
    color: #0b162d;
    font-size: 0.92rem;
}

.top-strip-inner {
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
}

.top-strip strong {
    color: #c90016;
}

.top-icon {
    font-size: 1rem;
    color: #0b162d;
}

.navbar {
    position: sticky;
    top: 0;
    border-bottom: 1px solid #e6e9ef;
    box-shadow: none;
    z-index: 20;
}

.nav-shell {
    width: 100%;
    height: 102px;
    margin: 0 auto;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    display: grid;
    grid-template-columns: 112px minmax(330px, max-content) minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.8rem, 1.8vw, 1.6rem);
}

.logo img {
    width: 100px;
    height: 78px;
    object-fit: contain;
}

.nav-links {
    justify-content: flex-start;
    gap: clamp(1rem, 1.8vw, 2.05rem);
}

.nav-links a {
    color: #07132a;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
    color: #07132a;
}

.nav-links a::after {
    display: none;
}

.nav-actions {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(160px, 198px) max-content;
    gap: 0.75rem;
    align-items: center;
    justify-self: stretch;
    min-width: 0;
}

.nav-search,
.nav-school {
    width: 100%;
    position: relative;
    min-width: 0;
}

.nav-search span,
.nav-school span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.nav-search::before,
.nav-school::before {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #07132a;
    pointer-events: none;
    z-index: 1;
}

.nav-search::before {
    content: '⌕';
    font-size: 1.15rem;
}

.nav-school::before {
    content: '◇';
    font-size: 0.95rem;
}

.nav-search input,
.nav-school select,
.quick-filters select,
.sort-filter select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #ffffff;
    color: #07132a;
    font-size: 0.93rem;
    font-family: 'Inter', sans-serif;
}

.nav-search input {
    padding: 0.7rem 1rem 0.7rem 3rem;
}

.nav-school select {
    padding: 0.7rem 2.4rem 0.7rem 3rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%2307132a' stroke-width='1.4' d='m3 5 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.nav-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
    min-width: max-content;
}

.nav-icons a {
    position: relative;
    color: #07132a;
    font-size: 1.45rem;
    line-height: 1;
    text-decoration: none;
}

.bag-link span {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #c90016;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.shop-main {
    padding-top: 0;
}

.shop-hero {
    display: block;
    min-height: 374px;
    padding: 0;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 48%, #fbfaf8 100%);
    overflow: hidden;
}

.hero-inner {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(420px, 42vw) minmax(0, 1fr);
    min-height: 374px;
    align-items: stretch;
    padding-left: var(--page-gutter);
    padding-right: 0;
}

.shop-hero-copy {
    max-width: 540px;
    padding: 2.3rem 0 1.6rem;
}

.shop-hero h1 {
    max-width: 520px;
    margin: 0;
    color: #07132a;
    font-size: clamp(3rem, 4.4vw, 4.75rem);
    line-height: 0.98;
    font-weight: 800;
}

.headline-underline {
    display: block;
    width: 214px;
    height: 8px;
    margin: 0.4rem 0 1.1rem;
    border-radius: 999px;
    background: #d10017;
    transform: rotate(-2deg);
}

.shop-hero p:not(.hero-label) {
    max-width: 510px;
    margin-bottom: 1.35rem;
    color: #566072;
    font-size: 1rem;
    line-height: 1.6;
}

.hero-actions {
    gap: 0.8rem;
    margin: 0 0 1.45rem;
}

.hero-button {
    min-width: 176px;
    min-height: 48px;
    border-radius: 6px;
    box-shadow: none;
    background: #d10017;
    color: #fff;
    font-weight: 800;
}

.hero-button-outline {
    border: 1px solid #d10017;
    background: #fff;
    color: #d10017;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    max-width: 560px;
    margin-top: 0;
}

.hero-proof span {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 0.7rem;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #07132a;
}

.hero-proof b {
    grid-row: span 2;
    color: #07132a;
    font-size: 1.7rem;
    font-weight: 400;
}

.hero-proof strong {
    color: #07132a;
    font-size: 0.9rem;
}

.hero-proof small {
    color: #667085;
    font-size: 0.78rem;
}

.hero-rack {
    position: relative;
    align-self: stretch;
    min-height: 374px;
}

.hero-rack img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.delivery-banner {
    width: 100%;
    min-height: 58px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 0;
    border-top: 1px solid #e8ebf0;
    border-bottom: 1px solid #e8ebf0;
    border-radius: 0;
    box-shadow: none;
}

.delivery-banner span {
    min-height: 58px;
    border: 0;
    color: #07132a;
    font-size: 0.9rem;
}

.delivery-banner strong {
    color: #07132a;
}

.catalog-panel {
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: 280px minmax(420px, 1fr) 150px 78px;
    gap: 1rem;
    align-items: center;
    padding: 0 0 1rem;
    border-bottom: 1px solid #e8ebf0;
}

.catalog-toolbar h2 {
    display: inline;
    margin: 0 0.5rem 0 0;
    color: #07132a;
    font-size: 1.35rem;
    font-weight: 800;
}

#itemCount {
    color: #8b94a5;
    font-size: 0.86rem;
    font-weight: 600;
}

.quick-filters {
    display: flex;
    gap: 1.35rem;
    justify-content: flex-start;
}

.quick-filters label,
.sort-filter {
    min-width: 118px;
}

.quick-filters label span,
.sort-filter label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.quick-filters select,
.sort-filter select {
    min-width: 118px;
    min-height: 36px;
    padding: 0.55rem 2rem 0.55rem 0.85rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13'%3E%3Cpath fill='none' stroke='%23667085' stroke-width='1.3' d='m3 5 3.5 3.5L10 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    font-size: 0.84rem;
}

.sort-filter select {
    min-width: 150px;
}

.view-toggle {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
}

.view-toggle button {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #99a1af;
    font-size: 1.25rem;
    cursor: pointer;
}

.view-toggle button.active {
    color: #d10017;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.35rem;
    padding-top: 1rem;
}

.filter-sidebar {
    padding-right: 0.9rem;
}

.filter-title,
.sidebar-group-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title {
    margin-bottom: 1rem;
}

.filter-title strong,
.sidebar-group-title {
    color: #07132a;
    font-size: 0.92rem;
    font-weight: 800;
}

.filter-title button {
    border: 0;
    background: transparent;
    color: #d10017;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
}

.sidebar-group {
    border-top: 1px solid #e8ebf0;
    padding-top: 0.9rem;
}

.sidebar-group .search-container {
    margin: 0.8rem 0 1rem;
}

.sidebar-group .search-container label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.search-container::before {
    content: '⌕';
    left: 12px;
    bottom: 8px;
    font-size: 1rem;
    opacity: 0.45;
}

#searchInput {
    min-height: 38px;
    padding: 0.55rem 0.8rem 0.55rem 2.2rem;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    font-size: 0.84rem;
}

.school-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.72rem 0;
    color: #344054;
    font-size: 0.86rem;
    line-height: 1.25;
    cursor: pointer;
}

.school-option input {
    width: 15px;
    height: 15px;
    accent-color: #d10017;
}

.catalog-results {
    min-width: 0;
}

.manual-inquiry-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e8ebf0;
    border-radius: 6px;
    background: #fff;
    color: #344054;
    font-size: 0.86rem;
}

.manual-inquiry-note strong {
    color: #07132a;
}

.manual-inquiry-note span {
    color: #5f6674;
}

.seller-data-note {
    margin: 0.25rem 0 1rem;
}

.items-grid {
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 0.8rem;
}

.item-card {
    position: relative;
    min-width: 0;
    border: 1px solid #e3e7ee;
    border-radius: 6px;
    box-shadow: none;
    background: #fff;
    overflow: hidden;
}

.item-card:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.card-hit-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.item-image-wrapper {
    height: 210px;
    background: #fbfcfe;
}

.item-image {
    padding: 0.9rem;
}

.discount-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    padding: 0.35rem 0.55rem;
    border-radius: 4px;
    background: #d10017;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.save-button {
    position: absolute;
    top: 0.72rem;
    right: 0.72rem;
    z-index: 4;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 1.15rem;
    cursor: pointer;
}

.item-info {
    padding: 0.75rem 0.78rem 0.95rem;
}

.item-school-link {
    margin-bottom: 0.24rem;
    color: #0057c8;
    font-size: 0.78rem;
    font-weight: 800;
}

.item-name {
    min-height: 38px;
    margin-bottom: 0.55rem;
    color: #07132a;
    font-size: 0.89rem;
    font-weight: 800;
    line-height: 1.32;
}

.item-badges {
    margin-bottom: 0.6rem;
    gap: 0.45rem;
}

.badge {
    padding: 0.22rem 0.52rem;
    border-radius: 5px;
    background: #f1f3f6;
    color: #344054;
    font-size: 0.72rem;
    font-weight: 600;
}

.badge-school {
    display: none;
}

.badge-condition,
.badge-condition.badge-like-new,
.badge-condition.badge-brand-new {
    background: #f1f3f6;
    color: #344054;
}

.price-container {
    margin: 0;
    padding: 0;
    gap: 0.65rem;
}

.resale-price {
    color: #d10017;
    font-size: 1rem;
    font-weight: 900;
}

.original-price {
    color: #9aa2b1;
    font-size: 0.82rem;
}

.buy-button {
    display: none;
}

@media (max-width: 1180px) {
    .nav-shell {
        grid-template-columns: 120px 1fr;
        height: auto;
        padding: 0.8rem 0;
    }

    .nav-actions {
        grid-column: 1 / -1;
        grid-template-columns: minmax(240px, 1fr) 220px auto;
    }

    .hero-inner {
        grid-template-columns: 48% 52%;
    }

    .items-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1320px) and (min-width: 1181px) {
    .items-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nav-shell,
    .hero-inner,
    .catalog-layout,
    .catalog-toolbar {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .nav-actions,
    .quick-filters {
        flex-wrap: wrap;
    }

    .hero-rack {
        min-height: 280px;
    }

    .delivery-banner {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 520px) {
    .nav-actions {
        grid-template-columns: 1fr;
    }

    .nav-icons {
        justify-content: flex-start;
    }

    .shop-hero h1 {
        font-size: 2.65rem;
    }

    .hero-proof,
    .delivery-banner {
        grid-template-columns: 1fr;
    }

    .items-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Seller Intake Page
   ========================================= */
.hero-label {
    margin-bottom: 0.55rem;
    color: #d10017;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sell-navbar .nav-shell {
    grid-template-columns: 112px minmax(320px, max-content) minmax(260px, 1fr);
}

.sell-nav-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.nav-text-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0;
    color: #07132a;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.nav-text-link:hover {
    color: #d10017;
}

.sell-page {
    background: #ffffff;
}

.sell-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
    gap: clamp(1.4rem, 3vw, 4rem);
    align-items: center;
    min-height: 520px;
    padding-top: clamp(2rem, 4vw, 4.4rem);
    padding-bottom: clamp(2rem, 4vw, 4.4rem);
    border-bottom: 1px solid #e8ebf0;
    background:
        linear-gradient(90deg, #ffffff 0%, #ffffff 54%, #f8fafc 100%);
}

.sell-hero-copy {
    max-width: 780px;
}

.sell-hero h1 {
    max-width: 760px;
    margin-bottom: 1rem;
    color: #07132a;
    font-size: clamp(3rem, 5.4vw, 6.2rem);
    line-height: 0.96;
    font-weight: 900;
}

.sell-hero-copy > p:not(.hero-label) {
    max-width: 660px;
    color: #4b5565;
    font-size: clamp(1rem, 1.2vw, 1.18rem);
    line-height: 1.68;
}

.sell-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.45rem;
    max-width: 690px;
}

.sell-proof span,
.sell-hero-card,
.sell-info-card,
.seller-form {
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.sell-proof span {
    display: flex;
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    padding: 0.9rem 1rem;
    border-radius: 8px;
}

.sell-proof strong {
    color: #07132a;
    font-size: 0.94rem;
    font-weight: 900;
}

.sell-proof small {
    margin-top: 0.15rem;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 600;
}

.sell-hero-card {
    border-radius: 8px;
    padding: clamp(1.1rem, 2vw, 1.6rem);
}

.sell-hero-card h2 {
    margin-bottom: 1rem;
    color: #07132a;
    font-size: 1.25rem;
    font-weight: 900;
}

.payout-list {
    display: grid;
    gap: 0.75rem;
}

.payout-list div {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(130px, max-content);
    gap: 0.3rem 0.9rem;
    align-items: baseline;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #edf0f5;
}

.payout-list div:last-child {
    border-bottom: 0;
}

.payout-list span {
    color: #344054;
    font-weight: 800;
}

.payout-list strong {
    justify-self: end;
    color: #d10017;
    font-size: 0.98rem;
    font-weight: 900;
    text-align: right;
}

.payout-list small {
    grid-column: 1 / -1;
    color: #667085;
    font-size: 0.82rem;
}

.sell-hero-card p {
    margin: 1rem 0 0;
    color: #667085;
    font-size: 0.88rem;
}

.sell-info-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e8ebf0;
}

.sell-info-card {
    border-radius: 8px;
    padding: 1.15rem;
    box-shadow: none;
}

.sell-info-card h2 {
    margin-bottom: 0.8rem;
    color: #07132a;
    font-size: 1.05rem;
    font-weight: 900;
}

.sell-info-card ul {
    margin: 0;
    padding-left: 1.05rem;
}

.sell-info-card li {
    margin-bottom: 0.5rem;
    color: #475467;
    font-size: 0.92rem;
    line-height: 1.45;
}

.wanted-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wanted-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.65rem;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #ffffff;
    color: #07132a;
    font-size: 0.84rem;
    font-weight: 800;
}

.seller-intake {
    display: grid;
    grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
    gap: clamp(1.4rem, 3vw, 3rem);
    align-items: start;
    padding-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

.seller-form-intro {
    position: sticky;
    top: 126px;
}

.seller-form-intro h2 {
    max-width: 430px;
    color: #07132a;
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1;
    font-weight: 900;
}

.seller-form-intro p:not(.hero-label) {
    max-width: 430px;
    color: #566072;
    font-size: 1rem;
    line-height: 1.65;
}

.intake-steps {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.intake-steps span {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    gap: 0.7rem;
    color: #344054;
    font-weight: 800;
}

.intake-steps strong {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #07132a;
    color: #ffffff;
    font-size: 0.86rem;
}

.seller-form {
    border-radius: 8px;
    padding: clamp(1rem, 2.5vw, 1.8rem);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.seller-form label,
.seller-form fieldset {
    min-width: 0;
}

.seller-form label > span,
.seller-form legend {
    display: block;
    margin-bottom: 0.38rem;
    color: #07132a;
    font-size: 0.84rem;
    font-weight: 900;
}

.seller-form input[type="text"],
.seller-form input[type="tel"],
.seller-form input[type="file"],
.seller-form select,
.seller-form textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #ffffff;
    color: #07132a;
    font: inherit;
    font-size: 0.94rem;
}

.seller-form input[type="text"],
.seller-form input[type="tel"],
.seller-form select,
.seller-form textarea {
    padding: 0.72rem 0.85rem;
}

.seller-form textarea {
    min-height: 112px;
    resize: vertical;
}

.seller-form input:focus,
.seller-form select:focus,
.seller-form textarea:focus {
    outline: none;
    border-color: #d10017;
    box-shadow: 0 0 0 3px rgba(209, 0, 23, 0.11);
}

.seller-form fieldset {
    margin-top: 1.2rem;
    padding: 1rem;
    border: 1px solid #e6e9ef;
    border-radius: 8px;
}

.checkbox-grid,
.radio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.checkbox-grid label,
.radio-grid label,
.seller-confirm {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 40px;
    padding: 0.55rem 0.65rem;
    border: 1px solid #edf0f5;
    border-radius: 6px;
    background: #fbfcfe;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 700;
}

.seller-form input[type="checkbox"],
.seller-form input[type="radio"] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    accent-color: #d10017;
}

.photo-field {
    display: block;
    margin-top: 1.2rem;
}

.photo-field small {
    display: block;
    margin-top: 0.45rem;
    color: #667085;
    font-size: 0.84rem;
    line-height: 1.45;
}

.photo-preview {
    margin: 0.8rem 0 1.2rem;
    padding: 0.9rem;
    border: 1px dashed #cfd6e3;
    border-radius: 8px;
    background: #fbfcfe;
}

.photo-preview p {
    margin: 0;
    color: #475467;
    font-weight: 800;
}

.photo-preview ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.9rem;
    margin: 0.55rem 0 0;
    padding-left: 1.1rem;
}

.photo-preview li,
.photo-preview small {
    color: #667085;
    font-size: 0.84rem;
    word-break: break-word;
}

.seller-confirm {
    margin-top: 1rem;
    justify-content: flex-start;
}

.seller-confirm span {
    margin: 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.form-actions button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.form-actions .hero-button-outline {
    border: 1px solid #d10017;
}

.form-note {
    margin: 0.85rem 0 0;
    color: #667085;
    font-size: 0.88rem;
    font-weight: 700;
}

.form-note[data-tone="success"] {
    color: #067647;
}

.form-note[data-tone="error"] {
    color: #b42318;
}

@media (max-width: 1180px) {
    .sell-navbar .nav-shell {
        grid-template-columns: 120px 1fr;
    }

    .sell-nav-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .sell-hero,
    .sell-info-band,
    .seller-intake {
        grid-template-columns: 1fr;
    }

    .seller-form-intro {
        position: static;
    }

    .sell-info-band {
        background: #ffffff;
    }
}

@media (max-width: 760px) {
    .sell-proof,
    .form-grid,
    .checkbox-grid,
    .radio-grid,
    .photo-preview ul {
        grid-template-columns: 1fr;
    }

    .sell-hero {
        min-height: 0;
    }

    .sell-hero h1 {
        font-size: clamp(2.55rem, 13vw, 4.1rem);
    }

    .sell-nav-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .nav-text-link,
    .sell-nav-actions .nav-cta,
    .form-actions .hero-button {
        width: 100%;
    }
}

/* =========================================
   School Landing Pages
   ========================================= */
.school-links-strip {
    display: grid;
    grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: stretch;
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #e8ebf0;
    background: #ffffff;
}

.school-links-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.school-links-heading h2 {
    margin: 0;
    color: #07132a;
    font-size: clamp(1.45rem, 2.3vw, 2.25rem);
    line-height: 1;
    font-weight: 900;
}

.school-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.school-link-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    border: 1px solid #dfe3ea;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.school-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.13);
}

.school-link-card span {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.school-link-card strong {
    font-size: 1.2rem;
    line-height: 1.12;
    font-weight: 900;
}

.school-link-card small {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.84rem;
    font-weight: 700;
}

.school-card-texas {
    background: #bf5700;
}

.school-card-michigan {
    background: #00274c;
}

.school-card-wisconsin {
    background: #c5050c;
}

.school-page {
    background: #ffffff;
}

.school-page-body {
    --school-primary: #07132a;
    --school-secondary: #d10017;
    --school-soft: #f8fafc;
    --school-text-on-primary: #ffffff;
}

.school-theme-texas {
    --school-primary: #bf5700;
    --school-secondary: #f8971f;
    --school-soft: #fff7ed;
    --school-text-on-primary: #ffffff;
}

.school-theme-michigan {
    --school-primary: #00274c;
    --school-secondary: #ffcb05;
    --school-soft: #f0f6ff;
    --school-text-on-primary: #ffffff;
}

.school-theme-wisconsin {
    --school-primary: #c5050c;
    --school-secondary: #f7f7f7;
    --school-soft: #fff1f2;
    --school-text-on-primary: #ffffff;
}

.school-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.7fr);
    gap: clamp(1.4rem, 3vw, 4rem);
    align-items: center;
    min-height: 560px;
    padding-top: clamp(2rem, 4vw, 4.5rem);
    padding-bottom: clamp(2rem, 4vw, 4.5rem);
    color: var(--school-text-on-primary);
    background: var(--school-primary);
}

.school-hero .hero-label,
.school-hero .school-campus,
.school-hero h1,
.school-hero p {
    color: var(--school-text-on-primary);
}

.school-hero .hero-label {
    opacity: 0.82;
}

.school-hero h1 {
    max-width: 780px;
    margin-bottom: 1rem;
    font-size: clamp(3rem, 5.4vw, 6.1rem);
    line-height: 0.96;
    font-weight: 900;
}

.school-hero-copy > p:not(.hero-label):not(.school-campus) {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.68;
}

.school-campus {
    margin-bottom: 1.25rem;
    font-weight: 800;
    opacity: 0.88;
}

.school-hero .hero-button {
    background: var(--school-secondary);
    color: #07132a;
}

.school-theme-texas .school-hero .hero-button,
.school-theme-wisconsin .school-hero .hero-button {
    background: #ffffff;
    color: var(--school-primary);
}

.school-hero .hero-button-outline {
    border-color: rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #ffffff;
}

.school-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 680px;
    margin-top: 1.6rem;
}

.school-stats span {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.school-stats strong {
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 900;
}

.school-stats small {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 700;
}

.school-hero-media {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: end;
}

.school-hero-media figure {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.school-hero-media figure:nth-child(2) {
    min-height: 370px;
}

.school-hero-media figure:nth-child(3) {
    min-height: 290px;
}

.school-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.school-hero-media figcaption {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    padding: 0.3rem 0.52rem;
    border-radius: 4px;
    background: var(--school-primary);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
}

.school-wanted-card {
    grid-column: 1 / -1;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.school-wanted-card span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.school-wanted-card strong {
    max-width: 460px;
    margin-top: 0.5rem;
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 1;
    font-weight: 900;
}

.school-wanted-card a {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.2rem;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    background: #ffffff;
    color: var(--school-primary);
    font-weight: 900;
    text-decoration: none;
}

.school-market-note {
    display: grid;
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid #e8ebf0;
    background: var(--school-soft);
}

.school-market-note h2 {
    max-width: 650px;
    margin: 0;
    color: #07132a;
    font-size: clamp(1.45rem, 2.3vw, 2.35rem);
    line-height: 1.05;
    font-weight: 900;
}

.school-market-note p:not(.hero-label) {
    max-width: 820px;
    margin: 0;
    color: #475467;
    font-size: 1rem;
    line-height: 1.65;
}

.school-inventory-section {
    padding-top: 1.4rem;
    padding-bottom: 3rem;
}

.school-section-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8ebf0;
}

.school-section-header h2 {
    margin: 0;
    color: #07132a;
    font-size: clamp(1.8rem, 2.8vw, 3rem);
    line-height: 1;
    font-weight: 900;
}

.school-section-header span {
    color: #667085;
    font-size: 0.9rem;
    font-weight: 800;
}

.school-items-grid {
    margin-top: 1rem;
}

.school-empty-state {
    grid-column: 1 / -1;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    background: #ffffff;
}

.school-empty-state h2 {
    max-width: 620px;
    color: #07132a;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
    font-weight: 900;
}

.school-empty-state p:not(.hero-label) {
    max-width: 760px;
    color: #475467;
    font-size: 1rem;
    line-height: 1.65;
}

@media (max-width: 1180px) {
    .school-hero,
    .school-market-note,
    .school-links-strip {
        grid-template-columns: 1fr;
    }

    .school-link-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .school-link-grid,
    .school-stats,
    .school-hero-media {
        grid-template-columns: 1fr;
    }

    .school-hero {
        min-height: 0;
    }

    .school-hero h1 {
        font-size: clamp(2.5rem, 13vw, 4.25rem);
    }

    .school-hero-media figure,
    .school-hero-media figure:nth-child(2),
    .school-hero-media figure:nth-child(3) {
        min-height: 260px;
    }

    .school-section-header {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================
   Validation-ready trust, inquiry, and footer UI
   ========================================= */
.nav-quick-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    min-width: max-content;
}

.nav-quick-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.7rem;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    color: #07132a;
    background: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.nav-quick-links a:hover,
.privacy-link:hover,
.footer-links a:hover {
    color: #d10017;
    border-color: rgba(209, 0, 23, 0.35);
}

.status-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    padding: 0.35rem 0.55rem;
    border-radius: 4px;
    background: #07132a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.price-note {
    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
}

.inquiry-link-label {
    margin-top: 0.55rem;
    color: #d10017;
    font-size: 0.82rem;
    font-weight: 900;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.buy-button {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    background: #d10017;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 900;
    text-align: center;
}

.item-card:hover .buy-button {
    background: #a80013;
}

.ask-link {
    position: relative;
    z-index: 3;
    align-self: center;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: underline;
}

.ask-link:hover {
    color: #07132a;
}

.privacy-link,
.footer-links a {
    color: #d10017;
    font-weight: 800;
    text-decoration: none;
}

.site-footer {
    margin-top: 0;
    border-top: 1px solid #e8ebf0;
    background: #ffffff;
}

.footer-inner {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    text-align: center;
}

.footer-disclaimer {
    max-width: 840px;
    color: #667085;
    font-size: 0.82rem;
    line-height: 1.45;
}

.footer-links {
    margin-bottom: 0;
}

.privacy-page {
    padding-top: clamp(2.2rem, 5vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.privacy-hero {
    max-width: 820px;
    margin-bottom: 2rem;
}

.privacy-hero h1 {
    color: #07132a;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.98;
    font-weight: 900;
}

.privacy-hero p {
    font-size: 1.02rem;
    line-height: 1.7;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.privacy-section {
    padding: 1.25rem;
    border: 1px solid #e3e7ee;
    border-radius: 6px;
    background: #ffffff;
}

.privacy-section h2 {
    color: #07132a;
    font-size: 1.1rem;
}

.privacy-section p {
    margin-bottom: 0;
    line-height: 1.65;
}

@media (max-width: 760px) {
    .nav-quick-links {
        width: 100%;
        justify-content: stretch;
    }

    .nav-quick-links a {
        flex: 1;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
    }
}
