/* 
Theme Name: Trendi Theme
Theme URI: https://ekszertaska.hu
Description: Trendi is a Hello Elementor child theme of Hello Elementor.
Author: ErikTailor
Author URI: https://eriktailor.hu
Template: hello-elementor
Version: 1.0.0
Text Domain: trendi-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/




/* ------------------------------------------------------------------------------------------
GLOBAL - TYPOGRAPHY
------------------------------------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600&display=swap');

@font-face {
    font-family: 'Italiana-Extended';
    src: url('assets/font/italiana-ext.woff2') format('woff2'),
         url('assets/font/italiana-ext.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Titillium Web', sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: black !important;
    text-transform: none !important;
}

h1 {
    color: black !important;
    font-size: 100px !important;
    font-family: 'Italiana-Extended', sans-serif !important;
}

h2 {
    color: black !important;
    font-size: 32px !important;
    font-weight: 300 !important;
    font-family: 'Titillium Web', sans-serif !important;
    text-transform: uppercase !important;
}

.trendi-featured-cats h2 {
    font-family: 'Italiana-Extended', sans-serif !important;
    text-transform: none !important;
    font-size: 60px !important;
}

/* ------------------------------------------------------------------------------------------
GLOBAL - SECTION
------------------------------------------------------------------------------------------ */

.trendi-section > .e-con {
    padding: 0 20px !important;
    margin: 0 auto !important;
    max-width: 1600px !important;
    width: 100% !important;
}

/* ------------------------------------------------------------------------------------------
GLOBAL - BUTTONS
------------------------------------------------------------------------------------------ */
.elementor-button:hover {
    text-transform: uppercase !important;
}

button .elementor-button-icon {
    margin-right: 6px;
    font-size: 16px;
}

.button-shadow .elementor-icon {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

a.elementor-button--checkout {
    background-color: black !important;
    color: white !important;
}

/* ------------------------------------------------------------------------------------------
GLOBAL - FORMS
------------------------------------------------------------------------------------------ */

.trendi-form input::placeholder,
.trendi-form textarea::placeholder {
    font-size: 18px !important;
    font-weight: 300 !important;
    font-style: normal !important;
    opacity: 0.7 !important;
    font-family: 'Titillium Web' !important;
    text-transform: none !important;
}

.trendi-form input,
.trendi-form textarea,
.trendi-form select {
    font-family: 'Titillium Web' !important;
    font-weight: 600 !important;
    border-radius: 2px !important;
    border: 0 !important;
    height: 59px !important;
    opacity: 1;
    color: black !important;
    background: #f3f3f3 !important;
    font-size: 18px !important;
    text-transform: none !important;
    padding: 16px !important;
}

.trendi-form textarea {
    height: auto !important;
    min-height: 180px !important;
}

/* ------------------------------------------------------------------------------------------
GLOBAL - SEARCH
------------------------------------------------------------------------------------------ */

.trendi-form .dgwt-wcas-search-submit {
    display: none !important;
    pointer-events: none;
}

.trendi-form .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    padding: 0 20px;
}

.dgwt-wcas-close {
    right: -10px !important;
}

/* ------------------------------------------------------------------------------------------
GLOBAL - LINKS
------------------------------------------------------------------------------------------ */
a:hover {
    text-transform: inherit !important;
}

@media(min-width: 1024px) {
    .link-hover-underline a {
        position: relative;
        text-decoration: none;
        display: inline-block;
        transition: color 0.3s ease;
    }

    .link-hover-underline a:hover {
        text-transform: none;
    }

    .link-hover-underline a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background-color: #000;
        transition: width 0.3s ease;
    }

    .link-hover-underline a:hover::after {
        width: 100%;
    }
}

.elementor-kit-5 a:hover {
    font-weight: inherit !important;
}

/* ------------------------------------------------------------------------------------------
NAVBAR
------------------------------------------------------------------------------------------ */
.trendi-navbar {
    --dynamic-header-height: 65px;
    border-bottom: 1px solid #eee;
}

