/*
 Theme Name:   EasyEat Child Theme
 Theme URI:    https://easyeat.ancorathemes.com/
 Description:  EasyEat Child Theme
 Author:       AncoraThemes
 Author URI:   https://ancorathemes.com/
 Template:     easyeat
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  easyeat
*/


/* =Theme customization starts here
------------------------------------------------------------ */




#customer_login {
    display: flex !important;
    gap: 40px !important;
}

#customer_login .u-column1,
#customer_login .u-column2 {
    flex: 1;
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.woocommerce-form-row label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.otp-container,
.h-captcha {
    margin-top: 15px;
    display: flex;
}

.woocommerce form.register {
    text-align: left;
}

#send_otp_button:disabled,
#verify_otp_button:disabled {
  color: #fff !important;
  background-color: #1f242e !important;
  cursor: not-allowed;
  height: 47px;
 
}

#verify_otp_button , #send_otp_button{
  height: 47px;
}

.otp-container {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
  margin-top: -18px;
  padding-bottom: 10px;
 
}


#reg_password:disabled {
  color: #fff !important;
  background-color: #fff !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

#reg-button:disabled
{color: #fff !important;
   background-color: #1f242e !important;
  
  cursor: not-allowed;
}

.custom-black-button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
}

.custom-black-button:hover {
  background-color: #333;
}

/* Match Birth Month select to WooCommerce input fields */
.styled-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;

    height: 47px;
    line-height: 1.5;
    margin: 0 0 10px;
    cursor: pointer;

    /* Dropdown arrow */
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px; /* space for arrow */
}

.styled-select:focus {
    border-color: #999;
    outline: none;
}

  
 .name_fields{
    display: flex;
    gap:5px;
    margin-bottom: -10px;
    margin-right: -9px;
    
  }
  
  .iti input,
  .iti input[type=tel] { 
    box-sizing: border-box;
    width: 100%;
  }
  
  .iti--separate-dial-code .iti__selected-flag {
    background-color: white;
  } 
  
  form.register p:not(.form-row) {
    margin-bottom: 0px;
  }
  
  .woocommerce-form-row input#reg_password {
    margin-top: -5px;
  }
  
  
  .countdown-timer{
    margin-top: -20px;
  }
  
  
  .birth-class{
    margin-top: 20px;
  }
  
  
  .iti {
    display: block !important;
    width: 100% !important;
  }


  /* Force uniform styles on WooCommerce input fields */
.woocommerce form .woocommerce-Input.input-text {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    width: 100%;
}

/* Remove special styles for email/tel/password specifically */
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="password"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: none;
}

.woocommerce form .woocommerce-form-row {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

 div.woocommerce-privacy-policy-text
 {
  margin-bottom: 10px;
 }

 .woocommerce form input[type="tel"]{
  height: 47px;
  border-color: 2px solid #ccc !important;
  border-radius: 5 !important;
 }

 /* Tablets and below */
@media (max-width: 991px) {
  #customer_login {
    flex-direction: column;
    gap: 20px;
  }

  #customer_login .u-column1,
  #customer_login .u-column2 {
    padding: 20px;
    width: 90%;
  }

  .name_fields {
    flex-direction: column;
    gap: 10px;
  }
}

/* Small devices (phones) */
@media (max-width: 600px) {
  #customer_login {
    gap: 15px;
  }

  
#send_otp_button:disabled,
#verify_otp_button:disabled, #reg-button:disabled {
    padding: 14px 40px 12px;
    height: 44px;
  }

  #customer_login .u-column1,
  #customer_login .u-column2 {
    padding: 15px;
    box-shadow: none; 
    border-radius: 6px;
  }

  .woocommerce form .woocommerce-Input.input-text,
  .styled-select,
  .woocommerce form input[type="email"],
  .woocommerce form input[type="tel"],
  .woocommerce form input[type="password"],
  #send_otp_button,
  #verify_otp_button,
  #reg-button {
    font-size: 14px;
    padding: 10px;
    height: auto;
  }

  .otp-container {
    gap: 10px;
  }
}


@media (max-width: 400px) {
   .otp-container {
    flex-direction: column;
    gap: 10px;
  }
}

.easyeat-account-widget .account-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 120%;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
  text-align: left;
  padding: 0;
}
 
 
.easyeat-account-widget .account-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 14px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}
 
/* Dropdown list */
.easyeat-account-widget .account-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
 
.easyeat-account-widget .account-dropdown ul li a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #333;
}
 
.easyeat-account-widget .account-dropdown ul li a:hover {
  background: #f5f5f5;
  color: #111;
}
 

#page_preloader, .page_content_wrap, .custom-background .content_wrap > .content, .background_banner_wrap ~ .content_wrap > .content {
    background-color: #FFF7E8;
} 

.top_panel, [class*="scheme_"].top_panel, [class*="scheme_"].footer_wrap {
    color: var(--theme-color-text);
    background-color: #FFF7E8;
}

.elementor-17531 .elementor-element.elementor-element-6ac1b091:not(.elementor-motion-effects-element-type-background), .elementor-17531 .elementor-element.elementor-element-6ac1b091 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #FFF7E8;
}

.elementor-17531 .elementor-element.elementor-element-0c86f6c:not(.elementor-motion-effects-element-type-background), .elementor-17531 .elementor-element.elementor-element-0c86f6c > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #FFF7E8;
}


