/*
Theme Name: Mira theme
Author: Gergő
Description: &lt;3
Version: 1.0
Template: Divi

This is the child theme for Divi theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
.et-cart-info {
    position: relative !important;
    display: inline-block;
}

/* Add cart icon */
.et-cart-info:before {
    content: "\e07a";
    font-family: "ETmodules";
    font-size: 16px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    color: inherit;
}

/* Style the cart count badge */
.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -18px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 50%;
    background: #736a8d;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    line-height: 15px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
    z-index: 10;
}

/* Hide badge when cart is empty */
.cart-count-badge:empty {
    display: none;
}

/* Alternative: hide when count is 0 */
.cart-count-badge[data-count="0"] {
    display: none;
}

.cart-count-badge.hidden {
    display: none;
}

#et-top-navigation .et-cart-info {
    margin: -7px 0 0 22px;
}

@media (max-width: 980px) {
	#et-top-navigation .et-cart-info {
		margin: 0px 24px 0px 6px;
	}
}

.mira-filename {
	font-style: italic;
	font-size: .8em;
	margin-bottom: 5px;
	display: none;
}

.woocommerce-page.et_pb_button_helper_class a.button.alt.woocommerce-MyAccount-downloads-file,
.woocommerce table.my_account_orders td a.button {
    padding: 0.6em 1.2em !important;
    font-size: 1em;
    line-height: 1 !important;
}

#page-container {
    padding-top: 130px !important;
}

.woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}

.video-programs-container {
    margin-top: 30px;
}
.video-programs-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
}
.video-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.video-program-tile {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}
.video-program-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.video-program-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.video-program-content {
    padding: 20px;
}
.video-program-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none;
}
