/* =========================================================
   QuickShop - Contact Us
   ========================================================= */

.qs-contact-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #172033;
}

.qs-contact-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.qs-contact-page a {
    text-decoration: none;
}


/* =========================================================
   Contact Hero
   ========================================================= */

.qs-contact-hero {
    position: relative;
    min-height: 270px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            110deg,
            #ea580c 0%,
            #f97316 52%,
            #fbbf24 100%
        );
}

.qs-contact-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -100px;
    top: -170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.qs-contact-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -100px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.qs-contact-hero-content {
    position: relative;
    z-index: 2;
    padding: 55px 0;
}

.qs-contact-label {
    display: block;
    margin-bottom: 7px;
    color: #f97316;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.qs-contact-hero .qs-contact-label {
    color: rgba(255, 255, 255, 0.9);
}

.qs-contact-hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -1px;
}

.qs-contact-hero p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   Contact Information Cards
   ========================================================= */

.qs-contact-info-section {
    padding: 35px 0 20px;
    background: #fffaf2;
}

.qs-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.qs-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 145px;
    padding: 22px 18px;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(120, 53, 15, 0.05);
}

.qs-contact-info-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        #fff7d6,
        #ffedd5
    );
    color: #ea580c;
    font-size: 19px;
    font-weight: 800;
}

.qs-contact-info-card h3 {
    margin: 1px 0 8px;
    color: #172033;
    font-size: 18px;
    font-weight: 800;
}

.qs-contact-info-card p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
}

.qs-contact-info-card a {
    color: #ea580c;
}

.qs-contact-info-card a:hover {
    color: #c2410c;
}


/* =========================================================
   Main Contact Area
   ========================================================= */

.qs-contact-main-section {
    padding: 65px 0;
    background: #ffffff;
}

.qs-contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: start;
}


/* =========================================================
   Contact Form
   ========================================================= */

.qs-contact-form-card {
    padding: 34px;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(120, 53, 15, 0.07);
}

.qs-contact-section-heading {
    margin-bottom: 28px;
}

.qs-contact-section-heading h2 {
    margin: 0 0 9px;
    color: #172033;
    font-size: clamp(27px, 3vw, 35px);
    line-height: 1.2;
    font-weight: 800;
}

.qs-contact-section-heading p {
    max-width: 650px;
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
}

.qs-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.qs-contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.qs-contact-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.qs-contact-field label {
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.qs-contact-field input,
.qs-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    outline: none;
    background: #fff;
    color: #172033;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.qs-contact-field input {
    height: 46px;
    padding: 0 14px;
}

.qs-contact-field textarea {
    min-height: 135px;
    padding: 13px 14px;
    resize: vertical;
}

.qs-contact-field input::placeholder,
.qs-contact-field textarea::placeholder {
    color: #9ca3af;
}

.qs-contact-field input:focus,
.qs-contact-field textarea:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.qs-contact-submit {
    width: fit-content;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        #ea580c,
        #f97316
    );
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(234, 88, 12, 0.2);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.qs-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}


/* =========================================================
   Contact Side
   ========================================================= */

.qs-contact-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.qs-contact-side-card {
    padding: 30px 26px;
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            #fff7d6 0%,
            #fffaf2 55%,
            #ffffff 100%
        );
    border: 1px solid #fed7aa;
}

.qs-contact-side-card .qs-contact-label {
    margin-bottom: 8px;
}

.qs-contact-side-card h2 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 800;
}

.qs-contact-side-card > p {
    margin: 0 0 25px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
}

.qs-contact-side-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 0;
    border-top: 1px solid rgba(234, 88, 12, 0.12);
}

.qs-contact-side-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #ffffff;
    color: #ea580c;
    font-size: 17px;
    font-weight: 800;
}

.qs-contact-side-item strong {
    display: block;
    margin-bottom: 3px;
    color: #172033;
    font-size: 13px;
}

.qs-contact-side-item a,
.qs-contact-side-item > div > span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.qs-contact-side-item a:hover {
    color: #ea580c;
}


/* =========================================================
   Shop CTA
   ========================================================= */

.qs-contact-shop-card {
    padding: 27px 26px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #ea580c,
        #f97316,
        #fbbf24
    );
    box-shadow: 0 12px 28px rgba(154, 52, 18, 0.16);
}

.qs-contact-shop-card > span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.qs-contact-shop-card h3 {
    margin: 7px 0 18px;
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
}

.qs-contact-shop-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 9px;
    background: #ffffff;
    color: #ea580c;
    font-size: 13px;
    font-weight: 800;
}

.qs-contact-shop-card a:hover {
    color: #c2410c;
}


/* =========================================================
   Location
   ========================================================= */

.qs-contact-location {
    padding: 65px 0 75px;
    background: #fffaf2;
}

.qs-contact-location-header {
    margin-bottom: 25px;
}

.qs-contact-location-header h2 {
    margin: 0 0 8px;
    color: #172033;
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 800;
}

.qs-contact-location-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.qs-contact-map {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 50% 45%,
            #fff7d6 0%,
            #fffaf2 45%,
            #ffedd5 100%
        );
}

.qs-contact-map-placeholder {
    max-width: 430px;
    padding: 35px 20px;
    text-align: center;
}

.qs-contact-map-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 13px;
    border-radius: 15px;
    background: #ffffff;
    color: #ea580c;
    font-size: 23px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(120, 53, 15, 0.08);
}

.qs-contact-map-placeholder h3 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 18px;
    font-weight: 800;
}

.qs-contact-map-placeholder p {
    margin: 0 0 17px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.qs-contact-map-placeholder a {
    color: #ea580c;
    font-size: 13px;
    font-weight: 750;
}

.qs-contact-map-placeholder a:hover {
    color: #c2410c;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

    .qs-contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qs-contact-main-grid {
        grid-template-columns: 1fr;
    }

    .qs-contact-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {

    .qs-contact-container {
        width: min(100% - 24px, 1200px);
    }

    .qs-contact-hero {
        min-height: 230px;
    }

    .qs-contact-hero-content {
        padding: 45px 0;
    }

    .qs-contact-hero h1 {
        font-size: 38px;
    }

    .qs-contact-hero p {
        font-size: 14px;
    }


    .qs-contact-info-section {
        padding: 25px 0 10px;
    }

    .qs-contact-info-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .qs-contact-info-card {
        min-height: auto;
        padding: 18px 16px;
    }


    .qs-contact-main-section {
        padding: 45px 0;
    }

    .qs-contact-main-grid {
        gap: 18px;
    }

    .qs-contact-form-card {
        padding: 23px 18px;
        border-radius: 16px;
    }

    .qs-contact-section-heading {
        margin-bottom: 23px;
    }

    .qs-contact-section-heading h2 {
        font-size: 27px;
    }

    .qs-contact-form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .qs-contact-submit {
        width: 100%;
    }


    .qs-contact-side {
        display: flex;
        flex-direction: column;
        gap: 13px;
    }

    .qs-contact-side-card {
        padding: 24px 19px;
        border-radius: 16px;
    }

    .qs-contact-side-card h2 {
        font-size: 24px;
    }

    .qs-contact-shop-card {
        padding: 23px 19px;
        border-radius: 16px;
    }


    .qs-contact-location {
        padding: 48px 0 55px;
    }

    .qs-contact-map {
        min-height: 250px;
        border-radius: 16px;
    }

}


/* =========================================================
   Small Mobile
   ========================================================= */

@media (max-width: 380px) {

    .qs-contact-hero h1 {
        font-size: 34px;
    }

    .qs-contact-info-card {
        gap: 11px;
    }

    .qs-contact-info-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

}