/*.elementor-24379 .elementor-element.elementor-element-1f39157:not(.elementor-motion-effects-element-type-background), .elementor-24379 .elementor-element.elementor-element-1f39157 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #FFF7E8;
}

.elementor-24379 .elementor-element.elementor-element-ddbace4:not(.elementor-motion-effects-element-type-background), .elementor-24379 .elementor-element.elementor-element-ddbace4 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #6c6860;
}*/


/* =========================================================================
   BASE STYLES & LAYOUT
   ========================================================================= */
.custom-contact-page-wrapper {
    /* background-color: #f7f5f2;  */
    padding: 40px 20px;
    font-family: sans-serif;
    /* margin-top: -80px !important; */
}
.tea-alternative-wrapper {
    padding: 10px 20px;
    margin-top: -80px !important;
}

.custom-contact-form-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 50px;
}

.contact-form-column, .contact-info-column {
    flex: 1;
    /* min-width: 300px; */
    margin-left: 60px;
}

/* Titles */
.form-title,
.info-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #333;
}

/* =========================================================================
   FORM INPUT STYLING AND ERRORS
   ========================================================================= */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: black;
}

.form-group .required {
    color: #f00;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e54c1f; /* Orange focus color */
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Validation Error Message */
.validation-error {
    display: block;
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* Highlight invalid fields */
.input-error {
    border-color: red !important;
}

/* hCaptcha/CAPTCHA Alignment */
.captcha-group {
    display: block;
    margin-bottom: 30px;
    max-width: 302px;
}

/* =========================================================================
   SUBMIT BUTTON STYLING (Active vs. Disabled)
   ========================================================================= */
.custom-submit-button {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 3px;
    width: 600px !important;
    display: flex;
    justify-content: center;
    display: inline-flex;
}
.custom-submit-button .loader {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;                   
    margin-left: 8px; 
    /* vertical-align: middle;  */
    /* margin-top: 11px; */
    margin-bottom: 4px;
}
.custom-submit-button.loading .loader {
  display: inline-block;
}
/* DISABLED State (Light Gray/Brown from image) */
.custom-submit-button.disabled-style,
.custom-submit-button:disabled {
    background-color: #a7a7a7 !important; /* Light gray color */
    cursor: not-allowed !important;
    opacity: 0.8;
}

/* ACTIVE State (Bright Orange from image) */
.custom-submit-button:not(:disabled) {
    background-color: #e54c1f; /* Bright orange */
    opacity: 1;
    cursor: pointer;
}

.custom-submit-button:not(:disabled):hover {
    background-color: #e54c1f !important; /* Bright orange */
    opacity: 1;
    cursor: pointer;
    
}


/* =========================================================================
   CONTACT INFO COLUMN STYLING
   ========================================================================= */
.contact-detail {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.contact-info-column .contact-detail:last-child {
    border-bottom: 1px solid #e0e0e0;
}

.contact-icon {
    font-size: 24px;
    color: black;
    margin-right: 15px;
    padding-top: 5px;
     align-items: center;
  justify-content: center;
  min-width: 40px;             
  height: 40px;
}

/* When stacked on mobile, center icon properly */
@media (max-width: 700px) {
  .contact-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 8px;       
    min-width: auto;
    height: auto;
  }

  .contact-text a,
  .contact-text span {
    font-size: 15px;
  }
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text .label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.contact-text a,
.contact-text span {
    font-size: 16px;
    color: #666;
    text-decoration: none;
}

.contact-text a:hover {
    color: #e54c1f;
}

/* =========================================================================
   RESPONSIVE DESIGN 
   ========================================================================= */
@media (max-width: 768px) {
    .custom-contact-form-container {
        flex-direction: column;
        gap: 30px;
    }
}

.fas, .far, .fab {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 100; /* for solid icons (fas) */
}

i.fas, i.far, i.fab {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900; /* for solid icons */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.custom-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== Responsive Behavior ===== */
@media (max-width: 700px) {
  .custom-contact-form-container {
    flex-direction: column;
    gap: 20px;               
  }

  .contact-form-column,
  .contact-info-column {
    width: 100%;
    margin-left: 0 !important;  
  }

  .form-title,
  .info-title {
    text-align: center;
  }

  .contact-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-submit-button {
    width: 100% !important;  
  }

  .captcha-group {
    max-width: 100%; 
  }
}

/* =========================================================================
   TEA ALTERNATIVE FORM OVERRIDES (Minimalist Single Column)
   ========================================================================= */


.tea-alternative-wrapper .custom-contact-form-container {
    display: block; 
    max-width: 600px; 
    margin: 0 auto;
    padding: 0;
}

.tea-alt-form-title{
    display: flex;
    justify-content: center;
}

.tea-alternative-wrapper .contact-form-column {
    /* Reset layout properties specific to the two-column form */
    flex: none; 
    width: 100%;
    margin-left: 0; 
}

/* Form description text */
.tea-alternative-wrapper .form-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* Hide required star labels, but keep the placeholder look */
.tea-alternative-wrapper .form-group label {
    position: absolute; /* Visually hide while keeping for accessibility */
    left: -9999px;
}

/* Style the inputs for the 'underline only' look */
.tea-alternative-wrapper .form-group input[type="text"],
.tea-alternative-wrapper .form-group input[type="email"],
.tea-alternative-wrapper .form-group input[type="tel"],
.tea-alternative-wrapper .form-group textarea {
    /* Override existing styles */
    padding: 10px 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    border-bottom: 1px solid #ccc; 
    font-size: 14px; 
    font-weight: 300;
}

/* Ensure focus highlights the line */
.tea-alternative-wrapper .form-group input:focus,
.tea-alternative-wrapper .form-group textarea:focus {
    border-bottom-color: #e54c1f;
}


.tea-alternative-wrapper .form-group textarea {
    min-height: 100px;
}

/* Center the Captcha */
.tea-alternative-wrapper .captcha-group {
    /* display: flex; */
    justify-content: center;
    max-width: 100%;
}

.minimalist-submit-style {
    width: 100% !important; 
    border-radius: 0; 
}


.minimalist-submit-style.disabled-style,
.minimalist-submit-style:disabled {
    color: #fff !important; 
    opacity: 1;
}

/* Explicitly override the hover effect for the disabled button */
.custom-submit-button.minimalist-submit-style.disabled-style:hover,
.custom-submit-button.minimalist-submit-style:disabled:hover {
    background-color: #a7a7a7 !important; 
    color: #fff !important; 
    cursor: not-allowed !important; /* Ensure the cursor doesn't change */
}


.minimalist-submit-style:not(:disabled) {
    background-color: #e54c1f; 
    opacity: 1; 
}
.minimalist-submit-style:not(:disabled):hover {
    background-color: #e54c1f; 
}


/* ==================================================
   Corporate Gifting Inquiry Form Styles
   ================================================== */

.gift-form-page-container {
    max-width: 700px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
}

.form-main-title {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #000;
    font-style: italic;
    font-family: math;
    text-transform: capitalize;
}

.form-tagline {
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.5;
}

/* Section Titles */
.form-section-title {
    font-size: 20px;
    font-weight: 500;
    margin: 30px 0 15px;
    border-bottom: 2px solid #e54c1f;
    padding-bottom: 5px;
}

/* General Form Group */
.gift-form-page-container .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

/* Labels */
.gift-form-page-container label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #444;
}

/* Inputs & Textareas */
.gift-form-page-container input[type="text"],
.gift-form-page-container input[type="email"],
.gift-form-page-container input[type="tel"],
.gift-form-page-container select,
.gift-form-page-container textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.gift-form-page-container input:focus,
.gift-form-page-container select:focus,
.gift-form-page-container textarea:focus {
    border-color: #e54c1f;
    box-shadow: 0 0 5px rgba(229, 76, 31, 0.3);
}

/* Textarea height */
.gift-form-page-container textarea {
    min-height: 100px;
    resize: vertical;
}

/* Checkbox group */
.checkbox-group {
    display: flex;
    flex-direction: column;
}

.checkbox-item {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-item input {
    margin-right: 10px;
}

/* CAPTCHA container */
.gift-form-page-container .captcha-group {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

/* Submit Button */
.gift-form-page-container .custom-submit-button {
    width: 100%;
    padding: 13px;
    font-size: 17px;
    background-color: #e54c1f;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.gift-form-page-container .custom-submit-button:hover:not(:disabled) {
    background-color: #cc4c27;
}

.gift-form-page-container .custom-submit-button:disabled {
    background-color: #a7a7a7;
    cursor: not-allowed;
    display: inline-flex;    
    align-items: center;       
    gap: 6px; 
}
.gift-form-page-container .custom-submit-button:disabled:hover {
    background-color: #a7a7a7 !important;
    cursor: not-allowed !important;
}

/* Loader inside button */
.gift-form-page-container .loader {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;                   
  margin-left: 0px; 
  margin-bottom: 4px;
     
}
.gift-form-page-container.loading .loader {
  display: inline-block;
}

/* Loader Animation */
@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .gift-form-page-container {
        padding: 0 15px;
    }

    .form-main-title {
        font-size: 24px;
    }

    .form-section-title {
        font-size: 18px;
    }
}

/* Container styling, assuming the outer form-group is already styled */
.file-upload-group {
    margin-top: 25px;
    margin-bottom: 25px;
}

/* Style for the main label ("File Upload") */
.file-upload-group label {
    display: block;
    font-size: 14px; 
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

/* Style for the instruction text (Attachment details) */
.file-upload-group .file-instruction {
    font-size: 13px;
    color: #555;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Style for the actual file input element */
.file-upload-group input[type="file"] {
    width: 100%; 
    max-width: 300px; 
    padding: 10px 0;
    border: none; 
    background: none; 
    font-size: 14px;
    box-sizing: border-box; 
}


.file-upload-group input[type="file"]::-webkit-file-upload-button {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f7f7f7;
    cursor: pointer;
    font-size: 14px;
}
.file-upload-group input[type="file"]::file-selector-button {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f7f7f7;
    cursor: pointer;
    font-size: 14px;
}

.file-upload-group .file-note {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    margin-bottom: 0;
}
.gift-form-page-container input::placeholder,
.gift-form-page-container textarea::placeholder {
    color: #888888; 
    opacity: 1;      
}

/* for older browsers */
.gift-form-page-container input:-ms-input-placeholder,
.gift-form-page-container textarea:-ms-input-placeholder {
    color: #888888;
}

.gift-form-page-container input::-ms-input-placeholder,
.gift-form-page-container textarea::-ms-input-placeholder {
    color: #888888;
}
/* Bold labels inside the gift form */
.gift-form-page-container label {
    font-weight: bold;
    color: #000000; 
}

.gift-form-page-container .checkbox-instruction {
    font-weight: bold;
    color: #000000;
    font-size: 14px;
}
.gift-form-page-container {
    margin-top: -60px;  
  
}


/* BREWING INSTRUCTIONS PRINT BUTTON */

.print-btn-container {
    text-align: right;
}

.print-btn {
    padding: 7px 10px;
    background: #212529;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.print-btn:hover {
    background: #000;
}


/* --- BUILD YOUR BOX --- */
    .bnb-build-box {
        max-width: 1250px;
        margin: 0 auto;
        padding: 30px 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
        color: #333;
    }

    
    .bnb-hero {
        text-align: center;
        padding: 20px;
        border-radius: 12px;
    }

    .bnb-hero h1 {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    .bnb-hero p {
        font-size: 1.2rem;
        color: #555;
    }

    /* Step Layout */
    .bnb-step {
        margin-bottom: 25px;
        font-size: medium;
    }

    .bnb-step h2 {
        font-size: 20px;
        margin-bottom: 10px;
        font-weight: bold;

    }

    .bnb-step p {
        margin-bottom: 10px;
    }

    .bnb-dropdown {
        padding: 5px;
        width: 65% !important;
    }

    /* Price summary */
    .bnb-summary {

        display: flex;
        flex-direction: column;
        align-items: center;
        position: sticky;
        top: 20px;
        padding: 20px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 10px;
        height: fit-content;
        border: 1px solid;
    }

    .bnb-summary h5 {
        text-align: center;
        text-decoration: underline;
    }


    .bnb-summary .add-to-cart {
        display: block;
        width: 100%;
        padding: 12px 0;
        border: none;
        border-radius: 8px;
        background-color: #bf8a28;
        /* Teal button */
        color: #fff;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .personalize-field textarea,
    .personalize-field input[type="file"] {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 0.95rem;
        margin-top: 5px;

    }

    .personalize-field {
        width: 60%;
    }

    .tea-dropdown {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .tea-toggle {
        width:  65% !important;
        padding: 5px;
        /* add right padding for arrow */
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 8px;
        cursor: pointer;
        text-align: left;
        position: relative;
    }

    /* caret (▼) */
    .tea-toggle::after {
        content: "▼";
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        color: #666;
        transition: transform 0.2s ease;
    }

    /* rotate caret when active */
    .tea-dropdown.active .tea-toggle::after {
        transform: translateY(-50%) rotate(180deg);
    }


    .tea-options {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 250px;
        overflow-y: auto;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 10px;
        z-index: 100;
    }

    .tea-options .tea-category {
        margin-bottom: 12px;
    }

    .tea-options h4 {
        margin: 5px 0;
        font-size: 14px;
        font-weight: bold;
        color: #444;
    }

    .tea-options label {
        display: block;
        font-size: 14px;
        margin: 4px 0;
        cursor: pointer;
        font-weight: 400 !important;
    }

    .tea-options input[type="checkbox"] {
        margin-right: 8px;
    }

    .tea-dropdown.active .tea-options {
        display: block;
    }

    .selected-teas {
        margin-top: 10px;
        padding: 10px;
        display: none;
        width: fit-content;
        margin-left: 15px;
    }

    .selected-teas ul {
        margin: 0;
        padding: 0;
    
    }

    .selected-teas li {
        padding: 4px 0;
        font-size: 14px;
        color: #333;
    }

    #box-size {
        width: 65% !important;
        padding: 5px;
        border-radius: 5px;
       
    }

    .bnb-notice {
      background: #ffe6e499;
      border: 1px solid #F44336;
      color: #5c3b00;
      padding: 12px 15px;
      margin: 10px 0;
      font-size: 14px;
      font-weight: 500;
      display: none;
      width: 42%;
   
    }
    .bnb-notice.show {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .box-dropdown {
      position: relative;
      display: inline-block;
      width: 100%;
    }
    
    .box-toggle {
      width: 65% !important;
      padding: 5px;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 8px;
      cursor: pointer;
      text-align: left;
      position: relative;
    }
    
    .box-toggle::after {
      content: "▼";
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      color: #666;
      transition: transform 0.2s ease;
    }
    
    .box-dropdown.active .box-toggle::after {
      transform: translateY(-50%) rotate(180deg);
    }
    
    .box-options {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 10px;
      z-index: 100;
    }
    
    .box-option {
      font-size: 14px;
      margin: 6px 0;
      padding: 6px;
      cursor: pointer;
      border-radius: 6px;
    }
    
    .box-option:hover {
      background: #f0f0f0;
    }
    
    .box-dropdown.active .box-options {
      display: block;
    }

    /*step3*/
    .artisan-dropdown {
      position: relative;
      display: inline-block;
      width: 100%;
    }
    
    .artisan-toggle {
      width: 65% !important;
      padding: 5px;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 8px;
      cursor: pointer;
      text-align: left;
      position: relative;
    }
    
    .artisan-toggle::after {
      content: "▼";
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      color: #666;
      transition: transform 0.2s ease;
    }
    
    .artisan-dropdown.active .artisan-toggle::after {
      transform: translateY(-50%) rotate(180deg);
    }
    
    .artisan-options {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      max-height: 250px;
      overflow-y: auto;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 10px;
      z-index: 100;
    }
    
    .artisan-options .artisan-category {
      margin-bottom: 12px;
    }
    
    .artisan-options h4 {
      margin: 5px 0;
      font-size: 14px;
      font-weight: bold;
      color: #444;
    }
    
    .artisan-options label {
      display: block;
      font-size: 14px;
      margin: 4px 0;
      cursor: pointer;
      font-weight: 400 !important;
    }
    
    .artisan-options input[type="checkbox"] {
      margin-right: 8px;
    }
    
    .artisan-dropdown.active .artisan-options {
      display: block;
    }
    
   .bnb-build-box input[type="radio"] {
      vertical-align: middle; /* aligns circle with text */
      margin-right: 6px;      /* spacing between radio and label text */
    }
  
    div.bnb-hero > h1{

      margin-top: 0px;
    }

    .packaging-label , .final-touches-label{
      margin-bottom: -10px;
      font-weight: 400 !important;
    }

    #summary-list{
      line-height: 2;
    }

  .personalize-step{
    font-weight: 400 !important;
  }


 div.selected-items > ul
 {
  line-height: 2;
  padding-top: 2px;
 }


 .steps-wrapper{
  display:grid; 
  grid-template-columns: 2fr 1fr;
   gap:30px;
 }

@media (max-width: 750px) {

  .bnb-dropdown ,  .tea-toggle , #box-size , .box-toggle , .artisan-toggle ,  .bnb-notice{
    width: 90% !important;
  }

  .steps-wrapper{
    display:flex;
    flex-direction: column; 
   }

}

@media (max-width: 550px) {

  .bnb-dropdown ,  .tea-toggle , #box-size , .box-toggle , .artisan-toggle ,  .bnb-notice{
    width: 100% !important
  }
}



/* 🔧 Force override for all buttons inside your Build Your Box page */
.page-template-build-your-box .button,
.page-template-build-your-box .button.alt,
.page-template-build-your-box button,
.page-template-build-your-box input[type="submit"],
.page-template-build-your-box .single_add_to_cart_button {
  background-color: #fff !important;  /* your custom color */
  color: #000 !important;
  font-weight: bold;
  transition: background 0.3s ease;
  border-radius: 10px !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  text-transform: none !important;
}

.page-template-build-your-box h2,
.page-template-build-your-box h5,
.page-template-build-your-box h4{
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
 text-transform: none !important;
}


.page-template-build-your-box .artisan-dropdown > button,
.page-template-build-your-box .tea-dropdown > button,
.page-template-build-your-box .box-dropdown > button {
  padding: 10px !important;
}

.page-template-build-your-box #bnb-add-to-cart-btn {
  background-color: black !important;  
  color: #fff !important;
  border-radius: 0px !important;
}

.page-template-build-your-box ,.bnb-summary h5{
  margin-top: 8px !important;
}

/* --- BUILD YOUR BOX --- */


/* ---  GIFT POPUP --- */
#gift-popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(20, 20, 20, 0.55);
            z-index: 9998;
            backdrop-filter: blur(2px);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        #gift-popup-overlay.visible {
            opacity: 1;
        }

        #gift-help-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.95);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
            font-size: 18px;
            color: #333;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            z-index: 9999;
            width: 90%;
            max-width: 600px;
            min-height: 200px;
            border-radius: 10px;
            padding: 2rem;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        #gift-help-popup.visible {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        #gift-help-popup .popup-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 20px;
            font-weight: bold;
            color: #444;
            cursor: pointer;
        }

        #gift-help-popup a {
            color: rgb(199, 77, 77);
            text-decoration: underline;
            font-weight: 500;
            margin: 0 3px;
        }

        #gift-help-popup>p {
            margin-bottom: 5px;
            font-weight: 700;
            font-size: 20px !important;
        }

        @media (max-width: 480px) {
            #gift-help-popup {
                padding: 1rem;
                font-size: 16px;
                min-height: 180px;
               
            }

            #gift-help-popup>p {
                font-size: 18px !important;
            }

            #gift-help-popup .popup-close {
                font-size: 18px;
                top: 8px;
                right: 10px;
            }
        }


