
    /* 기존 product layout 숨김 (DOM 존재, Uni CPO form 작동 유지) */
    body:not(.hat-wizard-active) .woocommerce-product-gallery,
    body:not(.hat-wizard-active) .summary,
    body:not(.hat-wizard-active) .entry-summary {
        visibility: hidden !important;
    }
    body.hat-wizard-active .woocommerce-product-gallery,
    body.hat-wizard-active .summary,
    body.hat-wizard-active .entry-summary {
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Sticky bar 보이게 + fixed positioning */
    body.hat-wizard-active [class*="sticky"] {
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
    body.hat-wizard-active .sticky-price-bar,
    body.hat-wizard-active .price-box-sticky {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        z-index: 9999 !important;
    }
    body.hat-wizard-active div:has(> .sticky-price-left) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Sticky bar 가격 강조 */
    body.hat-wizard-active .sticky-cost-amount {
        font-size: 28px !important;
        font-weight: 700 !important;
        color: #40CC32 !important;
        line-height: 1 !important;
        letter-spacing: -0.3px !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
    body.hat-wizard-active .sticky-cost-label {
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #9D9D9D !important;
        text-transform: uppercase !important;
        letter-spacing: 0.6px !important;
        display: inline-block !important;
        margin-right: 10px !important;
        vertical-align: middle !important;
    }
    body.hat-wizard-active .sticky-cost-each {
        font-size: 12px !important;
        color: #9D9D9D !important;
        font-weight: 400 !important;
        margin-left: 10px !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
    body.hat-wizard-active .sticky-price-left {
        padding: 10px 20px !important;
        align-items: center !important;
    }
    body.hat-wizard-active div:has(> .sticky-price-left) {
        border-top: 1px solid #e9ecef !important;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05) !important;
        background: #fff !important;
        min-height: 0 !important;
    }
    body.hat-wizard-active .sticky-add-to-cart {
        background: #1a1a1a !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 12px 30px !important;
        border-radius: 4px !important;
        letter-spacing: 0.3px !important;
        transition: all 0.2s !important;
        margin-right: 20px !important;
    }
    body.hat-wizard-active .sticky-add-to-cart:hover {
        background: #333 !important;
        transform: translateY(-1px) !important;
    }
    body.hat-wizard-active .product,
    body.hat-wizard-active .single-product .product {
        min-height: 0 !important;
    }

    /* Wizard container */
    .hat-wizard-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 16px 20px 80px;
        font-family: inherit;
    }

    /* Progress Bar */
    .hat-wizard-progress {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    .hat-wizard-progress-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        flex: 0 0 auto;
        cursor: default;
        transition: all 0.2s;
    }
    .hat-wizard-progress-step.clickable {
        cursor: pointer;
    }
    .hat-wizard-progress-dot {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #fff;
        border: 1.5px solid #e0e0e0;
        color: #adb5bd;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
        transition: all 0.2s;
    }
    .hat-wizard-progress-step.completed .hat-wizard-progress-dot {
        background: #1a1a1a;
        border-color: #1a1a1a;
        color: #fff;
    }
    .hat-wizard-progress-step.active .hat-wizard-progress-dot {
        background: #fff;
        border-color: #1a1a1a;
        color: #1a1a1a;
        border-width: 2px;
    }
    .hat-wizard-progress-label {
        font-size: 11px;
        color: #adb5bd;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
    }
    .hat-wizard-progress-step.completed .hat-wizard-progress-label,
    .hat-wizard-progress-step.active .hat-wizard-progress-label {
        color: #1a1a1a;
    }
    .hat-wizard-progress-line {
        flex: 1;
        height: 2px;
        background: #e0e0e0;
        margin: 0 4px;
        margin-bottom: 18px;
        transition: background 0.3s;
    }
    .hat-wizard-progress-line.completed {
        background: #1a1a1a;
    }

    /* Two Column Layout */
    .hat-wizard-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 16px;
    }
    .hat-wizard-left {
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    .hat-wizard-image-wrapper {
        width: 100%;
        max-width: 360px;
        position: relative;
    }
    .hat-wizard-image-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }
    .hat-wizard-right {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 4px;
    }

    /* Step Container */
    .hat-wizard-step {
        display: none;
        animation: fadeIn 0.3s ease;
    }
    .hat-wizard-step.active {
        display: block;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .hat-wizard-step-title {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 4px 0;
        letter-spacing: -0.3px;
    }
    .hat-wizard-step-subtitle {
        font-size: 13px;
        color: #6c757d;
        margin: 0 0 16px 0;
        line-height: 1.4;
    }
    .hat-wizard-step-body {
        margin-bottom: 16px;
    }
    .hat-wizard-placeholder {
        background: #f8f9fa;
        border: 1px dashed #ced4da;
        border-radius: 8px;
        padding: 32px 20px;
        text-align: center;
        color: #6c757d;
        font-size: 13px;
    }

    /* Color Picker — 66 colors */
    .hat-color-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
        margin-bottom: 16px;
        max-height: 380px;
        overflow-y: auto;
        padding: 4px;
    }
    .hat-color-swatch {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        padding: 4px 2px;
        border-radius: 6px;
        transition: all 0.15s;
    }
    .hat-color-swatch:hover {
        background: #f8f9fa;
    }
    .hat-color-swatch.selected {
        background: #f1f3f5;
    }
    .hat-color-circle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 2px solid transparent;
        transition: all 0.15s;
        position: relative;
        background-size: cover;
        background-position: center;
    }
    .hat-color-swatch.has-border .hat-color-circle {
        border-color: transparent;
        box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
    }
    .hat-color-swatch:hover .hat-color-circle {
        transform: scale(1.05);
    }
    .hat-color-swatch.selected .hat-color-circle {
        border-color: #1a1a1a;
        box-shadow: 0 0 0 2px #fff inset;
    }
    .hat-color-swatch.selected .hat-color-circle::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        text-shadow: 0 0 3px rgba(0,0,0,0.6);
    }
    .hat-color-label {
        font-size: 9px;
        color: #495057;
        text-align: center;
        line-height: 1.2;
        max-width: 60px;
        word-wrap: break-word;
    }
    .hat-color-swatch.selected .hat-color-label {
        font-weight: 600;
        color: #1a1a1a;
    }
    .hat-color-selected-text {
        font-size: 13px;
        color: #495057;
        padding: 12px 16px;
        background: #f8f9fa;
        border-radius: 6px;
        text-align: center;
    }
    .hat-color-selected-text strong {
        color: #1a1a1a;
        font-weight: 600;
    }

    @media (max-width: 768px) {
        .hat-color-grid {
            grid-template-columns: repeat(5, 1fr);
        }
        .hat-color-circle {
            width: 50px;
            height: 50px;
        }
    }

    /* ⭐ Phase 4a: Logo step Tab UI */
    .hat-logo-tabs {
        display: flex;
        gap: 4px;
        margin-bottom: 16px;
        border-bottom: 1px solid #e9ecef;
    }
    .hat-logo-tabs.hidden {
        display: none;
    }
    .hat-logo-tab {
        padding: 10px 18px;
        background: transparent;
        border: none;
        border-bottom: 2px solid transparent;
        color: #6c757d;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.15s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-bottom: -1px;
    }
    .hat-logo-tab:hover {
        color: #1a1a1a;
    }
    .hat-logo-tab.active {
        color: #40CC32;
        border-bottom-color: #40CC32;
        font-weight: 600;
    }
    .hat-logo-tab .hat-logo-tab-status {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ced4da;
        display: inline-block;
    }
    .hat-logo-tab.has-logo .hat-logo-tab-status {
        background: #40CC32;
    }

    /* Logo Upload */
    .hat-logo-upload-section {
        margin-top: 8px;
    }
    .hat-logo-dropzone {
        background: #fafafa;
        border: 2px dashed #ced4da;
        border-radius: 8px;
        padding: 32px 20px;
        text-align: center;
        transition: all 0.15s;
    }
    .hat-logo-dropzone:hover {
        border-color: #40CC32;
        background: #f4fdf2;
    }
    .hat-logo-icon {
        font-size: 32px;
        margin-bottom: 8px;
        opacity: 0.6;
    }
    .hat-logo-dropzone-title {
        font-size: 15px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 4px;
    }
    .hat-logo-dropzone-subtitle {
        font-size: 12px;
        color: #6c757d;
        margin-bottom: 16px;
    }
    .hat-logo-upload-btn {
        background: #1a1a1a;
        color: #fff;
        border: none;
        padding: 10px 24px;
        border-radius: 4px;
        font-weight: 600;
        font-size: 13px;
        cursor: pointer;
        transition: background 0.2s;
    }
    .hat-logo-upload-btn:hover {
        background: #333;
    }
    .hat-logo-controls {
        margin-top: 16px;
        text-align: center;
    }
    .hat-logo-status {
        font-size: 12px;
        color: #6c757d;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .hat-logo-status.success {
        color: #2b8a3e;
    }
    .hat-logo-status.warning {
        color: #c92a2a;
    }
    .hat-logo-remove-btn {
        background: #fff;
        color: #495057;
        border: 1px solid #ced4da;
        padding: 8px 18px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.15s;
    }
    .hat-logo-remove-btn:hover {
        background: #f1f3f5;
        border-color: #adb5bd;
    }

    /* Logo align buttons */
    .hat-logo-align-row {
        display: flex;
        gap: 8px;
        justify-content: center;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }
    .hat-logo-align-btn {
        background: #fff;
        color: #495057;
        border: 1px solid #ced4da;
        padding: 8px 14px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.15s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .hat-logo-align-btn:hover {
        background: #f4fdf2;
        border-color: #40CC32;
        color: #40CC32;
    }
    .hat-logo-align-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Mockup canvas wrapper */
    .hat-wizard-image-wrapper.mockup-mode {
        position: relative;
    }
    .hat-wizard-image-wrapper.mockup-mode img {
        display: none;
    }

    /* Print Location toggle cards (Step 2) */
    .hat-location-options {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .hat-location-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        background: #fff;
        border: 2px solid #e9ecef;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.15s;
    }
    .hat-location-card:hover {
        border-color: #ced4da;
        background: #fafafa;
    }
    .hat-location-card.selected {
        border-color: #40CC32;
        background: #f4fdf2;
    }
    .hat-location-checkbox {
        width: 22px;
        height: 22px;
        border-radius: 4px;
        border: 2px solid #ced4da;
        flex-shrink: 0;
        position: relative;
        transition: all 0.15s;
        background: #fff;
    }
    .hat-location-card.selected .hat-location-checkbox {
        background: #40CC32;
        border-color: #40CC32;
    }
    .hat-location-card.selected .hat-location-checkbox::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -55%) rotate(45deg);
        width: 5px;
        height: 10px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
    }
    .hat-location-content {
        flex: 1;
    }
    .hat-location-label {
        font-size: 15px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 2px;
    }
    .hat-location-card.selected .hat-location-label {
        color: #40CC32;
    }
    .hat-location-desc {
        font-size: 12px;
        color: #6c757d;
        line-height: 1.4;
    }
    .hat-location-price {
        font-size: 12px;
        color: #9D9D9D;
        font-weight: 500;
        white-space: nowrap;
    }
    .hat-location-card.selected .hat-location-price {
        color: #40CC32;
        font-weight: 600;
    }

    /* Print Colors (Step 3) */
    .hat-colors-section {
        margin-bottom: 20px;
    }
    .hat-colors-section:last-child {
        margin-bottom: 0;
    }
    .hat-colors-section-title {
        font-size: 13px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .hat-colors-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .hat-color-count-card {
        padding: 16px 8px 12px;
        background: #fff;
        border: 2px solid #e9ecef;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.15s;
        text-align: center;
    }
    .hat-color-count-card:hover {
        border-color: #ced4da;
        background: #fafafa;
    }
    .hat-color-count-card.selected {
        border-color: #40CC32;
        background: #f4fdf2;
    }
    .hat-color-count-num {
        font-size: 24px;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1;
        margin-bottom: 4px;
    }
    .hat-color-count-card.selected .hat-color-count-num {
        color: #40CC32;
    }
    .hat-color-count-label {
        font-size: 11px;
        color: #6c757d;
        font-weight: 500;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    .hat-color-count-cost {
        font-size: 11px;
        color: #9D9D9D;
        font-weight: 500;
    }
    .hat-color-count-card.selected .hat-color-count-cost {
        color: #40CC32;
        font-weight: 600;
    }
    .hat-no-locations-msg {
        background: #fff3cd;
        border: 1px solid #ffe69c;
        border-radius: 6px;
        padding: 16px;
        color: #856404;
        font-size: 13px;
        text-align: center;
    }

    /* Footer Buttons */
    .hat-wizard-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 16px 0;
        border-top: 1px solid #e9ecef;
        margin-top: 8px;
    }
    .hat-wizard-btn {
        background: #1a1a1a;
        color: #fff;
        border: none;
        padding: 10px 24px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.15s;
        letter-spacing: 0.2px;
    }
    .hat-wizard-btn:hover:not(:disabled) {
        background: #333;
    }
    .hat-wizard-btn:disabled {
        background: #e9ecef;
        color: #adb5bd;
        cursor: not-allowed;
    }
    .hat-wizard-btn-secondary {
        background: #fff;
        color: #495057;
        border: 1px solid #ced4da;
    }
    .hat-wizard-btn-secondary:hover:not(:disabled) {
        background: #f1f3f5;
        border-color: #adb5bd;
    }
    .hat-wizard-btn-secondary:disabled {
        background: #f8f9fa;
        color: #ced4da;
        border-color: #e9ecef;
    }
    .hat-wizard-step-indicator {
        font-size: 12px;
        color: #adb5bd;
        font-weight: 500;
    }

    /* Product 제목 작게 */
    body.hat-wizard-active .product_title,
    body.hat-wizard-active h1.product_title,
    body.hat-wizard-active h1.entry-title,
    body.hat-wizard-active .entry-header h1 {
        font-size: 22px !important;
        font-weight: 600 !important;
        margin: 8px 0 12px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.2px !important;
    }

    /* Mobile responsive */
    @media (max-width: 768px) {
        body.hat-wizard-active .product_title,
        body.hat-wizard-active h1.product_title,
        body.hat-wizard-active h1.entry-title,
        body.hat-wizard-active .entry-header h1 {
            font-size: 18px !important;
            margin: 16px 0 0 !important;
            text-align: center !important;
        }
        body.hat-wizard-active .hat-wizard-progress {
            margin-top: 8px !important;
            margin-bottom: 8px !important;
        }
        body.hat-wizard-active .hat-wizard-container {
            padding-top: 0 !important;
        }
        .hat-wizard-content {
            grid-template-columns: 1fr;
            gap: 20px;
            min-height: auto;
        }
        .hat-wizard-progress-label {
            font-size: 10px;
        }
        .hat-wizard-progress {
            padding: 0 8px;
        }
        .hat-wizard-step-title {
            font-size: 18px;
        }
        .hat-logo-tab {
            padding: 8px 12px;
            font-size: 12px;
        }
    }
    /* ⭐ Phase 5: Size & Quantity */
    .hat-size-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }
    .hat-size-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        transition: all 0.15s;
    }
    .hat-size-row.active {
        border-color: #40CC32;
        background: #f4fdf2;
    }
    .hat-size-row-left {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
    }
    .hat-size-label {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        min-width: 36px;
    }
    .hat-size-surcharge-tag {
        font-size: 11px;
        color: #9D9D9D;
        font-weight: 500;
        white-space: nowrap;
    }
    .hat-size-row.active .hat-size-surcharge-tag {
        color: #c92a2a;
        font-weight: 600;
    }
    .hat-size-qty-controls {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .hat-size-qty-btn {
        width: 30px;
        height: 30px;
        border: 1px solid #ced4da;
        background: #fff;
        color: #495057;
        border-radius: 4px;
        font-size: 18px;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.15s;
        line-height: 1;
        padding: 0;
    }
    .hat-size-qty-btn:hover:not(:disabled) {
        background: #f1f3f5;
        border-color: #adb5bd;
    }
    .hat-size-qty-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }
    .hat-size-qty-input {
        width: 60px;
        height: 30px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        text-align: center;
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        -moz-appearance: textfield;
    }
    .hat-size-qty-input::-webkit-outer-spin-button,
    .hat-size-qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    .hat-size-qty-input:focus {
        outline: none;
        border-color: #40CC32;
    }

    /* ⭐ Hat: Custom Quantity Dropdown (Custom Invoice 스타일) */
    .hat-qty-dropdown-wrapper {
        margin-bottom: 16px;
    }
    .hat-qty-dropdown-label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #495057;
        margin-bottom: 8px;
    }
    .hat-qty-custom-dropdown {
        position: relative;
        width: 100%;
    }
    .hat-qty-dropdown-trigger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 48px;
        padding: 0 16px;
        background: #fff;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        cursor: pointer;
        transition: border-color 0.15s;
    }
    .hat-qty-dropdown-trigger:hover {
        border-color: #adb5bd;
    }
    .hat-qty-custom-dropdown.open .hat-qty-dropdown-trigger {
        border-color: #1a1a1a;
    }
    .hat-qty-dropdown-display {
        font-size: 15px;
        font-weight: 500;
        color: #1a1a1a;
    }
    .hat-qty-dropdown-arrow {
        font-size: 11px;
        color: #6c757d;
        transition: transform 0.2s;
    }
    .hat-qty-custom-dropdown.open .hat-qty-dropdown-arrow {
        transform: rotate(180deg);
    }
    .hat-qty-dropdown-options {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        margin-top: 4px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        max-height: 320px;
        overflow-y: auto;
        z-index: 100;
    }
    .hat-qty-dropdown-option {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        font-size: 15px;
        font-weight: 500;
        color: #1a1a1a;
        cursor: pointer;
        transition: background 0.1s;
    }
    .hat-qty-dropdown-option:hover {
        background: #f1f3f5;
    }
    .hat-qty-dropdown-option.selected {
        background: #e7f1ff;
        color: #2196F3;
        font-weight: 700;
    }
    .hat-qty-dropdown-option.hat-qty-placeholder {
        color: #6c757d;
        font-weight: 400;
    }
    .hat-qty-num {
        font-size: 15px;
    }
    .hat-qty-badge {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        padding: 2px 9px;
        border-radius: 100px;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.6;
        white-space: nowrap;
    }
    .hat-qty-badge-discount {
        background: #d3f9d8;
        color: #2b8a3e;
    }
    .hat-qty-badge-best {
        background: #d0ebff;
        color: #1971c2;
    }

    /* ⭐ Custom Quantity input */
    .hat-qty-custom-input-wrapper {
        margin-top: 12px;
    }
    .hat-qty-custom-input-label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #6c757d;
        margin-bottom: 6px;
    }
    .hat-qty-custom-input {
        width: 100%;
        height: 44px;
        padding: 0 14px;
        border: 1px solid #ced4da;
        border-radius: 6px;
        font-size: 15px;
        font-weight: 500;
        color: #1a1a1a;
        outline: none;
    }
    .hat-qty-custom-input:focus {
        border-color: #2196F3;
    }
    .hat-qty-custom-option {
        border-top: 1px solid #f1f3f5;
        color: #1a1a1a !important;
        font-style: normal;
    }

    /* ⭐ Print Method step */
    .hat-method-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .hat-method-card {
        padding: 18px 20px;
        border: 2px solid #dee2e6;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.15s;
        background: #fff;
    }
    .hat-method-card:hover {
        border-color: #adb5bd;
    }
    .hat-method-card.selected {
        border-color: #40CC32;
        background: #f0fdf4;
    }
    .hat-method-name {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 4px;
    }
    .hat-method-desc {
        font-size: 13px;
        color: #6c757d;
        margin-bottom: 8px;
    }
    .hat-method-fee {
        font-size: 12px;
        font-weight: 600;
        color: #d97706;
    }
    .hat-method-card[data-method="printing"] .hat-method-fee {
        color: #16a34a;
    }
    .hat-size-summary {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 14px 16px;
        margin-top: 8px;
    }
    .hat-size-summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
    }
    .hat-size-summary-label {
        color: #6c757d;
        font-weight: 500;
    }
    .hat-size-summary-value {
        color: #1a1a1a;
        font-weight: 700;
        font-size: 18px;
    }
    .hat-size-tier-message {
        background: #d3f9d8;
        border: 1px solid #b2f2bb;
        border-radius: 4px;
        padding: 8px 12px;
        margin-top: 10px;
        font-size: 12px;
        color: #2b8a3e;
        font-weight: 500;
        line-height: 1.4;
    }
    .hat-size-tier-message.next-tier {
        background: #fff3cd;
        border-color: #ffe69c;
        color: #856404;
    }
    .hat-size-surcharge-message {
        background: #ffe3e3;
        border: 1px solid #ffc9c9;
        border-radius: 4px;
        padding: 8px 12px;
        margin-top: 8px;
        font-size: 12px;
        color: #c92a2a;
        line-height: 1.5;
    }
    .hat-size-surcharge-message > div + div {
        margin-top: 4px;
    }
    .hat-size-empty-msg {
        background: #fff3cd;
        border: 1px solid #ffe69c;
        border-radius: 6px;
        padding: 12px 14px;
        font-size: 13px;
        color: #856404;
        text-align: center;
        margin-top: 8px;
    }

    /* ⭐ Phase 6a: Review */
    .hat-review-section {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 14px 16px;
        margin-bottom: 12px;
    }
    .hat-review-section-title {
        font-size: 11px;
        font-weight: 600;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        margin-bottom: 10px;
    }
    .hat-review-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 0;
        font-size: 13px;
        color: #495057;
    }
    .hat-review-row + .hat-review-row {
        border-top: 1px solid #f1f3f5;
    }
    .hat-review-row strong {
        color: #1a1a1a;
        font-weight: 600;
    }
    .hat-review-color-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .hat-review-color-preview {
        width: 48px;
        height: 48px;
        border-radius: 6px;
        background-size: cover;
        background-position: center;
        border: 1px solid #e9ecef;
        flex-shrink: 0;
    }
    .hat-review-color-text {
        flex: 1;
    }
    .hat-review-color-text-name {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 2px;
    }
    .hat-review-color-text-sub {
        font-size: 11px;
        color: #6c757d;
    }
    .hat-review-logos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
        margin-top: 6px;
    }
    .hat-review-logo-card {
        text-align: center;
    }
    .hat-review-logo-thumb {
        width: 100%;
        aspect-ratio: 1;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-bottom: 4px;
    }
    .hat-review-logo-thumb img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    .hat-review-logo-thumb-empty {
        font-size: 20px;
        color: #adb5bd;
    }
    .hat-review-logo-label {
        font-size: 11px;
        font-weight: 600;
        color: #495057;
        margin-bottom: 2px;
    }
    .hat-review-logo-meta {
        font-size: 10px;
        color: #9D9D9D;
    }
    .hat-review-sizes-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }
    .hat-review-size-chip {
        background: #f1f3f5;
        border-radius: 4px;
        padding: 6px 8px;
        text-align: center;
        font-size: 12px;
    }
    .hat-review-size-chip-name {
        color: #6c757d;
        font-weight: 500;
        font-size: 11px;
    }
    .hat-review-size-chip-qty {
        color: #1a1a1a;
        font-weight: 700;
        font-size: 16px;
        margin-top: 2px;
    }
    .hat-review-price-row {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        font-size: 13px;
    }
    .hat-review-price-row.discount {
        color: #2b8a3e;
    }
    .hat-review-price-row.surcharge {
        color: #c92a2a;
    }
    .hat-review-price-row.total {
        border-top: 2px solid #1a1a1a;
        margin-top: 6px;
        padding-top: 10px;
        font-size: 16px;
        font-weight: 700;
        color: #1a1a1a;
    }
    .hat-review-price-row.total .hat-review-price-amount {
        color: #40CC32;
        font-size: 22px;
    }
    .hat-review-empty {
        background: #fff3cd;
        border: 1px solid #ffe69c;
        border-radius: 6px;
        padding: 12px 14px;
        font-size: 13px;
        color: #856404;
        text-align: center;
    }
    .hat-review-disclaimer {
        font-size: 11px;
        color: #9D9D9D;
        text-align: center;
        margin-top: 10px;
        line-height: 1.4;
    }
    