﻿.checkout-css,
.checkout-css body {
    font-family: "Mulish", sans-serif;
}

.checkout-css h1,
.checkout-css h2,
.checkout-css h3,
.checkout-css h4,
.checkout-css h5 {
    font-family: "Jost", sans-serif;
}

    .checkout-css .checkout-grid{
        grid-template-columns:25% auto;
        gap:40px;
    }
    
    .checkout-css .checkout-image{
        max-width:100%;
    }
    
    .checkout-css .image-caption .image-caption-title{
        font-size: 22px;
        margin-bottom:5px;
    }
    
    .checkout-css .image-caption .image-caption-text{
        font-size:16px;
    }

    .checkout-css .delivery-notice{
        margin-bottom:0;
    }
    
    .checkout-css .cameo-form label:hover{
        transform:unset;
        box-shadow:unset;
    }
    
    .checkout-css .cameo-form label{
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .checkout-css  .theme-section{
        margin-bottom:0;
    }
    
    .checkout-css .cameo-form select{
        padding:8px 12px;
        border-radius:5px;
        height:unset;
    }
    
    .checkout-css .custom-select {
        position: relative;
        width: 100%;
    }

    /* Remove native arrow */
    .checkout-css .custom-select select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    
        width: 100%;
        font-size: 16px;
        border-radius: 8px;
        border: 1px solid #d0d5dd;
        background-color: #fff;
        cursor: pointer;
    }
    
    /* Custom arrow */
    .checkout-css .custom-select::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 16px;
        width: 8px;
        height: 8px;
        border-right: 2px solid #555;
        border-bottom: 2px solid #555;
        transform: translateY(-50%) rotate(45deg);
        pointer-events: none;
    }
    
    /* Optional: focus state */
    .checkout-css .custom-select select:focus {
        outline: none;
        border-color: #f5a623;
    }
    
    .checkout-css .custom-select select{
        color:#000000;
    }
    
    .checkout-css .cameo-form .radio-options label{
        padding: 10px;
        margin:0;
    }
    
    .checkout-css .cameo-form .radio-options label span{
        font-size:14px;
        color:#000000;
    }
    
    .checkout-css .field-col{
        display:grid;
        grid-template-columns: auto;
        gap: 20px;
    }
    
     .checkout-css .field-col .radio-options{
        gap:15px;
    }
    
    .checkout-css .video-for-section{
        margin-bottom:0;
    }
    
    .checkout-css .recipient-section{
        margin:20px 0;
    }

    .checkout-css .express-delivery .express-delivery-content .express-title{
        font-size:18px;
    }
    
    .checkout-css .express-delivery .express-description{
        font-size:14px;
        padding-top: 5px;
    }
    
    .checkout-css .express-delivery{
        padding:16px;
    }
    
    .checkout-css .express-section{
        margin-bottom:20px;
    }

    .checkout-css .social-media-options .social-option{
        padding: 0;
        font-size: 16px;
        background: transparent !important;
        background-color: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
    }

    .checkout-css .social-media-options .social-option:hover {
        background: transparent !important;
        background-color: transparent !important;
    }

    .checkout-css .social-media-options .social-option .option-text {
        color: #000 !important;
        font-weight: 500;
    }

    .checkout-css .cameo-form .social-option input[type="radio"]:checked + span {
        color: #000 !important;
        font-weight: 600;
    }
    
    .checkout-css .social-media-section{
        margin-bottom:0;
    }
    
    .checkout-css .cameo-form textarea,.checkout-css .cameo-form input{
        font-size:16px !important;
        font-weight:400 !important;
        color:#000000 !important; 
        border-radius:5px !important;
        padding:8px 12px !important;
    }
    
    .checkout-css .cameo-form textarea::placeholder,.checkout-css .cameo-form input::placeholder{
        font-size:16px;
        font-weight:400 !important;
        color:#0000008a !important;
        text-transform: capitalize;
    }
    
    .checkout-css .char-count{
        margin-top:0;
        background:unset;
    }
    
    .checkout-css .total-section .total-amount{
        font-size:28px;
    }
    
    .checkout-css .total-display .total-label {
        font-size:18px;
    }
    
    .checkout-css .social-media-label{
        color:#000000;
    }
    
    .checkout-css .message-textarea{
        border:1px solid #d1d5db;
        box-shadow:unset;
    }
    
    .checkout-css .total-section{
        margin-bottom:20px;
    }
    
    .checkout-css .cameo-form input{
        height:unset;
    }
    
    .checkout-css .cameo-form .sender-visible{
        margin-bottom:20px;
    }
    
    .checkout-css .checkout-form{
        padding:40px 30px;
    }

    .checkout-css .terms-note{
        margin:60px 0;
        border-radius:5px;
    }
    
    .checkout-css .cameo-form input:focus{
        border-style:solid;
    }
    
    .checkout-css #express_delivery{
        width:18px;
        height:18px;
    }
    
    .checkout-css .checkout-btn{
        display: flex;
        justify-content: center;
        align-items: center;
        gap:0 10px;
        background:#f18b24;
    }
    
    .checkout-css .delivery-notice{
        padding:0;
    }
    
    .checkout-css .cameo-outer{
        padding: 40px 0;
    }
    
    .checkout-css .terms-note{
        margin-bottom:0;
    }
    
    .checkout-css .delivery-notice-title{
        font-size:40px;
    }
    
    .checkout-css .delivery-disclaimer{
        color:#000000;
    }
    
    .checkout-css .form-view{
        margin-top:50px;
    }
    
    .checkout-css .message-section{
        margin-top:20px;
    }
    
    .checkout-css .social-media-question{
        margin-bottom:0;
    }
    

