/*
Theme Name: Nhua Dan Phuong Huy
Author: https://tbay.vn
Description: Theme dung de tao giao dien demo website nhua Dan Phuong Huy
Version: 1.0.2
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Plus Jakarta Sans', sans-serif;
}

article.eael-grid-post,
.eael-grid-post-holder {
    height: 100% !important;
}

@media screen and (max-width: 768px) {
    #mega-menu-max_mega_menu_2 {
        justify-content: unset !important;
    }
}

/* Custom products */
.tbay-products .elementor-widget-container .woocommerce .products {
    display: flex;
}

/* Woocommerce cart (Mobile) */
.wp-block-woocommerce-cart .is-mobile table.wc-block-cart-items .wc-block-cart-items__row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    justify-content: start;
}

.wp-block-woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    align-items: start;
}

.wp-block-woocommerce-cart .is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
    padding-right: 0;
}

/* ==========================================================================
   DPH SHOP ARCHIVE LAYOUT
   ========================================================================== */

.dph-shop {
    background-color: #f7f8fa;
    /* Light gray page background */
    padding: 40px 0;
    min-height: 100vh;
}

.dph-shop__header {
    max-width: 1300px;
    margin: 0 auto 30px auto;
}

.dph-shop__page-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

/* Breadcrumbs customization */
.dph-shop__header .tbay-breadcrumb,
.dph-shop__header .woocommerce-breadcrumb {
    font-size: 14px;
    color: #888;
}

.dph-shop__header .tbay-breadcrumb a,
.dph-shop__header .woocommerce-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.dph-shop__header .tbay-breadcrumb a:hover,
.dph-shop__header .woocommerce-breadcrumb a:hover {
    color: #fe9900;
}

/* Container */
.dph-shop__container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar Column */
.dph-shop__sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* Content Column */
.dph-shop__content {
    flex-grow: 1;
    width: calc(100% - 310px);
}

/* Sidebar Widgets */
.dph-shop-sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dph-shop-widget {
    background: #ffffff;
    border-radius: 15px;
    padding: 24px;
    border: 1px solid #f1f1f1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.dph-shop-widget__title {
    font-size: 18px;
    font-weight: 700;
    color: #fe9900;
    /* Theme orange color */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 12px;
}

.dph-shop-widget__title-icon {
    font-size: 10px;
    transform: rotate(90deg);
    display: inline-block;
    color: #fe9900;
}

/* Category Filter Styling */
.dph-shop-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dph-shop-category-item {
    font-size: 15px;
}

.dph-shop-category-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dph-shop-category-link:hover {
    color: #fe9900;
}

.dph-shop-category-item.is-active .dph-shop-category-name {
    color: #fe9900;
    font-weight: 700;
}

/* Custom Checkbox styles */
.dph-shop-category-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #fff;
}

.dph-shop-category-checkbox.is-checked {
    border-color: #fe9900;
    background-color: #fe9900;
}

/* Contact button for products without a price */
.dph-contact-button {
    display: inline-block;
    background: #fe9900;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

.dph-contact-button:hover {
    background: #e08800;
}

@media (max-width: 768px) {
    .dph-contact-button {
        display: block;
        width: 100%;
        text-align: center;
    }
}

.dph-shop-checkbox-icon {
    width: 12px;
    height: 12px;
    stroke: #fff;
}

/* Price Filter Widget Styling */
.dph-shop-price-filter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dph-shop-price-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dph-shop-price-inputs input[type="number"] {
    width: 45%;
    padding: 10px 12px;
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease;
}

.dph-shop-price-inputs input[type="number"]:focus {
    border-color: #fe9900;
    background: #fff;
}

.dph-shop-price-separator {
    color: #999;
    font-size: 14px;
}

.dph-shop-filter-submit-btn {
    width: 100%;
    background: #fe9900;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.dph-shop-filter-submit-btn:hover {
    background: #e08800;
}

.dph-shop-filter-submit-btn:active {
    transform: scale(0.98);
}

/* Toolbar Widget Styling */
.dph-shop-toolbar {
    background: #ffffff;
    border-radius: 15px;
    padding: 16px 24px;
    border: 1px solid #f1f1f1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dph-shop-toolbar-title {
    font-size: 20px;
    font-weight: 700;
    color: #fe9900;
    margin: 0;
}

.dph-shop-toolbar-sorting select.orderby {
    border: 1px solid #fe9900 !important;
    border-radius: 20px !important;
    padding: 8px 36px 8px 16px !important;
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    background-color: #fff !important;
    outline: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fe9900' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
}

/* Product Grid Customizations override standard product-card.css to make it 3 cols */
.dph-shop .wc-elementor-product-cards .cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-gap: 20px !important;
}