.trendi-navbar.elementor-sticky--effects {
    --dynamic-header-height: 48px;
}

.trendi-mobile-menu .elementor-nav-menu--dropdown:not(.sub-menu) {
    top: var(--dynamic-header-height) !important;
    border-top: 1px solid #ddd !important;
    padding: 10px 0;
}

.elementor-nav-menu a, 
.elementor-nav-menu a:focus, 
.elementor-nav-menu a:hover {
    line-height: inherit !important;
}

.trendi-navbar .menu-item a {
    text-transform: uppercase !important;
    color: black !important;
}

.trendi-navbar .menu-item a:hover {
    color: black !important;
}


@media(max-width:1024px) {
    .trendi-navbar {
        padding: 0 !important;
        height: 60px;
    }
}

.trendi-navbar.elementor-sticky--effects {
    min-height: 60px !important;
    transition: all 0.3s ease-in-out;
    padding: 0;
}

.trendi-cart-icon .elementor-button-icon-qty {
    font-weight: bold !important;
    box-shadow: 0 0 0 2px #FFF;
    background: black !important;
    color: white !important;
}

.elementor-menu-cart__product-name {
    line-height: 1.8 !important;
}

.elementor-menu-cart__product-name > a {
    line-height: inherit !important;
}

.trendi-menu .sub-menu {
    left: -19px !important;
    padding: 10px !important;
}

.trendi-menu .sub-menu a:hover::after {
    display: none;
}

/* Adds kosaram text above products */
.trendi-cart-icon .widget_shopping_cart_content::before {
    content: "Kosaram";
    font-size: 30px;
    color: black;
    margin-bottom: 30px;
}

.elementor-menu-cart__close-button-custom {
    position: absolute;
    width: 20px;
    margin-top: 6px;
}

.trendi-cart-icon .product-name a {
    font-size: 16px !important;
}

.trendi-cart-icon .elementor-menu-cart__subtotal {
    display: flex;
    justify-content: space-between;
}

.trendi-cart-icon .elementor-menu-cart__subtotal {
    margin-top: auto;
    padding-bottom: 0;
    border-bottom: 0;
}

@media(max-width: 768px) {
    .trendi-cart-icon {
        top: 3px;
    }
}

.trendi-wishlist-header-icon .elementor-icon {
    display: flex;
    position: relative;
    color: black;
    height: 74px;
    align-items: center;
}

.trendi-wishlist-header-icon .elementor-icon svg,
.elementor-menu-cart__toggle .elementor-button svg {
    width: 24px !important;
    height: 24px !important;
}

.trendi-wishlist-header-icon .elementor-button-icon {
    display: inline-block;
    position: relative;
}

/* The counter badge, styled like the cart */
.trendi-wishlist-header-icon .trendi-wishlist-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: black;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform: scale(1);
    opacity: 1;
    font-weight: 700;
    font-family: 'Titillium Web', sans-serif;
    z-index: 30;
    box-shadow: 0 0 0 2px #FFF;
}

/* Class to hide the badge when the count is zero */
.trendi-wishlist-header-icon .trendi-wishlist-counter.hidden {
    transform: scale(0);
    opacity: 0;
}


.trendi-navbar-right-menu {
    display: flex;
}

.trendi-navbar-right-menu a {
    padding: 12px !important;
}

.trendi-navbar-right-menu svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.elementor-menu-cart__toggle_button {
    padding: 0 !important;
}

/* ------------------------------------------------------------------------------------------
HERO SLIDER
------------------------------------------------------------------------------------------ */

.trendi-slider h1 span {
    display: block;
}

@media(max-width: 600px) {
    .trendi-slider .elementor-swiper-button {
        display: none !important;
    }
}

/* ------------------------------------------------------------------------------------------
FOOTER
------------------------------------------------------------------------------------------ */

@media (max-width: 768px) {
    .trendi-footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto); 
        gap: 50px;
        grid-template-columns: 1fr;
    }
}

.trendi-footer-column h4 {
    margin: 0 0 30px !important;
}

