/*
Theme Name: Eduvalt Child
Template: eduvalt
Version: 1.0.0
*/

/* =========================
   PAGE BOUTIQUE - STRUCTURE
========================= */

.gd-shop-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 0 72px;
    position: relative;
    z-index: 2;
}

.gd-shop-hero,
.gd-shop-section {
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
  clear: both;
  overflow: visible;
}

.gd-eyebrow,
.gd-overline {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #157a7f;
    margin-bottom: 10px;
}

.gd-shop-page h1,
.gd-shop-page h2 {
    color: #18386e;
    line-height: 1.1;
    margin-bottom: 16px;
    clear: both;
}

.gd-shop-page h1 {
    font-size: clamp(36px, 5vw, 58px);
}

.gd-shop-page h2 {
    font-size: clamp(28px, 3vw, 40px);
}

.gd-shop-page p,
.gd-shop-page li {
    color: #41567d;
    font-size: 18px;
    line-height: 1.7;
    list-style: none !important;
}

.gd-lead {
    max-width: 980px;
    font-size: 20px;
}

.gd-benefits {
    margin: 22px 0 0;
    padding-left: 22px;
}

.gd-section-head {
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
    clear: both;
}

.gd-text-block {
    max-width: 920px;
    margin-bottom: 26px;
    position: relative;
    z-index: 2;
    clear: both;
}

.gd-text-block ul {
    padding-left: 22px;
    margin: 12px 0 18px;
}

/* =========================
   CARDS FORMATIONS
========================= */

.gd-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 28px 0 28px;
    position: relative;
    z-index: 2;
    clear: both;
}

.gd-course-card {
    background: #fff;
    border: 1px solid #ece6dc;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gd-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.gd-course-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.gd-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gd-course-body {
    padding: 24px;
}

.gd-course-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.gd-course-tag {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #efe4d1;
    color: #24473f;
    font-size: 14px;
    font-weight: 700;
}

.gd-course-price {
    color: #157a7f;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.gd-course-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.15;
}

.gd-course-card h3 a {
    color: #18386e;
    text-decoration: none;
}

.gd-course-card h3 a:hover {
    text-decoration: underline;
}

.gd-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.gd-course-meta li {
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f7f4ef;
    color: #5a6172;
    font-size: 14px;
    line-height: 1.3;
}

.gd-course-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.gd-course-btn,
.gd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.gd-course-btn,
.gd-btn-primary {
    background: #127475;
    color: #fff;
}

.gd-course-btn:hover,
.gd-btn-primary:hover {
    background: #0E9594;
    color: #fff;
}

.gd-btn-secondary {
    background: #efe4d1;
    color: #18386e;
}

.gd-btn-secondary:hover {
    background: #e6d8bf;
    color: #18386e;
}

.gd-help-box {
    padding: 28px;
    border-radius: 18px;
    background: #faf7f2;
    border: 1px solid #ece6dc;
    position: relative;
    z-index: 2;
    clear: both;
}

.gd-help-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

/* =========================
   WOO PRODUCTS - GRID FIX
========================= */

.woocommerce ul.products,
.gd-shop-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px !important;
    clear: both !important;
    overflow: visible !important;
    position: relative;
    z-index: 2;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.gd-shop-page ul.products::before,
.gd-shop-page ul.products::after,
.gd-shop-section::before,
.gd-shop-section::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
}

.woocommerce ul.products li.product,
.gd-shop-page ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
    display: block !important;
    position: relative;
}

.woocommerce ul.products li.product.eduvalt-product-main,
.gd-shop-page ul.products li.product.eduvalt-product-main,
.gd-shop-page ul.products li.product {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product.eduvalt-product-main:hover,
.gd-shop-page ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.woocommerce ul.products li.product img,
.gd-shop-page ul.products li.product img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin-bottom: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.gd-shop-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    line-height: 1.25;
    color: #17386f;
    margin: 8px 0 10px;
}

