/* =============================================================================
   Apex Custom Order v2 — Styles
   
   Specificity strategy:
     - Root selector is always `.aco-wrap.aco-wrap` (doubled class = specificity
       0,2,0) which beats any single-class theme rule (0,1,0) without !important
     - Element resets are scoped inside `.aco-wrap.aco-wrap` to neutralise
       Elementor, WPBakery, and aggressive theme resets on buttons/inputs/labels
     - All CSS custom properties defined on `.aco-wrap.aco-wrap` so they cannot
       be overridden by :root-level theme variables
   ============================================================================= */

/* ── Scoped element resets ───────────────────────────────────────────────────
   These cancel out the most common Elementor / theme overrides on raw elements
   before our component styles apply.
   --------------------------------------------------------------------------- */
.aco-wrap.aco-wrap *,
.aco-wrap.aco-wrap *::before,
.aco-wrap.aco-wrap *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

/* Typography reset — themes often set global font/line-height/color on * or body */
.aco-wrap.aco-wrap {
    font-family: "Poppins", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #1a1f2e;
    -webkit-text-size-adjust: 100%;
}

/* Button reset — Elementor + most themes inject border, background, padding, shadow */
.aco-wrap.aco-wrap button,
.aco-wrap.aco-wrap input[type="button"],
.aco-wrap.aco-wrap input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    text-shadow: none;
    outline: none;
    display: inline-block;
    width: auto;
    transition: none;
}

/* Input / textarea reset */
.aco-wrap.aco-wrap input[type="text"],
.aco-wrap.aco-wrap input[type="number"],
.aco-wrap.aco-wrap textarea,
.aco-wrap.aco-wrap select {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #d8dde5;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    box-shadow: none;
    outline: none;
    width: auto;
    max-width: none;
    min-height: 0;
    height: auto;
}

/* Label reset */
.aco-wrap.aco-wrap label {
    display: inline;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    cursor: auto;
    max-width: none;
}

/* Anchor reset — themes inject color, underline, hover effects */
.aco-wrap.aco-wrap a {
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    transition: none;
}

/* Table reset */
.aco-wrap.aco-wrap table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

.aco-wrap.aco-wrap td,
.aco-wrap.aco-wrap th {
    padding: 0;
    margin: 0;
    border: none;
    vertical-align: middle;
    text-align: left;
    background: none;
}

/* List reset */
.aco-wrap.aco-wrap ul,
.aco-wrap.aco-wrap ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Image reset */
.aco-wrap.aco-wrap img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    border: none;
}

/* ── CSS custom properties — doubled class keeps these local ─────────────────
   Any theme that sets the same variable name on :root cannot override these
   because .aco-wrap.aco-wrap has higher specificity than :root
   --------------------------------------------------------------------------- */
.aco-wrap.aco-wrap {
    --aco-orange:       rgba(246, 139, 31, 1);
    --aco-orange-light: #fff4e6;
    --aco-orange-dark:  #d97a1c;
    --aco-blue:         #002559;
    --aco-green:        #1fa94d;
    --aco-green-light:  #e8f7ee;
    --aco-gray-900:     #1a1f2e;
    --aco-gray-700:     #4a5163;
    --aco-gray-500:     rgba(114, 108, 108, 1);
    --aco-gray-300:     #DDDBD5;
    --aco-gray-200:     #e8ebf0;
    --aco-gray-100:     #f4f6f9;
    --aco-white:        #ffffff;
    --aco-red:          #dc3545;
    --full-white:          #ffffff;
}

/* ── Page container — 1340px centered ───────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-page-container {
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

/* ── Layout ──────────────────────────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-main-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 980px) {
    .aco-wrap.aco-wrap .aco-main-layout {
        display: flex;
		flex-direction: column;
    }
	.aco-wrap.aco-wrap .aco-page-container {
		padding: 0;
	}
}
@media (max-width: 768px) {
    .aco-wrap.aco-wrap .aco-form-card {
        padding: 20px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .aco-wrap.aco-wrap .aco-form-card * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    .aco-wrap.aco-wrap .aco-upload-wrap,
    .aco-wrap.aco-wrap .aco-config-columns,
    .aco-wrap.aco-wrap .aco-addon-grid {
        padding: 16px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    .aco-wrap.aco-wrap .aco-upload-wrap{
        padding: 16px 0 !important;
    }

    .aco-wrap.aco-wrap .aco-upload-zone {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 16px !important;
        box-sizing: border-box !important;
    }

    .aco-wrap.aco-wrap .aco-pill-group {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        box-sizing: border-box !important;
    }
	.aco-wrap {
		padding: 20px;
	}
	.aco-wrap.aco-wrap .aco-step-header {
		align-items: start !important;
	}
	.aco-price-sidebar {
		width: 100%;
	}
	.aco-wrap.aco-wrap .aco-step-header {
		flex-direction: column !important;
	}
	
}
/* ── Form card ───────────────────────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-form-card {
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

/* ── Blocks (single-page layout — replaces the old step wizard) ───────────────── */
.aco-wrap.aco-wrap .aco-block {
    margin-bottom: 10px;
}

