/**
 * Wholesale Rates & Daily Produce Order Interface Stylesheet
 * 
 * Target: Kathmandu Valley Hotels, Cafes, Hostels, Supermarkets
 * Language: Nepali + English bilingual design
 * Design System: Vanilla CSS leveraging theme CSS variables
 */

.wholesale-rates-page {
    background-color: var(--color-surface, #F8FAF7);
    min-height: 80vh;
    padding-bottom: 120px; /* Space for sticky bottom bar */
    max-width: 100%;
    overflow-x: clip;
}

/* ── 1. Header Section ── */
.ws-header-section {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 60%, #1565C0 100%);
    color: #ffffff;
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.ws-header-section::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ws-header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ws-badge-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.ws-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ws-badge--live {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #E8F5E9;
}

.ws-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00E676;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: ws-pulse 1.8s infinite;
}

@keyframes ws-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.ws-badge--b2b {
    background-color: #FF8F00;
    color: #ffffff;
}

.ws-page-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    color: #ffffff;
}

.ws-page-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* Date Bar */
.ws-date-bar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.ws-date-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.ws-date-options {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ws-date-pill {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ws-date-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ws-date-pill .ws-pill-nep {
    font-size: 0.85rem;
    font-weight: 700;
}

.ws-date-pill .ws-pill-sub {
    font-size: 0.72rem;
    opacity: 0.85;
}

.ws-date-pill:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ws-date-pill.is-active {
    background: #ffffff;
    color: #1B5E20;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ws-date-picker-wrap input[type="date"] {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    color: #212121;
    font-weight: 600;
    outline: none;
}

/* ── 2. Filter & Search Section ── */
.ws-filter-section {
    background: #ffffff;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: var(--header-height, 70px);
    z-index: 40;
    padding: 1rem 0;
}

.ws-filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ws-category-select-wrap {
    flex: 0 0 260px;
}

.ws-select-box {
    position: relative;
    display: flex;
    align-items: center;
}

.ws-icon-filter {
    position: absolute;
    left: 12px;
    color: #6B7280;
    pointer-events: none;
}

.ws-category-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    padding: 0.65rem 2rem 0.65rem 2.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1F2937;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ws-category-select:focus {
    outline: none;
    border-color: #2E7D32;
    background: #ffffff;
}

.ws-select-arrow {
    position: absolute;
    right: 12px;
    font-size: 0.65rem;
    color: #6B7280;
    pointer-events: none;
}

.ws-search-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
}

.ws-icon-search {
    position: absolute;
    left: 14px;
    color: #9CA3AF;
    pointer-events: none;
}

.ws-search-input {
    width: 100%;
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    padding: 0.65rem 2.4rem 0.65rem 2.6rem;
    font-size: 0.95rem;
    color: #111827;
    transition: all 0.2s;
}

.ws-search-input:focus {
    outline: none;
    border-color: #2E7D32;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.ws-search-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
}

.ws-search-clear:hover {
    color: #111827;
}

.ws-filter-stats {
    font-size: 0.9rem;
    color: #6B7280;
    white-space: nowrap;
}

.ws-filter-stats strong,
#ws-visible-count {
    color: #2E7D32;
    font-weight: 700;
}

/* ── 3. Produce List View (Table / Dense Row) ── */
.ws-list-section {
    padding: 2rem 0 3rem;
}

.ws-list-wrapper {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    overflow: hidden;
}

.ws-table-header {
    display: flex;
    align-items: center;
    background-color: #F8FAF7;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4B5563;
    border-bottom: 2px solid #E5E7EB;
}

.ws-products-list {
    display: flex;
    flex-direction: column;
}

.ws-product-row {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #F3F4F6;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.ws-product-row:last-child {
    border-bottom: none;
}

.ws-product-row:hover {
    background-color: #FAFCF9;
}

.ws-product-row.has-selected {
    background-color: #F1F8F1;
    border-color: #D6EAD6;
}

/* Columns sizing */
.ws-col-thumb {
    flex: 0 0 64px;
    margin-right: 1rem;
}

