/* =====================================================
   WHITE ON WHITE
   CONTACT PAGE
===================================================== */


/* =====================================================
   GENERAL
===================================================== */

* {
    box-sizing: border-box;
}


/* =====================================================
   SHARED SMALL TITLE
===================================================== */

.section-small-title {
    margin: 0 0 9px;

    color: #443C36;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2.5px;
}


/* =====================================================
   CONTACT INTRO
===================================================== */

.contact-intro-section {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 65px 0 75px;

    background: #F5F0E8;
}


.contact-intro-section::before {
    content: "";

    position: absolute;
    top: -175px;
    left: 50%;

    width: 720px;
    height: 720px;

    background:
        url("images/bestseller5.png")
        no-repeat
        center / contain;

    opacity: 0.50;

    transform: translateX(-50%);

    pointer-events: none;
}


.contact-intro-section > * {
    position: relative;
    z-index: 1;
}


.contact-intro-heading {
    width: 90%;
    max-width: 720px;

    margin: 0 auto 42px;

    text-align: center;
}


.contact-intro-heading h1 {
    margin: 0 0 14px;

    color: #333333;

    font-size: 40px;
    font-weight: 600;

    line-height: 1.2;
}


.contact-intro-heading > p:last-child {
    max-width: 600px;

    margin: auto;

    color: #777777;

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   CONTACT TOP
===================================================== */

.contact-top-container {
    width: 90%;
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 25px;

    align-items: stretch;
}


/* =====================================================
   CONTACT PANELS
===================================================== */

.contact-details-panel,
.contact-form-panel {
    min-width: 0;

    padding: 34px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 14px;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.04);
}


/* =====================================================
   DETAILS HEADING
===================================================== */

.details-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 14px;
}


.details-number {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #F5F0E8;

    border-radius: 50%;

    color: #443C36;

    font-size: 13px;
    font-weight: 600;
}


.details-heading .section-small-title {
    margin-bottom: 5px;
}


.details-heading h2 {
    margin: 0;

    color: #333333;

    font-size: 27px;
    font-weight: 600;
}


/* =====================================================
   DETAILS DESCRIPTION
===================================================== */

.details-description {
    max-width: 430px;

    margin: 0 0 25px;

    color: #888888;

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
   CONTACT DETAILS
===================================================== */

.contact-details-list {
    width: 100%;
}


.contact-detail-item {
    width: 100%;

    min-height: 91px;

    padding: 16px 0;

    display: flex;

    align-items: center;

    gap: 15px;

    border-bottom: 1px solid #eeeeee;
}


.contact-detail-item:first-child {
    border-top: 1px solid #eeeeee;
}


/* =====================================================
   DETAIL ICON
===================================================== */

.detail-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #F5F0E8;

    border-radius: 50%;

    color: #443C36;

    font-size: 17px;
}


/* =====================================================
   DETAIL TEXT
===================================================== */

.detail-text {
    min-width: 0;
}


.detail-text > span {
    display: block;

    margin-bottom: 3px;

    color: #443C36;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 1.5px;
}


.detail-text h3 {
    margin: 0 0 4px;

    color: #333333;

    font-size: 13px;
    font-weight: 600;
}


.detail-text p {
    margin: 0;

    color: #888888;

    font-size: 11.5px;

    line-height: 1.6;
}


/* =====================================================
   FORM HEADING
===================================================== */

.form-panel-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 5px;
}


.form-panel-heading .section-small-title {
    margin-bottom: 5px;
}


.form-panel-heading h2 {
    margin: 0;

    color: #333333;

    font-size: 27px;
    font-weight: 600;
}


.message-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #F5F0E8;

    border-radius: 50%;

    color: #443C36;

    font-size: 18px;
}


.form-panel-description {
    margin: 8px 0 26px;

    color: #888888;

    font-size: 13px;

    line-height: 1.6;
}


/* =====================================================
   CONTACT FORM
===================================================== */

.contact-form {
    width: 100%;
}


.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.form-group {
    min-width: 0;

    margin-bottom: 18px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #444444;

    font-size: 13px;
    font-weight: 600;
}


.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #dddddd;

    border-radius: 8px;

    outline: none;

    background: #ffffff;

    color: #555555;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    transition: 0.3s ease;
}


.form-group input {
    height: 46px;

    padding: 0 14px;
}