.aco-wrap.aco-wrap .aco-mode-content {
    display: none;
    animation: acoFadeIn 0.3s ease;
}

.aco-wrap.aco-wrap .aco-mode-content.active {
    display: block;
}

@keyframes acoFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Step header ─────────────────────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 0 16px;
    border: none;
    flex-wrap: wrap;
    background: none;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-step-badge {
    width: 28px;
    height: 28px;
    background: var(--aco-blue);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-step-title-block {
    flex: 1;
    margin: 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-step-title {
    color: var(--aco-blue);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 2px 0;
    padding: 0;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: normal;
}

.aco-wrap.aco-wrap .aco-step-subtitle {
    color: var(--aco-gray-700);
    font-size: 13px;
    margin: 0;
    padding: 0;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.aco-wrap.aco-wrap .aco-guide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid var(--aco-orange);
    border-radius: 9px;
    color: var(--aco-orange-dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.aco-wrap.aco-wrap .aco-guide-link svg {
    flex-shrink: 0;
}

.aco-wrap.aco-wrap .aco-guide-link:hover {
    background: var(--aco-orange);
    color: #ffffff;
    text-decoration: none;
}

/* ── Step 1: Upload ──────────────────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-upload-wrap {
    padding: 0;
}

.aco-wrap.aco-wrap .aco-upload-zone {
    border: 1px solid var(--aco-gray-300);
    border-radius: 10px;
    padding: 13px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    background: var(--full-white);
    margin: 0;
}

.aco-wrap.aco-wrap .aco-upload-zone:hover,
.aco-wrap.aco-wrap .aco-upload-zone.dragging {
    border-color: var(--aco-orange);
    background: var(--aco-orange-light);
}

.aco-wrap.aco-wrap .aco-upload-zone.has-file {
    border-color: var(--aco-green);
    background: var(--aco-green-light);
    border-style: solid;
}

.aco-wrap.aco-wrap .aco-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.aco-wrap.aco-wrap .aco-upload-icon {
    pointer-events: none;
    position: relative;
    width: 74px;
    height: 52px;
    margin: 0 auto 20px;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-upload-icon-card {
    position: absolute;
    top: 0;
    width: 46px;
    height: 52px;
    margin: 0;
    border: none;
    display: block;
}

.aco-wrap.aco-wrap .aco-upload-icon-back {
    left: 0;
    z-index: 1;
}

.aco-wrap.aco-wrap .aco-upload-icon-mid {
    left: 14px;
    z-index: 2;
}

.aco-wrap.aco-wrap .aco-upload-icon-front {
    left: 28px;
    z-index: 3;
}

.aco-wrap.aco-wrap .aco-upload-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--aco-blue);
    margin: 0 0 6px 0;
    padding: 0;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

.aco-wrap.aco-wrap .aco-upload-subtitle {
    font-size: 11px;
    color: var(--aco-gray-500);
    margin: 0 0 16px 0;
    padding: 0;
    font-weight: 400;
    text-transform: none;
}

.aco-wrap.aco-wrap .aco-file-type-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-badge {
    padding: 6px 12px;
    background: #EEF3FB;
    border: 1px solid #DCE5F5;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #0B3D8A;
    letter-spacing: 0.3px;
    margin: 0;
    display: inline-block;
    line-height: 1.5;
    text-transform: none;
}

.aco-wrap.aco-wrap .aco-upload-error {
    color: var(--aco-red);
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
    font-weight: 400;
}

.aco-wrap.aco-wrap .aco-no-variation-msg {
    color: var(--aco-red);
    font-size: 12px;
    font-weight: 600;
    margin: -12px 0 16px;
}

.aco-wrap.aco-wrap .aco-progress-wrap {
    margin-top: 20px;
}

.aco-wrap.aco-wrap .aco-progress-bar {
    height: 6px;
    background: var(--aco-gray-200);
    border-radius: 3px;
    overflow: hidden;
    border: none;
    padding: 0;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-progress-fill {
    height: 100%;
    background: var(--aco-green);
    width: 0%;
    transition: width 0.2s;
    border-radius: 3px;
    display: block;
}

.aco-wrap.aco-wrap .aco-progress-status {
    font-size: 12px;
    color: var(--aco-gray-500);
    margin-top: 4px;
    text-align: center;
    font-weight: 400;
}

.aco-wrap.aco-wrap .aco-pdf-preview {
    margin-top: 16px;
    text-align: center;
}

.aco-wrap.aco-wrap .aco-pdf-preview canvas {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
    border: none;
}

/* ── Configure + Add-ons — single-page 2-column layout ────────────────────────── */
.aco-wrap.aco-wrap .aco-config-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 32px 0;
    border: 1px solid var(--aco-gray-300);
    border-radius: 10px;
    margin-bottom: 24px;
    background: var(--full-white);
}

@media (max-width: 768px) {
    .aco-wrap.aco-wrap .aco-config-columns {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.aco-wrap.aco-wrap .aco-config-left,
.aco-wrap.aco-wrap .aco-config-right {
    min-width: 0;
    padding: 0 32px;
}

.aco-wrap.aco-wrap .aco-config-right {
    border-left: 1px solid var(--aco-gray-300);
}

@media (max-width: 768px) {
    .aco-wrap.aco-wrap .aco-config-right {
        border-left: none;
        border-top: 1px solid var(--aco-gray-300);
        padding-top: 24px;
        margin-top: 8px;
    }
}

.aco-wrap.aco-wrap .aco-config-submit {
    grid-column: 1 / -1;
    padding: 24px 32px 0;
    margin-top: 8px;
    border-top: 1px solid var(--aco-gray-200);
}

.aco-wrap.aco-wrap .aco-config-group {
    margin-bottom: 24px;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-dimension-row {
    display: flex;
    gap: 16px;
}

.aco-wrap.aco-wrap .aco-dimension-row .aco-dimension-field {
    flex: 1;
    min-width: 0;
}

.aco-wrap.aco-wrap .aco-config-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--aco-blue);
    margin: 0 0 8px 0;
    padding: 0;
    display: block;
    text-transform: none;
    letter-spacing: 0.24px;
	text-align:left;
}

.aco-wrap.aco-wrap .aco-config-hint {
    font-size: 11px;
    color: var(--aco-gray-700);
    margin: -4px 0 10px 0;
    font-weight: 400;
}

/* ── "Color N" swatch pickers — <details>/<summary> dropdown ─────────────────── */
.aco-wrap.aco-wrap .aco-swatch-dropdown {
    position: relative;
}

.aco-wrap.aco-wrap .aco-swatch-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--aco-gray-300);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    font-size: 14px;
    color: var(--aco-gray-900);
    list-style: none;
    user-select: none;
}

.aco-wrap.aco-wrap .aco-swatch-summary::-webkit-details-marker {
    display: none;
}

.aco-wrap.aco-wrap .aco-swatch-summary::after {
    content: "";
    margin-left: auto;
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234a5163' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
}

.aco-wrap.aco-wrap .aco-swatch-dropdown[open] .aco-swatch-summary {
    border-color: var(--aco-orange);
}

.aco-wrap.aco-wrap .aco-swatch-placeholder {
    color: var(--aco-gray-500);
}

.aco-wrap.aco-wrap .aco-swatch-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #ffffff;
    border: 1px solid var(--aco-gray-300);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
}

.aco-wrap.aco-wrap .aco-swatch-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    margin: 0;
    max-width: none;
}