@media (max-width: 1115px) and (min-width: 751px) {
  .box-toggle{
    overflow-x: scroll !important;
  }
}


/* ---  END OF GIFT POPUP --- */


/* ---  QUIZ STYLES --- */

:root {
    --primary-color: #3498db; 
    --primary-dark: #2980b9;
    --light-bg: #fcfcfc;
    --border-default: #e0e0e0;
}

.qsm-quiz-container input[type="radio"] {
    display: none;
}


.qsm-quiz-container input[type="radio"] + label {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    position: relative;
    margin-bottom: 16px; 
    cursor: pointer;
    font-size: 1rem;
    color: #444;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
   
}
.qsm-quiz-container input[type="radio"] + label:before {
    content: "";
    position: absolute;
    right: 15px; 
    top: 2px;
    transform: none;
    width: 22px; 
    height: 22px;
    border: 2px solid #aaa;
    border-radius: 50%;
    background: #fff;
    z-index: 10;
    transition: all 0.3s ease;
}


.qsm-input-label img.qsm-multiple-choice-horizontal-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 10px;
    object-fit: cover; 
    max-height: 250px;
    min-height: 50px; 
}

.qsm-input-label .qsm_image_caption {
    display: block;
    width: 100%;
    min-height: 1.2rem;
    margin-top: 10px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.qsm-quiz-container input[type="radio"] + label:hover {
    transform: translateY(-3px);
}

.qsm-quiz-container input[type="radio"]:checked + label {
    color: var(--primary-dark);
    font-weight: 600;
}

.qsm-quiz-container input[type="radio"]:checked + label:before {
    border-color: var(--primary-dark);
    background-color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.3); 
    content: "\2713"; 
    color: white;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

@media (max-width: 600px) {
    .qsm-quiz-container input[type="radio"] + label {
        padding: 10px; 
    }
    .qsm-quiz-container input[type="radio"] + label:before {
        left: 14px;
        top: 15px;
    }
}


.qmn_radio_answers
{
  display: flex;
}

@media (max-width: 520px) {
  .qmn_radio_answers
  {
    flex-direction: column;
    align-items: center;
  }

  .quiz_section .qmn_image_option
  {
    height: 200px !important;
  }
}

/* --- END OF QUIZ  STYLES --- */

/* --- Account widget Addon --- */
.easyeat-account-widget:hover .account-dropdown {
  display: block !important;
}

.easyeat-account-widget .account-dropdown ul li a:hover {
  background: #f5f5f5 !important;
  color: #111 !important;
}

.easyeat-account-widget .account-dropdown ul li a {
  color: #111 !important;
}
/* --- Account widget Addon --- */



/* ===== Order Tracking Form ===== */

body .elementor-shortcode .woocommerce-form-track-order {
    max-width: 550px;       
    margin: 0 auto;           
    padding: 20px;       
    font-family: Arial, sans-serif;
}

/* Scoped to only the WooCommerce Order Tracking form */
.woocommerce form.woocommerce-form-track-order {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.woocommerce .order-info,
.woocommerce .woocommerce-order-details {
    max-width: 700px;       
    margin: 0 auto;         
    background: none;       
    padding: 20px;         
    text-align: left;        
    border: none;
}

/* Paragraph text instructions */
.elementor-shortcode .woocommerce-form-track-order p:first-of-type {
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

/* Stack Order ID and Billing Email */
.elementor-shortcode .woocommerce-form-track-order p.form-row-first,
.elementor-shortcode .woocommerce-form-track-order p.form-row-last {
    width: 100%;   
    float: none;     
    display: block;
    margin-bottom: 20px !important;
}

/* Labels */
.elementor-shortcode .woocommerce-form-track-order label {
    display: block;
    font-weight: bold !important;
    margin-bottom: 6px;
    font-size: 14px !important;
    color: #333;
}

/* Inputs */
.elementor-shortcode .woocommerce-form-track-order input.input-text {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.elementor-shortcode .woocommerce-form-track-order input.input-text:focus {
    border-color: #000;
    outline: none;
}

/* Track Button */
.elementor-shortcode .woocommerce-form-track-order button.button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 auto;    
    display: block;
    width: 100%;
}

.elementor-shortcode .woocommerce-form-track-order button.button:hover {
    background-color: #222;
}

.elementor-shortcode .woocommerce-form-track-order .clear {
    clear: both;
}


/* ORDER INFO IN TABLE */

.shop_table_order_details {
    background: transparent !important;
    padding: 0px !important;
}

.woocommerce-customer-details .woocommerce-column__title, .woocommerce-order-details .woocommerce-order-details__title  {
    font-size: 20px !important;
    padding-bottom: 0px;
    padding-top: 10px;
}

.gift-footer-text {
    text-align: left;
    margin-top: 12px;
}

.gift-footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: black;
    margin: 0;
}

.gift-footer-subtext {
    font-size: 13px;
    font-style: italic; 
    color: #333;
    margin: 2px 0 0;
}


/* corporate gifting  */


/* Corporate Gifting Styles */
.corporate-gift-box {
  max-width: 700px;
  padding: 30px;
  text-align: center;
}

.cg-title {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 25px;
}

.cg-product-image img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
}

.cg-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  color: #333;
  font-size: 16px;
}