.form-group textarea {
    min-height: 150px;

    padding: 13px 14px;

    resize: vertical;

    line-height: 1.6;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaaaaa;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: #A9B5A0;

    box-shadow:
        0 0 0 3px
        rgba(169, 181, 160, 0.08);
}


.message-group {
    margin-bottom: 22px;
}


/* =====================================================
   SEND BUTTON
===================================================== */

.send-button-container {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;
}


.send-message-btn {
    min-width: 170px;
    min-height: 44px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border: none;

    border-radius: 25px;

    background: #A9B5A0;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}


.send-message-btn:hover {
    background: #333333;

    transform: translateY(-2px);
}


.send-message-btn span {
    font-size: 16px;

    transition: 0.3s ease;
}


.send-message-btn:hover span {
    transform: translateX(4px);
}


/* =====================================================
   SUCCESS / ERROR
===================================================== */

.contact-message {
    width: 100%;

    margin: 0 0 20px;

    padding: 13px 15px;

    display: flex;

    align-items: center;

    gap: 9px;

    border-radius: 10px;

    font-size: 12px;
}


.contact-message > span {
    width: 23px;
    height: 23px;

    flex: 0 0 23px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-weight: bold;
}


.contact-message p {
    margin: 0;
}


.contact-message.success {
    background: #f2faf5;

    border: 1px solid #cfe8d8;

    color: #427454;
}


.contact-message.success > span {
    background: #dcefe3;
}


.contact-message.error {
    background: #fff5f5;

    border: 1px solid #f0d0d0;

    color: #a34a4a;
}


.contact-message.error > span {
    background: #f7dddd;
}


/* =====================================================
   LOCATION
===================================================== */

.location-section {
    width: 100%;

    padding: 80px 0;

    background: #ffffff;
}


.location-layout {
    width: 90%;
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(0, 1.25fr);

    gap: 60px;

    align-items: center;
}


/* =====================================================
   LOCATION INFO
===================================================== */

.location-info {
    width: 100%;
}


.location-info .section-small-title {
    margin-bottom: 12px;
}


.location-info h2 {
    margin: 0 0 15px;

    color: #333333;

    font-size: 34px;
    font-weight: 600;

    line-height: 1.2;
}


.location-description {
    max-width: 390px;

    margin: 0 0 28px;

    color: #888888;

    font-size: 13px;

    line-height: 1.8;
}


/* =====================================================
   LOCATION ADDRESS
===================================================== */

.location-address {
    margin-bottom: 26px;

    display: flex;

    align-items: center;

    gap: 14px;
}


.location-address-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #F5F0E8;

    border-radius: 50%;

    color: #443C36;

    font-size: 18px;
}


.location-address-text {
    min-width: 0;
}


.location-address-text span {
    display: block;

    margin-bottom: 4px;

    color: #443C36;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 1.5px;
}


.location-address-text h3 {
    margin: 0 0 3px;

    color: #333333;

    font-size: 14px;
    font-weight: 600;
}


.location-address-text p {
    margin: 0;

    color: #888888;

    font-size: 12px;
}


/* =====================================================
   VIEW MAP BUTTON
===================================================== */

.view-map-btn {
    min-height: 43px;

    padding: 0 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    background: #ffffff;

    border: 1px solid #A9B5A0;

    border-radius: 25px;

    color: #443C36;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.3s ease;
}


.view-map-btn:hover {
    background: #A9B5A0;

    color: #ffffff;

    transform: translateY(-2px);
}


.view-map-btn span {
    font-size: 14px;

    transition: 0.3s ease;
}


.view-map-btn:hover span {
    transform: translate(2px, -2px);
}


/* =====================================================
   LOCATION MAP
===================================================== */

.location-map {
    width: 100%;
    height: 390px;

    overflow: hidden;

    background: #f7f7f7;

    border: 1px solid #eeeeee;

    border-radius: 14px;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.04);
}


.location-map iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


/* =====================================================
   SOCIAL SECTION
===================================================== */

.social-section {
    width: 100%;

    padding: 75px 0 90px;

    background: #F5F0E8;

    border-top: 1px solid #f3f3f3;
}


.social-container {
    width: 90%;
    max-width: 1100px;

    margin: auto;
}


/* =====================================================
   SOCIAL HEADING
===================================================== */

.social-heading {
    margin-bottom: 38px;

    text-align: center;
}


.social-heading .section-small-title {
    margin-bottom: 14px;
}


.social-heading h2 {
    margin: 0 0 14px;

    color: #333333;

    font-size: 34px;
    font-weight: 600;
}