.woocommerce ul.products li.product .price,
.gd-shop-page ul.products li.product .price {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0f8b8d;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .star-rating,
.gd-shop-page ul.products li.product .star-rating {
    margin: 8px auto 0;
}

.woocommerce ul.products li.product .button,
.gd-shop-page ul.products li.product .button {
    margin-top: 14px;
    border-radius: 999px;
    padding: 10px 16px;
}

.gd-shop-page .woocommerce,
.gd-shop-page .woocommerce.columns-3,
.gd-shop-page .products {
    clear: both !important;
    position: relative;
    z-index: 2;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .woocommerce ul.products,
    .gd-shop-page ul.products,
    .gd-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .gd-shop-page {
        padding-top: 10px;
    }

    .woocommerce ul.products,
    .gd-shop-page ul.products,
    .gd-course-grid {
        grid-template-columns: 1fr !important;
    }

    .gd-course-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .gd-course-card h3 {
        font-size: 24px;
    }

    .gd-course-price {
        font-size: 26px;
    }

    .gd-shop-page p,
    .gd-shop-page li {
        font-size: 16px;
    }
}
.woocommerce ul.products li.product,
.gd-shop-page ul.products li.product {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.woocommerce ul.products li.product .eduvalt-product-main,
.gd-shop-page ul.products li.product .eduvalt-product-main {
    height: auto !important;
    overflow: visible !important;
}

.woocommerce ul.products li.product a img,
.gd-shop-page ul.products li.product a img {
    max-width: 100%;
    height: auto !important;
}

.gd-shop-page .shop-grid-active,
.gd-shop-page .row.shop-grid-active,
.woocommerce .shop-grid-active,
.woocommerce .row.shop-grid-active {
    height: auto !important;
    min-height: 1px !important;
    overflow: visible !important;
}
.gd-shop-page .woocommerce.columns-3,
.gd-shop-page .shop-item-wrap,
.gd-shop-page .shop-item-wrap > .row,
.gd-shop-page .shop-item-wrap > .shop-grid-active {
    height: auto !important;
    overflow: visible !important;
}
.gd-shop-page .shop-grid-active[style] {
    height: auto !important;
}

.woocommerce ul.products,
.woocommerce ul.products li.product,
.gd-shop-page ul.products,
.gd-shop-page ul.products li.product {
    list-style: none !important;
}

.woocommerce ul.products li.product::marker,
.gd-shop-page ul.products li.product::marker {
    content: none !important;
}

.gd-course-thumb br {
    display: none !important;
}

.gd-course-thumb img {
    display: block;
    margin: 0;
}

.post-type-archive-product .woocommerce-result-count,
.post-type-archive-product .woocommerce-ordering,
.post-type-archive-product ul.products,
.post-type-archive-product nav.woocommerce-pagination {
    display: none !important;
}

/* body > main > div > div > div.shop-item-wrap{display: none !important;} */
body.post-type-archive-product main.main-area .shop-area.section-py-120 > .container > div.shop-item-wrap,
body.post-type-archive-product main.main-area .shop-area.section-py-120 > .container > div.eduvalt-shop-pagination {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.post-type-archive-product .shop-area.section-py-120 > .container > p {
    display: none !important;
}


/* FOOTER */

.footer-top-wrap .footer-widget h4,
.footer-top-wrap .footer-widget .fw-title {
    color: #127475 !important;
}

.footer-top-wrap .footer-widget a,
.footer-top-wrap .footer-widget ul li a,
.footer-top-wrap .product-categories li a {
    color: #562C2C !important;
}

.footer-top-wrap .footer-widget a:hover,
.footer-top-wrap .footer-widget ul li a:hover,
.footer-top-wrap .product-categories li a:hover {
    color: #127475 !important;
}

.footer__top-wrap .widget_block ul li a, .footer__top-wrap .footer-widget ul li a{color: #127475 !important;}
.fw-title {
    font-size: 24px;
    margin: 0 0 28px;
    color: #562C2C !important;
}