.cg-select {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: all 0.2s ease;
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #333 50%),
    linear-gradient(135deg, #333 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1.1em + 2px),
    calc(100% - 13px) calc(1.1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.cg-select:focus {
  border-color: #000;
  outline: none;
}


.cg-tier-container {
  margin-top: 25px;
}

.tier-box {
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  background: #fff;
}

.tier-box.selected {
  border-color: #000;
}

.tier-content h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #111;
  text-align: center;
  font-weight: 700;
}

.tier-content p {
  margin: 5px 0;
  color: #555;
}

.price-line {
  font-weight: 600;
  color: #000;
  margin: 10px 0;
}

.cg-add-btn {
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.2s ease;
}

.cg-add-btn:hover:not(:disabled) {
  background: #000;
  transform: translateY(-1px);
}

.cg-add-btn:disabled {
  cursor: not-allowed;
}

.loader {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #ffffff;
  border-radius: 50%;
  margin-right: 10px;
  animation: spin 1s linear infinite; /* slower spin */
  vertical-align: middle;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


@media (max-width: 540px) {
  .corporate-gift-box {
  
    padding-top: 0px;
  }
}

@media (min-width:540px) and (max-width: 768px) {
  .corporate-gift-box {
    padding: 20px;
    margin: 0px auto 30px auto;
    width: 80%;
  }

  .cg-title {
    font-size: 22px;
  }
 .cg-product-image img {
    max-height: 260px;
    object-fit: cover;
    border-radius: 10px;
  } 

  .cg-select {
    font-size: 14px;
    padding: 10px 12px;
  }

  .tier-box {
    padding: 15px;
  }

  .tier-content h4 {
    font-size: 16px;
  }

  .cg-add-btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }

  .loader {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .cg-title {
    font-size: 20px;
  }

  .cg-select {
    font-size: 13px;
    padding: 8px 12px;
  }

  .tier-content h4 {
    font-size: 15px;
  }

  .cg-product-image img {
    max-height: 200px;
  }

  .cg-add-btn {
    font-size: 14px;
  }
}

/* Main image container */
.corp-gallery-main {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
}

#corp-main-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

.corp-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
  z-index: 10;
}



.corp-nav-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}


.corp-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

#prev-btn {
  left: 10px;
}