.trendi-footer-column ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.trendi-footer-column a {
    color: var( --e-global-color-text );
}

/* ------------------------------------------------------------------------------------------
FEATURED PRODUCTS
------------------------------------------------------------------------------------------ */

@media(min-width: 768px) and (max-width: 1280px) {
    .trendi-featured-products .card:last-child {
        display: none;
    }
}

/* ------------------------------------------------------------------------------------------
FEATURED CATEGORIES
------------------------------------------------------------------------------------------ */

@media(max-width: 768px) {
    .trendi-featured-cats ul.products {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
}

.trendi-featured-cats .product-category {
    background: white;
    overflow: hidden;
}

@media(min-width: 1280px) {
    .trendi-featured-cats .product-category a {
        height: 650px;
    }
}



.trendi-featured-cats .product-category a {
    position: relative;
    display: block;
}

.trendi-featured-cats .product-category img {
    margin: 0 !important;
    position: relative;
    z-index: 0;
    object-fit: cover;
    height: 100% !important;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.trendi-featured-cats .product-category a:hover img {
    transform: scale(1.05);
    transform-origin: center center;
    opacity: 1;
}

.trendi-featured-cats .product-category h2.woocommerce-loop-category__title {
    text-transform: capitalize;
    margin-top: -20px !important;
    width: 100%;
    z-index: 20;
    position: absolute;
    bottom: 0;
    left: 0;
}

@media(max-width: 1024px) {
    .trendi-featured-cats .product-category h2.woocommerce-loop-category__title {
        padding-bottom: 10px !important;
        font-size: 50px !important;
    }
}

.trendi-featured-cats .product-category h2.woocommerce-loop-category__title .count {
    display: none;
}

.trendi-featured-cats .product-category a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ------------------------------------------------------------------------------------------
PRODUCTS GRID
------------------------------------------------------------------------------------------ */

.product-images-container {
    position: relative;
    height: 250px;
    width: 250px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 6px;
}

.product-images-container img { 
    height: 250px;
    width: 250px;
    object-fit: cover;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s cubic-bezier(0.5, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.5, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: center center;
    will-change: opacity, transform;
}

.product-images-container .main-product-image {
    opacity: 1;
    z-index: 2;
    transform: scale(1) translateZ(0);
}

.product-images-container .hover-product-image {
    opacity: 0;
    z-index: 1;
    transform: scale(1.03) translateZ(0);
}

.woocommerce ul.products li.product a:hover .main-product-image {
    opacity: 0;
    transform: scale(0.97) translateZ(0);
}

.woocommerce ul.products li.product a:hover .hover-product-image {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

.price {
    text-transform: uppercase;
}

/* ------------------------------------------------------------------------------------------
WISHLIST - Product cards
------------------------------------------------------------------------------------------ */

.woocommerce ul.products li.product {
    position: relative;
}

.wishlist-icon-container {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    cursor: pointer;
    line-height: 1;
}

.wishlist-icon-container svg {
    width: 22px;
    opacity: 0.3;
    transition: all 0.25s ease-in;
}

.wishlist-icon-container svg:hover {
    opacity: 0.7;
}

.wishlist-icon-container svg path {
    transition: fill 0.2s ease-in-out;
}

.wishlist-icon-container.is-in-wishlist svg {
    opacity: 1;
}


.trendi-wishlist-empty-text {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
}

.wishlist-icon-container::before {
    content: 'Kedvenc';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.wishlist-icon-container.is-in-wishlist::before {
    content: "Eltávolítom";
}

.wishlist-icon-container::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 3px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.wishlist-icon-container:hover::before,
.wishlist-icon-container:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ------------------------------------------------------------------------------------------
WISHLIST - Page layout
------------------------------------------------------------------------------------------ */

.trendi-wishlist-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media(max-width: 1280px) {
    .trendi-wishlist-items {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .trendi-wishlist-items {
        gap: 20px;
    }
}

.trendi-wishlist-custom-list ul.trendi-wishlist-items {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.trendi-wishlist-custom-list  .wishlist-item {
    background: white;
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
}

@media(max-width: 768px) {
    .trendi-wishlist-custom-list .wishlist-item {
        flex-direction: column;
    }
}

/* 1. Product Image Column */
.wishlist-item__image {
    flex-shrink: 0;
    margin-right: 20px;
}
.wishlist-item__image > a {
    width: 100%;
    height: 100%;
    display: block;
}
.wishlist-item__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    max-width: 200px;
}

/* 2. Product Details Column */
.wishlist-item__details {
    flex-grow: 1; /* Takes up the available space */
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.wishlist-item__details a {
    text-decoration: none;
    color: inherit;
}
.wishlist-item__title {
    margin: 0 !important;
    font-weight: 300 !important;
}
.wishlist-item__title a {
    margin: 0;
    font-size: 20px;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    font-weight: 300;
}
.wishlist-item__description {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    padding-right: 20px;
}
@media(max-width: 768px) {
    .wishlist-item__description {
        padding-right: 0
    }
}
.wishlist-item__price {
    font-size: 24px;
    font-weight: 600;
    color: black;
}
.wishlist-item__buying {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

/* 3. Actions Column */
.wishlist-item__actions {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.wishlist-item__actions .add_to_cart_button {
    /* Style your add to cart button here if needed */
    padding: 5px 20px;
    background: black;
    text-transform: uppercase !important;
    font-weight: 300;
    color: white !important;
    transition: all 0.25s ease;
}

.wishlist-item__actions .add_to_cart_button:hover {
    background: #777;
}

/* Position the heart icon on the far right of the card */
.wishlist-item .wishlist-icon-container {
    position: absolute;
    top: 20px;
    right: 20px;
}

a.added_to_cart {
    display: none !important;
}

/* ------------------------------------------------------------------------------------------
PRODUCTS ARCHIVE PAGE
------------------------------------------------------------------------------------------ */

.no-subcats .trendi-subcategories {
    display: none;
}

.trendi-subcategories li {
    overflow: hidden;
}

.trendi-subcategories a {
    background: white !important;
    display: block;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.trendi-subcategories a img {
    margin: 0 !important;
    transition: all 0.3s ease-in-out;
    opacity: 0.85;
}

.trendi-subcategories h2 {
    position: relative;
    z-index: 100;
    padding: 0 0 30px 0 !important;
}

.trendi-subcategories a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        white 15%, 
        rgba(255,255,255,0.8) 30%, 
        transparent 50%
    );
}

.trendi-subcategories a:hover img {
    transform: translateY(-10px) scale(1.05);
    opacity: 1;
}

.trendi-subcategories .product .count {
    color: #AAA;
}

@media(min-width: 1280px) {
    .trendi-products-archive .products {
        grid-template-columns: repeat(4,1fr) !important;
        grid-row-gap: 50px !important;
        grid-column-gap: 50px !important;
    }
}

@media(max-width: 1280px) {
    .trendi-products-archive .products {
        grid-template-columns: repeat(3,1fr) !important;
    }
}

@media(max-width: 1024px) {
    .trendi-products-archive .products {
        grid-row-gap: 20px !important;
        grid-column-gap: 20px !important;
        grid-template-columns: repeat(2,1fr) !important;
    }
}


@media(max-width: 640px) {
    .trendi-products-archive .products {
        grid-row-gap: 20px !important;
        grid-template-columns: repeat(1,1fr) !important;
    }
}

/* ------------------------------------------------------------------------------------------
HOMEPAGE - CATEGORY SECTION
------------------------------------------------------------------------------------------ */

.trendi-category .elementor-box-title a {
    font-family: 'Italiana-Extended', sans-serif !important;
    position: relative;
}

.trendi-category .elementor-image-box-content {
    padding-bottom: 20px;
}

.trendi-category figure {
    position: relative;
}

.trendi-category figure::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top, 
        white 0%, 
        rgba(255,255,255,0.8) 10%, 
        transparent 50%
    );
    z-index: 50;
    width: 100%;
    height: 100%;
}

/* ------------------------------------------------------------------------------------------
PRODUCT PAGE - FILTERS
------------------------------------------------------------------------------------------ */

.wpc-filter-title {
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 30px !important;
}

ul.wpc-filters-ul-list.wpc-filters-labels {
    padding: 0 !important;
}

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label span.wpc-filter-label-wrapper {
    padding: 2px 8px !important;
}

a.wpc-filter-link {
    font-size: 16px;
    color: #404040;
}

.wpc-term-count {
    font-size: 16px;
}


/* ------------------------------------------------------------------------------------------
PAGE CONTENT WIDTH FIX
------------------------------------------------------------------------------------------ */

/* Ensure containers maintain full width */
.e-con-full {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.e-con-boxed .e-con-inner {
    max-width: 100%;
    margin: 0 auto;
}

/* Fix sticky navbar width issues */
.elementor-sticky--effects {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-main .page-header {
    display: none;
}


/* ------------------------------------------------------------------------------------------
SINGLE PRODUCT - Product Gallery
------------------------------------------------------------------------------------------ */

.trendi-single-product-thumbnail .woocommerce-product-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

@media(max-width: 1280px) {
    .trendi-single-product-thumbnail {
        overflow: hidden !important;
    }
    .trendi-single-product-thumbnail .woocommerce-product-gallery {
        flex-direction: column-reverse;
    }
}

.trendi-single-product-thumbnail .woocommerce-product-gallery .flex-control-thumbs {
    order: -1;
    display: flex !important;
    flex-direction: column;
    margin-right: 20px !important;
    max-width: 100px;
    width: 100%;
    max-height: 100%;
    overflow-y: scroll !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media(max-width: 1280px) {
    .trendi-single-product-thumbnail .woocommerce-product-gallery .flex-control-thumbs {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr);
        max-width: none;
        gap: 10px;
        margin-top: 10px !important;
    }
}

.trendi-single-product-thumbnail .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

.trendi-single-product-thumbnail .woocommerce div.product div.images .flex-control-thumbs li img {
    opacity: 0.75;
}

.trendi-single-product-thumbnail .woocommerce-product-gallery .flex-control-thumbs li {
    padding-bottom: 20px;
    width: 100% !important;
}

@media(max-width: 768px) {
    .trendi-single-product-thumbnail {
        flex-grow: 1;
    }
    .trendi-single-product-add-to-cart-button a {
        width: 100% !important;
    }
}

.woocommerce div.product p.price del, 
.woocommerce div.product span.price del {
    opacity: 0.5;
    font-weight: 500;
}

.trendi-single-product .stock {
    display: none;
}

.trendi-stock-status .in-stock {
    color: green;
    padding-left: 2px;
}

.trendi-stock-status .out-of-stock {
    color: red;
    padding-left: 2px;
}

/* ------------------------------------------------------------------------------------------
SINGLE PRODUCT - Product Details
------------------------------------------------------------------------------------------ */

.trendi-product-details-table {
    margin-bottom: 0;
}

.trendi-product-details-table td,
.trendi-product-details-table th,
.trendi-product-details-table tr {
    background-color: transparent !important;
    border: 0;
    text-align: left;
    vertical-align: middle;
    padding: 3px;
    line-height: 2;
}

.trendi-product-details-table th {
    color: black;
    text-transform: uppercase;
    font-weight: 600;
}


/* ------------------------------------------------------------------------------------------
CHECKOUT 
------------------------------------------------------------------------------------------ */

.trendi-checkout .woocommerce-checkout-review-order thead,
.trendi-checkout .select2 {
    display: none;
}

.trendi-checkout .woocommerce-checkout-review-order-table tbody {
    display: flex !important;
    flex-direction: column;
}

.trendi-checkout .woocommerce-checkout-review-order-table .product-name,
.trendi-checkout .woocommerce-checkout-review-order-table .product-total {
    display: flex;
}

.trendi-checkout .woocommerce-checkout-review-order-table tbody tr {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #DDD !important;
    padding: 15px 0;
}

.trendi-checkout .woocommerce-checkout-review-order-table .product-name {
    flex-grow: 1; 
    max-width: none !important;
    padding: 0 20px 0 0 !important;
    display: flex;
    gap: 30px;
    align-items: center;
    color: black !important;
    font-size: 16px !important;
}

.trendi-checkout .woocommerce-checkout-review-order-table .product-total {
    flex-shrink: 0;
    text-align: right;
}

.trendi-checkout .woocommerce-checkout-review-order-table .cart-subtotal,
.trendi-checkout .woocommerce-checkout-review-order-table .shipping,
.trendi-checkout .woocommerce-checkout-review-order-table .order-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.trendi-checkout ul.wc_payment_methods.payment_methods.methods::before {
    content: "Fizetés";
}

.woocommerce-error {
    border-top-color: #b81c23;
    background: #fff0f0;
    font-size: 13px !important;
    padding: 20px 30px;
}

.woocommerce-error::before, 
.woocommerce-info::before, 
.woocommerce-message::before {
    right: 1.5em !important;
    left: auto !important;
    font-size: 20px !important;
}

.woocommerce-error li a:hover {
    color: #b81c23;
}

.trendi-checkout .checkout-inline-error-message {
    font-size: 14px !important;
    margin-top: 5px;
}

.trendi-checkout .product-name-quantity-wrapper {
    display: flex;
    align-items: center;
}

.trendi-checkout .product-name-quantity-wrapper > img {
    margin-right: 20px;
}

.trendi-checkout .product-name-quantity-wrapper .product-quantity {
    color: #AAA !important;
}

.trendi-checkout .payment-heading {
    font-size: 24px;
    font-weight: 500;
}

.trendi-checkout .woocommerce-checkout-payment {
    padding: 0 !important;
}

.trendi-checkout .e-checkout__order_review-2 {
    padding: 50px !important;
    background: white;
}

.trendi-checkout .woocommerce-privacy-policy-text {
    margin-bottom: 20px;
}

.trendi-checkout .woocommerce-privacy-policy-text * {
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #AAA !important
}

.trendi-checkout .woocommerce-privacy-policy-text a {
    color: black !important
}

.trendi-checkout .shipping-total-summary {
    display: flex;
    justify-content: space-between;
}

.trendi-checkout .woocommerce-checkout-review-order-table tfoot {
    display: block !important;
    padding-top: 20px;
}

.trendi-checkout .woocommerce-checkout-review-order-table tfoot th, 
.trendi-checkout .woocommerce-checkout-review-order-table tfoot td {
    padding: 0 !important;
}

.trendi-checkout .woocommerce-checkout-review-order-table tfoot tr {
    padding: 5px 0 !important;
}

.trendi-checkout tr.woocommerce-shipping-totals.shipping th {
    display: none;
}

.trendi-checkout #custom_shipping_section_top {
    background: white;
    margin-bottom: 24px;
    padding: 50px;
}

.trendi-checkout #custom_shipping_section_top h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 30px 0 !important;
}

.trendi-checkout #billing_country_field,
.trendi-checkout .payment_box.payment_method_cod {
    display: none !important;
}

.trendi-checkout #shipping_method li {
    margin: 0 !important;
}

.trendi-checkout .woocommerce-privacy-policy-text {
    border-top: 1px solid #DDD;
    margin-top: 54px;
}



/* ------------------------------------------------------------------------------------------
THANKYOU PAGE 
------------------------------------------------------------------------------------------ */

.custom-order-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 30px;
}

@media(max-width: 1024px) {
    .custom-order-details {
         grid-template-columns: 1fr 1fr 1fr;
    }
}

@media(max-width: 768px) {
    .custom-order-details {
         grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 500px) {
    .custom-order-details {
         grid-template-columns: 1fr;
    }
    .custom-order-details p {
        text-align: center;
    }
}

.custom-order-details p {
    display: flex;
    flex-direction: column;
}

.custom-order-details strong {
    color: black;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
}