:root {
    --navy: #081826;
    --blue: #0f4c81;
    --black: #111111;
    --gold: #d7a84b;
    --cream: #f6efe3;
    --white: #ffffff;
    --muted: #66727f;
    --shadow: 0 22px 50px rgba(8, 24, 38, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, var(--cream), #ffffff 45%);
    color: var(--navy);
}

.hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem clamp(1.25rem, 5vw, 5rem);
    background:
        radial-gradient(circle at top right, rgba(215, 168, 75, 0.35), transparent 32rem),
        linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
}

.badge {
    width: 8.5rem;
    height: 8.5rem;
    border: 4px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
}

.badge span {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.badge small {
    display: block;
    color: var(--gold);
    font-weight: 900;
    margin-top: -2.6rem;
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 900;
    font-size: 0.76rem;
}

h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: 0.95;
}

h2 {
    margin-top: 0;
}

.hero p {
    max-width: 50rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.86);
}

main {
    width: min(1120px, calc(100% - 2rem));
    margin: 2rem auto 4rem;
}

.card {
    background: var(--white);
    border: 1px solid rgba(8, 24, 38, 0.08);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.intro {
    margin-bottom: 1.5rem;
}

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

.store-card {
    display: grid;
    align-content: start;
}

.shirt {
    display: grid;
    place-items: center;
    min-height: 18rem;
    margin: 1rem 0;
}

.shirt-body {
    position: relative;
    width: 12.4rem;
    height: 15.8rem;
    background: linear-gradient(180deg, #0b2032 0%, var(--navy) 100%);
    border: 4px solid var(--gold);
    box-shadow: inset 0 0 0 6px rgba(255,255,255,0.04), var(--shadow);
    clip-path: polygon(
        24% 0%,
        76% 0%,
        85% 8%,
        100% 18%,
        91% 34%,
        82% 30%,
        82% 100%,
        18% 100%,
        18% 30%,
        9% 34%,
        0% 18%,
        15% 8%
    );
    overflow: hidden;
}

.shirt-body::before {
    content: "";
    position: absolute;
    top: -0.1rem;
    left: 50%;
    width: 3.8rem;
    height: 1.8rem;
    transform: translateX(-50%);
    background: var(--gold);
    clip-path: polygon(0 0, 100% 0, 76% 100%, 24% 100%);
    z-index: 3;
}

.shirt-body::after {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 50%;
    width: 2.5rem;
    height: 1.15rem;
    transform: translateX(-50%);
    background: var(--navy);
    clip-path: polygon(0 0, 100% 0, 68% 100%, 32% 100%);
    z-index: 4;
}

.cross {
    position: absolute;
    background: var(--black);
    box-shadow: 0 0 0 3px var(--gold);
    opacity: 0.97;
}

.cross.vertical {
    width: 2rem;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.cross.horizontal {
    height: 2rem;
    width: 100%;
    top: 38%;
}

.shirt-badge {
    position: absolute;
    top: 1.35rem;
    left: 1rem;
    z-index: 5;
    border: 2px solid var(--gold);
    border-radius: 999px;
    padding: 0.35rem 0.45rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    background: rgba(8, 24, 38, 0.9);
}

.price {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
}

.muted {
    color: var(--muted);
}

label {
    display: block;
    margin: 1rem 0 0.35rem;
    font-weight: 800;
}

input {
    width: 100%;
    border: 1px solid rgba(8, 24, 38, 0.18);
    border-radius: 0.8rem;
    padding: 0.85rem 1rem;
    font: inherit;
}

button {
    margin-top: 1rem;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.15rem;
    background: var(--gold);
    color: var(--navy);
    font-weight: 900;
    cursor: pointer;
}

.result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #f4f6f8;
    color: var(--muted);
}

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

.scenarios div {
    border: 1px solid rgba(8, 24, 38, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    background: #fbfcfd;
}

.scenarios strong,
.scenarios span {
    display: block;
}

.scenarios span {
    margin-top: 0.35rem;
    color: var(--muted);
}

footer {
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 800px) {
    .hero,
    .grid,
    .scenarios {
        grid-template-columns: 1fr;
    }

    .badge {
        width: 7rem;
        height: 7rem;
    }
}


.shirt {
    display: grid;
    place-items: center;
    min-height: 18rem;
    margin: 1rem 0;
}

.shirt-svg {
    width: 100%;
    max-width: 15rem;
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 26px rgba(8, 24, 38, 0.18));
}


.badge.image-badge {
    border: 0;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.45rem;
    overflow: hidden;
}

.badge.image-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.shirt-image {
    display: grid;
    place-items: center;
    min-height: 18rem;
    margin: 1rem 0;
}

.shirt-image img {
    width: min(100%, 18rem);
    height: auto;
    display: block;
    border-radius: 1.25rem;
    box-shadow: 0 18px 35px rgba(8, 24, 38, 0.18);
    background: #ffffff;
}


.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.quick-actions button,
.secondary-button {
    background: #eef2f5;
    color: var(--navy);
    border: 1px solid rgba(8, 24, 38, 0.12);
    padding: 0.65rem 0.85rem;
    font-size: 0.86rem;
}

.secondary-button {
    margin-left: 0.5rem;
    background: transparent;
}

.status-pill {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.status-pill.success {
    background: rgba(31, 122, 77, 0.12);
    color: #1f7a4d;
}

.status-pill.warning {
    background: rgba(154, 103, 0, 0.12);
    color: #9a6700;
}

.status-pill.danger {
    background: rgba(166, 58, 58, 0.12);
    color: #a63a3a;
}

.result strong {
    color: var(--navy);
}

.result-line {
    margin: 0.35rem 0;
}

.allocation-panel {
    margin-bottom: 1.5rem;
}

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

.allocation-columns div {
    border: 1px solid rgba(8, 24, 38, 0.08);
    border-radius: 1rem;
    background: #fbfcfd;
    padding: 1rem;
}

.allocation-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.allocation-columns li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(8, 24, 38, 0.08);
    padding: 0.65rem 0;
}

.allocation-columns li:last-child {
    border-bottom: 0;
}

.allocation-columns code {
    font-weight: 800;
}

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


.demo-records {
    margin-top: 1.5rem;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(8, 24, 38, 0.08);
    border-radius: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: #ffffff;
}

th,
td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(8, 24, 38, 0.08);
    text-align: left;
    vertical-align: top;
}

th {
    background: #f4f6f8;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

td code {
    background: #eef2f5;
    border-radius: 0.4rem;
    padding: 0.18rem 0.35rem;
    font-size: 0.85rem;
}

tbody tr:last-child td {
    border-bottom: 0;
}