/* Product Card Base Container */
.wc-elementor-product-cards .card,
.dph-shop .card,
.products .card {
    background-color: #ffffff !important;
    border: 1.5px solid #eaeaea !important;
    border-radius: 16px !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Hover State: Orange border (#FFA000), Lift effect, Soft shadow */
.wc-elementor-product-cards .card:hover,
.dph-shop .card:hover,
.products .card:hover {
    border-color: #ffa000 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
}

/* Image Wrapper: Light cream/gray background box (#F9F9F5), rounded corners */
.wc-elementor-product-cards .card .thumb,
.dph-shop .card .thumb,
.products .card .thumb {
    background-color: #f9f9f5 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 200px !important;
    margin-bottom: 12px !important;
}

.wc-elementor-product-cards .card .thumb img,
.dph-shop .card .thumb img,
.products .card .thumb img {
    max-height: 180px !important;
    width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.35s ease !important;
}

.wc-elementor-product-cards .card:hover .thumb img,
.dph-shop .card:hover .thumb img,
.products .card:hover .thumb img {
    transform: scale(1.04) !important;
}

/* Discount Badge: Bright green circular badge (#2ECE73) top-right */
.wc-elementor-product-cards .card .badge,
.dph-shop .card .badge,
.products .card .badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 2 !important;
    background-color: #2ece73 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(46, 206, 115, 0.3) !important;
}

/* Tagline / Subtitle: Small uppercase green text (#2ECE73) */
.wc-elementor-product-cards .card .tagline,
.dph-shop .card .tagline,
.products .card .tagline {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2ece73 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
}

.wc-elementor-product-cards .card .tagline a,
.dph-shop .card .tagline a,
.products .card .tagline a {
    color: #2ece73 !important;
    text-decoration: none !important;
}

.wc-elementor-product-cards .card .tagline a:hover,
.dph-shop .card .tagline a:hover,
.products .card .tagline a:hover {
    color: #fe9900 !important;
    text-decoration: underline !important;
}

/* Product Title: Dark text (#12171D), transitions to Orange (#FFA000) on Hover */
.wc-elementor-product-cards .card .title,
.dph-shop .card .title,
.products .card .title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 10px 0 !important;
    min-height: 42px !important;
}

.wc-elementor-product-cards .card .title a,
.dph-shop .card .title a,
.products .card .title a {
    color: #12171d !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wc-elementor-product-cards .card:hover .title a,
.dph-shop .card:hover .title a,
.products .card:hover .title a {
    color: #ffa000 !important;
}

/* Horizontal Divider Line */
.wc-elementor-product-cards .card .divider,
.dph-shop .card .divider,
.products .card .divider {
    height: 1px !important;
    background-color: #f0f0f0 !important;
    margin-top: auto !important;
    margin-bottom: 12px !important;
}

/* Footer Action Row: Left Price, Right Pill Button */
.wc-elementor-product-cards .card .footer-row,
.dph-shop .card .footer-row,
.products .card .footer-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

.wc-elementor-product-cards .card .price,
.dph-shop .card .price,
.products .card .price {
    display: flex !important;
    flex-direction: column !important;
    font-size: 16px !important;
    margin: 0 !important;
}

.wc-elementor-product-cards .card .price del,
.dph-shop .card .price del,
.products .card .price del {
    font-size: 12px !important;
    color: #888888 !important;
    text-decoration: line-through !important;
    line-height: 1 !important;
}

/* Add-to-Cart Pill Button (#FFA000, border-radius: 9999px) */
.wc-elementor-product-cards .card .actions .button,
.dph-shop .card .actions .button,
.products .card .actions .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background-color: #ffa000 !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 9999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background-color 0.25s ease, transform 0.15s ease !important;
    box-shadow: none !important;
}