#next-btn {
  right: 10px;
}


@media (max-width: 600px) {
  .corp-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
    opacity: 1;
  }
}


.corp-gallery-main img {
  transition: opacity 0.4s ease;
  opacity: 1;
}

.corp-gallery-main img.fade-out {
  opacity: 0;
}

.corp-gallery-thumbs img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.corp-gallery-thumbs img.fade-out {
  opacity: 0;
  transform: scale(0.95);
}
/* two column layout */
    .corporate-wrapper {
        max-width: 1100px;
        margin: 40px auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .corp-gallery {
        padding: 30px;
    }

    @media (max-width: 768px) {
        .corporate-wrapper {
            grid-template-columns: 1fr;
            gap: 10px;
        }
    }

    /*left column */
    .corp-gallery-main img {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .corp-gallery-thumbs {
        display: flex;
        gap: 10px;
    }

    .corp-gallery-thumbs img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 8px;
        cursor: pointer;
        border: 2px solid transparent;
    }

    .corp-gallery-thumbs img.active {
        border-color: #000;
    }



    
.cg-dropdown {
  position: relative;
  user-select: none;
  width: 100%;
  max-width: 560px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: white;
  box-shadow: 0 2px 8px rgba(120,90,80,.07);
  border: 1px solid #ebe6ee;
}

/* Caret added here */
.cg-dropdown-selected {
  padding: 14px 46px 14px 18px; /* increased right padding for caret */
  cursor: pointer;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 17px;
  color: #462d66;
  font-weight: 500;
  transition: box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(80,50,90,.05);
  position: relative;
}

/* Caret icon */
.cg-dropdown-selected::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid black;
  transition: transform .25s ease;
  pointer-events: none;
}
.cg-dropdown.open .cg-dropdown-selected::after {
  transform: translateY(-50%) rotate(180deg);
}


