/**
* Theme Name: Clotya Child
* Description: This is a child theme of Clotya, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: clotya
* Version: 1.4.9
*/

/* ===== Uppers Sportswear Custom Styles ===== */

/* Force full-width sections (Hero, Scrunch, Sport Bra) */
.elementor-element-uppers_hero > .elementor-container,
.elementor-element-uppers_featured > .elementor-container,
.elementor-element-uppers_bra > .elementor-container {
    max-width: 100% !important;
}

/* Trust badges with images */
.uppers-trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
}
.uppers-trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.uppers-trust-badge img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.uppers-trust-badge .badge-content h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}
.uppers-trust-badge .badge-content p {
    margin: 0;
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

/* Scrunch Legging jumbo section */
.uppers-scrunch-section {
    display: flex;
    min-height: 500px;
    overflow: hidden;
}
.uppers-scrunch-section .scrunch-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 60px 50px;
    background-color: #f5f0eb;
    text-align: right;
}
.uppers-scrunch-section .scrunch-content .jumbo-title {
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 800;
    line-height: 0.85;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    text-transform: none;
}
.uppers-scrunch-section .scrunch-content h4 {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 20px 0;
    color: #555;
}
.uppers-scrunch-section .scrunch-content .btn-discover {
    display: inline-block;
    padding: 12px 30px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}
.uppers-scrunch-section .scrunch-content .btn-discover:hover {
    background: #333;
}
.uppers-scrunch-section .scrunch-image {
    flex: 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e8e3de;
}

/* Collection grid title left aligned */
.uppers-title-left .klb-custom-title .module-header,
.uppers-title-left .klb-custom-title .module-header h2,
.uppers-title-left .klb-custom-title .module-header .subtitle {
    text-align: left !important;
}

/* Footer logo */
.footer-logo-uppers {
    margin-bottom: 15px;
}
.footer-logo-uppers img {
    max-width: 140px;
    height: auto;
}

/* Hide footer nav links (keep payment icons only) */
.footer-copyright .footer-menu {
    display: none;
}

@media (max-width: 768px) {
    .uppers-trust-badges {
        flex-direction: column;
        gap: 15px;
    }
    .uppers-scrunch-section {
        flex-direction: column;
        min-height: auto;
    }
    .uppers-scrunch-section .scrunch-image {
        min-height: 300px;
    }
    .uppers-scrunch-section .scrunch-content {
        padding: 40px 20px;
    }
    .uppers-scrunch-section .scrunch-content .jumbo-title {
        font-size: 48px;
    }
}

/* Footer social icons */
.site-footer .uppers-footer-social-label {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.site-footer .uppers-footer-social {
    display: flex !important;
    gap: 24px;
    align-items: center;
    margin-top: 20px;
}
.site-footer .uppers-footer-social a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #333 !important;
    color: #fff !important;
    font-size: 20px;
    transition: background 0.3s;
    text-decoration: none;
}
.site-footer .uppers-footer-social a:hover {
    background: #555 !important;
    color: #fff !important;
}
.site-footer .uppers-footer-social a svg {
    fill: #fff;
}

/* ===== Contact Page Styles ===== */

/* Contact page container padding */
.page-id-12 .elementor-section > .elementor-container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Contact info card */
.uppers-contact-info {
    background: #faf8f6;
    border-radius: 12px;
    padding: 35px 30px;
}
.uppers-contact-info .contact-brand h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
}
.uppers-contact-info .contact-tagline {
    font-size: 14px;
    color: #777;
    margin: 0 0 28px 0;
    line-height: 1.5;
}
.uppers-contact-info .contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.uppers-contact-info .contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: #f0ebe5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
}
.uppers-contact-info .contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.uppers-contact-info .contact-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}
.uppers-contact-info .contact-text span,
.uppers-contact-info .contact-text a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    line-height: 1.5;
}
.uppers-contact-info .contact-text a:hover {
    color: #1a1a1a;
}
.uppers-contact-info .contact-region {
    font-size: 13px !important;
    color: #999 !important;
}

/* Contact social links */
.uppers-contact-info .contact-social {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e8e3de;
}
.uppers-contact-info .contact-social strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.uppers-contact-info .contact-social-links {
    display: flex;
    gap: 12px;
}
.uppers-contact-info .contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    transition: background 0.3s;
    text-decoration: none;
}
.uppers-contact-info .contact-social-links a:hover {
    background: #333;
}
.uppers-contact-info .contact-social-links a svg {
    fill: #fff;
    stroke: #fff;
}