.wc-elementor-product-cards .card .actions .button:hover,
.dph-shop .card .actions .button:hover,
.products .card .actions .button:hover {
    background-color: #e69000 !important;
    transform: scale(1.04) !important;
}

.wc-elementor-product-cards .card .actions .button:active,
.dph-shop .card .actions .button:active,
.products .card .actions .button:active {
    transform: scale(0.96) !important;
}

/* Hide original button when added to cart */
.wc-elementor-product-cards .card .actions .add_to_cart_button.added,
.dph-shop .card .actions .add_to_cart_button.added,
.products .card .actions .add_to_cart_button.added {
    display: none !important;
}

/* WooCommerce .added_to_cart link replaces the button inside the pill container */
.wc-elementor-product-cards .card .actions .added_to_cart,
.dph-shop .card .actions .added_to_cart,
.products .card .actions .added_to_cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background-color: #2ece73 !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 9999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background-color 0.25s ease, transform 0.15s ease !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.wc-elementor-product-cards .card .actions .added_to_cart:hover,
.dph-shop .card .actions .added_to_cart:hover,
.products .card .actions .added_to_cart:hover {
    background-color: #27b665 !important;
    transform: scale(1.04) !important;
}

.dph-cart-icon {
    stroke: #ffffff !important;
}



/* Pagination container spacing */
.dph-shop-pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Custom WooCommerce Pagination styling */
.dph-shop-pagination-container nav.woocommerce-pagination ul {
    border: none !important;
    gap: 8px !important;
}