.ws-thumb-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #ffffff;
}

.ws-thumb-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #E8F5E9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid #C8E6C9;
}

.ws-col-info {
    flex: 2;
    min-width: 180px;
    padding-right: 1rem;
}

.ws-product-name {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.ws-name-np {
    color: #2E7D32;
    font-weight: 500;
    margin-left: 0.35rem;
}

.ws-attributes-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ws-attr-tag {
    font-size: 0.76rem;
    background: #F3F4F6;
    color: #4B5563;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.ws-stock-status {
    font-size: 0.74rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.ws-stock-status--in {
    background: #E8F5E9;
    color: #2E7D32;
}

.ws-stock-status--pre {
    background: #FFF3E0;
    color: #E65100;
}

.ws-col-grade {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ws-grade-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    background: #E3F2FD;
    color: #1565C0;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    width: fit-content;
}

.ws-origin-text {
    font-size: 0.8rem;
    color: #6B7280;
}

.ws-col-price {
    flex: 1.2;
    min-width: 140px;
    text-align: right;
    padding-right: 1.5rem;
}

.ws-price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1B5E20;
    line-height: 1.2;
}

.ws-per-unit {
    font-size: 0.85rem;
    color: #4B5563;
    font-weight: 400;
}

.ws-vat-note {
    display: block;
    font-size: 0.72rem;
    color: #9CA3AF;
    margin-top: 0.15rem;
}

.ws-col-action {
    flex: 0 0 160px;
    display: flex;
    justify-content: flex-end;
}

/* Add Button */
.ws-btn-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: #2E7D32;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.ws-btn-add:hover {
    background-color: #1B5E20;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(46, 125, 50, 0.25);
}

/* Stepper Control */
.ws-stepper-control {
    display: flex;
    align-items: center;
    border: 1.5px solid #2E7D32;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    width: 100%;
}

.ws-step-btn {
    background: #E8F5E9;
    border: none;
    color: #1B5E20;
    font-size: 1.15rem;
    font-weight: 700;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.ws-step-btn:hover {
    background: #C8E6C9;
}

.ws-step-input {
    flex: 1;
    width: 45px;
    border: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    outline: none;
    background: #ffffff;
    -moz-appearance: textfield;
}

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

/* No results / empty */
.ws-no-results-box {
    text-align: center;
    padding: 3.5rem 1.5rem;
}

.ws-no-res-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
}

.ws-btn-secondary {
    background: #F3F4F6;
    border: 1px solid #D1D5DB;
    color: #374151;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
}

/* ── 4. Toast Notifications (Top Near Header) ── */
.ws-toast-container {
    position: fixed;
    top: calc(var(--header-height, 72px) + 16px);
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    pointer-events: none;
    max-width: 380px;
    width: 100%;
}

.ws-toast {
    background: #111827;
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: ws-toast-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid #2E7D32;
    backdrop-filter: blur(8px);
}

.ws-toast--decrease {
    border-left-color: #FF8F00;
}

.ws-toast--remove {
    border-left-color: #D32F2F;
}

@keyframes ws-toast-in {
    from { opacity: 0; transform: translateY(-16px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── 5. Sticky Bottom Bar ── */
.ws-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    z-index: 99;
    padding: 0.85rem 0;
}

.ws-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.ws-bottom-summary {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.ws-summary-icon {
    position: relative;
    width: 44px;
    height: 44px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #D32F2F;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.ws-summary-details {
    display: flex;
    flex-direction: column;
}

.ws-summary-label {
    font-size: 0.85rem;
    color: #4B5563;
}

.ws-summary-label strong {
    color: #111827;
}

.ws-summary-total {
    font-size: 1.05rem;
    color: #1F2937;
}

.ws-summary-total strong {
    color: #1B5E20;
    font-size: 1.2rem;
}

.ws-sub-note {
    font-size: 0.72rem;
    color: #6B7280;
    margin-left: 0.35rem;
}

.ws-bottom-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ws-btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
    transition: all 0.2s ease;
}

.ws-btn-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
}

.ws-btn-cart:disabled {
    background: #D1D5DB;
    box-shadow: none;
    cursor: not-allowed;
    color: #6B7280;
}

.ws-btn-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FF8F00 0%, #E65100 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25);
    transition: all 0.2s ease;
}