.aco-wrap.aco-wrap .aco-swatch-option:hover {
    background: var(--aco-gray-100);
}

.aco-wrap.aco-wrap .aco-swatch-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-swatch-summary .swatch,
.aco-wrap.aco-wrap .aco-swatch-option .swatch {
    flex-shrink: 0;
    margin: 0 !important;
    border-radius: 4px !important;
    width: 20px !important;
    height: 20px !important;
}

.aco-wrap.aco-wrap .aco-swatch-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--aco-gray-700);
}

.aco-wrap.aco-wrap .aco-swatch-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--aco-orange);
    margin-left: auto;
}

.aco-wrap.aco-wrap .aco-color-required-msg {
    color: var(--aco-red);
    font-size: 12px;
    font-weight: 600;
    margin: -12px 0 16px;
}

.aco-wrap.aco-wrap .aco-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 110px;
    max-width: 160px;
    padding: 8px 30px 8px 14px !important;
    background-color: var(--aco-orange-light) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23F68B1F' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 10px 6px !important;
    border: 1px solid var(--aco-orange) !important;
    border-radius: 6px !important;
    font-size: 12px;
    font-weight: 600;
    color: var(--aco-orange);
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s;
}

.aco-wrap.aco-wrap .aco-select:focus {
    outline: none;
    border-color: var(--aco-orange);
}

.aco-wrap.aco-wrap .aco-required {
    color: var(--aco-red);
    font-weight: 600;
}

.aco-wrap.aco-wrap .aco-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-pill-btn {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--aco-gray-300);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--aco-gray-700);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    font-family: inherit;
    line-height: 1.4;
    margin: 0;
    box-shadow: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    display: inline-block;
}

