
/* =========================================
   TerraHub Gift Options - Premium Styling
   Desktop + Tablet + Mobile
========================================= */

/* Main Gift Box */
.thgo-gift-options {
    margin: 25px 0 22px;
    padding: 20px 22px;
    background: #fbfaf6;
    border: 1px solid #e9e5da;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Section Heading */
.thgo-gift-options h4 {
    font-size: 19px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #263b32 !important;
    margin: 0 0 12px !important;
}

/* Gift Option Rows */
.thgo-gift-options > p:not(#thgo_message_field) {
    margin: 10px 0 0 !important;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #eeeae2;
    border-radius: 7px;
    transition: border-color 0.2s ease,
                background 0.2s ease;
}

/* Hover Effect */
.thgo-gift-options > p:not(#thgo_message_field):hover {
    border-color: #b8d8c2;
    background: #ffffff;
}

/* Labels */
.thgo-gift-options label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    color: #34443b;
    cursor: pointer;
    margin: 0;
}

/* Checkboxes */
.thgo-gift-options input[type="checkbox"] {
    width: 17px;
    height: 17px;
    min-width: 17px;
    accent-color: #159b50;
    margin: 0 8px 0 0;
    vertical-align: middle;
    cursor: pointer;
}

/* Focus */
.thgo-gift-options input:focus,
.thgo-gift-options textarea:focus {
    outline: none;
    border-color: #159b50;
}

/* Personal Message Area */
.thgo-gift-options #thgo_message_field {
    margin: 14px 0 0 !important;
    display: none;
}

.thgo-gift-options #thgo_message_field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #263b32;
}

/* Message Textarea */
.thgo-gift-options #thgo_message_field textarea {
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #deded6;
    border-radius: 7px;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    color: #34443b;
    box-sizing: border-box;
    resize: vertical;
}

/* Placeholder */
.thgo-gift-options textarea::placeholder {
    color: #999999;
}

/* =========================================
   TABLET
========================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .thgo-gift-options {
        padding: 18px;
        margin: 22px 0;
    }

    .thgo-gift-options h4 {
        font-size: 18px !important;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .thgo-gift-options {
        padding: 14px;
        margin: 18px 0;
        width: 100%;
        border-radius: 9px;
    }

    .thgo-gift-options h4 {
        font-size: 17px !important;
        line-height: 1.4 !important;
        margin-bottom: 11px !important;
    }

    .thgo-gift-options > p:not(#thgo_message_field) {
        padding: 11px 10px;
        margin-top: 9px !important;
        border-radius: 7px;
    }

    .thgo-gift-options label {
        font-size: 13px;
        line-height: 1.7;
        font-weight: 500;
    }

    .thgo-gift-options input[type="checkbox"] {
        width: 17px;
        height: 17px;
        min-width: 17px;
        margin-right: 7px;
        vertical-align: middle;
    }

    .thgo-gift-options #thgo_message_field {
        margin-top: 12px !important;
    }

    .thgo-gift-options #thgo_message_field textarea {
        min-height: 95px;
        padding: 11px;
        font-size: 14px;
    }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .thgo-gift-options {
        padding: 12px;
    }

    .thgo-gift-options h4 {
        font-size: 16px !important;
    }

    .thgo-gift-options > p:not(#thgo_message_field) {
        padding: 10px 8px;
    }

    .thgo-gift-options label {
        font-size: 12px;
    }

}

.thgo-gift-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.thgo-toggle-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}