/* Reassurance band */
.uppers-reassurance-item {
    text-align: center;
    padding: 10px 15px;
}
.uppers-reassurance-item .reassurance-icon {
    margin-bottom: 14px;
}
.uppers-reassurance-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}
.uppers-reassurance-item p {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* WPForms styling overrides for contact page */
.page-id-12 .wpforms-container .wpforms-form .wpforms-field-label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}
.page-id-12 .wpforms-container .wpforms-form input[type="text"],
.page-id-12 .wpforms-container .wpforms-form input[type="email"],
.page-id-12 .wpforms-container .wpforms-form select,
.page-id-12 .wpforms-container .wpforms-form textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.page-id-12 .wpforms-container .wpforms-form input:focus,
.page-id-12 .wpforms-container .wpforms-form select:focus,
.page-id-12 .wpforms-container .wpforms-form textarea:focus {
    border-color: #1a1a1a;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.08);
}
.page-id-12 .wpforms-container .wpforms-form textarea {
    min-height: 150px;
}
.page-id-12 .wpforms-container .wpforms-form .wpforms-submit-container button {
    background: #1a1a1a !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.page-id-12 .wpforms-container .wpforms-form .wpforms-submit-container button:hover {
    background: #333 !important;
}

/* ===== Newsletter Form (Homepage) ===== */
[data-id="uppers_nl_form"] .wpforms-container {
    max-width: 500px;
    margin: 0 auto;
}
[data-id="uppers_nl_form"] .wpforms-form {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
[data-id="uppers_nl_form"] .wpforms-form .wpforms-field-container {
    flex: 1;
    min-width: 0;
}
[data-id="uppers_nl_form"] .wpforms-form .wpforms-field {
    margin: 0 !important;
    padding: 0 !important;
}
[data-id="uppers_nl_form"] .wpforms-form input[type="email"] {
    border: 2px solid #1a1a1a;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 14px 18px;
    font-size: 14px;
    height: 50px;
    box-sizing: border-box;
    width: 100%;
}
[data-id="uppers_nl_form"] .wpforms-form input[type="email"]:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: none;
}
[data-id="uppers_nl_form"] .wpforms-form .wpforms-field-hp {
    display: none !important;
}
[data-id="uppers_nl_form"] .wpforms-submit-container {
    margin: 0 !important;
    padding: 0 !important;
}
[data-id="uppers_nl_form"] .wpforms-submit-container button {
    background: #1a1a1a !important;
    color: #fff !important;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    height: 50px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}
[data-id="uppers_nl_form"] .wpforms-submit-container button:hover {
    background: #333 !important;
}
[data-id="uppers_nl_form"] .wpforms-confirmation-container-full {
    text-align: center;
    color: #1a1a1a;
}
[data-id="uppers_nl_form"] .wpforms-form noscript,
[data-id="uppers_nl_form"] #wpforms-error-noscript {
    display: none;
}

/* ===== Footer Newsletter Form (pre-footer black section) ===== */
.footer-newsletter-form .wpforms-form {
    display: flex;
    align-items: stretch;
}
.footer-newsletter-form .wpforms-form .wpforms-field-container {
    flex: 1;
    min-width: 0;
}
.footer-newsletter-form .wpforms-form .wpforms-field {
    margin: 0 !important;
    padding: 0 !important;
}
.footer-newsletter-form .wpforms-form .wpforms-field-label {
    display: none !important;
}
.footer-newsletter-form .wpforms-form input[type="email"] {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    height: 48px;
    box-sizing: border-box;
    width: 100%;
}
.footer-newsletter-form .wpforms-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}
.footer-newsletter-form .wpforms-form input[type="email"]:focus {
    outline: none;
    border-color: #fff;
    box-shadow: none;
}
.footer-newsletter-form .wpforms-form .wpforms-field-hp {
    display: none !important;
}
.footer-newsletter-form .wpforms-submit-container {
    margin: 0 !important;
    padding: 0 !important;
}
.footer-newsletter-form .wpforms-submit-container button {
    background: #fff !important;
    color: #1a1a1a !important;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    height: 48px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}
.footer-newsletter-form .wpforms-submit-container button:hover {
    background: #e0e0e0 !important;
}
.footer-newsletter-form .wpforms-confirmation-container-full {
    color: #fff;
}
.footer-newsletter-form .wpforms-form noscript,
.footer-newsletter-form #wpforms-error-noscript {
    display: none;
}

/* Responsive — Contact page */
@media (max-width: 768px) {
    .uppers-contact-info {
        margin-top: 40px;
    }
    .uppers-reassurance-item {
        margin-bottom: 25px;
    }
    [data-id="uppers_nl_form"] .wpforms-form {
        flex-direction: column;
    }
    [data-id="uppers_nl_form"] .wpforms-form input[type="email"] {
        border-right: 2px solid #1a1a1a;
        border-radius: 6px;
    }
    [data-id="uppers_nl_form"] .wpforms-submit-container {
        margin-top: 10px !important;
    }
    [data-id="uppers_nl_form"] .wpforms-submit-container button {
        border-radius: 6px;
        width: 100%;
    }
}

