/* Off-White S/S 2026 Design System */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --bg-dark: #000000;
    --border-color: #000000;
    --border-light: #e0e0e0;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-light: #ffffff;
    
    /* Off-White Brand Colors */
    --ow-yellow: #ffe600;
    --ow-orange: #ff5500;
    --ow-red: #d32f2f;
    --ow-gray: #7d7d7d;
    --ow-light-gray: #f2f2f2;
    
    /* Layout Sizes */
    --border-width-thick: 2px;
    --border-width-thin: 1px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.5;
    padding-bottom: 0;
}

/* Monospace fonts for style numbers and prices */
.style-num, .price-value, .quantity-input, .badge-text, .total-row, .stat-row {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
}

/* Header & Brand Banner */
.brand-header {
    background-color: var(--bg-primary);
    border-bottom: var(--border-width-thick) solid var(--border-color);
}

.hazard-stripes {
    height: 12px;
    background: repeating-linear-gradient(
        -45deg,
        var(--ow-yellow),
        var(--ow-yellow) 15px,
        var(--bg-dark) 15px,
        var(--bg-dark) 30px
    );
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.brand-logo {
    font-size: 3rem;
    font-weight: 950;
    letter-spacing: -2px;
    text-transform: uppercase;
    line-height: 1;
}

.sub-logo {
    font-family: "Courier New", Courier, monospace;
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-secondary);
    display: block;
    margin-top: 4px;
}

.season-badge {
    text-align: right;
    border-left: var(--border-width-thick) solid var(--border-color);
    padding-left: 20px;
}

.badge-text {
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.badge-sub {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--ow-orange);
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 2px;
}