.dph-shop-pagination-container nav.woocommerce-pagination ul li {
    border: none !important;
    background-color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.dph-shop-pagination-container nav.woocommerce-pagination ul li a,
.dph-shop-pagination-container nav.woocommerce-pagination ul li span {
    padding: 10px 16px !important;
    color: #555 !important;
    font-weight: 600 !important;
    display: block !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.dph-shop-pagination-container nav.woocommerce-pagination ul li span.current,
.dph-shop-pagination-container nav.woocommerce-pagination ul li a:hover {
    background-color: #fe9900 !important;
    color: #fff !important;
}

/* ==========================================================================
   RESPONSIVE / MOBILE
   ========================================================================== */

@media (max-width: 1024px) {
    .dph-shop__container {
        flex-direction: column;
        gap: 24px;
    }

    .dph-shop__sidebar {
        width: 100%;
    }

    .dph-shop__content {
        width: 100%;
    }

    .dph-shop-sidebar-widgets {
        flex-direction: row;
        gap: 20px;
    }

    .dph-shop-widget {
        flex: 1;
    }

    .dph-shop .wc-elementor-product-cards .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .dph-shop {
        padding: 20px 10px;
    }

    .dph-shop-sidebar-widgets {
        flex-direction: column;
    }

    .dph-shop-toolbar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .dph-shop-toolbar-sorting {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dph-shop-toolbar-sorting select.orderby {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .dph-shop .wc-elementor-product-cards .cards-grid {
        grid-template-columns: 1fr !important;
    }
}

.dph-shop-filter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==========================================================================
   RELATED PRODUCTS (SINGLE PRODUCT PAGE) - MATCH DPH SHOP STYLE
   ========================================================================== */

.dph-related-products {
    max-width: 1300px;
    margin: 50px auto 0;
    padding: 0 0px 30px;
}

.dph-related-products>h2 {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.dph-related-products>h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fe9900, transparent);
    border-radius: 999px;
    margin-top: 8px;
}

.dph-related-products .related.products {
    margin-top: 0;
}

.dph-related-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

.woocommerce .dph-related-products ul.products::before {
    display: none;
}

.dph-related-products ul.products .card {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dph-related-products ul.products .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.dph-related-products ul.products .card .thumb {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
}

.dph-related-products ul.products .card .thumb img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    padding: 12px;
}

.dph-related-products ul.products .card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2ecc71;
    color: #fff;
    border-radius: 60px;
    font-size: 12px;
    font-weight: 700;
    padding: 15px 8px;
    z-index: 2;
}

.dph-related-products ul.products .card .title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dph-related-products ul.products .card .title a {
    color: #fe9900;
    text-decoration: none;
}

.dph-related-products ul.products .card .rating {
    margin-bottom: 10px;
}

.dph-related-products ul.products .card .rating .star-rating {
    color: #ffb400;
    font-size: 14px;
}

.dph-related-products ul.products .card .price {
    display: flex;
    /* align-items: center; */
    flex-direction: row-reverse;
    justify-content: start;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.dph-related-products ul.products .card .price del {
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
}

.dph-related-products ul.products .card .actions {
    margin-top: auto;
}

.dph-related-products ul.products .card .actions .button,
.dph-related-products ul.products .card .actions .add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(180deg, #ff9a00, #ff6a00);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 18px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
    gap: 8px;
}

.dph-related-products ul.products .card .actions .button:hover,
.dph-related-products ul.products .card .actions .add_to_cart_button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .dph-related-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .dph-related-products ul.products {
        grid-template-columns: 1fr;
    }

    .dph-related-products {
        padding: 0 16px 24px;
    }
}

/* ==========================================================================
   DPH POSTS GRID – ELEMENTOR WIDGET
   ========================================================================== */

/* Wrapper grid */
.dph-posts-grid__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dph-posts-grid__no-results {
    color: #888;
    font-style: italic;
}

/* -------------------------------------------------------------------
   POST CARD – giống hệt template-parts/contents/content.php
   ------------------------------------------------------------------- */
.dph-posts-grid .post-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dph-posts-grid .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

/* Thumbnail */
.dph-posts-grid .post-card__thumbnail {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.dph-posts-grid .post-card__thumbnail a {
    display: block;
    height: 100%;
}

.dph-posts-grid .post-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dph-posts-grid .post-card:hover .post-card__thumbnail img {
    transform: scale(1.04);
}

/* Content area */
.dph-posts-grid .post-card__content {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta (ngày / tác giả) */
.dph-posts-grid .post-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.dph-posts-grid .post-card__meta .posted-on time {
    color: #888;
}

.dph-posts-grid .post-card__meta .byline {
    color: #888;
}

.dph-posts-grid .post-card__meta .author {
    font-weight: 600;
    color: #555;
}

/* Tiêu đề */
.dph-posts-grid .post-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dph-posts-grid .post-card__title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dph-posts-grid .post-card__title a:hover {
    color: #fe9900;
}

/* Excerpt */
.dph-posts-grid .post-card__excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.dph-posts-grid .post-card__excerpt p {
    margin: 0;
}

/* Footer / Read more */
.dph-posts-grid .post-card__footer {
    margin-top: auto;
}

.dph-posts-grid .read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fe9900;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.dph-posts-grid .read-more-link:hover {
    color: #e08800;
    gap: 9px;
}

.dph-posts-grid .read-more-link .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   RESPONSIVE – DPH Posts Grid
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .dph-posts-grid__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .dph-posts-grid__list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dph-posts-grid .post-card__thumbnail {
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================================================
   RESPONSIVE – Mini Cart Trigger Widget
   ========================================================================== */
@media (max-width: 768px) {
    .dph-mini-cart__btn-text {
        display: none !important;
    }

    .dph-mini-cart__trigger {
        padding: 4px 8px 4px 4px !important;
        gap: 6px !important;
    }
}