.wpctk-order-info {
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #2271b1;
    margin: 0 0 40px;
    border-radius: 8px;
}

.wpctk-order-info-text {
    margin: 0;
    color: #444;
}

.wpctk-order-details {
    margin: 0 0 40px;
}

.wpctk-order-details h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.wpctk-modern-order-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.wpctk-modern-order-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.wpctk-modern-order-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wpctk-modern-order-item-image {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    margin-right: 20px;
    border-radius: 6px;
    border: 1px solid #eee;
    background: #fdfdfd;
}

.wpctk-modern-order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.wpctk-modern-order-no-image {
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    border-radius: 6px;
}

.wpctk-modern-order-item-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #2271b1;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wpctk-modern-order-item-info {
    flex-grow: 1;
}

.wpctk-modern-order-item-name {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

a.wpctk-modern-order-item-name:hover {
    color: #2271b1;
}

.wpctk-modern-order-item-meta {
    font-size: 0.85rem;
    color: #777;
}

.wpctk-modern-order-item-meta p {
    margin: 0;
    margin-bottom: 3px;
}

.wpctk-modern-order-item-total {
    color: #777;
    font-size: 1.1rem;
    margin-left: 20px;
    text-align: right;
    min-width: 80px;
}

.wpctk-modern-order-totals {
    padding: 20px;
    max-width: 450px;
    margin-left: auto;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 8px;
}

.wpctk-order-details-col-2 .wpctk-modern-order-list {
    margin-bottom: 0;
}

.wpctk-order-details-col-2 .wpctk-modern-order-totals {
    max-width: 100%;
    margin-left: 0;
}

.wpctk-modern-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
}

.wpctk-modern-total-row.order_total {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    color: #111;
    font-size: 1.25rem;
}

.wpctk-customer-details {
    margin: 0 0 40px;
}