.cg-dropdown-selected:hover, .cg-dropdown-selected:focus {
  box-shadow: 0 3px 12px rgba(80, 30, 80, 0.11);
}

.cg-dropdown-list {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  margin-top: 5px;
  background: #fff;
  border: 1px solid #f1e9ee;
  border-radius: 11px;
  box-shadow: 0 6px 22px rgba(105, 80, 140, 0.15);
  z-index: 15;
  max-height: 220px;
  overflow-y: auto;
  padding: 0;
  transition: opacity 0.18s;
}

.cg-dropdown-list li {
  padding: 13px 19px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  font-size: 16px;
  color: #533a54;
  border-bottom: 1px solid #f5e7ed;
  list-style: none;
}
.cg-dropdown-list li:last-child {
  border-bottom: none;
}
.cg-dropdown-list li:hover, .cg-dropdown-list li.selected, .cg-dropdown-list li:focus {
  background: #f0f0f0;
  color: #33304d;
  outline: none;
}

.cg-dropdown-list li[aria-selected="true"] {
  background: #decff8;
  color: #3b2857;
}

/* Accessibility */
.cg-dropdown-list li:focus {
  box-shadow: 0 0 0 2px #b79ed9;
}

@media (max-width: 480px) {
  .cg-dropdown,
  .cg-dropdown-selected {
    max-width: 100%;
    font-size: 15px;
  }
  .cg-dropdown-list li {
    font-size: 15px;
  }
}
/* End of Corporate Gifting Styles */






