#mainImg.main-img {
    min-height: 320px;
    height: 320px;
}

@media (max-width: 600px) {
    .contact-grid { grid-template-columns: 1fr !important; }
}

@media (hover: none) and (pointer: coarse) {
    #mug3dEmbed { pointer-events: none !important; }
    #mug3dEmbed canvas { touch-action: pan-y !important; }
}

.co-notice {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0 1.5rem;
}

.ol-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.img-dialog {
    background: transparent;
    max-width: 90vw;
    width: auto;
}

.img-dialog img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 88vh;
    object-fit: unset;
    background: transparent;
}
.co-section:has(#orderLines) {
    overflow: initial;
}

#orderLines .ol-main {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    align-items: start;
}

#orderLines .ol-thumb-wrap {
    grid-row: 1 / 3;
    align-self: start;
    position: relative;
    width: 60px;
    height: 60px;
}

#orderLines .ol-thumb-wrap .thumb-badge {
    position: absolute;
    top: 69px;
    left: 50%;
    transform: translateX(-50%);
}

#orderLines .ol-name {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    margin-bottom: 0;
}

#orderLines .ol-row2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

#orderLines .ol-info {
    flex: 1;
}

#orderLines .cp {
    position: relative;
    display: inline-flex;
}

#orderLines .cp-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 2px 7px 2px 5px;
    border-radius: 20px;
    border: 1.5px solid transparent;
    transition: border-color 0.15s, background 0.15s;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    user-select: none;
}

#orderLines .cp-trigger:hover {
    border-color: #c8d0dc;
    background: #f5f7fa;
}

#orderLines .cp-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-sizing: border-box;
}

#orderLines .cp-arrow {
    font-size: 9px;
    color: #8a95a8;
    margin-left: 1px;
    transition: transform 0.15s;
}

#orderLines .cp.open .cp-arrow {
    transform: rotate(180deg);
}

#orderLines .cp-dd {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #fff;
    border: 1px solid #e0e6f0;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
    padding: 5px;
    z-index: 200;
    flex-direction: column;
    min-width: 150px;
}

#orderLines .cp.open .cp-dd {
    display: flex;
}

#orderLines .cp-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border: none;
    background: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
    color: #3d4a5c;
    text-align: left;
    white-space: nowrap;
    transition: background 0.1s;
}

#orderLines .cp-opt:hover {
    background: #f0f4fa;
}

#orderLines .cp-opt.active {
    background: #eef2fb;
    font-weight: 600;
}

#orderLines .cp-opt-name {
    flex: 1;
}

#orderLines .cp-sur {
    font-size: 11px;
    font-weight: 600;
    color: #8a95a8;
    white-space: nowrap;
    margin-left: auto;
}

#orderLines .cp-sur sup {
    font-size: 0.75em;
    vertical-align: super;
    line-height: 0;
}

.upload-zone.dragover {
    background: #eef2fb;
    border-color: #1a3c6e;
}

#artworkPreviewImg img,
#artworkPreviewImg canvas {
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

#artworkPreviewImg .uz-file-icon {
    font-size: 56px;
    color: #8a95a8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

#customQty.sel {
    border-color: #1a3c6e;
    background: #eef2fb;
}

.ol-qty input {
    border: none;
    background: none;
    text-align: center;
    width: 40px;
    font-size: 15px;
    font-weight: 600;
    padding: 0;
}

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

.ol-qty input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.ol-qty input:focus {
    outline: none;
}

.sw {
    border-color: #e0e0e0 !important;
}

.sw.active, .sw:hover {
    border-color: #1a3c6e !important;
}

@keyframes priceFlash{0%,100%{opacity:1}40%{opacity:.1}}
.price-flash{animation:priceFlash 500ms ease-in-out 3;}

.bb .del-2btns{margin-bottom:10px}

.thumb-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(26, 60, 110, 0.75);
    color: #fff;
    white-space: nowrap;
}

.ol-thumb-empty {
    cursor: pointer;
}

.ol-thumb-empty:hover {
    background: #eef2fb;
    border-color: #1a3c6e;
}

.ol-thumb-empty:hover i {
    color: #1a3c6e;
}

#voucherTags .v-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eaf4ee;
    color: #1a7a3b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    margin: 1px 3px 1px 0;
}

#voucherTags .v-tag-rm {
    background: none;
    border: none;
    cursor: pointer;
    color: #1a7a3b;
    font-size: 13px;
    line-height: 1;
    padding: 0 1px;
    opacity: 0.7;
}

#voucherTags .v-tag-rm:hover {
    opacity: 1;
}

@media print {
  .thankyou-page .site-header,
  .thankyou-page .topbar,
  .thankyou-page .sticky-bar,
  .thankyou-page footer,
  .thankyou-page .mob-nav,
  .thankyou-page .mob-overlay,
  .thankyou-page .no-print {
    display: none !important;
  }
  .thankyou-page body {
    background: #fff;
  }
  .thankyou-page .thankyou-card {
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

#volSection {
    scroll-margin-top: 80px;
}

.vol-table td:last-child,
.vol-table th:last-child {
    text-align: right;
}

.qb-more {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    background: #f0f4f8;
    border: 1.5px dashed #cbd5e0;
    border-radius: 10px;
    transition: background .15s, color .15s;
}

.qb-more:hover {
    background: #e2e8f0;
    color: #1a202c;
}

.ph-fc-sub{color:#aab3c0;font-weight:400}

.main-img,
.img-main {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f7;
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.mug3d-embed {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
}

.mug3d-embed.active {
    display: block;
}

.mug3d-embed .m3d-size {
    position: absolute;
    inset: 0;
    background: transparent;
}

.mug3d-embed .m3d-size canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.mug3d-embed .m3d-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #8a95a8;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

.mug3d-embed.m3d-loading .m3d-loader {
    opacity: 1;
}

.ol-3d-btn {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 4px 0;
    background: #f0f3f8;
    border: 1px solid #dde1ea;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #1a3c6e;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}

.ol-3d-btn:hover {
    background: #e4eaf5;
}

.mug-preview-ov {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.mug-preview-ov.active {
    display: flex;
}

.mug-preview-inner {
    position: relative;
    width: min(1140px, calc(100vw - 3rem));
    height: min(80vh, 700px);
    background: #f0f2f7;
    border-radius: 16px;
    overflow: hidden;
}

.mug-preview-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
}

@media (max-width: 540px) {
    .vol-table-wrap { overflow-x: visible; }
    .vol-table { min-width: 0; width: 100%; table-layout: fixed; }
    .vol-table th, .vol-table td { padding: 8px 8px; font-size: 13px; }
    .vol-table th:nth-child(1), .vol-table td:nth-child(1) { width: 20%; }
    .vol-table th:nth-child(2), .vol-table td:nth-child(2) { width: 28%; }
    .vol-table th:nth-child(3), .vol-table td:nth-child(3) { width: 32%; }
    .vol-table th:nth-child(4), .vol-table td:nth-child(4) { width: 20%; text-align: right; }
    .vol-badge { white-space: nowrap; font-size: 11px; padding: 3px 6px; }
    .info-strip {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        min-width: initial !important;
    }
    .info-strip .is-item {
        width: 100%;
    }
}