.wpctk-columns {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.wpctk-column {
    flex: 1;
    min-width: 250px;
}

.wpctk-column h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.wpctk-column address {
    font-style: normal;
    color: #666;
    line-height: 1.6;
    background: #fff;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.wpctk-column address:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wpctk-address-name {
    font-weight: bold;
    color: #222;
}

.wpctk-customer-details--phone,
.wpctk-customer-details--email {
    margin-top: 10px;
    display: block;
}

.wpctk-customer-info-card {
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.wpctk-customer-info-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wpctk-customer-info-layout.wpctk-columns-2 {
    flex-direction: row;
}

.wpctk-customer-info-block {
    flex: 1;
}

.wpctk-customer-info-block h4 {
    margin: 0 0 15px;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.wpctk-customer-info-block address {
    font-style: normal;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.wpctk-customer-details--phone {
    margin-top: 15px;
    font-weight: 500;
    color: #2271b1;
}

@media (max-width: 768px) {
    .wpctk-customer-info-layout.wpctk-columns-2 {
        flex-direction: column;
    }

    .wpctk-customer-info-card {
        padding: 20px;
    }
}

.wpctk-continue-shopping {
    margin: 0 0 40px;
}

.wpctk-button {
    background: #2271b1 !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    transition: background 0.3s ease !important;
    border: none !important;
    outline: none !important;
}

.wpctk-button:hover {
    background: #135e96 !important;
}

@media (max-width: 600px) {
    .wpctk-table-details tfoot th {
        width: 50%;
    }
}

/* Coupon Styles */
.wpctk-coupon-wrapper {
    background: #fffbe6;
    border: 2px dashed #ffe58f;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin: 0 0 40px;
}

.wpctk-coupon-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.wpctk-coupon-content--above,
.wpctk-coupon-content--below {
    flex-direction: column;
    gap: 15px;
}

.wpctk-coupon-content--left,
.wpctk-coupon-content--right {
    flex-direction: row;
}

@media (max-width: 768px) {
    .wpctk-coupon-content--left,
    .wpctk-coupon-content--right {
        flex-direction: column;
        gap: 15px;
    }
}

.wpctk-coupon-message {
    font-size: 1.1rem;
    color: #856404;
    margin-bottom: 20px;
}

.wpctk-coupon-code {
    display: inline-flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    overflow: hidden;
}

.wpctk-code-text {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 20px;
    color: #333;
    letter-spacing: 2px;
}

.wpctk-copy-button {
    background: #2271b1 !important;
    color: #fff !important;
    border: none !important;
    padding: 0 16px !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    transition: background 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wpctk-copy-button svg {
    display: block;
}

.wpctk-copy-button:hover {
    background: #135e96 !important;
}

.wpctk-copy-button.copied {
    background: #52c41a !important;
}

/* Suggested Products Styles */
.wpctk-suggested-products {
    margin: 0 0 40px;
}

.wpctk-suggested-products h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #333;
}

.wpctk-products {
    display: grid;
    gap: 20px;
}

/* Grid columns based on attribute */
.wpctk-products-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.wpctk-products-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wpctk-products-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.wpctk-product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wpctk-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wpctk-product-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fdfdfd;
}

.wpctk-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpctk-product-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wpctk-product-title {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.wpctk-product-title:hover {
    color: #2271b1;
}

.wpctk-product-price {
    margin-bottom: 15px;
    font-weight: 700;
    color: #111;
}

.wpctk-product-price ins {
    text-decoration: none;
    color: #e44d3a;
}

.wpctk-product-price del {
    color: #999;
    font-size: 0.85em;
    margin-right: 5px;
}

.wpctk-product-add-to-cart {
    width: 100%;
    font-size: 13px !important;
    padding: 10px 15px !important;
    margin-top: auto;
    border-radius: 6px !important;
}

@media (max-width: 991px) {
    .wpctk-products-grid-3, .wpctk-products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.wpctk-custom-message {
    margin: 0 0 40px;
}

/* Order Timeline Styles */
.wpctk-order-timeline {
    margin: 0 0 40px;
    background: #fff;
    padding: 30px 20px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
}

.wpctk-timeline-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.wpctk-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.wpctk-step-icon {
    width: 40px;
    height: 40px;
    background: #f1f1f1;
    color: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #f1f1f1;
}

.wpctk-step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    transition: color 0.3s ease;
}

.wpctk-step-active .wpctk-step-icon {
    background: #52c41a;
    color: #fff;
    box-shadow: 0 0 0 2px #52c41a;
}

.wpctk-step-active .wpctk-step-label {
    color: #333;
}

.wpctk-step-current .wpctk-step-icon {
    background: #2271b1;
    box-shadow: 0 0 0 2px #2271b1, 0 0 10px rgba(34, 113, 177, 0.4);
    transform: scale(1.1);
}

.wpctk-timeline-line {
    flex-grow: 1;
    height: 2px;
    background: #f1f1f1;
    margin: -30px 10px 0;
    position: relative;
    z-index: 1;
}

.wpctk-line-active {
    background: #52c41a;
}

/* Points Earned Styles */
.wpctk-points-earned {
    margin: 0 0 40px;
    background: linear-gradient(135deg, #fff7e6 0%, #ffedd5 100%);
    border: 1px solid #ffd591;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(255, 169, 64, 0.1);
}

.wpctk-points-icon {
    font-size: 2rem;
    line-height: 1;
}

.wpctk-points-text {
    color: #874d00;
    font-size: 1.1rem;
}

.wpctk-points-text strong {
    color: #d46b08;
    font-size: 1.3rem;
}

/* Social Share Styles */
.wpctk-social-share {
    margin: 0 0 40px;
    text-align: center;
    padding: 25px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
}

.wpctk-social-share h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
}

.wpctk-share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}


.wpctk-share-btn {
    padding: 10px 20px;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.wpctk-share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Help Center Styles */
.wpctk-help-center {
    margin: 0 0 40px;
}

.wpctk-help-center h3 {
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.wpctk-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.wpctk-help-item {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wpctk-help-item:hover {
    border-color: #2271b1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.wpctk-help-icon {
    font-size: 1.8rem;
}

.wpctk-help-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* Print Order */
.wpctk-print-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border-radius: 6px !important;
}

@media print {
    .wpctk-continue-shopping,
    .wpctk-social-share,
    .wpctk-help-center,
    .wpctk-print-order,
    .wpctk-coupon-wrapper,
    .wpctk-suggested-products {
        display: none !important;
    }
}

/* Countdown Styles */
.wpctk-countdown-container {
    background: #fff0f0;
    border: 1px solid #ffdada;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin: 0 0 40px;
    box-shadow: 0 4px 15px rgba(234, 84, 85, 0.05);
}

.wpctk-countdown-text {
    font-weight: 600;
    color: #e44d3a;
    margin-bottom: 10px;
    font-size: 1rem;
}

.wpctk-countdown-timer {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .wpctk-timeline-line {
        margin: -25px 5px 0;
    }

    .wpctk-step-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .wpctk-step-label {
        font-size: 0.7rem;
    }
}

/* Survey Styles */
.wpctk-survey-container {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 30px;
    border-radius: 12px;
    margin: 0 0 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.wpctk-survey-question {
    margin: 0 0 25px;
    font-size: 1.3rem;
    color: #333;
    font-weight: 700;
    text-align: center;
}

.wpctk-survey-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.wpctk-survey-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpctk-survey-option:hover {
    background: #f0f7ff;
    border-color: #2271b1;
}

.wpctk-survey-option input[type="radio"] {
    margin-right: 15px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wpctk-option-text {
    font-size: 1rem;
    color: #444;
    font-weight: 500;
}

.wpctk-survey-submit {
    width: 100%;
    font-size: 1.1rem !important;
    padding: 15px !important;
}

.wpctk-survey-thankyou {
    text-align: center;
    padding: 20px 0;
}

.wpctk-survey-thankyou p {
    font-size: 1.2rem;
    color: #52c41a;
    font-weight: 600;
    margin: 0;
}