/* FOOTER NEWSLETTER SUBSCRIPTION */

/* Make the form content inline (Email + Button) */
.wpforms-form.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: center;
  gap: 12px; 
}

/* Responsive: stack on smaller screens */
@media (min-width: 768px) and (max-width: 1276px) {
  .wpforms-form.footer-newsletter-form {
      flex-wrap: wrap; /* allow stacking */
      justify-content: flex-start;
      gap: 0px;
  }
}

/* Adjust email input width */
.wpforms-form.footer-newsletter-form .wpforms-field.wpforms-field-email {
  flex: 1;
  min-width: 250px;
}

/* Make sure input takes full available space */
.wpforms-form.footer-newsletter-form .wpforms-field.wpforms-field-email input {
  width: 100%;
  height: 45px;
  padding: 10px;
  box-sizing: border-box;
}

/* Align the submit button */
.wpforms-form.footer-newsletter-form .wpforms-submit-container {
  margin-top: 0 !important;
  display: flex;
  align-items: center;
}

/* Style the submit button */
.wpforms-form.footer-newsletter-form button.wpforms-submit {
  height: 45px !important;
  line-height: 45px !important;
  padding: 0 30px !important;
  font-weight: 600;
  cursor: pointer;
  border: none;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Fix button jump when text changes */
.wpforms-form.footer-newsletter-form button.wpforms-submit[data-alt-text] {
  min-width: 120px; 
}

/* Optional: center the entire form container */
.wpforms-container {
  display: flex;
}

.footer-newsletter-form .wpforms-confirmation-container-full {
    margin: 0 !important;
    background-color: black !important;
    border: black !important;
}

.wpforms-confirmation-container-full.wpforms-confirmation-scroll p {
    color: white !important;
}

/*Home page popup styles*/
        :root {
            --tea-dark: #2c3e2d;
            --tea-sage: #be801b;
            --tea-gold: #c5a36b;
            --tea-light: #f9fbf9;
        }

        .tg-overlay {
            position: fixed;
            inset: 0;
            background: rgba(44, 62, 45, 0.5);
            backdrop-filter: blur(4px);
            z-index: 999999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .tg-card {
            position: relative;
            background: #fff;
            width: 100%;
            max-width: 850px;
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            overflow: hidden;
            border-radius: 4px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
        }

        .tg-visual {
            background-size: cover;
            background-position: center;
            min-height: 300px;
        }

        .tg-content {
            background: var(--tea-light);
            padding: 60px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        #tg-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: transparent;
            border: none;
            font-size: 28px;
            color: var(--tea-dark);
            cursor: pointer;
            z-index: 20;
            line-height: 1;
        }

        .tg-tagline {
            display: block;
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 11px;
            color: var(--tea-sage);
            margin-bottom: 10px;
            font-family: sans-serif;
            font-weight: 800;
        }

        .tg-title {
            font-size: 36px;
            line-height: 1.1;
            color: var(--tea-dark);
            margin: 0 0 20px 0;
            font-family: "Playfair Display", "Georgia", serif;
        }

        .tg-subtitle {
            font-size: 18px;
            color: #555;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .tg-highlight {
            color: var(--tea-sage);
            font-weight: bold;
            border-bottom: 2px solid var(--tea-sage);
        }

        .tg-form-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        #tg-email {
            width: 100%;
            padding: 16px;
            border: 1px solid #d1d9d4;
            background: white;
            font-size: 16px;
            outline: none;
            transition: border 0.3s;
        }

        #tg-email:focus {
            border-color: var(--tea-sage);
        }

        #tg-btn {
            position: relative;
            background: var(--tea-dark);
            color: #fff;
            border: none;
            padding: 16px;
            font-size: 14px;
            font-weight: bold;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s ease;
            overflow: hidden;

        }


        #tg-btn:hover {

            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(122, 155, 140, 0.3);
        }

        #tg-dismiss {
            background: none;
            border: none;
            margin: 20px auto 0;
            font-size: 13px;
            color: #999;
            text-decoration: underline;
            cursor: pointer;
            display: block;

        }


        .tg-footer {
            font-size: 12px !important;
            color: #bbb;
            margin-top: 32px;
            text-align: center;
            letter-spacing: 0.5px;
            line-height: 1.4;
        }


        /* Mobile Responsiveness */

        @media (max-width: 768px) {
            .tg-overlay {
                padding: 15px;

            }

            .tg-card {
                grid-template-columns: 1fr;

                max-height: 90vh;
                overflow-y: auto;
                border-radius: 12px;

            }

            .tg-visual {
                display: block;

                height: 180px;

                min-height: auto;
            }

            .tg-content {
                padding: 30px 20px;

                text-align: center;
            }

            .tg-title {
                font-size: 28px;

                margin-bottom: 15px;
            }

            .tg-subtitle {
                font-size: 16px;
                margin-bottom: 25px;
            }

            .tg-form-group {
                gap: 10px;
            }

            #tg-email {
                padding: 14px;
                text-align: center;

            }

            #tg-btn {
                padding: 14px;
                width: 100%;
            }

            .tg-inner {
                max-width: 100%;
            }

            #tg-close {
                background: rgba(255, 255, 255, 0.8);
                border-radius: 50%;
                width: 35px;
                height: 35px;
                top: 10px;
                right: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            }
        }


        #tg-btn.loading .btn-text {
            visibility: hidden;

        }

        #tg-btn.loading::after {
            content: "";
            width: 22px;
            height: 22px;
            border: 2px solid rgba(255, 255, 255, 0.4);
            border-top-color: #fff;
            border-radius: 50%;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            animation: tg-spin 0.6s linear infinite;
        }

        #tg-email.tg-disabled {
            background: #f1f1f1;
            cursor: not-allowed;
            opacity: 0.7;
        }



        @keyframes tg-spin {
            from {

                transform: translate(-50%, -50%) rotate(0deg);
            }

            to {

                transform: translate(-50%, -50%) rotate(360deg);
            }
        }

