.elementor-161 .elementor-element.elementor-element-3f89bf65 > .elementor-container{min-height:100px;}.elementor-161 .elementor-element.elementor-element-3f89bf65{margin-top:0px;margin-bottom:0px;}.elementor-bc-flex-widget .elementor-161 .elementor-element.elementor-element-1667ea59.elementor-column .elementor-widget-wrap{align-items:center;}.elementor-161 .elementor-element.elementor-element-1667ea59.elementor-column.elementor-element[data-element_type="column"] > .elementor-widget-wrap.elementor-element-populated{align-content:center;align-items:center;}.elementor-161 .elementor-element.elementor-element-57d5ed7d{width:100%;max-width:100%;}.elementor-161 .elementor-element.elementor-element-57d5ed7d > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-161 .elementor-element.elementor-element-57d5ed7d.elementor-element{--order:-99999 /* order start hack */;}body.elementor-page-161:not(.elementor-motion-effects-element-type-background), body.elementor-page-161 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#C3C3C3;}@media(max-width:1024px){.elementor-161 .elementor-element.elementor-element-3f89bf65{padding:0px 20px 0px 20px;}}@media(max-width:767px){.elementor-161 .elementor-element.elementor-element-1667ea59{width:100%;}.elementor-161 .elementor-element.elementor-element-1667ea59 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;}.elementor-161 .elementor-element.elementor-element-57d5ed7d > .elementor-widget-container{margin:-63px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-57d5ed7d *//* COMPLETE CART POPUP PROTECTION - Forces identical styling on all pages */

/* Reset and protect modal container */
#cart-popup-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

#cart-popup-modal.hidden {
    display: none !important;
}

/* Modal content box */
#cart-popup-modal > div {
    background-color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    width: 100% !important;
    max-width: 500px !important;
    max-height: 95vh !important;
    overflow-y: auto !important;
    margin: 0 !important;
    position: relative !important;
}

@media (min-width: 640px) {
    #cart-popup-modal {
        padding: 16px !important;
    }
    #cart-popup-modal > div {
        max-width: 600px !important;
        max-height: 90vh !important;
    }
}

@media (min-width: 1024px) {
    #cart-popup-modal > div {
        max-width: 800px !important;
    }
}

/* Modal header */
#cart-popup-modal .flex.items-center.justify-between {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px !important;
    border-bottom: 1px solid #e5e7eb !important;
    margin: 0 !important;
}

@media (min-width: 640px) {
    #cart-popup-modal .flex.items-center.justify-between {
        padding: 24px !important;
    }
}

/* Modal title */
#cart-popup-modal h2 {
    color: #1f2937 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 640px) {
    #cart-popup-modal h2 {
        font-size: 20px !important;
    }
}

@media (min-width: 768px) {
    #cart-popup-modal h2 {
        font-size: 24px !important;
    }
}

/* Close button */
#close-cart-popup {
    color: #6b7280 !important;
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 4px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 640px) {
    #close-cart-popup {
        font-size: 24px !important;
    }
}

#close-cart-popup:hover {
    color: #374151 !important;
}

/* Modal body */
#cart-popup-modal .p-4,
#cart-popup-modal .sm\:p-6 {
    padding: 16px !important;
}

@media (min-width: 640px) {
    #cart-popup-modal .p-4,
    #cart-popup-modal .sm\:p-6 {
        padding: 24px !important;
    }
}

/* Success/Error messages */
.success-message {
    background: #10b981 !important;
    color: white !important;
    padding: 12px !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    display: none !important;
    font-size: 14px !important;
}

.error-message {
    background: #ef4444 !important;
    color: white !important;
    padding: 12px !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    display: none !important;
    font-size: 14px !important;
}

/* Empty cart message */
#cart-popup-empty {
    text-align: center !important;
    padding: 32px 0 !important;
}

#cart-popup-empty i {
    font-size: 48px !important;
    color: #d1d5db !important;
    margin-bottom: 16px !important;
}

#cart-popup-empty p {
    color: #6b7280 !important;
    font-size: 18px !important;
    margin: 0 !important;
}

/* Table container */
#cart-popup-table-wrapper {
    overflow-x: auto !important;
    margin-bottom: 24px !important;
}

@media (min-width: 640px) {
    #cart-popup-table-wrapper {
        margin-bottom: 32px !important;
    }
}

/* Table styling */
#cart-popup-modal table {
    width: 100% !important;
    min-width: 300px !important;
    border-collapse: collapse !important;
    font-size: 14px !important;
}