.ws-btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 81, 0, 0.35);
}

.ws-btn-checkout:disabled {
    background: #E5E7EB;
    box-shadow: none;
    cursor: not-allowed;
    color: #9CA3AF;
}

/* Legacy enquire button compatibility if needed */
.ws-btn-enquire {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #FF8F00 0%, #E65100 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25);
    transition: all 0.2s ease;
}

.ws-btn-enquire:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 81, 0, 0.35);
}

.ws-btn-enquire:disabled {
    background: #D1D5DB;
    box-shadow: none;
    cursor: not-allowed;
    color: #6B7280;
}

/* ── 6. Modal Dialog ── */
.ws-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.ws-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.ws-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
}

.ws-modal-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 92%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 30px rgba(0,0,0,0.25);
    z-index: 2;
}

.ws-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.ws-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem;
}

.ws-modal-sub {
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0;
}

.ws-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0 4px;
}

.ws-modal-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

/* Items Preview List */
.ws-modal-items-preview {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.ws-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.ws-preview-header h4 {
    margin: 0;
    font-size: 0.9rem;
    color: #374151;
}

.ws-preview-total {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1B5E20;
}

.ws-preview-list-wrap {
    max-height: 130px;
    overflow-y: auto;
}

.ws-preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ws-preview-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.82rem;
    border-bottom: 1px dashed #E5E7EB;
    color: #4B5563;
}

.ws-preview-list li:last-child {
    border-bottom: none;
}

/* Form Fields */
.ws-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ws-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.ws-field-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}

.ws-field-group .req {
    color: #D32F2F;
}

.ws-input,
.ws-textarea {
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    color: #111827;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.ws-input:focus,
.ws-textarea:focus {
    border-color: #2E7D32;
}

.ws-form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.ws-btn-submit-form {
    background-color: #2E7D32;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.ws-btn-submit-form:hover {
    background-color: #1B5E20;
}

.ws-btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: background 0.2s;
}

.ws-btn-whatsapp:hover {
    background-color: #1EBE5D;
}

/* Success View */
.ws-success-box {
    text-align: center;
    padding: 2rem 1rem;
}

.ws-success-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.ws-tracking-code {
    background: #E8F5E9;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    display: inline-block;
    color: #1B5E20;
    margin: 1rem 0 1.5rem;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
    .ws-page-title {
        font-size: 1.7rem;
    }
    .ws-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .ws-category-select-wrap {
        flex: 1 1 100%;
        min-width: 0;
    }
    .ws-search-wrap {
        min-width: 0;
        width: 100%;
    }
    .ws-table-header {
        display: none; /* Hide header on mobile for card flow */
    }
    .ws-product-row {
        flex-wrap: wrap;
        padding: 1rem 0.85rem;
        gap: 0.5rem;
    }
    .ws-col-thumb {
        flex: 0 0 50px;
    }
    .ws-col-info {
        flex: 1 1 calc(100% - 70px);
        padding-right: 0;
    }
    .ws-col-grade {
        display: none;
    }
    .ws-col-price {
        flex: 1;
        text-align: left;
        padding-right: 0;
    }
    .ws-col-action {
        flex: 1;
    }
    .ws-form-grid {
        grid-template-columns: 1fr;
    }
    .ws-toast-container {
        top: calc(var(--header-height-mobile, 60px) + 10px);
        left: 16px;
        right: 16px;
        bottom: auto;
        max-width: none;
    }
    .ws-bottom-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    .ws-bottom-summary {
        justify-content: space-between;
        gap: 0.75rem;
    }
    .ws-bottom-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
    }
    .ws-btn-cart,
    .ws-btn-checkout {
        width: 100%;
        padding: 0.75rem 0.5rem;
        font-size: 0.88rem;
        justify-content: center;
        text-align: center;
    }
}