.aco-wrap.aco-wrap .aco-pill-btn:hover {
    border-color: var(--aco-orange);
    color: var(--aco-orange);
    background: #ffffff;
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-pill-btn.active {
    background: var(--aco-orange-light);
    border-color: var(--aco-orange);
    color: var(--aco-orange);
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-dims-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-dim-field {
    flex: 1;
    margin: 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-dim-field label {
    display: block;
    font-size: 12px;
    color: var(--aco-gray-500);
    margin: 0 0 4px 0;
    padding: 0;
    font-weight: 400;
    cursor: default;
}

.aco-wrap.aco-wrap .aco-dim-field input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--aco-gray-300);
    border-radius: 8px;
    font-size: 14px;
    color: var(--aco-gray-900);
    font-family: inherit;
    transition: border-color 0.15s;
    background: #ffffff;
    box-shadow: none;
    outline: none;
    margin: 0;
    height: auto;
    min-height: 0;
    -moz-appearance: textfield;
    display: block;
}

.aco-wrap.aco-wrap .aco-dim-field input[type="number"]:focus {
    outline: none;
    border-color: var(--aco-orange);
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-dim-field input[type="number"]::-webkit-inner-spin-button,
.aco-wrap.aco-wrap .aco-dim-field input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-dim-sep {
    font-size: 18px;
    color: var(--aco-gray-500);
    padding-bottom: 10px;
    display: block;
    line-height: 1;
    font-weight: 400;
}

.aco-wrap.aco-wrap .aco-dim-error {
    font-size: 12px;
    color: var(--aco-red);
    margin-top: 6px;
    padding: 0;
    font-weight: 400;
}

/* Quantity stepper */
.aco-wrap.aco-wrap .aco-quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--aco-gray-300);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-qty-btn {
    width: 36px;
    height: 40px;
    background: #EEECEA;
    border: none;
    font-size: 20px;
    color: var(--aco-gray-700);
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    line-height: 1;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-shadow: none;
    text-transform: none;
}

.aco-wrap.aco-wrap .aco-qty-btn:hover {
    background: var(--aco-gray-200);
    color: var(--aco-gray-700);
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-qty-input {
    width: 64px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--aco-gray-300);
    border-right: 1px solid var(--aco-gray-300);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--aco-gray-900);
    background: #ffffff;
    outline: none;
    font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    display: block;
    -moz-appearance: textfield;
}

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

.aco-wrap.aco-wrap .aco-qty-input:focus {
    outline: none;
    box-shadow: none;
}

/* Checkbox */
.aco-wrap.aco-wrap .aco-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--aco-gray-700);
    cursor: pointer;
    font-weight: 400;
    margin: 0;
    padding: 0;
    max-width: none;
    line-height: 1.5;
}

.aco-wrap.aco-wrap .aco-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--aco-orange);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--aco-gray-300);
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    background: #ffffff;
}

.aco-wrap.aco-wrap .aco-checkbox-error {
    font-size: 12px;
    color: var(--aco-red);
    margin-top: 6px;
    padding: 0;
    font-weight: 400;
}

/* Text inputs */
.aco-wrap.aco-wrap .aco-text-input {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid var(--aco-gray-300) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: var(--aco-gray-900) !important;
    font-family: inherit !important;
    transition: border-color 0.15s;
    background: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    line-height: 1.5 !important;
}

.aco-wrap.aco-wrap .aco-text-input:focus {
    outline: none;
    border-color: var(--aco-orange);
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--aco-gray-300);
    border-radius: 8px;
    font-size: 14px;
    color: var(--aco-gray-900);
    font-family: inherit;
    transition: border-color 0.15s;
    background: #ffffff;
    box-shadow: none;
    outline: none;
    margin: 0;
    min-height: 0;
    display: block;
    resize: vertical;
    line-height: 1.5;
}

.aco-wrap.aco-wrap .aco-textarea:focus {
    outline: none;
    border-color: var(--aco-orange);
    box-shadow: none;
}

