/*
Theme Name: MyTheme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A simple custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mytheme
*/

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #f15b4f;
}

.site-header {
    background: #222;
    padding: 20px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo a {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.site-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: #fff;
}

.site-main {
    min-height: 70vh;
    padding: 50px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.entry-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.post {
    margin-bottom: 50px;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.site-footer {
    background: #222;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}




/* =========================================
   CUSTOM WOOCOMMERCE CHECKOUT
========================================= */

.mytheme-checkout {
    background: #f7f7f7;
    padding: 60px 20px;
}

.mytheme-checkout-header {
    max-width: 900px;
    margin: 0 auto 35px;
}

.mytheme-checkout-title {
    margin: 0 0 8px;
    color: #111;
    font-size: 34px;
    font-weight: 700;
}

.mytheme-checkout-subtitle {
    margin: 0;
    color: #777;
    font-size: 15px;
}


/* Main checkout container */

.mytheme-checkout-form {
    max-width: 900px;
    margin: 0 auto;
}


/* Sections */

.mytheme-checkout-section,
.mytheme-order-section {
    background: #fff;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
}

.mytheme-checkout-section h2,
.mytheme-order-section h2 {
    margin: 0 0 25px;
    color: #111;
    font-size: 20px;
    font-weight: 600;
}


/* WooCommerce fields */

.mytheme-checkout-form .form-row {
    margin-bottom: 18px;
}

.mytheme-checkout-form label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.mytheme-checkout-form input,
.mytheme-checkout-form select,
.mytheme-checkout-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    color: #222;
    font-size: 14px;
    transition: all 0.2s ease;
}

.mytheme-checkout-form textarea {
    min-height: 100px;
    resize: vertical;
}

.mytheme-checkout-form input:focus,
.mytheme-checkout-form select:focus,
.mytheme-checkout-form textarea:focus {
    border-color: #111;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}


/* Required fields */

.mytheme-checkout-form .required {
    color: #d63638;
}


/* Remove WooCommerce default column widths */

.mytheme-checkout-form .form-row-first,
.mytheme-checkout-form .form-row-last,
.mytheme-checkout-form .form-row-wide {
    float: none;
    width: 100%;
}


/* Order review */

#order_review {
    width: 100%;
}

#order_review table {
    width: 100%;
    border-collapse: collapse;
}

#order_review th,
#order_review td {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

#order_review .order-total th,
#order_review .order-total td {
    border-bottom: 0;
    font-size: 18px;
    font-weight: 700;
}


/* Payment */

.woocommerce-checkout-payment {
    margin-top: 25px;
}

.woocommerce-checkout-payment ul {
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}

.woocommerce-checkout-payment li {
    padding: 15px;
    margin-bottom: 8px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
}


/* Place order */

#place_order {
    width: 100%;
    min-height: 52px;
    margin-top: 10px;
    background: #111;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#place_order:hover {
    background: #333;
}


/* Notices */

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    max-width: 900px;
    margin: 0 auto 20px;
    border-radius: 6px;
}


/* Mobile */

@media (max-width: 767px) {

    .mytheme-checkout {
        padding: 35px 15px;
    }

    .mytheme-checkout-title {
        font-size: 28px;
    }

    .mytheme-checkout-section,
    .mytheme-order-section {
        padding: 20px;
    }

}



/* =========================================
   CUSTOM THANK YOU PAGE
========================================= */

.mytheme-thankyou {
    max-width: 700px;
    margin: 60px auto 30px;
    padding: 50px 30px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    text-align: center;
}

.mytheme-thankyou-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #22a06b;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.mytheme-thankyou h1 {
    margin: 0 0 12px;
    color: #111;
    font-size: 30px;
    font-weight: 700;
}

.mytheme-thankyou p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.mytheme-thankyou strong {
    color: #111;
}
