/*
 Theme Name: WordPress Direct
 Theme URI: http://wordpressdirect.co.uk
 Description: 
 Author: wordpressdirect
 Author URI: http://wordpressdirect.co.uk
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: wp-direct
*/

html {
    scroll-behavior: smooth;
}


.wp-direct.woocommerce-cart,
.wp-direct.woocommerce-checkout,
.wp-direct.woocommerce-account {
    background-color: #f6f7fb;
}

.wp-direct.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
.wp-direct.woocommerce-cart .wp-block-woocommerce-cart-items-block table {
    background-color: #fff !important;
    box-shadow: 0px 19px 70px 0px #a39fb01a;
    border-radius: 12px;
    padding: 32px;
    font-weight: 500;
}

.wp-direct.woocommerce-cart .container.px-20.mx-auto {
    padding-left: 0;
    padding-right: 0;
}

.wp-direct.woocommerce-cart .wc-block-cart__submit-button,
.wp-direct.woocommerce-cart .wc-block-components-totals-coupon__button,
.wp-direct.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.wp-direct.woocommerce-account .woocommerce-Button,
.wp-direct.woocommerce-account a.button.wc-forward {
    display: inline-block;
    border-radius: calc(infinity * 1px);
    background-color: #2563eb;
    padding-inline: calc(var(--spacing) * 8);
    padding-block: calc(var(--spacing) * 3);
    text-align: center;
    font-size: 15px;
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: #fff;
}

.wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text {
    justify-content: center;
}

.wp-direct.woocommerce-cart .wc-block-cart__submit-button {
    width: 100%;
    margin-top: 32px;
}

.wp-direct.woocommerce-cart .wc-block-cart__submit-button:focus-visible {
    outline: 0;
}

.wp-direct.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button,
.wp-direct.woocommerce-account a.edit {
    display: inline-block;
    border-radius: calc(infinity * 1px);
    background-color: #f3f4f6;
    padding: 12px 32px 12px 48px;
    text-align: center;
    font-size: 15px;
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: #0f172a;
}

.wp-direct.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button svg {
    left: 15px;
}

.wp-direct.woocommerce-cart .wc-block-components-totals-coupon__button {
    padding-inline: 0;
    padding-block: 0;
}

.wp-direct.woocommerce-cart .wc-block-cart-item__remove-link {
    color: red !important;
    margin-right: -85px !important;
    top: -45px;
    position: relative;
}

.wp-direct.woocommerce-cart .wc-block-cart-item__quantity {
    text-align: right;
}

.wp-direct.woocommerce-checkout .wc-block-checkout__form,
.wp-direct.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.wp-direct.woocommerce-account .woocommerce-MyAccount-navigation,
.wp-direct.woocommerce-account .woocommerce-MyAccount-content,
#customer_login .u-column1.col-1,
#customer_login .u-column2.col-2 {
    box-shadow: 0px 19px 70px 0px #a39fb01a;
    padding: 24px;
    border-radius: 8px;
    background-color: #fff;
}

.wp-direct.woocommerce-account .woocommerce-MyAccount-navigation li {
    padding: 10px 18px;
}

.wp-direct.woocommerce-account .woocommerce-MyAccount-navigation li.is-active {
    background-color: #1d2330;
    color: var(--color-gray-300);
}

.wp-direct.woocommerce-account .woocommerce-Address-title {
    font-weight: 500;
}

.wp-direct.woocommerce-account .woocommerce-Address-title h2 {
    margin-bottom: 22px;
}

.wp-direct.woocommerce-account .woocommerce-Address header {
    margin-bottom: 22px;
}

.wp-direct.woocommerce-cart .wc-block-components-quantity-selector__input:focus,
.wp-direct.woocommerce-cart .wc-block-components-quantity-selector__input:focus-visible {
    outline: 0;
    box-shadow: none;
}

#customer_login input {
    border-color: var(--color-gray-300);
    height: calc(var(--spacing) * 14);
}

#customer_login .woocommerce-form-login__submit {
    float: none;
    display: block;
    display: inline-block;
    border-radius: calc(infinity * 1px);
    background-color: #2563eb;
    padding-inline: calc(var(--spacing) * 8);
    padding-block: calc(var(--spacing) * 3);
    text-align: center;
    font-size: 15px;
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: #fff;
    width: 100%;
}

.woocommerce-privacy-policy-text a {
    color: #2563eb;
    text-decoration: underline;
}

.wp-direct.woocommerce-account #customer_login .u-column2.col-2 .woocommerce-Button {
    width: 100%;
    margin-top: 24px;
}

.wp-direct.woocommerce-account .woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wp-direct.woocommerce-account p.woocommerce-LostPassword.lost_password {
    text-align: center;
    margin-top: 12px;
}

.wp-direct.woocommerce-account p.woocommerce-LostPassword.lost_password a {
    color: #2563eb;
    text-decoration: underline;
}

#customer_login .u-column1.col-1 h2,
#customer_login .u-column2.col-2 h2 {
    font-size: 22px;
    font-weight: 500;
}

.wp-direct.woocommerce-checkout input,
.wp-direct.woocommerce-checkout select {
    border-color: var(--color-gray-300);
}

.wp-direct.woocommerce-lost-password .lost_reset_password {
    box-shadow: 0px 19px 70px 0px #a39fb01a;
    padding: 24px;
    border-radius: 8px;
    background-color: #fff;
    max-width: 550px;
    margin: auto;
}

.wp-direct.woocommerce-lost-password .lost_reset_password .form-row-first {
    width: 100%;
}

.wp-direct.woocommerce-lost-password .lost_reset_password .form-row-first input {
    border-color: var(--color-gray-300);
    height: calc(var(--spacing) * 14);
}