/* ===== Blog Article Styling (single post) ===== */

/* Remove sidebar on single posts → full-width editorial layout */
body.single-post #sidebar,
body.single-post .blog-sidebar,
body.single-post .content-secondary {
    display: none !important;
}
body.single-post .content-primary.col-lg-9 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}
body.single-post .entry-content {
    max-width: 860px;
    margin: 0 auto;
}

/* Hero-style featured image */
.single-post .entry-thumbnail,
.single-post .post-image {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    max-height: 500px;
}
.single-post .entry-thumbnail img,
.single-post .post-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Post header — title, date, category */
.single-post .entry-header,
.single-post .entry-wrapper > .entry-meta {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 0 10px;
}
.single-post .entry-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}
.single-post .entry-header .entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 15px;
    text-transform: none;
}
.single-post .entry-header .entry-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}
.single-post .entry-header .entry-meta a {
    color: #999;
    text-decoration: none;
}
.single-post .entry-header .entry-meta a:hover {
    color: #1a1a1a;
}

/* Article body typography */
.single-post .entry-content {
    font-size: 18px;
    line-height: 1.85;
    color: #444;
}
.single-post .entry-content p {
    font-size: 18px;
    line-height: 1.85;
    color: #444;
    margin-bottom: 24px;
}
.single-post .entry-content strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* Headings */
.single-post .entry-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 50px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0ebe5;
}
.single-post .entry-content h3 {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 35px 0 15px;
}
.single-post .entry-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 30px 0 12px;
}

/* Links */
.single-post .entry-content a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 600;
    transition: color 0.3s;
}
.single-post .entry-content a:hover {
    color: #555;
}

/* Lists */
.single-post .entry-content ul,
.single-post .entry-content ol {
    margin: 20px 0 28px;
    padding-left: 25px;
}
.single-post .entry-content li {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}
.single-post .entry-content ul li::marker {
    color: #1a1a1a;
}

/* Images in content */
.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
}

/* Tables */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.single-post .entry-content table thead th,
.single-post .entry-content table th {
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    padding: 14px 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.single-post .entry-content table td {
    padding: 13px 18px;
    border-bottom: 1px solid #f0ebe5;
    color: #444;
    vertical-align: top;
}
.single-post .entry-content table tbody tr:last-child td {
    border-bottom: none;
}
.single-post .entry-content table tbody tr:nth-child(even) {
    background: #faf8f6;
}

/* Blockquotes / callout boxes */
.single-post .entry-content blockquote {
    background: #faf8f6;
    border-left: 5px solid #1a1a1a;
    padding: 25px 28px;
    margin: 35px 0;
    border-radius: 8px;
    font-style: normal;
}
.single-post .entry-content blockquote p {
    font-size: 17px;
    color: #333;
    margin-bottom: 0;
}
.single-post .entry-content blockquote p:not(:last-child) {
    margin-bottom: 12px;
}

/* Inline callout divs (from Shopify content) */
.single-post .entry-content div[style*="border-left"] {
    border-radius: 8px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

/* Horizontal rule */
.single-post .entry-content hr {
    border: none;
    border-top: 2px solid #f0ebe5;
    margin: 45px 0;
}

/* Post tags and share area */
.single-post .post-tags,
.single-post .post-share {
    max-width: 860px;
    margin: 0 auto;
}

/* Post navigation (prev/next) */
.single-post .post-navigation {
    max-width: 860px;
    margin: 40px auto;
    padding-top: 30px;
    border-top: 2px solid #f0ebe5;
}

/* ===== Blog Article - Responsive ===== */
@media (max-width: 768px) {
    .single-post .post-image img {
        height: 300px;
    }
    .single-post .entry-header {
        padding: 25px 15px 5px;
    }
    .single-post .entry-header .entry-title {
        font-size: 24px;
    }
    .single-post .entry-content {
        padding: 0 15px;
    }
    .single-post .entry-content p,
    .single-post .entry-content li {
        font-size: 16px;
        line-height: 1.75;
    }
    .single-post .entry-content h2 {
        font-size: 22px;
        margin: 35px 0 15px;
    }
    .single-post .entry-content h3 {
        font-size: 19px;
        margin: 28px 0 12px;
    }
    .single-post .entry-content table {
        font-size: 13px;
    }
    .single-post .entry-content table th,
    .single-post .entry-content table td {
        padding: 10px 12px;
    }
}