/* Static Pages Styles - Morimichi Shoten */

/* Main content container */
.mainContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fa;
    min-height: 600px;
}

/* Main heading */
.mainContent h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #ff7315cf;
    position: relative;
}

.mainContent h1 span {
    background: white;
    padding: 0 20px;
    display: inline-block;
}

/* Secondary headings */
.mainContent h2 {
    font-size: 24px;
    font-weight: 600;
    color: #ff7315cf;
    margin: 30px 0 20px 0;
    padding: 15px 20px;
    background: white;
    border-left: 5px solid #ff7315cf;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mainContent h2 span {
    display: block;
}

/* Third level headings */
.mainContent h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 15px 0;
    padding: 10px 15px;
    background: #f8f9fa;
    border-left: 3px solid #ff7315cf;
}

/* Paragraphs and text */
.mainContent p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Lists */
.mainContent ul,
.mainContent ol {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.mainContent li {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 8px;
    padding-left: 10px;
}

.mainContent ul li {
    list-style: none;
    position: relative;
}



/* Tables */
.mainContent table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.mainContent table th {
    background: linear-gradient(135deg, #ff7315cf 0%, #ff7315c1 100%);
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    width: 25%;
    vertical-align: top;
}

.mainContent table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    vertical-align: top;
}

.mainContent table tr:last-child td {
    border-bottom: none;
}

.mainContent table tr:nth-child(even) {
    background: #f8f9fa;
}

.mainContent table tr:hover {
    background: #e8f4f8;
    transition: background-color 0.2s ease;
}

/* Links */
.mainContent a {
    color: #ff7315cf;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mainContent a:hover {
    color: #ff7315c1;
    text-decoration: underline;
}

/* Page link list */
.pagelink_list {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pagelink_list li {
    margin: 0;
}

.pagelink_list li a {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #ff7315cf;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagelink_list li a:hover {
    background: linear-gradient(135deg, #ff7315cf 0%, #ff7315c1 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 178, 191, 0.3);
}

/* Menu list for guide pages */
.menu_list {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    overflow: hidden;
}

.menu_list dt {
    background: linear-gradient(135deg, #ff7315cf 0%, #ff7315c1 100%);
    color: white;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.menu_list dd {
    padding: 15px 25px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.menu_list dd:last-child {
    border-bottom: none;
}

.menu_list dd:hover {
    background: #f8f9fa;
}

.menu_list dd a {
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.menu_list dd a:hover {
    color: #ff7315cf;
}

/* Category list for service pages */
.category_list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.category_list li {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category_list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category_list li span a {
    font-weight: 600;
    font-size: 18px;
    color: #ff7315cf;
    text-decoration: none;
}

.category_list li span a:hover {
    color: #ff7315c1;
}

/* Special content sections */
#tokushouhou_contents,
#policy_contents {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Text styles for policy and agreement pages */
.anc_tx,
.d_tx,
.m_tx {
    background: white;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.k_tx1,
.k_tx2,
.k_tx3 {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
    padding: 10px 15px;
    background: white;
    border-radius: 4px;
}

.k_tx1 {
    font-weight: 600;
    color: #ff7315cf;
}

.k_list {
    background: white;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Payment List */
.payment-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.payment-list li {
    background: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #ff7315cf;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(29, 178, 191, 0.2);
}

/* Notice Box */
.notice-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ff7315cf;
}

.notice-box ul {
    margin: 0;
    padding-left: 20px;
}

.notice-box li {
    margin-bottom: 10px;
    color: #333;
    line-height: 1.6;
}

/* Company Info and Legal Styles */
#tokushouhou_contents table,
.content-section table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Policy List */
.policy_list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.policy_list li {
    background: #f8f9fa;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    border-left: 3px solid #ff7315cf;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    transition: background-color 0.2s ease;
}

.policy_list li:hover {
    background: #e9ecef;
}

/* Question Box (FAQ Style) */
.questionBox {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.questionBox .question {
    background: linear-gradient(135deg, #ff7315cf 0%, #ff7315cf 100%);
    color: white;
    padding: 20px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.questionBox .question::after {
    content: '▼';
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.questionBox .question.open::after {
    transform: rotate(180deg);
}

.questionBox .question:hover {
    background: linear-gradient(135deg, #ff7315cf 0%, #148a96 100%);
}

.questionBox .question.open {
    background: linear-gradient(135deg, #148a96 0%, #ff7315cf 100%);
}

.questionBox .answer {
    padding: 0;
    background: white;
    border-top: 1px solid #f0f0f0;
    line-height: 1.8;
    color: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.questionBox .answer.show {
    max-height: 1000px;
    padding: 25px 20px;
}

/* Accordion JavaScript Functionality */
.questionBox-accordion {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.questionBox-accordion .question-item {
    border-bottom: 1px solid #f0f0f0;
}

.questionBox-accordion .question-item:last-child {
    border-bottom: none;
}

/* Clearfix utility */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive design */
@media (max-width: 768px) {
    .mainContent {
        padding: 20px 10px;
    }

    .mainContent h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .mainContent h1 span {
        padding: 0 15px;
    }

    .mainContent h2 {
        font-size: 20px;
        padding: 12px 15px;
        margin: 25px 0 15px 0;
    }

    .mainContent h3 {
        font-size: 18px;
        padding: 8px 12px;
    }

    .mainContent p {
        padding: 12px 15px;
        font-size: 13px;
    }

    .mainContent table {
        font-size: 12px;
    }

    .mainContent table th,
    .mainContent table td {
        padding: 10px 12px;
    }

    .pagelink_list,
    .menu_list,
    .category_list {
        padding: 20px 15px;
    }

    #tokushouhou_contents,
    #policy_contents {
        padding: 25px 20px;
    }

    .pagelink_list li span a {
        font-size: 14px;
    }

    .menu_list dt {
        font-size: 16px;
        padding: 10px 15px;
        margin: -20px -15px 15px -15px;
    }

    .category_list li {
        padding: 12px 15px;
    }

    .category_list li span a {
        font-size: 14px;
    }

    .questionBox .question,
    .questionBox .answer {
        padding: 15px;
    }

    .solutionBtn {
        padding: 15px;
    }

    .content-section {
        padding: 20px 15px;
    }

    .contact-form-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .contact-form .input-info th,
    .contact-form .input-info td {
        padding: 12px 15px;
    }
    
    .contact-form .input-info th {
        width: auto;
        font-size: 13px;
    }
    
    .form-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contents-lead {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .mainContent {
        padding: 15px 5px;
    }

    .mainContent h1 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .mainContent h2 {
        font-size: 18px;
        padding: 10px 12px;
    }

    .mainContent table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .pagelink_list,
    .menu_list,
    .category_list {
        padding: 15px 10px;
    }

    #tokushouhou_contents,
    #policy_contents {
        padding: 20px 15px;
    }

    .contact-form .input-info {
        font-size: 13px;
    }
    
    .contact-form .input-info th,
    .contact-form .input-info td {
        padding: 10px 12px;
        display: block;
        width: 100%;
    }
    
    .contact-form .input-info th {
        border-bottom: none;
        background: #ff7315cf;
        color: white;
        font-weight: 600;
    }
    
    .contact-form .input-info td {
        border-top: none;
        margin-bottom: 15px;
    }
    
    .contact-form .input-field,
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form select,
    .contact-form .textarea-field {
        max-width: 100%;
    }
}

/* Print styles */
@media print {
    .mainContent {
        background: white;
        box-shadow: none;
        padding: 20px;
    }

    .mainContent h1,
    .mainContent h2,
    .mainContent h3 {
        color: #333 !important;
        background: none !important;
        box-shadow: none !important;
    }

    .mainContent p,
    .mainContent ul,
    .mainContent ol,
    .mainContent table {
        background: white !important;
        box-shadow: none !important;
    }

    .mainContent a {
        color: #333 !important;
        text-decoration: underline !important;
    }
}

/* Contact Form Styles */
.contact-form-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.contact-form .input-info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.contact-form .input-info th {
    background: #f8f9fa;
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    border: 1px solid #dee2e6;
    text-align: left;
    vertical-align: top;
    width: 200px;
    font-size: 14px;
}

.contact-form .input-info td {
    padding: 15px 20px;
    border: 1px solid #dee2e6;
    background: white;
}

.contact-form .input-info tr:hover {
    background: rgba(255, 115, 21, 0.02);
}

.contact-form .line {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form .input-field,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.contact-form .input-field:focus,
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus {
    outline: none;
    border-color: #ff7315cf;
    box-shadow: 0 0 0 3px rgba(255, 115, 21, 0.1);
}

.contact-form .textarea-field {
    width: 100%;
    max-width: 600px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    font-family: inherit;
}

.contact-form .textarea-field:focus {
    outline: none;
    border-color: #ff7315cf;
    box-shadow: 0 0 0 3px rgba(255, 115, 21, 0.1);
}

.contact-form .notice {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.contact-form .required {
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
}

.form-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.contents-lead {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-left: 5px solid #ff7315cf;
}

.contents-lead p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.contents-lead a {
    color: #ff7315cf;
    text-decoration: none;
    font-weight: 600;
}

.contents-lead a:hover {
    text-decoration: underline;
}

.contact-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.contact-success-message h2 {
    color: #155724;
    margin-bottom: 20px;
}

.contact-success-message p {
    color: #155724;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Checkout Page Styles */
.checkout-cart-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    border-left: 5px solid #ff7315cf;
}

.cart-summary-content {
    margin-top: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.cart-item-price {
    color: #ff7315cf;
    font-weight: 600;
    font-size: 16px;
}

.cart-total {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: right;
    border: 2px solid #ff7315cf;
}

.cart-total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #ff7315cf;
}

.checkout-form {
    max-width: none;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.form-section h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

.name-fields {
    display: flex;
    gap: 15px;
}

.name-fields .input-field {
    flex: 1;
}

.payment-methods {
    margin-top: 20px;
}

.payment-notice {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: #ff7315cf;
    background: rgba(255, 115, 21, 0.02);
}

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

.payment-option input[type="radio"]:checked + .radio-mark {
    background: #ff7315cf;
    border-color: #ff7315cf;
}

.payment-option input[type="radio"]:checked + .radio-mark::after {
    opacity: 1;
}

.payment-option input[type="radio"]:checked ~ .payment-text {
    color: #ff7315cf;
    font-weight: 600;
}

.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-text {
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.checkout-success {
    text-align: center;
    padding: 60px 30px;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    padding: 40px 30px;
    margin: 30px auto;
    max-width: 600px;
}

.success-message p {
    color: #155724;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Enhanced Checkout Page Styles */

/* Cart Summary Styles - Using cart table design */
.checkout-cart-summary {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    margin-bottom: 30px;
    overflow: hidden;
}

.checkout-cart-summary h2 {
    margin: 0;
    padding: 20px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.checkout-cart-summary .cart-summary-content {
    padding: 0;
}

/* Cart table styles for checkout */
.checkout-cart-summary .fs-c-cartTableContainer {
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.checkout-cart-summary .fs-c-cartTable {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.checkout-cart-summary .fs-c-cartTable thead {
    background: linear-gradient(135deg, #ff7315cf 0%, #ff7315cf 100%);
}

.checkout-cart-summary .fs-c-cartTable__headerCell {
    padding: 18px 15px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    border-bottom: none;
    letter-spacing: 0.5px;
}

.checkout-cart-summary .fs-c-cartTable__headerCell--product {
    width: 50%;
}

.checkout-cart-summary .fs-c-cartTable__headerCell--price {
    width: 20%;
    text-align: right;
}

.checkout-cart-summary .fs-c-cartTable__headerCell--quantity {
    width: 15%;
    text-align: center;
}

.checkout-cart-summary .fs-c-cartTable__headerCell--subtotal {
    width: 15%;
    text-align: right;
}

.checkout-cart-summary .fs-c-cartTable__row {
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.checkout-cart-summary .fs-c-cartTable__row:hover {
    background-color: #f8f9fa;
}

.checkout-cart-summary .fs-c-cartTable__cell {
    padding: 20px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
    font-size: 14px;
    color: #2c3e50;
}

.checkout-cart-summary .fs-c-cartTable__cell--price,
.checkout-cart-summary .fs-c-cartTable__cell--subtotal {
    text-align: right;
    font-weight: 600;
    color: #ff7315cf;
}

.checkout-cart-summary .fs-c-cartTable__cell--quantity {
    text-align: center;
    font-weight: 500;
}

.checkout-cart-summary .fs-c-cartTable__productInfo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-cart-summary .fs-c-cartTable__productImage {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
}

.checkout-cart-summary .fs-c-cartTable__productDetails {
    flex: 1;
    min-width: 0;
}

.checkout-cart-summary .fs-c-cartTable__productName {
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.checkout-cart-summary .fs-c-cartTable__totalRow {
    background: linear-gradient(135deg, #ff7315cf 0%, #e55a00 100%);
}

.checkout-cart-summary .fs-c-cartTable__totalLabel,
.checkout-cart-summary .fs-c-cartTable__totalValue {
    padding: 20px 15px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    border: none;
}

.checkout-cart-summary .fs-c-cartTable__totalLabel {
    text-align: left;
}

.checkout-cart-summary .fs-c-cartTable__totalValue {
    text-align: right;
}

/* Simplified Payment Methods */
.form-section select.input-field {
    background: white;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Credit Card Form */
.credit-card-form {
    background: #f8f9fa;
    border: 2px solid #ff7315cf;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    animation: slideDown 0.3s ease;
}

.credit-card-form h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ff7315cf;
    border-left: 4px solid #ff7315cf;
    padding-left: 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

/* Enhanced Form Styles */
.checkout-form .input-info {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.checkout-form .input-info th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #495057;
    width: 180px;
    padding: 16px 20px;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    vertical-align: middle;
    font-size: 14px;
}

.checkout-form .input-info td {
    padding: 16px 20px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.checkout-form .input-info tr:last-child th,
.checkout-form .input-info tr:last-child td {
    border-bottom: none;
}

.checkout-form .input-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.checkout-form .input-field:focus {
    outline: none;
    border-color: #ff7315cf;
    box-shadow: 0 0 0 3px rgba(255, 115, 21, 0.1);
}

.checkout-form .input-field:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.checkout-form .name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkout-form .required {
    color: #dc3545;
    font-weight: 600;
    margin-left: 4px;
}

/* Checkbox Field */
.checkbox-field {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff7315cf;
    margin: 0;
}

.checkbox-field label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-field label a {
    color: #ff7315cf;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-field label a:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-checkout {
    background: linear-gradient(135deg, #ff7315cf 0%, #e55a00 100%);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 115, 21, 0.3);
    min-width: 200px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 115, 21, 0.4);
}

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

.btn-checkout.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-checkout.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for Checkout */
@media (max-width: 768px) {
    .checkout-form .input-info th {
        width: 120px;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .checkout-form .input-info td {
        padding: 12px 16px;
    }
    
    .checkout-form .name-fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .credit-card-form {
        padding: 20px;
    }
    
    .btn-checkout {
        padding: 14px 32px;
        font-size: 15px;
        min-width: 180px;
    }

    /* Cart summary responsive */
    .checkout-cart-summary .fs-c-cartTable__headerCell,
    .checkout-cart-summary .fs-c-cartTable__cell {
        padding: 12px 10px;
        font-size: 13px;
    }

    .checkout-cart-summary .fs-c-cartTable__productImage {
        width: 50px;
        height: 65px;
    }

    .checkout-cart-summary .fs-c-cartTable__productInfo {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .checkout-form .input-info {
        display: block;
    }
    
    .checkout-form .input-info tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .checkout-form .input-info th,
    .checkout-form .input-info td {
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .checkout-form .input-info th {
        padding: 12px 16px 8px 16px;
        background: #f8f9fa;
    }
    
    .checkout-form .input-info td {
        padding: 8px 16px 12px 16px;
        border-bottom: none;
    }

    /* Mobile cart summary */
    .checkout-cart-summary .fs-c-cartTable {
        font-size: 12px;
    }

    .checkout-cart-summary .fs-c-cartTable__headerCell--product {
        width: 40%;
    }

    .checkout-cart-summary .fs-c-cartTable__headerCell--price,
    .checkout-cart-summary .fs-c-cartTable__headerCell--quantity,
    .checkout-cart-summary .fs-c-cartTable__headerCell--subtotal {
        width: 20%;
    }

    .checkout-cart-summary .fs-c-cartTable__productInfo {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .checkout-cart-summary .fs-c-cartTable__productImage {
        width: 40px;
        height: 50px;
        align-self: center;
    }

    .checkout-cart-summary .fs-c-cartTable__productName {
        font-size: 11px;
        line-height: 1.3;
    }
}