/*checkout changes end*/

/* Ensure cameo content doesn't interfere with header */
.cameo-outer {
    position: relative;
    z-index: 1;
}

.ast-container {
    margin-top: 10px !important;
}

@media(max-width: 1024px) {

    .image-column,
    .form-column {
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    .checkout-container>div:first-child {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .image-column {
        order: 2 !important;
    }

    .form-column {
        order: 1 !important;
    }

}

@media(max-width: 768px) {
    .checkout-outer {
        padding: 40px 15px !important;
    }

    .cameo-form {
        padding: 30px 20px !important;
    }

    .image-column img {
        max-width: 350px !important;
    }
}

@media(max-width: 480px) {
    .checkout-outer {
        padding: 20px 10px !important;
    }

    .cameo-form {
        padding: 20px 15px !important;
        border-radius: 15px !important;
    }

    .image-column img {
        max-width: 280px !important;
    }
}

.checkout-page-wrapper {
    background: #fff;
    min-height: 100vh;
}

.checkout-outer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.delivery-notice {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.checkout-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-sticky {
    position: sticky;
    top: 60px;
}

.checkout-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.image-caption {
    text-align: center;
    margin-top: 20px;
}

.image-caption-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin: 0 0 8px 0;
    
}

.image-caption-text {
    font-size: 0.9rem;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

.checkout-form {
    background: #fff;
    padding: 48px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.theme-section,
.recipient-section,
.sender-section,
.express-section,
.message-section {
    margin-bottom: 32px;
}

.sender-hidden {
    display: none;
}

.sender-visible {
    display: block;
    opacity: 1;
    max-height: 200px;
    transition: all 0.3s ease;
}

.sender-animating {
    display: block;
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}

.theme-label,
.recipient-label,
.sender-label,
.message-label {
    display: block;
    margin-bottom: 12px;
    color: #000000;
    font-weight: 600;
    font-size: 1.5rem;
    
}

.video-for-section {
    margin-bottom: 32px;
}

.video-for-label {
    display: block;
    margin-bottom: 12px;
    color: #000000;
    font-weight: 600;
    font-size: 1.5rem;
    
}

.radio-options {
    display: flex;
    gap: 24px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.radio-option:hover {
    background: #e9ecef;
}

.radio-option input {
    margin-right: 12px;
}

.radio-option-text {
    font-size: 18px;
    font-weight: 500;
    color: #495057;
}

.recipient-input,
.sender-input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 18px;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.2s ease;
    outline: none;
    
}

.recipient-input:focus,
.sender-input:focus {
    border-color: #f18b24;
    box-shadow: 0 0 0 3px rgba(241, 139, 36, 0.1);
}

.express-delivery {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    background: #fff3cd;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #ffeaa7;
    transition: all 0.2s ease;
}

.express-delivery:hover {
    background: #ffeaa7;
}

.express-delivery input {
    margin-right: 12px;
    margin-top: 2px;
}

.express-delivery-content {
    flex: 1;
}

.express-title {
    color: #856404;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.express-description {
    margin: 0;
    color: #856404;
    font-size: 16px;
    font-weight: 500;
}

.message-textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 18px;
    box-sizing: border-box;
    resize: vertical;
    background: #fff;
    transition: border-color 0.2s ease;
    outline: none;
    
    line-height: 1.5;
}

.message-textarea:focus {
    border-color: #f18b24;
    box-shadow: 0 0 0 3px rgba(241, 139, 36, 0.1);
}

.char-count {
    text-align: right;
    margin-top: 8px;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
}

.total-section {
    margin-bottom: 40px;
}

.total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f18b24;
    
}

.checkout-actions {
    text-align: center;
}

.checkout-btn {
    background: linear-gradient(135deg, #f18b24, #ff6b35);
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(241, 139, 36, 0.3);
    transition: all 0.2s ease;
    outline: none;
    
    width: 100%;
    text-align: center;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 139, 36, 0.4);
}

.checkout-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .checkout-outer {
        padding: 20px 15px;
    }

    .checkout-form {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .checkout-grid {
        gap: 30px;
    }

    .checkout-form {
        padding: 24px;
    }

    .radio-options {
        flex-direction: column;
        gap: 12px;
    }

    .radio-option {
        padding: 14px 20px;
    }

    .express-delivery {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .checkout-outer {
        padding: 15px 10px;
    }

    .checkout-form {
        padding: 20px;
    }

    .checkout-grid {
        gap: 20px;
    }
}

.delivery-notice-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    
}

.form-view {
    display: block;
}

/* Inline styles from page-chekout-form.php */
    /* Delivery disclaimer small print */
    .delivery-disclaimer {
        font-size: 0.875rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 8px;
        font-style: italic;
    }


    /* Terms note at bottom */
    .terms-note {
        margin-top: 30px;
        padding: 20px;
        background-color: #f8f9fa;
        border-left: 4px solid #f18b24;
        font-size: 0.9rem;
        line-height: 1.5;
        color: #495057;
    }

    .terms-note h4 {
        margin: 20px 0 12px 0;
        color: #f18b24;
        font-size: 1rem;
        font-weight: 600;
    }

    .terms-note h4:first-child {
        margin-top: 0;
    }

    .terms-note p {
        margin: 0 0 10px 0;
    }

    .terms-note p:last-child {
        margin-bottom: 0;
    }

    /* Theme info note */
    .theme-info-note {
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }

    .theme-info-hidden {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        margin-bottom: 0;
    }

    .theme-info-visible {
        opacity: 1;
        max-height: 150px;
        margin-bottom: 15px;
    }

    .theme-info-content {
        display: flex;
        align-items: flex-start;
        background: #fff3cd;
        padding: 16px;
        border-radius: 8px;
        border: 2px solid #ffeaa7;
        transition: all 0.2s ease;
    }

    .theme-description {
        margin: 0;
        color: #856404;
        font-size: 14px;
        font-weight: 500;
    }

    /* Social media section */
    .social-media-section {
        margin-top: 20px;
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }

    .social-media-question {
        margin-bottom: 16px;
    }

    .social-media-label {
        font-weight: 600;
        margin-bottom: 12px;
        color: #333;
    }

    .social-media-options {
        display: flex;
        gap: 20px;
    }

    .social-option {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 6px;
        transition: background-color 0.2s;
    }

    .social-option:hover {
        background-color: transparent;
    }

    .social-option input[type="radio"] {
        margin: 0;
    }

    .option-text {
        font-weight: 500;
    }

    .social-handle-container {
        display: none;
        margin-top: 16px;
    }

    .social-handle-container.is-visible {
        display: block;
    }

    .social-handle-label {
        display: block;
        font-weight: 500;
        margin-bottom: 8px;
        color: #333;
    }

    .social-handle-input {
        width: 100%;
        padding: 10px 12px;
        border: 2px solid #e9ecef;
        border-radius: 6px;
        font-size: 1rem;
        transition: border-color 0.2s;
    }

    .social-handle-input:focus {
        outline: none;
        border-color: #f18b24;
        box-shadow: 0 0 0 3px rgba(241, 139, 36, 0.1);
    }

    /* Placeholder text color */
    .cameo-form input::placeholder,
    .cameo-form textarea::placeholder,
    .cameo-form select::placeholder {
        color: #adb5bd !important;
        opacity: 1 !important;
    }

    /* Form element focus states */
    .cameo-form input:focus,
    .cameo-form select:focus,
    .cameo-form textarea:focus {
        border-color: #f18b24 !important;
        box-shadow: 0 0 0 3px rgba(241, 139, 36, 0.1) !important;
    }

    /* Radio button selected state */
    .cameo-form input[type="radio"]:checked+span {
        color: #f18b24;
        font-weight: 600;
    }

    .cameo-form label:has(input[type="radio"]:checked) {
        background: #fff3cd !important;
        border-color: #f18b24 !important;
    }

    .cameo-form .social-option:has(input[type="radio"]:checked),
    .cameo-form .social-option:has(input[type="radio"]:not(:checked)) {
        background: transparent !important;
        background-color: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    /* Checkbox selected state */
    .cameo-form input[type="checkbox"]:checked {
        accent-color: #f18b24 !important;
    }

    .cameo-form label:has(input[type="checkbox"]:checked) {
        background: #fff3cd !important;
        border-color: #f39c12 !important;
    }


    /* Label hover effects */
    .cameo-form label:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Loading spinner animation */
    @keyframes spin {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    /* Responsive design */
    @media (max-width: 768px) {


        .cameo-form {
            padding: 32px !important;
        }

        .cameo-form label:has(input[type="radio"]) {
            margin-bottom: 12px;
        }

        .social-media-options {
            flex-direction: column;
            gap: 12px;
        }

        .checkout-css h1 {
            font-size: 2rem !important;
        }

        .theme-info-note {
            margin-bottom: 15px !important;
        }

        .theme-info-visible {
            margin-bottom: 15px !important;
        }

        .theme-info-content {
            padding: 12px !important;
        }

        .theme-description {
            font-size: 0.85rem !important;
        }
    }

.checkout-css .ast-container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .checkout-css .cameo-outer {
        padding: 40px 0;
    }

    .checkout-css .ast-container {
        padding: 0;
    }

    .checkout-css .image-column {
        order: unset !important;
    }

    .checkout-css .form-column {
        order: unset !important;
    }

    .checkout-css .checkout-grid {
        grid-template-columns: 35% auto;
        gap: 30px;
    }

    .checkout-css .field-col {
        grid-template-columns: auto;
        margin-top: 0;
    }

    .checkout-css .radio-options {
        flex-direction: unset;
    }

    .checkout-css .video-for-section {
        margin-top: 20px;
    }

    .checkout-css .terms-note {
        margin-top: 40px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .checkout-css .ast-container {
        padding: 0;
    }

    .checkout-css .cameo-outer {
        padding: 40px 0 !important;
    }

    .checkout-css .delivery-notice-title {
        font-size: 24px !important;
    }

    .checkout-css .delivery-disclaimer {
        font-size: 16px;
        margin-bottom: 0;
    }

    .checkout-css .image-sticky {
        position: relative;
        top: 0;
    }

    .checkout-css .checkout-grid {
        grid-template-columns: auto;
        gap: 40px;
    }

    .checkout-css .image-column,
    .checkout-css .form-column {
        order: unset !important;
        max-width: none !important;
    }

    .checkout-css .field-col {
        grid-template-columns: auto;
        margin-top: 0;
    }

    .checkout-css .video-for-section {
        margin-top: 20px;
    }

    .checkout-css .terms-note {
        margin-top: 40px;
    }

    .checkout-css .checkout-form {
        padding: 30px 20px !important;
    }
}
