/* ==========================================================================
   DT3 Checkout Styles
   Prefix: .ck-
   ========================================================================== */

/* --- Checkout Header --- */
.ck-header {
    border-bottom: 1px solid #E5E5E5;
}

.ck-header-security-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F8F8F8;
    border-bottom: 1px solid #EFEFEF;
    font-size: 12px;
    font-weight: 600;
    color: #1A1A1A;
    letter-spacing: 0.3px;
}

.ck-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.ck-header-logo-img {
    height: 28px;
}

.ck-header-security-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .ck-header-security-mobile {
        display: none;
    }

    .ck-header-container {
        justify-content: space-between;
        padding: 16px 40px;
    }

    .ck-header-logo-img {
        height: 32px;
    }

    .ck-header-security-desktop {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #2E7D32;
        color: white;
        padding: 6px 14px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }
}

/* --- Checkout Page --- */
.ck-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 60px;
    min-height: 80vh;
}

@media (min-width: 1024px) {
    .ck-page {
        padding: 0 40px 80px;
    }
}

/* --- Progress Bar --- */
.ck-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0 20px;
    gap: 0;
}

.ck-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ck-progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #999;
    transition: all 0.3s ease;
}

.ck-progress-step.active .ck-progress-circle {
    border-color: #1A1A1A;
    background: #1A1A1A;
    color: white;
}

.ck-progress-step.completed .ck-progress-circle {
    border-color: #1A1A1A;
    background: white;
    color: #1A1A1A;
}

.ck-check-icon {
    display: none;
}

.ck-progress-step.completed .ck-check-icon {
    display: block;
}

.ck-progress-step.completed .ck-progress-circle svg:not(.ck-check-icon) {
    display: none;
}

.ck-progress-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.ck-progress-step.active .ck-progress-label {
    color: #1A1A1A;
    font-weight: 600;
}

.ck-progress-step.completed .ck-progress-label {
    color: #1A1A1A;
}

.ck-progress-line {
    flex: 1;
    height: 2px;
    background: #E5E5E5;
    margin: 0 8px;
    margin-bottom: 24px;
    max-width: 200px;
}

.ck-progress-step.completed + .ck-progress-line,
.ck-progress-line:has(+ .ck-progress-step.active) {
    background: #1A1A1A;
}

@media (min-width: 1024px) {
    .ck-progress {
        padding: 32px 0 28px;
    }

    .ck-progress-line {
        max-width: 280px;
    }
}

/* --- Mobile Order Summary --- */
.ck-mobile-summary {
    margin-bottom: 16px;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.ck-mobile-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #1A1A1A;
}

.ck-mobile-summary-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ck-mobile-summary-left svg {
    transition: transform 0.3s ease;
}

.ck-mobile-summary.open .ck-mobile-summary-left svg {
    transform: rotate(180deg);
}

.ck-mobile-summary-total {
    font-weight: 700;
    font-size: 16px;
}

.ck-mobile-summary-content {
    display: none;
    padding-bottom: 16px;
}

.ck-mobile-summary.open .ck-mobile-summary-content {
    display: block;
}

.ck-mobile-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.ck-mobile-summary-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #F0F0F0;
    background: #FAFAFA;
}

.ck-mobile-summary-item-info {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
}

.ck-mobile-summary-item-price {
    font-weight: 600;
    white-space: nowrap;
}

.ck-mobile-summary-totals {
    padding-top: 12px;
    border-top: 1px solid #F0F0F0;
}

.ck-mobile-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    color: #666;
}

.ck-mobile-summary-total-row {
    padding-top: 8px;
    border-top: 1px solid #E5E5E5;
    margin-top: 4px;
    font-size: 16px;
    color: #1A1A1A;
}

@media (min-width: 1024px) {
    .ck-mobile-summary {
        display: none;
    }
}

/* --- Coupon --- */
.ck-coupon-wrapper {
    margin-bottom: 24px;
}

.ck-coupon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: white;
    border: 1px solid #1A1A1A;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A;
    cursor: pointer;
    transition: background 0.2s;
}

.ck-coupon-btn:hover {
    background: #F5F5F5;
}

.ck-coupon-sidebar {
    margin-top: 16px;
}

.ck-coupon-sidebar-wrapper {
    margin-top: 16px;
}

.ck-coupon-form {
    display: none;
    gap: 8px;
    margin-top: 12px;
}