/* ── Add-ons ─────────────────────────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-addon-grid {
    display: block;
    padding: 0;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-addon-card {
    border: 1px solid var(--aco-gray-300);
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #ffffff;
    user-select: none;
    margin: 0 0 12px 0;
    box-shadow: none;
    text-align: left;
    min-height: 85px;
}

.aco-wrap.aco-wrap .aco-addon-card:last-child {
    margin-bottom: 0;
}

.aco-wrap.aco-wrap .aco-addon-card:hover:not(.locked) {
    border-color: var(--aco-orange);
    background: #ffffff;
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-addon-card.active {
    border-color: #D85A30;
    background: #E6F1FB;
}

.aco-wrap.aco-wrap .aco-addon-card.locked {
    cursor: default;
}

.aco-wrap.aco-wrap .aco-addon-checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--aco-gray-300);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: all 0.15s;
    padding: 0;
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-addon-card.active .aco-addon-checkbox {
    background: var(--aco-green);
    border-color: var(--aco-green);
}

.aco-wrap.aco-wrap .aco-addon-card.active .aco-addon-checkbox::after {
    content: "✓";
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.aco-wrap.aco-wrap .aco-addon-content {
    flex: 1;
    margin: 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-addon-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--aco-gray-900);
    margin: 0 0 2px 0;
    padding: 0;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

.aco-wrap.aco-wrap .aco-addon-desc {
    font-size: 11px;
    color: var(--aco-gray-700);
    margin: 0 0 6px 0;
    padding: 0;
    line-height: 1.4;
    font-weight: 400;
    text-transform: none;
}

.aco-wrap.aco-wrap .aco-addon-price {
    font-size: 11px;
    color: var(--aco-orange);
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-addon-card.active .aco-addon-price {
    color: #1D9E75;
}

.aco-wrap.aco-wrap .aco-wishlist {
    margin-top: 16px;
}

/* ── Price sidebar ───────────────────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-price-sidebar {
    position: sticky;
    top: 30%;
}

.aco-wrap.aco-wrap .aco-price-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

.aco-wrap.aco-wrap .aco-price-summary {
    background: var(--aco-blue);
    color: #ffffff;
    border-radius: 0;
    padding: 20px;
    margin: 0;
    border: none;
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-summary-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin: 0 0 8px 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-price-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 8px 0;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--aco-orange);
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.aco-wrap.aco-wrap .aco-price-unit {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.aco-wrap.aco-wrap .aco-price-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin: 0 0 12px 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
}

.aco-wrap.aco-wrap .aco-price-total-row span:last-child {
    font-weight: 600;
}

.aco-wrap.aco-wrap .aco-savings-badge {
    background: var(--aco-green);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    display: block;
}

.aco-wrap.aco-wrap .aco-product-meta {
    background: #ffffff;
    border-top: 1px solid var(--aco-gray-200);
    padding: 18px 20px 10px 20px;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-meta-row {
    margin: 0 0 6px 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--aco-gray-700);
}

.aco-wrap.aco-wrap .aco-meta-row:last-child {
    margin-bottom: 0;
}

.aco-wrap.aco-wrap .aco-meta-row strong {
    font-weight: 700;
    margin-right: 4px;
}

.aco-wrap.aco-wrap .aco-meta-categories a {
    color: var(--aco-blue);
    text-decoration: none;
}

.aco-wrap.aco-wrap .aco-meta-categories a:hover {
    text-decoration: underline;
}

.aco-wrap.aco-wrap .aco-price-loader {
    text-align: center;
    margin-top: 10px;
}

.aco-wrap.aco-wrap .aco-price-breakdown {
    background: #ffffff;
    border: 1px solid var(--aco-gray-200);
    border-top: none;
    padding: 16px 20px;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-price-breakdown {
    display: none;
}

.aco-wrap.aco-wrap .aco-price-breakdown-inner {
    margin: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
}

.aco-wrap.aco-wrap .aco-price-breakdown-inner .aco-breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 0;
    border: none;
    margin: 0;
    background: none;
}

.aco-wrap.aco-wrap .aco-price-breakdown-inner .aco-breakdown-row strong {
    color: #ffffff;
    font-weight: 600;
}

.aco-wrap.aco-wrap .aco-breakdown-row strong {
    color: var(--aco-gray-900);
    font-weight: 600;
}

.aco-wrap.aco-wrap .aco-order-total-banner {
    background: var(--aco-orange);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
    border: none;
    display: block;
}

.aco-wrap.aco-wrap .aco-section-card {
    background: #ffffff;
    border: none;
    padding: 10px;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-section-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--aco-gray-900);
    margin: 0 0 10px 0;
    padding: 0;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

/* Volume pricing table */
.aco-wrap.aco-wrap .aco-volume-table {
    width: 100%;
    font-size: 13px;
    border-collapse: separate;
    border-spacing: 0 6px;
    margin: 0;
    border: none;
}

.aco-wrap.aco-wrap .aco-volume-row {
    background: var(--aco-gray-100);
    border-radius: 8px;
    transition: background 0.15s;
}

.aco-wrap.aco-wrap .aco-volume-row td {
    padding: 8px !important;
    color: var(--aco-gray-700);
    border: none;
    background: none;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 400;
}

.aco-wrap.aco-wrap .aco-volume-row td:first-child {
    border-radius: 8px 0 0 8px;
    font-weight: 700;
    color: var(--aco-gray-900);
}

.aco-wrap.aco-wrap .aco-volume-row td:last-child {
    border-radius: 0 8px 8px 0;
}

.aco-wrap.aco-wrap .aco-volume-row td:nth-child(2) {
    text-align: right;
    color: var(--aco-gray-900);
    font-weight: 500;
}

.aco-wrap.aco-wrap .aco-volume-row td:nth-child(3) {
    text-align: right;
    color: var(--aco-green);
    font-weight: 600;
}

.aco-wrap.aco-wrap .aco-volume-row.active {
    background: var(--aco-orange-light);
}

.aco-wrap.aco-wrap .aco-volume-row.active td:first-child {
    color: var(--aco-orange);
}

.aco-wrap.aco-wrap .aco-volume-row.active td:nth-child(2) {
    color: var(--aco-orange-dark);
}

.aco-wrap.aco-wrap .aco-no-pricing {
    font-size: 12px;
    color: var(--aco-gray-500);
    text-align: center;
    padding: 8px 0;
    margin: 0;
    font-weight: 400;
}

/* ── Profit calculator — static visual only, no live math yet ─────────────────── */
.aco-wrap.aco-wrap .aco-profit-calc-wrap {
    margin-top: 20px;
}

.aco-wrap.aco-wrap .aco-profit-card {
    padding: 14px 16px;
}

.aco-wrap.aco-wrap .aco-profit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--aco-gray-700);
    border-bottom: 1px solid var(--aco-gray-100);
}

.aco-wrap.aco-wrap .aco-profit-row:last-child {
    border-bottom: none;
}

.aco-wrap.aco-wrap .aco-profit-row strong {
    color: var(--aco-gray-900);
    font-weight: 700;
}

.aco-wrap.aco-wrap .aco-profit-input {
    width: 80px;
    text-align: right;
    padding: 6px 8px;
    border: 1px solid var(--aco-gray-300);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--aco-gray-900);
    background: var(--aco-gray-100);
}

.aco-wrap.aco-wrap .aco-profit-row-total {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--aco-gray-200);
}