.wp-direct.woocommerce-order-received p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received,
.wp-direct.woocommerce-order-received .woocommerce-thankyou-order-details,
.wp-direct.woocommerce-order-received .woocommerce-order-details,
.wp-direct.woocommerce-order-received .woocommerce-customer-details {
    box-shadow: 0px 19px 70px 0px #a39fb01a;
    padding: 28px;
    border-radius: 8px;
    background-color: #fff;
}

.wp-direct.woocommerce-order-received p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: 24px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 52px;
}

.wp-direct.woocommerce-order-received .woocommerce-order-details__title,
.wp-direct.woocommerce-order-received .woocommerce-customer-details h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
}

@media screen and (max-width: 600px) {
    .woocommerce-account .container.mx-auto {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wp-direct.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 20px;
    }
}


/* Single Blog Page CSS */
/* Blog Content Wrapper Styles */
.tp-single-blog-wrapper {
    line-height: 1.7;
    color: #333;
}

/* Headings */
.tp-single-blog-wrapper h1,
.tp-single-blog-wrapper h2,
.tp-single-blog-wrapper h3,
.tp-single-blog-wrapper h4,
.tp-single-blog-wrapper h5,
.tp-single-blog-wrapper h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.tp-single-blog-wrapper h1 {
    font-size: 2.25em;
    margin-top: 0;
}

.tp-single-blog-wrapper h2 {
    font-size: 1.875em;
}

.tp-single-blog-wrapper h3 {
    font-size: 1.5em;
}

.tp-single-blog-wrapper h4 {
    font-size: 1.25em;
}

.tp-single-blog-wrapper h5 {
    font-size: 1.125em;
}

.tp-single-blog-wrapper h6 {
    font-size: 1em;
    font-weight: 600;
}

/* Paragraphs */
.tp-single-blog-wrapper p {
    margin-bottom: 1.5em;
}

.tp-single-blog-wrapper p:last-child {
    margin-bottom: 0;
}

/* Links */
.tp-single-blog-wrapper a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.tp-single-blog-wrapper a:hover {
    color: #004999;
}

/* Text Formatting */
.tp-single-blog-wrapper strong,
.tp-single-blog-wrapper b {
    font-weight: 700;
}

.tp-single-blog-wrapper em {
    font-style: italic;
}

.tp-single-blog-wrapper mark {
    background-color: #fff3cd;
    padding: 0.125em 0.25em;
}

.tp-single-blog-wrapper small {
    font-size: 0.875em;
}

.tp-single-blog-wrapper del {
    text-decoration: line-through;
    opacity: 0.7;
}

.tp-single-blog-wrapper code {
    background-color: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.tp-single-blog-wrapper pre {
    background-color: #f5f5f5;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1.5em;
}

.tp-single-blog-wrapper pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

/* Lists */
.tp-single-blog-wrapper ul,
.tp-single-blog-wrapper ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.tp-single-blog-wrapper ul {
    list-style-type: disc;
}

.tp-single-blog-wrapper ol {
    list-style-type: decimal;
}

.tp-single-blog-wrapper ul ul,
.tp-single-blog-wrapper ol ol,
.tp-single-blog-wrapper ul ol,
.tp-single-blog-wrapper ol ul {
    margin-bottom: 0;
    margin-top: 0.5em;
}

.tp-single-blog-wrapper li {
    margin-bottom: 0.5em;
}

.tp-single-blog-wrapper li:last-child {
    margin-bottom: 0;
}

.tp-single-blog-wrapper li>ul,
.tp-single-blog-wrapper li>ol {
    margin-left: 1em;
}

/* Blockquotes */
.tp-single-blog-wrapper blockquote {
    border-left: 4px solid #0066cc;
    padding-left: 1.5em;
    margin: 1.5em 0;
    font-style: italic;
    color: #555;
    background-color: #f9f9f9;
    padding: 1em 1.5em;
    border-radius: 0 5px 5px 0;
}

.tp-single-blog-wrapper blockquote p:last-child {
    margin-bottom: 0;
}

.tp-single-blog-wrapper blockquote cite {
    display: block;
    margin-top: 0.5em;
    font-size: 0.9em;
    font-style: normal;
    color: #777;
}

.tp-single-blog-wrapper blockquote cite::before {
    content: "— ";
}

/* Images */
.tp-single-blog-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em 0;
    border-radius: 5px;
}

.tp-single-blog-wrapper figure {
    margin: 1.5em 0;
}

.tp-single-blog-wrapper figcaption {
    font-size: 0.875em;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
    font-style: italic;
}

/* Tables */
.tp-single-blog-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    overflow-x: auto;
    display: block;
}

.tp-single-blog-wrapper table thead {
    background-color: #f5f5f5;
}

.tp-single-blog-wrapper table th,
.tp-single-blog-wrapper table td {
    padding: 0.75em 1em;
    text-align: left;
    border: 1px solid #ddd;
}

.tp-single-blog-wrapper table th {
    font-weight: 700;
}

.tp-single-blog-wrapper table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Horizontal Rule */
.tp-single-blog-wrapper hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 2em 0;
}

/* WordPress Alignment Classes */
.tp-single-blog-wrapper .alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
}

.tp-single-blog-wrapper .alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
}

.tp-single-blog-wrapper .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Caption */
.tp-single-blog-wrapper .wp-caption {
    max-width: 100%;
}

.tp-single-blog-wrapper .wp-caption-text {
    font-size: 0.875em;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
    font-style: italic;
}

/* Clearfix for floated elements */
.tp-single-blog-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.tp-single-meta-wrapper a {
    text-decoration: none;
    color: #111827;
}