.ck-coupon-wrapper.open .ck-coupon-form,
.ck-coupon-sidebar-wrapper.open .ck-coupon-form {
    display: flex;
}

.ck-coupon-wrapper.open .ck-coupon-btn,
.ck-coupon-sidebar-wrapper.open .ck-coupon-btn {
    display: none;
}

.ck-coupon-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: white;
    color: #1A1A1A;
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
}

.ck-coupon-input:focus {
    border-color: #1A1A1A;
}

.ck-coupon-input::placeholder {
    color: #999;
}

.ck-coupon-apply {
    flex-shrink: 0;
    padding: 12px 20px;
    background: #1A1A1A;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ck-coupon-apply:hover {
    opacity: 0.85;
}

@media (min-width: 1024px) {
    .ck-coupon-wrapper {
        display: none;
    }
}

/* --- Grid Layout --- */
.ck-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .ck-grid {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 40px;
        align-items: start;
    }
}

/* --- Form Column --- */
.ck-form-col {
    min-width: 0;
}

/* --- Steps --- */
.ck-step {
    display: none;
}

.ck-step.active {
    display: block;
}

/* --- Headings --- */
.ck-heading {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px;
}

/* --- Floating Label Fields --- */
.ck-field-floating {
    position: relative;
    margin-bottom: 16px;
}

.ck-field-floating input,
.ck-field-floating select {
    width: 100%;
    padding: 24px 16px 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: white;
    color: #1A1A1A;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.ck-field-floating select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.ck-field-floating label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
}

.ck-field-floating input:focus,
.ck-field-floating select:focus {
    border-color: #1A1A1A;
    border-width: 2px;
    padding: 23px 15px 5px;
}

.ck-field-floating input:focus + label,
.ck-field-floating input.filled + label,
.ck-field-floating select:focus + label,
.ck-field-floating label.filled {
    top: 12px;
    transform: translateY(0);
    font-size: 11px;
    color: #666;
}

.ck-field-floating input::placeholder {
    color: transparent;
}

.ck-field-floating input:focus::placeholder {
    color: #BBB;
}

.ck-field-floating input.valid {
    background: #EDF7ED;
    border-color: #C3E6CB;
}

.ck-field-check {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.ck-field-floating input.valid ~ .ck-field-check {
    opacity: 1;
}

/* CEP field link */
.ck-field-cep {
    position: relative;
}

.ck-cep-link {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.ck-cep-link:hover {
    text-decoration: underline;
}

/* --- Rows --- */
.ck-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ck-row .ck-field-floating {
    flex: 1;
    min-width: 120px;
}

.ck-row-3 .ck-field-floating:first-child {
    flex: 2;
}

.ck-row-3 .ck-field-floating:nth-child(2),
.ck-row-3 .ck-field-floating:nth-child(3) {
    flex: 1;
    min-width: 100px;
}

.ck-field-numero {
    flex: 0 1 160px !important;
    min-width: 120px !important;
}

.ck-field-complemento {
    flex: 2 !important;
}

.ck-field-cvv {
    position: relative;
}

.ck-cvv-help {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

/* Checkbox */
.ck-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    align-self: center;
    padding-bottom: 16px;
}

.ck-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1A1A1A;
}

.ck-sem-numero {
    flex: 0 0 auto !important;
    min-width: auto !important;
}

/* --- Step Navigation --- */
.ck-step-nav {
    margin-top: 28px;
}

.ck-btn-primary {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 16px 32px;
    background: #1A1A1A;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ck-btn-primary:hover {
    opacity: 0.85;
}

.ck-btn-primary:disabled {
    background: #CCC;
    cursor: not-allowed;
}

/* --- Info Display (Step 2 email) --- */
.ck-info-display {
    padding: 12px 0;
    margin-bottom: 16px;
}

.ck-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1A1A1A;
}

.ck-field-check-inline {
    margin-left: auto;
    flex-shrink: 0;
}

/* --- Entrega Header --- */
.ck-entrega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ck-entrega-header .ck-heading {
    margin-bottom: 0;
}

.ck-alter-cep-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid #1A1A1A;
    border-radius: 50px;
    background: white;
    font-size: 12px;
    font-weight: 600;
    color: #1A1A1A;
    cursor: pointer;
    letter-spacing: 0.5px;
}