@media (min-width: 640px) {
    #cart-popup-modal table {
        font-size: 16px !important;
    }
}

#cart-popup-modal th {
    color: #374151 !important;
    font-weight: 600 !important;
    padding: 8px 4px !important;
    border-bottom: 1px solid #e5e7eb !important;
    text-align: left !important;
    font-size: 14px !important;
}

@media (min-width: 640px) {
    #cart-popup-modal th {
        padding: 12px 8px !important;
        font-size: 16px !important;
    }
}

#cart-popup-modal th:nth-child(2),
#cart-popup-modal th:nth-child(3) {
    text-align: center !important;
}

#cart-popup-modal td {
    padding: 12px 4px !important;
    border-bottom: 1px solid #e5e7eb !important;
    vertical-align: middle !important;
}

@media (min-width: 640px) {
    #cart-popup-modal td {
        padding: 16px 8px !important;
    }
}

#cart-popup-modal td:nth-child(2),
#cart-popup-modal td:nth-child(3) {
    text-align: center !important;
}

/* Product name styling */
#cart-popup-modal td .font-medium {
    font-weight: 500 !important;
    color: #1f2937 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

@media (min-width: 640px) {
    #cart-popup-modal td .font-medium {
        font-size: 16px !important;
    }
}

/* Quantity controls */
#cart-popup-modal .flex.items-center.justify-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

@media (min-width: 640px) {
    #cart-popup-modal .flex.items-center.justify-center {
        gap: 8px !important;
    }
}

#cart-popup-modal .w-6,
#cart-popup-modal .sm\:w-8 {
    width: 24px !important;
    height: 24px !important;
    background-color: #e5e7eb !important;
    border-radius: 50% !important;
    border: none !important;
    color: #374151 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 12px !important;
}

@media (min-width: 640px) {
    #cart-popup-modal .w-6,
    #cart-popup-modal .sm\:w-8 {
        width: 32px !important;
        height: 32px !important;
    }
}

#cart-popup-modal .w-6:hover,
#cart-popup-modal .sm\:w-8:hover {
    background-color: #d1d5db !important;
}

#cart-popup-modal .w-6.sm\:w-8 + span {
    width: 24px !important;
    text-align: center !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #1f2937 !important;
}

@media (min-width: 640px) {
    #cart-popup-modal .w-6.sm\:w-8 + span {
        width: 32px !important;
        font-size: 16px !important;
    }
}

/* Delete button */
#cart-popup-modal .text-red-500 {
    color: #ef4444 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
}

#cart-popup-modal .text-red-500:hover {
    color: #dc2626 !important;
}

/* Form styling */
#cart-popup-form {
    margin-top: 24px !important;
}

@media (min-width: 640px) {
    #cart-popup-form {
        margin-top: 32px !important;
    }
}

#cart-popup-form .grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

@media (min-width: 640px) {
    #cart-popup-form .grid.sm\:grid-cols-2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        margin-bottom: 16px !important;
    }
}

#cart-popup-form label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 4px !important;
}

#cart-popup-form input,
#cart-popup-form textarea {
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background-color: white !important;
    color: #1f2937 !important;
    box-sizing: border-box !important;
}

@media (min-width: 640px) {
    #cart-popup-form input,
    #cart-popup-form textarea {
        font-size: 16px !important;
    }
}

#cart-popup-form input:focus,
#cart-popup-form textarea:focus {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: 0 0 0 2px #f26522 !important;
}

#cart-popup-form textarea {
    resize: vertical !important;
    min-height: 80px !important;
}

/* Submit button */
#cart-popup-form button[type="submit"] {
    width: 100% !important;
    background-color: #f26522 !important;
    color: white !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

@media (min-width: 640px) {
    #cart-popup-form button[type="submit"] {
        padding: 12px 24px !important;
        font-size: 16px !important;
    }
}

#cart-popup-form button[type="submit"]:hover {
    background-color: #e55511 !important;
}

/* Cart Icon Protection */
#cart-header-icon {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 50 !important;
}

#cart-header-icon button {
    position: relative !important;
    background-color: white !important;
    color: #374151 !important;
    padding: 12px !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 20px !important;
}

#cart-header-icon button:hover {
    background-color: #f3f4f6 !important;
    color: #374151 !important;
}

.cart-badge {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background: #f26522 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

.cart-badge.hidden {
    display: none !important;
}
#cart-header-icon {
  position: fixed !important;
  top: 50px !important; /* <-- increase this value until it sits nicely */
  right: 60px !important;
  z-index: 50 !important;
}/* End custom CSS */