.aco-wrap.aco-wrap .aco-profit-row-total strong {
    color: var(--aco-green);
    font-size: 15px;
}

/* Sidebar actions */
.aco-wrap.aco-wrap .aco-sidebar-actions {
    background: #ffffff;
    border: none;
    border-top: 1px solid var(--aco-gray-200);
    border-radius: 0;
    padding: 16px 20px;
    margin: 0;
}

.aco-wrap.aco-wrap .aco-btn-primary {
    width: 100%;
    background: var(--aco-orange);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin: 0 0 8px 0;
    transition: background 0.2s;
    font-family: inherit;
    line-height: 1.4;
    display: block;
    text-align: center;
    box-shadow: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 8px;
}

.aco-wrap.aco-wrap .aco-btn-primary:hover:not(:disabled) {
    background: var(--aco-orange-dark);
    color: #ffffff;
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--aco-orange);
}

.aco-wrap.aco-wrap .aco-btn-block {
    width: 70% !important;
    max-width: 560px !important;
    margin: 8px auto 0 !important;
    padding: 17px 28px !important;
    font-size: 15px;
    background: linear-gradient(180deg, var(--aco-orange) 0%, #DA2128 100%) !important;
    border-radius: 69px !important;
    opacity: 1;
}

.aco-wrap.aco-wrap .aco-btn-block:hover:not(:disabled) {
    background: linear-gradient(180deg, #DA2128 0%, var(--aco-orange) 100%) !important;
}

.aco-wrap.aco-wrap .aco-btn-block:disabled {
    opacity: 0.5;
    background: linear-gradient(180deg, var(--aco-orange) 0%, #DA2128 100%) !important;
}

@media (max-width: 600px) {
    .aco-wrap.aco-wrap .aco-btn-block {
        width: 100%;
    }
}

.aco-wrap.aco-wrap .aco-btn-secondary {
    display: block;
    width: 100%;
    background: #ffffff;
    color: var(--aco-blue);
    border: 1px solid var(--aco-gray-300);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 0 6px 0;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1.4;
    box-shadow: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}

.aco-wrap.aco-wrap .aco-btn-secondary:hover {
    border-color: var(--aco-orange);
    color: var(--aco-orange);
    background: #ffffff;
    text-decoration: none;
    box-shadow: none;
}

.aco-wrap.aco-wrap .aco-btn-link {
    display: block;
    text-decoration: none;
}


/* ── Gang sheet mode ───────────────────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-back-to-upload {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 16px 40px 0;
    background: none;
    border: none;
    color: var(--aco-orange);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.aco-wrap.aco-wrap .aco-back-to-upload:hover {
    opacity: 0.75;
}

.aco-wrap.aco-wrap .aco-gangsheet-wrap {
    padding: 60px 40px;
    text-align: center;
}

.aco-wrap.aco-wrap .aco-gangsheet-msg {
    font-size: 15px;
    color: var(--aco-gray-700);
    margin: 0;
}

.aco-wrap.aco-wrap .aco-gangsheet-link {
    color: var(--aco-orange);
    font-weight: 600;
    text-decoration: underline;
}
/* ── Hide gang sheet builder's own size selector — we use our pills instead ── */
.aco-wrap.aco-wrap .aco-gangsheet-builder .gang-sheet-variations {
    display: none !important;
}
.aco-wrap.aco-wrap .aco-gangsheet-builder #gang-sheet-builder-button {
    opacity: 1 !important;
	background: #ff7a00 !important;
    border: none !important;
    width: 100%;
    padding: 20px 10px;
    border-radius: 10px;
    font-size: 16px;
}
.aco-wrap.aco-wrap .aco-gangsheet-builder #gang-sheet-builder-button:hover {
	background: #002559 !important;
	color:white !important;
}

/* ── Artwork type radio buttons ──────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-artwork-type {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    flex-wrap: wrap;
}

.aco-wrap.aco-wrap .aco-artwork-type-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1.5px solid var(--aco-gray-300);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--aco-gray-700);
    transition: all 0.15s;
    background: white;
    margin: 0;
    max-width: none;
    font-family: inherit;
}

.aco-wrap.aco-wrap .aco-artwork-type-option:hover {
    border-color: var(--aco-orange);
    color: var(--aco-orange);
}

.aco-wrap.aco-wrap .aco-artwork-type-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--aco-gray-300);
    border-radius: 50%;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    background: white;
    box-shadow: none;
    transition: all 0.15s;
}

.aco-wrap.aco-wrap .aco-artwork-type-option input[type="radio"]:checked {
    border-color: var(--aco-orange);
    background: white;
    box-shadow: inset 0 0 0 3px white, inset 0 0 0 8px var(--aco-orange);
}
/* ── Artwork type help icon ───────────────────────────────────────────────── */
.aco-wrap.aco-wrap .aco-artwork-type-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aco-wrap.aco-wrap .aco-artwork-type-help {
    position: relative;
    color: var(--aco-gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.aco-wrap.aco-wrap .aco-artwork-type-help:hover {
    color: var(--aco-orange);
}

.aco-wrap.aco-wrap .aco-artwork-type-help::after {
    content: attr( data-tooltip );
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY( -50% );
    background: var(--aco-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    z-index: 10;
}

.aco-wrap.aco-wrap .aco-artwork-type-help:hover::after {
    opacity: 1;
}
.aco-wrap.aco-wrap .aco-qty-input {
    border: none !important;
}

/* =============================================================================
   v1.3.47 - UI feedback pass (buttons, 10px radius, type scale, spacing, color dropdown)
   Brand: orange #F68B1F / red #DA2128 / navy #002559.  Type scale: H1 38 / H2 22 / H3 16.
   ============================================================================= */
.aco-wrap.aco-wrap {
    --aco-radius: 10px;
    --aco-grad: linear-gradient(180deg, #F68B1F 0%, #DA2128 100%);
}

/* Buttons
   Primary (gradient pill): hover turns solid orange.
   Secondary (navy outline pill): hover fills orange.
   Small guide link (orange outline pill): hover turns navy outline.
   Every button gets the same smooth transition so hovers feel the same everywhere. */
.aco-wrap.aco-wrap .aco-btn-primary,
.aco-wrap.aco-wrap .aco-btn-secondary,
.aco-wrap.aco-wrap .aco-guide-link,
.aco-wrap.aco-wrap .aco-pill-btn,
.aco-wrap.aco-wrap .aco-qty-btn {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aco-wrap.aco-wrap .aco-btn-primary {
    background: var(--aco-grad);
    border-radius: 999px;
    padding: 15px 28px;
}
.aco-wrap.aco-wrap .aco-btn-primary:hover:not(:disabled) {
    background: var(--aco-orange);
    color: #ffffff;
}
.aco-wrap.aco-wrap .aco-btn-primary:disabled {
    background: var(--aco-grad);
    opacity: 0.5;
}

/* Form action button: full length at the bottom of the form */
.aco-wrap.aco-wrap .aco-btn-block {
    width: 100% !important;
    max-width: none !important;
    margin: 8px 0 0 !important;
    padding: 16px 28px !important;
    background: var(--aco-grad) !important;
    border-radius: 999px !important;
}
.aco-wrap.aco-wrap .aco-btn-block:hover:not(:disabled) {
    background: var(--aco-orange) !important;
}
.aco-wrap.aco-wrap .aco-btn-block:disabled {
    background: var(--aco-grad) !important;
    opacity: 0.5;
}

.aco-wrap.aco-wrap .aco-btn-secondary {
    background: #ffffff;
    color: var(--aco-blue);
    border: 1px solid var(--aco-blue);
    border-radius: 999px;
    padding: 12px 20px;
}
.aco-wrap.aco-wrap .aco-btn-secondary:hover {
    background: var(--aco-orange);
    border-color: var(--aco-orange);
    color: #ffffff;
}

.aco-wrap.aco-wrap .aco-guide-link {
    border-radius: 999px;
    padding: 8px 18px;
    border: 1px solid var(--aco-orange);
    color: var(--aco-orange);
}
.aco-wrap.aco-wrap .aco-guide-link:hover {
    background: #ffffff;
    border-color: var(--aco-blue);
    color: var(--aco-blue);
}

/* Same 10px roundness on every edge */
.aco-wrap.aco-wrap .aco-pill-btn,
.aco-wrap.aco-wrap .aco-addon-card,
.aco-wrap.aco-wrap .aco-quantity-stepper,
.aco-wrap.aco-wrap .aco-swatch-summary,
.aco-wrap.aco-wrap .aco-swatch-options,
.aco-wrap.aco-wrap .aco-savings-badge,
.aco-wrap.aco-wrap .aco-volume-row,
.aco-wrap.aco-wrap .aco-select,
.aco-wrap.aco-wrap .aco-profit-input {
    border-radius: var(--aco-radius) !important;
}
.aco-wrap.aco-wrap .aco-text-input,
.aco-wrap.aco-wrap .aco-textarea,
.aco-wrap.aco-wrap .aco-dim-field input[type="number"] {
    border-radius: var(--aco-radius) !important;
}
.aco-wrap.aco-wrap .aco-volume-row td:first-child { border-radius: var(--aco-radius) 0 0 var(--aco-radius); }
.aco-wrap.aco-wrap .aco-volume-row td:last-child  { border-radius: 0 var(--aco-radius) var(--aco-radius) 0; }

/* Price sidebar: one rounded card, so the summary's top corners match the rest */
.aco-wrap.aco-wrap .aco-price-sidebar {
    border-radius: var(--aco-radius);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.aco-wrap.aco-wrap .aco-price-summary { border-radius: 0; }

/* Step header (orange badge, as in the order form design) */
.aco-wrap.aco-wrap .aco-step-badge { background: var(--aco-orange); }
.aco-wrap.aco-wrap .aco-step-title {
    font-size: 22px;           /* H2 */
    font-weight: 700;
    line-height: 1.25;
}
.aco-wrap.aco-wrap .aco-step-subtitle { font-size: 13px; }
.aco-wrap.aco-wrap .aco-section-card h4,
.aco-wrap.aco-wrap .aco-upload-title { font-size: 16px; }   /* H3 */

/* Tighter spacing between sections */
.aco-wrap.aco-wrap .aco-form-card { min-height: 0; }
.aco-wrap.aco-wrap .aco-block { margin-bottom: 0; }
.aco-wrap.aco-wrap .aco-step-header { padding-bottom: 12px; }
.aco-wrap.aco-wrap .aco-config-columns {
    padding: 24px 0;
    margin-top: 16px;
    margin-bottom: 0;
}
.aco-wrap.aco-wrap .aco-config-group { margin-bottom: 18px; }
.aco-wrap.aco-wrap .aco-config-submit { padding: 16px 32px 0; margin-top: 0; }
.aco-wrap.aco-wrap .aco-main-layout { gap: 20px; }

/* 5-step progress, as in the order form design */
.aco-wrap.aco-wrap .aco-steps {
    display: flex;
    align-items: center;
    margin: 0 0 20px;
    padding: 0;
}
.aco-wrap.aco-wrap .aco-steps-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: #E7E4DF;
    color: #ffffff;
    border: 2px solid #E7E4DF;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.aco-wrap.aco-wrap .aco-steps-dot.is-done {
    background: var(--aco-orange);
    border-color: var(--aco-orange);
    font-size: 0;
}
.aco-wrap.aco-wrap .aco-steps-dot.is-done::after {
    content: "";
    width: 11px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translate(1px, -1px);
}
.aco-wrap.aco-wrap .aco-steps-line {
    flex: 1;
    height: 2px;
    margin: 0 8px;
    background: #E7E4DF;
    transition: background 0.2s ease;
}
.aco-wrap.aco-wrap .aco-steps-line.is-done { background: var(--aco-orange); }

/* Color dropdown: name + hex code + preview swatch */
.aco-wrap.aco-wrap .aco-swatch-summary {
    padding: 12px 16px;
    min-height: 46px;
}
.aco-wrap.aco-wrap .aco-swatch-summary .aco-swatch-label,
.aco-wrap.aco-wrap .aco-swatch-option .aco-swatch-label {
    order: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--aco-blue);
}
.aco-wrap.aco-wrap .aco-swatch-hex {
    display: none !important; /* Hex codes are no longer shown (the JS still fills them in for data-hex). */
    order: 3;
    margin-left: auto;
    font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--aco-gray-700);
    text-transform: uppercase;
}
.aco-wrap.aco-wrap .aco-swatch-summary .swatch,
.aco-wrap.aco-wrap .aco-swatch-option .swatch {
    order: 4;
    margin-left: auto !important; /* Right edge of the row (the base .swatch rule sets margin: 0 !important). */
    width: 40px !important;
    height: 20px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
}
.aco-wrap.aco-wrap .aco-swatch-option .aco-swatch-price { order: 2; margin-left: 8px; }
.aco-wrap.aco-wrap .aco-swatch-summary::after { order: 5; margin-left: 12px; }
.aco-wrap.aco-wrap .aco-swatch-summary .aco-swatch-placeholder { flex: 1 1 auto; } /* "Select Color" fills the row so the arrow sits on the right. */
.aco-wrap.aco-wrap .aco-swatch-option { padding: 10px 12px; border-radius: 8px; }
.aco-wrap.aco-wrap .aco-swatch-option:hover { background: var(--aco-orange-light); }


/* v1.3.51 - "Gang Sheet Builder" category: only the gang sheet builder is shown
   (no upload title / drop zone / "Upload artwork instead" link, no size / color / add-on configuration). */
.aco-wrap.aco-wrap.aco-gs-only .aco-steps,
.aco-wrap.aco-wrap.aco-gs-only .aco-step-badge,
.aco-wrap.aco-wrap.aco-gs-only .aco-step-title-block,
.aco-wrap.aco-wrap.aco-gs-only .aco-back-to-upload,
.aco-wrap.aco-wrap.aco-gs-only .aco-mode-content[data-mode-content="upload"],
.aco-wrap.aco-wrap.aco-gs-only #aco-gs-trigger,
.aco-wrap.aco-wrap.aco-gs-only #aco-add-to-cart, .aco-wrap.aco-wrap.aco-gs-only .aco-config-columns {
    display: none !important;
}
.aco-wrap.aco-wrap.aco-gs-only .aco-step-header { justify-content: flex-end; padding-bottom: 8px; }
.aco-wrap.aco-wrap.aco-gs-only .aco-gangsheet-wrap { padding: 12px 0 8px; text-align: left; }
.aco-wrap.aco-wrap.aco-gs-only .aco-gangsheet-wrap .aco-config-group { padding: 0 0 12px !important; }
.aco-wrap.aco-wrap.aco-gs-only .aco-gangsheet-builder { padding: 8px 0 20px !important; }

/* Add-to-cart popup */
.aco-cart-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -40%); display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: #1fa94d; color: #fff; font-size: 16px; font-weight: 600; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.25); opacity: 0; transition: opacity .3s, transform .3s; z-index: 999999; pointer-events: none; }
.aco-cart-popup.aco-show { opacity: 1; transform: translate(-50%, -50%); }
.aco-cart-popup-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #1fa94d; font-size: 14px; }