/* --- Shipping Options --- */
.ck-shipping-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 500;
}

.ck-shipping-options {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.ck-shipping-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    border-bottom: 1px solid #E5E5E5;
}

.ck-shipping-option:last-child {
    border-bottom: none;
}

.ck-shipping-option input[type="radio"] {
    display: none;
}

.ck-shipping-radio {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ck-radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #CCC;
    border-radius: 50%;
    transition: all 0.2s;
}

.ck-shipping-option.selected {
    background: #1A1A1A;
    color: white;
}

.ck-shipping-option.selected .ck-radio-circle {
    border-color: white;
    background: white;
}

.ck-shipping-option.selected .ck-shipping-radio svg circle {
    fill: white;
}

.ck-shipping-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ck-shipping-name {
    font-size: 14px;
    font-weight: 600;
}

.ck-shipping-detail {
    font-size: 12px;
    opacity: 0.7;
}

.ck-shipping-option.selected .ck-shipping-detail {
    opacity: 0.8;
}

.ck-shipping-price-col {
    text-align: right;
    flex-shrink: 0;
}

.ck-shipping-price-free {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #2E7D32;
}

.ck-shipping-option.selected .ck-shipping-price-free {
    color: #8BC34A;
}

.ck-shipping-price-original {
    display: block;
    font-size: 12px;
    text-decoration: line-through;
    opacity: 0.5;
}

.ck-shipping-price {
    font-weight: 600;
    font-size: 14px;
}

/* --- Address Display --- */
.ck-address-display {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    margin-bottom: 16px;
}

.ck-address-display svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ck-address-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: #1A1A1A;
    line-height: 1.4;
}

.ck-address-text strong {
    font-weight: 600;
}

.ck-address-alter {
    background: none;
    border: none;
    color: #1A1A1A;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    flex-shrink: 0;
}

/* --- Summary Card (Step 3) --- */
.ck-summary-card {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 4px 0;
    margin-bottom: 8px;
}

.ck-summary-card-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    font-size: 13px;
    color: #1A1A1A;
    line-height: 1.5;
}

.ck-summary-card-row svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ck-summary-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ck-summary-card-divider {
    height: 1px;
    background: #F0F0F0;
    margin: 0 16px;
}

.ck-summary-card-alter {
    background: none;
    border: none;
    color: #1A1A1A;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    flex-shrink: 0;
    margin-left: auto;
}

/* --- Payment Cards --- */
.ck-payment-card,
.ck-payment-pix {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ck-payment-card.expanded,
.ck-payment-pix.expanded {
    border-color: #1A1A1A;
}

.ck-payment-card-toggle,
.ck-payment-pix-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #1A1A1A;
    text-align: left;
}

.ck-payment-card-info,
.ck-payment-pix-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ck-payment-card-title,
.ck-payment-pix-title {
    font-weight: 600;
    font-size: 14px;
}

.ck-payment-card-sub {
    font-size: 12px;
    color: #666;
}

.ck-payment-arrow {
    flex-shrink: 0;
    color: #999;
    transition: transform 0.2s;
}

.ck-pix-badge {
    display: inline-block;
    background: #2E7D32;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.ck-payment-pix-price {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-left: auto;
    margin-right: 8px;
}

/* Expanded card/pix header */
.ck-payment-card-header,
.ck-payment-pix-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #F0F0F0;
}

.ck-back-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #1A1A1A;
    display: flex;
    align-items: center;
}

.ck-payment-card-sub-right,
.ck-payment-pix-price-right {
    margin-left: auto;
    font-size: 12px;
    color: #666;
}

/* Card Form */
.ck-card-form {
    padding: 20px 16px;
}

.ck-card-brands {
    margin-top: 16px;
    font-size: 12px;
    color: #666;
}

.ck-card-brand-logos {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.ck-alter-payment {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 8px;
}

/* PIX info box */
.ck-pix-info-box {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #F8F8F8;
    border-radius: 8px;
    margin: 16px 16px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

.ck-pix-info-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ck-pix-customer {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.ck-pix-customer-label {
    display: block;
    font-size: 11px;
    color: #999;
}

/* --- Sidebar (Desktop) --- */
.ck-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .ck-sidebar {
        display: block;
        border: 1px solid #E5E5E5;
        border-radius: 8px;
        padding: 20px;
        position: sticky;
        top: 80px;
    }
}

.ck-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.ck-sidebar-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #F0F0F0;
    background: #FAFAFA;
}

.ck-sidebar-item-info {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    color: #1A1A1A;
}

.ck-sidebar-item-price {
    font-weight: 600;
    white-space: nowrap;
    font-size: 14px;
}

.ck-sidebar-totals {
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
    margin-top: 12px;
}

.ck-sidebar-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
    color: #666;
}