/* Main Container Layout */
.main-container {
    max-width: 1600px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar / Controls Panel */
.controls-panel {
    background-color: var(--bg-primary);
    border: var(--border-width-thick) solid var(--border-color);
    padding: 24px;
    align-self: start;
}

.panel-label {
    display: block;
    font-family: "Courier New", Courier, monospace;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
    letter-spacing: 1px;
}

/* Workspace container & controls */
.workspace-container {
    margin-bottom: 24px;
}

.workspace-flex {
    display: flex;
    gap: 6px;
}

.workspace-input {
    flex: 1;
    min-width: 0;
    padding: 10px;
    border: var(--border-width-thick) solid var(--border-color);
    font-size: 0.85rem;
    font-weight: bold;
    outline: none;
}

.workspace-input:focus {
    background-color: var(--ow-light-gray);
}

.workspace-btn {
    padding: 10px 14px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: var(--border-width-thick) solid var(--bg-dark);
    font-weight: bold;
    cursor: pointer;
    font-size: 0.85rem;
    min-width: 95px;
    text-align: center;
}

.workspace-btn:hover {
    background-color: #333333;
}

.workspace-hint {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.3;
}

.search-box-container {
    margin-bottom: 24px;
}

.search-box-container input {
    width: 100%;
    padding: 12px;
    border: var(--border-width-thick) solid var(--border-color);
    font-size: 0.95rem;
    outline: none;
    font-weight: bold;
}

.search-box-container input:focus {
    background-color: var(--ow-light-gray);
}

.filter-group {
    margin-bottom: 24px;
}

.gender-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.filter-btn {
    width: 100%;
    padding: 10px 14px;
    border: var(--border-width-thin) solid var(--border-color);
    background-color: var(--bg-primary);
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.filter-btn:hover {
    background-color: var(--ow-light-gray);
}

.filter-btn.active {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-color: var(--bg-dark);
}

.category-filters {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Styling custom scrollbars for category list */
.category-filters::-webkit-scrollbar {
    width: 4px;
}
.category-filters::-webkit-scrollbar-thumb {
    background-color: var(--bg-dark);
}

.category-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 0;
}

.category-item input {
    margin-right: 8px;
    cursor: pointer;
}

/* Financial Parameters Box */
.financial-config-box {
    background-color: var(--ow-light-gray);
    border: var(--border-width-thin) dashed var(--border-color);
    padding: 16px;
    margin-bottom: 24px;
}

.config-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.config-row:last-child {
    margin-bottom: 0;
}

.config-row label {
    font-size: 0.85rem;
    font-weight: bold;
}

.config-row input {
    width: 90px;
    padding: 8px;
    border: var(--border-width-thick) solid var(--border-color);
    outline: none;
    font-weight: bold;
    text-align: right;
}

.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit input {
    padding-right: 24px;
}

.input-with-unit .unit {
    position: absolute;
    right: 8px;
    font-size: 0.85rem;
    font-weight: bold;
}

.discount-helper-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Statistics Box */
.statistics-box {
    font-size: 0.85rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.stat-row span:last-child {
    font-size: 1rem;
}

/* Content Layout (Products + Cart) */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-width-thick) solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-title-bar h2 {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.view-toggles {
    display: flex;
    gap: 6px;
}

.view-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border: var(--border-width-thin) solid var(--border-color);
    background-color: var(--bg-primary);
    cursor: pointer;
}

.view-btn.active {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Loading and Empty state */
.loading-state, .no-products-state {
    text-align: center;
    padding: 60px;
    font-size: 1.2rem;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    border: var(--border-width-thin) dashed var(--ow-gray);
    background-color: var(--bg-primary);
    grid-column: 1 / -1;
}

/* Product Grid View */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Product Card */
.product-card {
    background-color: var(--bg-primary);
    border: var(--border-width-thick) solid var(--border-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 6px 6px 0px var(--border-color);
}

.product-image-container {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--ow-light-gray);
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.product-image-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-image-container:hover img {
    transform: scale(1.1);
}

.product-image-container .zoom-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px;
    border-radius: 2px;
    font-size: 0.75rem;
    display: none;
}

.product-image-container:hover .zoom-overlay {
    display: block;
}

/* Details info */
.product-info {
    margin-bottom: 16px;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ow-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-desc {
    font-size: 1rem;
    font-weight: 800;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.product-meta-row strong {
    color: var(--text-primary);
}

/* Pricing displays */
.product-pricing {
    border-top: 1px dashed var(--border-light);
    padding-top: 10px;
    margin-bottom: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.price-row.discounted {
    color: var(--ow-red);
    font-weight: 800;
}

.price-row.discounted .price-value {
    font-size: 1.1rem;
}

/* Sizing ordering grid matrix inside product card */
.size-ordering-grid {
    margin-top: auto;
}

.size-header-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.size-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.size-box {
    border: 1px solid var(--border-color);
    padding: 6px;
    text-align: center;
    background-color: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.size-name {
    font-size: 0.75rem;
    font-weight: 900;
    margin-bottom: 2px;
}

.size-stock {
    font-size: 0.65rem;
    color: var(--ow-gray);
    margin-bottom: 4px;
}

.quantity-input {
    width: 100%;
    border: 1px solid var(--border-light);
    padding: 4px;
    text-align: center;
    font-size: 0.9rem;
    outline: none;
    background-color: var(--ow-light-gray);
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    border-color: var(--border-color);
    background-color: var(--bg-primary);
}

.quantity-input.has-value {
    background-color: var(--ow-yellow);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.card-actions {
    display: flex;
    gap: 8px;
}

.card-btn {
    flex: 1;
    padding: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    text-align: center;
}

.card-btn:hover {
    background-color: var(--ow-light-gray);
}

.card-btn.btn-clear {
    background-color: #ffebeb;
    color: var(--ow-red);
    border-color: var(--ow-red);
}

.card-btn.btn-clear:hover {
    background-color: #ffd6d6;
}

/* List view stylesheet adjustments */
.products-list-mode {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.products-list-mode .product-card {
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.products-list-mode .product-image-container {
    width: 120px;
    height: 120px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.products-list-mode .product-info {
    flex: 2;
    margin-bottom: 0;
}

.products-list-mode .product-pricing {
    flex: 1;
    border-top: none;
    border-left: 1px dashed var(--border-light);
    padding-top: 0;
    padding-left: 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-list-mode .size-ordering-grid {
    flex: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px dashed var(--border-light);
    padding-left: 20px;
    margin-top: 0;
}

.products-list-mode .size-matrix {
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-bottom: 0;
    flex: 1;
}

.products-list-mode .card-actions {
    flex-direction: column;
    gap: 6px;
    width: 80px;
}

/* Sticky Order Bag / Cart Section */
.order-bag-section {
    position: relative;
}

.sticky-bag-inner {
    position: sticky;
    top: 20px;
    background-color: var(--bg-primary);
    border: var(--border-width-thick) solid var(--border-color);
    padding: 24px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

.bag-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-width-thick) solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.bag-header h3 {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.3rem;
    font-weight: bold;
}

.bag-qty-badge {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4px 10px;
    font-size: 0.95rem;
    border-radius: 12px;
}

.bag-items-container {
    overflow-y: auto;
    flex: 1;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

/* Custom scrollbar for bag container */
.bag-items-container::-webkit-scrollbar {
    width: 4px;
}
.bag-items-container::-webkit-scrollbar-thumb {
    background-color: var(--bg-dark);
}

.empty-bag-message {
    text-align: center;
    padding: 40px 10px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--ow-gray);
}

.empty-bag-message span {
    display: block;
    font-family: -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 8px;
    color: var(--text-secondary);
}

/* Cart Item Row */
.bag-item-row {
    padding: 10px 0;
    border-bottom: 1px solid var(--ow-light-gray);
    font-size: 0.85rem;
}

.bag-item-row:last-child {
    border-bottom: none;
}

.bag-item-info {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 4px;
}

.bag-item-style {
    font-family: "Courier New", Courier, monospace;
    color: var(--text-secondary);
}

.bag-item-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.bag-item-size-tag {
    background-color: var(--ow-light-gray);
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 2px;
}

.bag-item-pricing {
    display: flex;
    justify-content: space-between;
    color: var(--ow-red);
    font-weight: bold;
}

.bag-item-pricing span:first-child {
    color: var(--text-secondary);
    font-weight: normal;
}

/* Bag Totals */
.bag-totals {
    background-color: var(--ow-light-gray);
    padding: 16px;
    border: var(--border-width-thin) solid var(--border-color);
    margin-bottom: 16px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.total-row:last-child {
    margin-bottom: 0;
}

.total-row.font-large {
    font-size: 1.1rem;
}

.total-row.highlight-yellow {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
    font-weight: 800;
}

.total-row.highlight-red {
    font-size: 1.25rem;
    color: var(--ow-red);
    font-weight: bold;
}

/* Order Name Input styling */
.order-name-container {
    width: 100%;
    margin-bottom: 8px;
}

.order-name-input {
    width: 100%;
    padding: 10px;
    border: var(--border-width-thick) solid var(--border-color);
    font-size: 0.9rem;
    font-weight: bold;
    outline: none;
}

.order-name-input:focus {
    background-color: var(--ow-light-gray);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Actions buttons */
.bag-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.action-btn {
    width: 100%;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.15s ease;
}

.btn-black {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: var(--border-width-thick) solid var(--bg-dark);
}

.btn-black:hover {
    background-color: #333333;
}

.btn-outline {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: var(--border-width-thick) solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--ow-light-gray);
}

.btn-danger {
    background-color: var(--bg-primary);
    color: var(--ow-red);
    border: var(--border-width-thick) solid var(--ow-red);
}

.btn-danger:hover {
    background-color: #ffebeb;
}

/* Saved orders list */
.saved-orders-panel {
    border-top: 1px dashed var(--border-color);
    padding-top: 15px;
}

.saved-orders-list {
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.8rem;
}

.no-saved-orders {
    color: var(--ow-gray);
    font-style: italic;
    text-align: center;
    padding: 10px 0;
}

.saved-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--border-light);
    margin-bottom: 6px;
    background-color: var(--bg-secondary);
}

.saved-order-item:hover {
    background-color: var(--ow-light-gray);
}

.saved-order-info {
    cursor: pointer;
    flex: 1;
    overflow: hidden;
}

.saved-order-name {
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
}

.saved-order-date {
    font-size: 0.7rem;
    color: var(--ow-gray);
    font-family: "Courier New", Courier, monospace;
}

.saved-order-qty {
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
}

.delete-saved-btn {
    background: none;
    border: none;
    color: var(--ow-red);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 4px;
    font-weight: bold;
}

.delete-saved-btn:hover {
    color: #b71c1c;
}

/* Detail Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    overflow: auto;
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 5% auto;
    padding: 30px;
    border: var(--border-width-thick) solid var(--border-color);
    width: 80%;
    max-width: 900px;
    position: relative;
    box-shadow: 10px 10px 0px var(--bg-dark);
}

.close-modal-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-primary);
}

.close-modal-btn:hover {
    color: var(--ow-orange);
}

.modal-body-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin-top: 10px;
}

.modal-image-panel {
    background-color: var(--ow-light-gray);
    border: var(--border-width-thin) solid var(--border-light);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    padding: 20px;
}

.modal-image-panel img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-info-panel h2 {
    font-size: 1.8rem;
    font-weight: 950;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-style-num {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.1rem;
    color: var(--ow-orange);
    font-weight: bold;
    margin-bottom: 20px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.spec-table th, .spec-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    text-align: left;
}

.spec-table th {
    font-weight: bold;
    color: var(--text-secondary);
    width: 100px;
}

.modal-sizes-view {
    border-top: 1px dashed var(--border-color);
    padding-top: 15px;
}

.modal-sizes-grid {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.modal-size-card {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: center;
    background-color: var(--ow-light-gray);
    flex: 1;
}

.modal-size-card.has-order {
    background-color: var(--ow-yellow);
}

/* Footer style */
.system-footer {
    border-top: var(--border-width-thin) solid var(--border-color);
    background-color: var(--bg-primary);
    padding: 20px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-secondary);
    margin-top: 40px;
}

/* Media Query for Responsiveness */
@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sticky-bag-inner {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .season-badge {
        border-left: none;
        border-top: var(--border-width-thick) solid var(--border-color);
        padding-left: 0;
        padding-top: 15px;
        text-align: center;
        width: 100%;
    }
    
    .modal-body-layout {
        grid-template-columns: 1fr;
    }
    
    .modal-image-panel {
        height: 250px;
}

/* Print-only element hidden on screen by default */
.print-only {
    display: none;
}

/* Print Invoice Stylesheet */
@media print {
    body {
        background-color: #ffffff;
        color: #000000;
        font-size: 10pt;
        padding: 0;
        margin: 0;
    }
    
    .brand-header, .main-container, .system-footer, #product-modal, .modal {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
        width: 100%;
    }
    
    /* Document header for print */
    .print-header {
        border-bottom: 3px double #000000;
        padding-bottom: 15px;
        margin-bottom: 25px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
    
    .print-logo {
        font-family: -apple-system, sans-serif;
        font-size: 24pt;
        font-weight: 950;
        text-transform: uppercase;
    }
    
    .print-title {
        text-align: right;
    }
    
    .print-title h2 {
        font-size: 14pt;
        margin: 0 0 4px 0;
        font-family: "Courier New", monospace;
    }
    
    .print-title span {
        font-size: 9pt;
        color: #555555;
    }
    
    /* Order info section */
    .print-meta-table {
        width: 100%;
        margin-bottom: 25px;
        border: 1px solid #000;
    }
    
    .print-meta-table td {
        padding: 8px 12px;
        font-size: 9.5pt;
    }
    
    .print-meta-table tr:first-child td {
        border-bottom: 1px solid #000;
    }
    
    .print-meta-table td strong {
        font-family: "Courier New", monospace;
    }
    
    /* Table list */
    .print-invoice-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 30px;
    }
    
    .print-invoice-table th, .print-invoice-table td {
        border: 1px solid #000000;
        padding: 6px 8px;
        font-size: 9pt;
        text-align: left;
    }
    
    .print-invoice-table th {
        background-color: #f2f2f2 !important;
        font-weight: bold;
        text-transform: uppercase;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .print-invoice-table td.qty-cell, .print-invoice-table th.qty-cell {
        text-align: center;
        font-family: "Courier New", monospace;
        font-weight: bold;
    }
    
    .print-invoice-table td.price-cell, .print-invoice-table th.price-cell {
        text-align: right;
        font-family: "Courier New", monospace;
        font-weight: bold;
    }
    
    .print-item-detail {
        font-size: 8.5pt;
        color: #444444;
        margin-top: 4px;
    }
    
    .print-sizes-list {
        font-family: "Courier New", monospace;
        font-size: 8pt;
        margin-top: 3px;
    }
    
    /* Totals section */
    .print-totals-box {
        float: right;
        width: 320px;
        border: 2px solid #000000;
        padding: 10px;
    }
    
    .print-total-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 6px;
        font-size: 10pt;
    }
    
    .print-total-row:last-child {
        margin-bottom: 0;
        border-top: 1px solid #000000;
        padding-top: 6px;
        font-size: 12pt;
        font-weight: bold;
    }
    
    .print-total-row span:last-child {
        font-family: "Courier New", monospace;
        font-weight: bold;
    }
    
    .print-signatures {
        clear: both;
        display: flex;
        justify-content: space-between;
        width: 100%;
        page-break-inside: avoid;
    }
    
    .signature-line {
        border-top: 1px solid #000000;
        width: 200px;
        text-align: center;
        padding-top: 6px;
        font-size: 9pt;
        font-weight: bold;
    }
}