.social-heading > p:last-child {
    max-width: 550px;

    margin: auto;

    color: #888888;

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
   SOCIAL LINKS
===================================================== */

.social-links {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* =====================================================
   SOCIAL CARD
===================================================== */

.social-card {
    min-width: 0;
    min-height: 112px;

    padding: 24px 25px;

    display: flex;

    align-items: center;

    gap: 17px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 12px;

    color: #333333;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.social-card:hover {
    transform: translateY(-4px);

    border-color: #ead8de;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.06);
}


/* =====================================================
   SOCIAL IMAGE CONTAINER
   BACKGROUND PUTIH
===================================================== */

.social-icon {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    /* BACKGROUND PUTIH */
    background: #ffffff;

    /* TIADA BORDER */
    border: none;

    /* TIADA BULATAN PINK */
    border-radius: 0;

    overflow: hidden;
}


/* =====================================================
   SOCIAL IMAGE
===================================================== */

.social-icon img {
    width: 42px;
    height: 42px;

    display: block;

    object-fit: contain;

    background: #ffffff;

    border: none;

    outline: none;

    box-shadow: none;
}


/* =====================================================
   SOCIAL CONTENT
===================================================== */

.social-card-content {
    flex: 1;

    min-width: 0;
}


.social-card-content h3 {
    margin: 0 0 8px;

    color: #333333;

    font-size: 15px;
    font-weight: 600;
}


.social-card-content p {
    margin: 0;

    color: #999999;

    font-size: 12px;
}


/* =====================================================
   SOCIAL ARROW
===================================================== */

.social-arrow {
    margin-left: auto;

    color: #443C36;

    font-size: 18px;

    transition: 0.3s ease;
}


.social-card:hover .social-arrow {
    transform: translateX(4px);
}


/* =====================================================
   CART COUNT
===================================================== */

.cart-btn {
    position: relative;
}


.cart-count {
    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #A9B5A0;

    border-radius: 20px;

    color: #ffffff;

    font-size: 10px;
    font-weight: bold;

    line-height: 1;
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 950px) {

    .contact-top-container {
        max-width: 750px;

        grid-template-columns: 1fr;
    }


    .location-layout {
        max-width: 750px;

        grid-template-columns: 1fr;

        gap: 35px;
    }


    .location-info {
        text-align: center;
    }


    .location-description {
        margin-left: auto;
        margin-right: auto;
    }


    .location-address {
        justify-content: center;

        text-align: left;
    }


    .social-links {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   RESPONSIVE - SMALL TABLET
===================================================== */

@media (max-width: 700px) {

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

}


/* =====================================================
   RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 550px) {

    /* CONTACT */

    .contact-intro-section {
        padding: 50px 0 55px;
    }


    .contact-intro-section::before {
        top: -70px;
        width: 470px;
        height: 470px;
        opacity: 0.40;
    }


    .contact-intro-heading {
        margin-bottom: 30px;
    }


    .contact-intro-heading h1 {
        font-size: 31px;
    }


    .contact-intro-heading > p:last-child {
        font-size: 13px;
    }


    .contact-top-container {
        width: 92%;
    }


    .contact-details-panel,
    .contact-form-panel {
        padding: 25px 20px;

        border-radius: 12px;
    }


    .details-heading h2,
    .form-panel-heading h2 {
        font-size: 24px;
    }


    .details-number,
    .message-icon {
        width: 44px;
        height: 44px;

        flex-basis: 44px;
    }


    .send-message-btn {
        width: 100%;
    }


    /* LOCATION */

    .location-section {
        padding: 55px 0;
    }


    .location-layout {
        width: 92%;

        gap: 30px;
    }


    .location-info h2 {
        font-size: 28px;
    }


    .location-description {
        font-size: 12.5px;
    }


    .location-map {
        height: 300px;

        border-radius: 12px;
    }


    /* SOCIAL */

    .social-section {
        padding: 55px 0 65px;
    }


    .social-container {
        width: 92%;
    }


    .social-heading {
        margin-bottom: 28px;
    }


    .social-heading h2 {
        font-size: 28px;
    }


    .social-card {
        min-height: 100px;

        padding: 20px;
    }


    .social-icon {
        width: 50px;
        height: 50px;

        flex-basis: 50px;

        background: #ffffff;
    }


    .social-icon img {
        width: 38px;
        height: 38px;

        background: #ffffff;
    }

}