.ck-sidebar-discount span:last-child {
    color: #DC3545;
}

.ck-sidebar-total {
    padding-top: 12px;
    border-top: 1px solid #E5E5E5;
    margin-top: 8px;
    font-size: 16px;
    color: #1A1A1A;
}

/* --- Overlays --- */
.ck-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.ck-overlay-content {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.ck-overlay-content h2 {
    font-size: 20px;
    margin: 16px 0 8px;
    color: #1A1A1A;
}

.ck-overlay-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 24px;
}

.ck-error-icon {
    margin-bottom: 8px;
}

/* Spinner */
.ck-spinner-lg {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #E5E5E5;
    border-top-color: #1A1A1A;
    border-radius: 50%;
    animation: ckSpin 0.8s linear infinite;
}

@keyframes ckSpin {
    to { transform: rotate(360deg); }
}

/* --- PIX Payment Screen --- */
.ck-pix-screen {
    padding-top: 20px;
}

.ck-pix-screen-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .ck-pix-screen-grid {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 40px;
        align-items: start;
    }
}

.ck-pix-screen-main {
    min-width: 0;
}

.ck-pix-order-number {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.ck-pix-awaiting {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 28px 24px;
    margin-bottom: 16px;
}

.ck-pix-awaiting-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.ck-pix-awaiting-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.ck-pix-qr-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ck-pix-qr {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.ck-pix-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ck-pix-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #1A1A1A;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ck-pix-copy-btn:hover {
    opacity: 0.85;
}

.ck-pix-copy-btn.copied {
    background: #2E7D32;
}

.ck-pix-countdown {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.ck-pix-countdown strong {
    font-size: 28px;
    font-weight: 800;
    color: #1A1A1A;
}

.ck-pix-instructions {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
}

.ck-pix-instructions p {
    margin: 4px 0;
}

.ck-pix-destination {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #1A1A1A;
}

.ck-pix-product-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}

.ck-pix-product-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: #FAFAFA;
    border: 1px solid #F0F0F0;
    flex-shrink: 0;
}

.ck-pix-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ck-pix-product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
}

.ck-pix-product-info strong {
    font-size: 14px;
}

.ck-pix-product-info a {
    color: #0066CC;
    font-size: 12px;
}

/* PIX screen sidebar */
.ck-pix-screen-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .ck-pix-screen-sidebar {
        display: block;
        border: 1px solid #E5E5E5;
        border-radius: 8px;
        padding: 20px;
        position: sticky;
        top: 80px;
    }
}

.ck-pix-order-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #F0F0F0;
}

.ck-pix-order-info-section {
    display: flex;
    gap: 12px;
    padding: 12px 0;
}

.ck-pix-order-info-section svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ck-pix-order-info-section strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.ck-pix-order-info-section p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 4px;
}

.ck-pix-info-label {
    font-size: 11px !important;
    font-weight: 700;
    color: #1A1A1A !important;
    margin-top: 10px !important;
    letter-spacing: 0.3px;
}

/* --- Mobile adjustments for PIX screen --- */
@media (max-width: 1023px) {
    .ck-pix-qr-area {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ck-pix-qr {
        width: 200px;
        height: 200px;
    }

    .ck-pix-copy-btn {
        width: 100%;
        justify-content: center;
    }

    .ck-pix-countdown {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ck-pix-awaiting {
        padding: 20px 16px;
    }

    .ck-pix-instructions {
        text-align: left;
    }

    /* Mobile: show order info below main content */
    .ck-pix-order-info {
        display: block;
        margin-top: 24px;
        padding: 20px 16px;
        border: 1px solid #E5E5E5;
        border-radius: 8px;
    }
}

/* On mobile, show order info at bottom of main column */
@media (min-width: 1024px) {
    .ck-pix-screen-main .ck-pix-order-info {
        display: none;
    }
}

/* --- Utility --- */
.ck-hidden {
    display: none !important;
}
