.shop-page {
    --shop-primary: var(--site-primary, #0f766e);
    --shop-primary-dark: color-mix(in srgb, var(--shop-primary) 72%, #061821);
    --shop-primary-soft: color-mix(in srgb, var(--shop-primary) 12%, #ffffff);
    --shop-primary-border: color-mix(in srgb, var(--shop-primary) 26%, #d8e0e7);
    background: #f6f8fa;
    background: color-mix(in srgb, var(--shop-primary) 3%, #ffffff);
    min-height: 70vh;
    padding: 48px 0 72px;
    color: #16222c;
}

.shop-wrap { width: min(1180px, calc(100% - 36px)); margin: auto; }
.shop-hero { background: #0d4e57; background: linear-gradient(130deg, var(--shop-primary-dark), var(--shop-primary)); color: #fff; border-radius: 18px; padding: 42px; margin-bottom: 28px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.shop-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 6px 0 12px; }
.shop-hero p { max-width: 650px; color: rgba(255, 255, 255, .84); margin: 0; }
.shop-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; color: var(--shop-primary); }
.shop-hero .shop-eyebrow { color: rgba(255, 255, 255, .72); }
.shop-cart-link, .shop-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; background: var(--shop-primary); color: #fff !important; padding: 12px 18px; font-weight: 800; cursor: pointer; text-decoration: none; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.shop-cart-link:hover, .shop-button:hover { background: var(--shop-primary-dark); color: #fff !important; transform: translateY(-1px); box-shadow: 0 9px 20px color-mix(in srgb, var(--shop-primary) 26%, transparent); }
.shop-button.secondary { background: #fff; color: var(--shop-primary-dark) !important; border: 1px solid var(--shop-primary-border); }
.shop-button.secondary:hover { background: var(--shop-primary-soft); color: var(--shop-primary-dark) !important; }
.shop-button.dark { background: var(--shop-primary-dark); }
.shop-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-toolbar input, .shop-toolbar select, .shop-field input, .shop-field select, .shop-field textarea { border: 1px solid #d7e0e7; border-radius: 8px; padding: 12px 14px; background: #fff; width: 100%; color: #16222c; }
.shop-toolbar input:focus, .shop-toolbar select:focus, .shop-field input:focus, .shop-field select:focus, .shop-field textarea:focus { border-color: var(--shop-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--shop-primary) 16%, transparent); outline: 0; }
.shop-toolbar input { flex: 1; min-width: 220px; }
.shop-toolbar select { width: auto; min-width: 190px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shop-card { background: #fff; border: 1px solid #e1e8ed; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(18, 34, 45, .06); display: flex; flex-direction: column; }
.shop-card-image { aspect-ratio: 4 / 3; background: #edf2f5; display: block; overflow: hidden; }
.shop-card-image img, .shop-product-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.shop-card h3 { font-size: 1.08rem; margin: 5px 0 8px; }
.shop-card h3 a { color: #16222c; }
.shop-price { font-size: 1.15rem; font-weight: 900; color: var(--shop-primary-dark); }
.shop-old-price { text-decoration: line-through; color: #74818c; font-size: .9rem; margin-left: 6px; }
.shop-badge { display: inline-block; border-radius: 999px; padding: 5px 9px; background: var(--shop-primary-soft); color: var(--shop-primary-dark); font-size: .75rem; font-weight: 800; }
.shop-stock, .shop-muted { color: #62717c; }
.shop-stock { font-size: .82rem; margin: 8px 0 14px; }
.shop-card form { margin-top: auto; display: flex; gap: 8px; }
.shop-card input[type=number] { width: 65px; border: 1px solid #d7e0e7; border-radius: 8px; padding: 8px; }
.shop-panel { background: #fff; border: 1px solid #e1e8ed; border-radius: 10px; padding: 24px; box-shadow: 0 12px 34px rgba(18, 34, 45, .06); }
.shop-two-col { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .65fr); gap: 24px; }
.shop-product { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.shop-product-image { aspect-ratio: 1 / 1; background: #edf2f5; border-radius: 10px; overflow: hidden; }
.shop-table { width: 100%; border-collapse: collapse; }
.shop-table th, .shop-table td { padding: 14px 10px; border-bottom: 1px solid #e1e8ed; text-align: left; vertical-align: middle; }
.shop-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.shop-summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; }
.shop-summary-row.total { border-top: 2px solid var(--shop-primary-border); margin-top: 8px; padding-top: 15px; font-size: 1.2rem; font-weight: 900; }
.shop-alert { border-radius: 8px; padding: 13px 16px; margin-bottom: 18px; background: #fce8e4; color: #7c2d22; }
.shop-alert.success { background: #e2f6e9; color: #22633a; }
.shop-field { margin-bottom: 16px; }
.shop-field label { display: block; font-weight: 800; margin-bottom: 7px; }
.shop-student { background: var(--shop-primary-soft); border: 1px solid var(--shop-primary-border); border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.shop-option { display: block; border: 1px solid #d7e0e7; border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.shop-option:has(input:checked) { border-color: var(--shop-primary); background: var(--shop-primary-soft); }
.shop-empty { text-align: center; padding: 55px 20px; }
.shop-status { display: inline-block; border-radius: 999px; padding: 5px 10px; background: var(--shop-primary-soft); color: var(--shop-primary-dark); font-size: .8rem; font-weight: 800; text-transform: capitalize; }
.shop-timeline { border-left: 2px solid var(--shop-primary-border); padding-left: 20px; }
.shop-timeline-item { position: relative; margin-bottom: 18px; }
.shop-timeline-item:before { content: ""; position: absolute; left: -27px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--shop-primary); }
.shop-pagination { margin-top: 25px; }
.shop-pagination nav { display: flex; justify-content: center; }
.shop-pagination svg { width: 20px; }
.shop-pagination .hidden { display: none; }

@media (max-width: 950px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } .shop-two-col, .shop-product { grid-template-columns: 1fr; } .shop-hero { align-items: flex-start; flex-direction: column; } }
@media (max-width: 580px) { .shop-grid { grid-template-columns: 1fr; } .shop-hero { padding: 28px; } .shop-wrap { width: min(100% - 24px, 1180px); } .shop-panel { padding: 17px; } .shop-table thead { display: none; } .shop-table tr { display: block; border-bottom: 1px solid #d7e0e7; padding: 10px; } .shop-table td { display: flex; justify-content: space-between; border: 0; padding: 6px; } .shop-table td:before { content: attr(data-label); font-weight: 800; } }
