/* 
 * Chordia Jewels - Premium Footer Theme
 */

:root {
    --cj-bg-white: #ffffff;
    --cj-bg-footer: #EFEDE9;
    /* Reverted to original as requested */
    --cj-text-black: #000000;
    --cj-brand-red: #BC6161;
    --cj-accent-gray: #F3ECEC;
    --cj-font-serif: Montserrat, serif;
    --cj-font-sans: Montserrat, sans-serif;
    --cj-font-montserrat: 'Montserrat', sans-serif;
}

/* 1. Follow Us / Insta Feed Section */
.cj-insta-feed {
    padding: 20px 0 0;
    /* Padding Removed */
    background: var(--cj-bg-white);
    text-align: center;
}

.cj-insta-feed__header {
    margin-bottom: -30px;
}

.cj-insta-feed__title {
display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Montserrat, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 36px;
    color: #000;
    margin-bottom: 10px;
    font-style: italic;
}

.cj-insta-feed__handle {
    font-family: var(--cj-sans-font);
    font-weight: 400;
    /* Figma Exact */
    font-size: 18px;
    line-height: 32px;
    /* Figma Exact */
    text-align: center;
    color: #000;
    margin: 0;
    display: block;
}

.cj-insta-feed-container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 100%;
}

/* Fallback Grid Items Support */
.cj-insta-feed-fallback {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.cj-insta-item {
    position: relative;
    background: #F3ECEC;
    height: 309px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cj-insta-item:hover {
    background: #ebe4e4;
}

@media (max-width: 1440px) {
    .cj-insta-item {
        height: 240px;
    }
}

@media (max-width: 1024px) {
    .cj-insta-feed-fallback {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cj-insta-feed-fallback {
        grid-template-columns: repeat(2, 1fr);
    }

    .cj-insta-item {
        height: 180px;
    }

    .cj-insta-feed-container {
        padding: 0 20px;
    }
}







/* 2. Newsletter Banner Section */
.cj-newsletter-banner {
    padding: 10px 20px 20px;
    background: #fff;
    /* Image Removed */
    /*    min-height: 452px;*/
    /* Figma Height */
    position: relative;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cj-newsletter-banner__content {
    width: 100%;
    /* Updated to 100% */
    max-width: 800px;
    /* Increased from 531px for better desktop layout */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 20px;
    /* Refined spacing */
}

.cj-newsletter-banner__title {
    width: 100%;
    /* Updated to 100% */
    height: auto;
    /* Updated to auto */
    font-family: var(--cj-serif-font);
    font-style: italic;
    font-weight: normal;
    font-size: 28px;
    line-height: 36px;
    text-align: center;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cj-percentage {
    font-family: serif;
    /* Standard Serif to avoid watermark */
    vertical-align: middle;
    /* Align with text */
}

.cj-newsletter-banner__form {
    width: 100%;
    /* Updated to 100% */
    max-width: 531px;
    /* Keeps form centered and not too wide */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cj-newsletter-banner__input {
    width: 100%;
    height: 59px;
    padding: 16px 21px;
    background: #F3ECEC;
    border: 1px solid #e5e5e5;
    font-family: 'SF Pro', sans-serif;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    color: #000000;
    box-sizing: border-box;
    box-shadow: none !important;
}

.cj-newsletter-banner__input::placeholder {
    color: rgba(0, 0, 0, 0.38);
    /* Figma Placeholder Color */
}

.cj-newsletter-banner__btn {
    width: 100%;
    height: 59px;
    /* Figma Frame 3133 Height */
    padding: 20px 25px;
    /* Figma Padding */
    background: #000000;
    /* Figma BG */
    color: #FFFFFF;
    border: none;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    text-transform: capitalize;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.cj-newsletter-banner__btn:hover {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #000000;
}

/* MailPoet Form Styles Overrides */
.cj-newsletter-banner__form .mailpoet-heading {
text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
    font-family: Montserrat, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 36px;
    color: #000;
    margin: 0;
    font-style: italic;
    padding-bottom: 15px;
}
.cj-newsletter-banner__form input.mailpoet_text{max-width: 100% !important;}

.cj-newsletter-banner__form form.mailpoet_form {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    margin: 0 !important;
}

.cj-newsletter-banner__form .mailpoet_paragraph {
    margin: 0 !important;
    width: 100% !important;
}

.cj-newsletter-banner__form input.mailpoet_text {
    width: 100% !important;
    height: 59px !important;
    padding: 16px 21px !important;
    /* background: #F3ECEC !important; */
    border: 1px solid #e5e5e5 !important;
    font-family: 'SF Pro', sans-serif !important;
    font-size: 16px !important;
    line-height: 21px !important;
    text-align: center !important;
    color: #000000 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.cj-newsletter-banner__form input.mailpoet_text::placeholder {
    color: rgba(0, 0, 0, 0.38) !important;
}

.cj-newsletter-banner__form input.mailpoet_submit {
    width: 100% !important;
    height: 59px !important;
    padding: 20px 25px !important;
    background: #000000 !important;
    color: #FFFFFF !important;
    border: none !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 21px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    /* Changed from capitalize to match SIGN UP */
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background 0.3s ease !important;
    margin: 0 !important;
    -webkit-appearance: none;
    appearance: none;
}

.cj-newsletter-banner__form input.mailpoet_submit:hover {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

.cj-newsletter-banner__form .mailpoet_message {
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    margin-top: 10px !important;
}

/* Captcha Styling */
.cj-newsletter-banner__form .mailpoet_captcha_container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.cj-newsletter-banner__form .mailpoet_captcha_image_wrapper {
    margin-bottom: 5px !important;
    display: flex !important;
    justify-content: center !important;
}

.cj-newsletter-banner__form .mailpoet_captcha {
    border: 1px solid #e5e5e5 !important;
    max-width: 100% !important;
}

.cj-newsletter-banner__form .mailpoet_icon_button {
    background: #F3ECEC !important;
    border: 1px solid #e5e5e5 !important;
    padding: 8px !important;
    cursor: pointer !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
}

.cj-newsletter-banner__form .mailpoet_icon_button:hover {
    background: #e5e5e5 !important;
}

.cj-newsletter-banner__form .mailpoet_captcha_label {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    text-align: center !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

.cj-newsletter-banner__form .mailpoet_text_label {
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    color: #000 !important;
    font-weight: 500 !important;
}

.cj-newsletter-banner__form .mailpoet_captcha_submit {
    width: 100% !important;
    margin-top: 15px !important;
}

.cj-newsletter-banner__form .mailpoet_validate_success {
    color: #4CAF50 !important;
}

.cj-newsletter-banner__form .mailpoet_validate_error {
    color: #f44336 !important; text-align: center;
}

/* 3. Main Footer */
.cj-footer {
    background: #f2f2f2;
    padding: 60px 0 20px;
    font-family: Montserrat, sans-serif;
}

.cj-footer__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.cj-footer__main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 20px;
}

.cj-footer__col {
    flex: 1;
}

.cj-footer__col--wide {
    flex: 1.5;
    /* For Contact Us Column */
}

.cj-footer__heading {
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: normal;
    line-height: 14px;
    font-size: 15px;
    margin-bottom: 15px;
    color: #000000;
    text-transform: capitalize;
    margin-bottom: 25px;
}

.cj-footer__heading--sm {
    margin-top: 40px;
    margin-bottom: 15px;
}

.cj-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: Montserrat, sans-serif;
    font-style: italic;
}

.cj-footer__links li {
    margin-bottom: 5px;
}

.cj-footer__links a {
    text-decoration: none;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    /* Figma Exact for Policy/Company links */
    color: #000000;
    text-transform: capitalize;
    font-style: normal;
}

.cj-footer__links a:hover {
    text-decoration: underline;
}

/* Contact Items */
.cj-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 280px;
}

.cj-footer__contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-family: Montserrat, sans-serif;
    font-style: normal;
}

.cj-footer__contact-item p {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    font-style: normal;
    margin: 0;
    color: #000000;
}

.cj-footer__contact-item--row {
    align-items: center;
}

.cj-footer__contact-item a {
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 34px;
    color: #000000;
    font-style: normal;
}

.cj-footer__icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    margin-top: 7px;
    /* Spacing between icon and text */
}

.cj-footer__contact-item .icon-mail {
    margin-top: 0;
}

/* Using masks for icons but making them black */
.cj-footer__icon::after {
    content: '';
    width: 20px;
    height: 20px;
    background: #000000;
    /* Black Icon */
    display: block;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.icon-location::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.icon-phone::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}

.icon-mail::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.cj-footer__text {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    color: #000000;
    margin: 0;
    text-transform: capitalize;
}

.cj-footer__social {
    display: flex;
    gap: 15px;
}

.cj-footer__social-link {
    width: 36px;
    height: 36px;
    background: #FFFFFF;
    /* White Circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border: 1px solid #FFFFFF;
    /* White Border */
}

.cj-footer__social-link svg {
    display: block;
}

.cj-footer__social .cj-footer__social-link:nth-child(1),
.cj-footer__social .cj-footer__social-link:nth-child(2),
.cj-footer__social .cj-footer__social-link:nth-child(3) {
    border: 1px solid #FFFFFF;
    /* All circles white border/bg */
}

/* YT */

.cj-footer__social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Copyright Footer Bottom (Frame 3154) */
.cj-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.cj-footer__copyright {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    /* Figma Exact */
    color: #000000;
    margin: 0;
    text-transform: capitalize;
}

.cj-footer__dev {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cj-footer__dev span {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    color: #000000;
}

.cj-footer__dev-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
}

.cj-footer__dev img {
    height: 20px;
}

/* RESPONSIVE */
@media (max-width: 1600px) {
    .cj-footer__container {
        max-width: 1400px;
    }
}

@media (max-width: 1200px) {
    .cj-footer__container {
        max-width: 1140px;
    }


    .cj-footer__main {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .cj-footer__col--wide {
        grid-column: span 3;
    }
}

@media (max-width: 1024px) {


    .cj-newsletter-banner__content {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .cj-insta-feed__title {
        line-height: 38px;
    }





    .cj-newsletter-banner {
        min-height: auto;
        padding: 20px 20px;
    }

    .cj-newsletter-banner__title {
        font-size: 28px;
        line-height: 34px;
        width: 100%;
    }

    .cj-newsletter-banner__form,
    .cj-newsletter-banner__content {
        max-width: 100%;
        width: 100%;
    }

    .cj-newsletter-banner__input,
    .cj-newsletter-banner__btn {
        width: 100%;
    }

    .cj-footer__main {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
        /* Reduced from 100px */
    }

    .cj-footer__col--wide {
        grid-column: span 2;
    }

    .cj-footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        /* Changed from center */
        align-items: flex-start;
        /* Ensure left alignment */
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .cj-footer__main {
        grid-template-columns: repeat(2, 1fr);
        /* Changed from 1fr to 2 columns */
        gap: 20px 15px;
        /* Reduced row gap */
        margin-bottom: 40px;
        /* Reduced from 100px */
    }

    .cj-footer__col--wide {
        grid-column: span 2;
        /* Keep contact us full width */
    }

    .cj-footer__col {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .cj-footer__contact {
        align-items: flex-start;
    }

    .cj-footer__contact-item {
        text-align: left;
        flex-direction: row;
        align-items: flex-start;
    }

    .cj-footer__social {
        justify-content: flex-start;
    }

    .cj-footer__bottom {
        align-items: flex-start;
        text-align: left;
        padding-top: 20px;
        /* Reduced from 40px */
    }

    .cj-footer__copyright,
    .cj-footer__dev {
        text-align: left;
        width: 100%;
        justify-content: flex-start;
    }
}