/*
Theme Name:   Divi Child 2026
Template:     Divi
*/

.hide {
    display: none;
}

.wpcf7-text,
.wpcf7-select,
.wpcf7-textarea {
    padding: 10px !important;
    max-width: 400px;
    width: 100%;
    display: block;
}

.wpcf7-submit {
    padding: 10px 40px;
    background-color: #8d256e;
    color: #ffffff;
    border: none;
}

.woocommerce-subcategories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none !important;
    margin: 0 0 40px 0;
    padding: 0 !important;
}

.woocommerce-subcategories li {
    padding: 0 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/*  */
#custom-contact-form {
    clear: both;
}
.product-pdf-link {
    margin-bottom: 20px;
}
.product-pdf-link a {
    display: flex;
    align-items: center;
    color: #000 !important;
}

.product-pdf-link a img {
    margin-right: 10px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce ul.products li.product a {
    margin-top: auto;
}

.single-product #main-content > .clearfix:first-child {
    display: none !important;
}

.et_pb_button_1_tb_header .cart-count {
    position: absolute;
    font-size: 10px;
    top: 2px;
    right: 2px;
    background: #fff;
    color: #27096d;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#cart-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-popup {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 440px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: popupIn 0.25s ease;
}

@keyframes popupIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#cart-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

#cart-popup-content {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

#cart-popup-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-popup-added {
    color: #2ecc71;
    font-weight: 600;
    margin: 0 0 6px;
}
#cart-popup-title {
    margin: 0 0 6px;
    font-size: 16px;
}
#cart-popup-price {
    margin: 0;
    color: #e74c3c;
    font-weight: 600;
}

#cart-popup-actions {
    display: flex;
    gap: 12px;
}

#cart-popup-continue {
    flex: 1;
    padding: 10px;
    border: 2px solid #333;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

#cart-popup-header{
    margin-bottom: 15px;
}

#cart-popup-viewcart {
    flex: 1;
    padding: 10px;
    background: #0C5C4C;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

#cart-popup-continue:hover {
    background: #f5f5f5;
}

.et_pb_section_0.et_pb_section {
  margin: 0;
	padding: 0;
}
.post-3950 .et_pb_section_0.et_pb_section,
.post-3950 .et_pb_section_0.et_pb_section>div {
	padding-top: 0;
	margin-top: 0;
}