/* --- END OF HOME PAGE POPUP STYLES --- */
 
/*-- WECOME POP UP STYLES ---*/
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 0%);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    z-index: 9998;
    display: none;
}

#custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    background: #ffffff;
    width: 380px;
    max-width: 92%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); 
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.popup-image-wrap {
    width: 100%;
    height: 240px;
}

.popup-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.popup-info {
    padding: 35px 30px;
}

.popup-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    color: #000;
}

.popup-code-display {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #444;
    margin-bottom: 8px;
}

.popup-tagline {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}


.popup-action-button {
    width: 75%;
    background: #000;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.popup-action-button:hover {
    opacity: 0.8;
}


.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    line-height: 1;
    color: #000;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
}

.popup-close:hover {
    opacity: 1;
}


#custom-popup.show {
    display: block;
    animation: popupFadeIn 0.4s ease-out forwards;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}


/*--- MOBILE RESPONSIVE STYLES ---*/
@media only screen and (max-width: 480px) {
    #custom-popup {
        width: 85%; 
        max-width: 340px;
    }

    .popup-image-wrap {
        height: 180px; 

    .popup-info {
        padding: 25px 20px; 
    }

    .popup-title {
        font-size: 18px; 
        letter-spacing: 1px;
    }

    .popup-action-button {
        width: 100%;
        padding: 14px;
    }
    
    .popup-close {
        top: 10px;
        right: 12px;
        font-size: 28px;
    }
}}

/*--- END OF WELCOME POP UP STYLES ---*/