/* ==========================================================================
   Elite Header Icons, Product Compare & Wishlist Styles
   ========================================================================== */

/* --- 1. Header Icons (Compare, Wishlist, Cart, Account) --- */
.ed-header-icons-wrap {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    vertical-align: middle;
    position: relative;
    user-select: none;
}

.ed-header-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    position: relative;
    color: var(--ed-header-icon-col, #2C332F) !important;
    font-size: var(--ed-header-icon-size, 19px);
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.ed-header-icon-link:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    color: var(--ed-primary, #C59D5F) !important;
}

.ed-header-icon-link:active {
    transform: translateY(0);
}

.ed-icon-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.ed-header-fa-icon {
    font-size: var(--ed-header-icon-size, 19px);
    line-height: 1;
    color: inherit !important;
    display: inline-block;
    vertical-align: middle;
}

.ed-header-svg {
    width: var(--ed-header-icon-size, 19px);
    height: var(--ed-header-icon-size, 19px);
    display: block;
    color: inherit;
    stroke: currentColor;
    fill: none;
    overflow: visible;
}

/* Wishlist SVG Optical Scaling Fix */
.ed-wishlist-svg {
    width: 17px !important;
    height: 17px !important;
    transform: scale(0.92);
    transform-origin: center;
}

/* Badge (stable, clean circle, dark gold text, top-right overlay - NO scale pop animation) */
.ed-icon-badge {
    position: absolute;
    top: -6px;
    right: -7px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    background-color: var(--ed-badge-bg, #FFF6E5) !important; /* Soft cream/ivory */
    color: var(--ed-badge-col, #8C6D37) !important;           /* Dark rich gold */
    font-size: 10px;
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
    border: 1.5px solid rgba(197, 157, 95, 0.4);
    user-select: none;
    pointer-events: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    z-index: 2;
    transform: none !important;
}

.ed-badge-pop {
    animation: none !important;
    transform: none !important;
}

@keyframes edBadgePopAnim {
    0%, 100% { transform: scale(1); }
}

/* Account Icon & Status Dot */
.ed-header-account-link {
    cursor: pointer;
}

.ed-account-svg {
    width: var(--ed-header-icon-size, 19px);
    height: var(--ed-header-icon-size, 19px);
}

.ed-account-status-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Fallback icons for standard WooCommerce My Account navigation */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 8px !important;
}

.woocommerce-MyAccount-navigation li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    color: #475569 !important;
    transition: color 0.2s ease;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    color: var(--ed-primary, #C59D5F) !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\f4fe";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\f49e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\f5a0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\f023";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\f2f5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* --- 2. Compare & Wishlist Buttons --- */
.ed-compare-btn,
.ed-wishlist-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border-radius: var(--ed-radius, 8px) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.ed-compare-btn svg,
.ed-wishlist-btn svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

.ed-compare-btn:hover,
.ed-wishlist-btn:hover {
    border-color: var(--ed-primary, #C59D5F) !important;
    color: var(--ed-primary, #C59D5F) !important;
    background: #fffdfa !important;
    transform: translateY(-1px) !important;
}

.ed-compare-btn.is-active,
.ed-wishlist-btn.is-active {
    background: var(--ed-primary, #C59D5F) !important;
    border-color: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(197, 157, 95, 0.28) !important;
}

.ed-compare-btn.is-active svg {
    stroke: #ffffff !important;
}

.ed-wishlist-btn.is-active svg {
    stroke: #ffffff !important;
    fill: #ffffff !important;
}

/* Icon-only button style (if explicitly set) */
.ed-compare-btn.style-icon,
.ed-wishlist-btn.style-icon {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.ed-compare-btn.style-icon .ed-btn-text,
.ed-wishlist-btn.style-icon .ed-btn-text {
    display: none !important;
}

/* Shop Loop Positioning: 2 Equal Columns */
.ed-loop-actions-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ed-loop-actions-wrap .ed-compare-btn,
.ed-loop-actions-wrap .ed-wishlist-btn {
    width: 100% !important;
    height: 36px !important;
    padding: 0 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Single Product Action Row */
.ed-single-actions-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 16px 0 20px 0 !important;
    width: 100% !important;
    flex-wrap: wrap !important;
}

.ed-single-actions-wrap .ed-compare-btn,
.ed-single-actions-wrap .ed-wishlist-btn {
    height: 42px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    min-width: 120px !important;
}

/* --- 3. Compare Page & Wishlist Container --- */
.ed-compare-page-wrap,
.ed-wishlist-page-wrap {
    max-width: 1360px !important;
    margin: 35px auto 60px auto !important;
    padding: 30px 28px 60px 28px !important;
    font-family: inherit;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .ed-compare-page-wrap,
    .ed-wishlist-page-wrap {
        margin: 20px auto 40px auto !important;
        padding: 20px 20px 40px 20px !important;
    }
}

@media (max-width: 767px) {
    .ed-compare-page-wrap,
    .ed-wishlist-page-wrap {
        margin: 15px auto 30px auto !important;
        padding: 15px 16px 30px 16px !important;
    }
}

.ed-compare-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--ed-border-col, #f1f5f9);
    padding: 16px 24px;
    border-radius: var(--ed-radius, 12px);
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    flex-wrap: wrap;
    gap: 15px;
}

.ed-compare-count-title {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ed-compare-top-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.ed-add-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 18px !important;
    border-radius: var(--ed-radius, 8px) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(197, 157, 95, 0.28) !important;
    transition: all 0.2s ease !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

.ed-add-more-btn:hover {
    background: #b28849 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(197, 157, 95, 0.38) !important;
    color: #ffffff !important;
}

.ed-clear-compare-btn {
    background: #ffffff !important;
    color: #dc2626 !important;
    border: 1.5px solid #fecaca !important;
    padding: 8px 16px !important;
    border-radius: var(--ed-radius, 8px) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 38px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.06) !important;
    outline: none !important;
}

.ed-clear-compare-btn:hover {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #b91c1c !important;
    transform: translateY(-1px) !important;
}

.ed-compare-table-container {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--ed-radius, 14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    -webkit-overflow-scrolling: touch;
}

.ed-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.ed-compare-table th,
.ed-compare-table td {
    padding: 16px 20px;
    border: 1px solid #f1f5f9;
    vertical-align: middle;
    text-align: left;
}

.ed-compare-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    width: 160px;
    white-space: nowrap;
}

.ed-compare-product-col {
    position: relative;
    min-width: 220px;
    max-width: 300px;
    text-align: center !important;
}

.ed-compare-remove-btn,
.ed-wishlist-remove-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10 !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.ed-compare-remove-btn svg,
.ed-wishlist-remove-btn svg {
    width: 12px !important;
    height: 12px !important;
    stroke: #64748b !important;
    stroke-width: 2.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
    display: block !important;
    transition: transform 0.25s ease, stroke 0.2s ease !important;
    pointer-events: none !important;
}

.ed-compare-remove-btn:hover,
.ed-wishlist-remove-btn:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.22) !important;
}

.ed-compare-remove-btn:hover svg,
.ed-wishlist-remove-btn:hover svg {
    stroke: #ef4444 !important;
    transform: rotate(90deg);
}

.ed-compare-remove-btn:active,
.ed-wishlist-remove-btn:active {
    transform: scale(0.95) !important;
}

.ed-compare-img-wrap {
    width: 140px;
    height: 140px;
    margin: 10px auto 14px auto;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.ed-compare-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ed-compare-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.ed-compare-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.ed-compare-title a:hover {
    color: var(--ed-primary, #C59D5F);
}

.ed-compare-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ed-primary, #C59D5F);
}

.ed-compare-price del {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    margin-right: 5px;
}

.ed-compare-price ins {
    text-decoration: none;
}

.ed-stock-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.ed-stock-badge.in-stock {
    background: #dcfce7;
    color: #166534;
}

.ed-stock-badge.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.ed-compare-action-cell {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.ed-compare-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--ed-primary, #C59D5F);
    color: #ffffff !important;
    border: none;
    padding: 10px 16px;
    border-radius: var(--ed-radius, 8px);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(197, 157, 95, 0.25);
}

.ed-compare-cart-btn:hover {
    background: #b28849;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Empty State */
.ed-compare-empty,
.ed-wishlist-empty {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: var(--ed-radius, 14px);
    padding: 60px 25px;
    text-align: center;
    margin: 20px auto;
    max-width: 650px;
}

.ed-empty-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fdf8f0;
    color: var(--ed-primary, #C59D5F);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 25px rgba(197, 157, 95, 0.15);
}

.ed-empty-icon-circle svg {
    width: 38px;
    height: 38px;
    stroke: currentColor;
}

.ed-compare-empty h3,
.ed-wishlist-empty h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
}

.ed-compare-empty p,
.ed-wishlist-empty p {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.ed-empty-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ed-primary, #C59D5F);
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: var(--ed-radius, 8px);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.25);
}

.ed-empty-browse-btn:hover {
    background: #b28849;
    transform: translateY(-2px);
}

/* --- 4. Wishlist Page (Original Card Grid Design) --- */
.ed-wishlist-page-wrap {
    padding: 35px 28px 60px 28px !important;
}

.ed-wishlist-grid {
    display: grid !important;
    gap: 20px !important;
    margin: 25px 0 40px 0 !important;
    padding: 0 !important;
}

.ed-wishlist-card {
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--ed-border-col, #e2e8f0) !important;
    border-radius: var(--ed-radius, 14px) !important;
    padding: 24px 20px 24px 20px !important;
    text-align: center !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

.ed-wishlist-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 30px rgba(197, 157, 95, 0.16) !important;
    border-color: rgba(197, 157, 95, 0.45) !important;
}

.ed-wishlist-card .ed-compare-img-wrap {
    width: 100% !important;
    height: 190px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 16px auto !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

.ed-wishlist-card .ed-compare-img-wrap img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.4s ease !important;
    display: block !important;
    margin: 0 auto !important;
}

.ed-wishlist-card:hover .ed-compare-img-wrap img {
    transform: scale(1.05) !important;
}

.ed-wishlist-card .ed-compare-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
    padding: 0 4px !important;
}

.ed-wishlist-card .ed-compare-title a {
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.ed-wishlist-card .ed-compare-title a:hover {
    color: var(--ed-primary, #C59D5F) !important;
}

.ed-wishlist-card .ed-compare-price {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--ed-primary, #C59D5F) !important;
    margin-bottom: 12px !important;
}

.ed-wishlist-card .ed-compare-cart-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 18px !important;
    border-radius: var(--ed-radius, 8px) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(197, 157, 95, 0.25) !important;
    box-sizing: border-box !important;
    margin-top: auto !important;
}

.ed-wishlist-card .ed-compare-cart-btn:hover {
    background: #b28849 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.35) !important;
}

/* --- 5. Clean Shop Page Layout, Breadcrumbs & Sidebar Filter --- */
body.archive.woocommerce,
body.woocommerce-shop,
body.single-product,
body.woocommerce-checkout,
body.woocommerce-order-received {
    background-color: #f8fafc !important;
}

.woocommerce-breadcrumb,
.site-main .woocommerce-breadcrumb {
    max-width: 1360px;
    margin: 28px auto 0 auto;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.5;
}

.woocommerce-breadcrumb a,
.site-main .woocommerce-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover,
.site-main .woocommerce-breadcrumb a:hover {
    color: var(--ed-primary, #C59D5F);
}

.woocommerce-products-header,
.site-main .woocommerce-products-header {
    max-width: 1360px;
    margin: 10px auto 0 auto;
    padding: 0 24px;
}

.woocommerce-products-header__title.page-title,
.site-main .woocommerce-products-header__title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.25;
}

.ed-shop-layout-wrap {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 32px;
    align-items: start;
    max-width: 1360px;
    margin: 24px auto 60px auto;
    padding: 0 24px 60px 24px !important;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .ed-shop-layout-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto 40px auto;
        padding: 0 20px 40px 20px !important;
    }
}

@media (max-width: 767px) {
    .woocommerce-breadcrumb,
    .site-main .woocommerce-breadcrumb,
    .woocommerce-products-header,
    .site-main .woocommerce-products-header {
        padding: 0 16px;
    }

    .woocommerce-products-header__title.page-title {
        font-size: 26px;
    }

    .ed-shop-layout-wrap {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px 30px 16px !important;
        margin-top: 15px;
    }
}

/* Modern Shop Toolbar (Result count & Sorting Dropdown) */
.ed-shop-main-content {
    min-width: 0;
}

.ed-shop-main-content .woocommerce-result-count,
.site-main .woocommerce-result-count {
    float: left !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    line-height: 42px !important;
}

.ed-shop-main-content .woocommerce-ordering,
.site-main .woocommerce-ordering {
    float: right !important;
    margin: 0 0 22px 0 !important;
}

.ed-shop-main-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Custom Modern Select for Shop Sorting */
.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select,
.site-main .woocommerce-ordering select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 9px 38px 9px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 42px !important;
    box-sizing: border-box !important;
}

.woocommerce .woocommerce-ordering select:hover,
.site-main .woocommerce-ordering select:hover {
    border-color: var(--ed-primary, #C59D5F) !important;
    color: #0f172a !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce .woocommerce-ordering select:focus,
.site-main .woocommerce-ordering select:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.16) !important;
    color: #0f172a !important;
}

/* Sidebar Clean Design */
.ed-shop-sidebar {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025);
    position: sticky;
    top: 24px;
    transition: box-shadow 0.3s ease;
}

.ed-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.ed-filter-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.ed-filter-header h3 i,
.ed-filter-header h3 svg {
    color: var(--ed-primary, #C59D5F);
}

.ed-filter-clear-btn,
#edShopClearFilters {
    background: #fff8ee !important;
    border: 1.5px solid rgba(197, 157, 95, 0.35) !important;
    color: var(--ed-primary, #C59D5F) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 5px 12px !important;
    border-radius: 7px !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.ed-filter-clear-btn:hover,
#edShopClearFilters:hover {
    background: var(--ed-primary, #C59D5F) !important;
    border-color: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(197, 157, 95, 0.25) !important;
}

.ed-filter-group {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.ed-filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ed-filter-group-title {
    margin: 0 0 14px 0;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ed-price-slider-wrap {
    padding: 4px 0 6px 0;
}

.ed-price-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
    margin: 8px 0;
}

.ed-price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ed-primary, #C59D5F);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(197, 157, 95, 0.4);
    border: 2px solid #ffffff;
    transition: transform 0.15s ease;
}

.ed-price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.18);
}

.ed-price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ed-primary, #C59D5F);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(197, 157, 95, 0.4);
    border: 2px solid #ffffff;
}

.ed-price-slider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 10px;
}

.ed-price-slider-info strong {
    background: #fff8ee;
    border: 1px solid rgba(197, 157, 95, 0.25);
    color: var(--ed-primary, #C59D5F);
    font-size: 13.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
}

.ed-cat-filter-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ed-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    margin: 0;
}

.ed-cat-item input[type="radio"] {
    display: none;
}

.ed-cat-item:hover {
    background: #f8fafc;
    color: var(--ed-primary, #C59D5F);
    transform: translateX(2px);
}

.ed-cat-item.is-active {
    background: rgba(197, 157, 95, 0.08);
    border-color: rgba(197, 157, 95, 0.3);
    color: var(--ed-primary, #C59D5F);
    font-weight: 700;
}

.ed-cat-count {
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.ed-cat-item.is-active .ed-cat-count {
    background: var(--ed-primary, #C59D5F);
    color: #ffffff;
}

/* --- 6. Shop Page & Related Products Grid (Desktop 4 cols, Mobile 2 cols) --- */
.woocommerce ul.products,
.woocommerce-page ul.products,
.site-main ul.products,
.ed-wishlist-grid,
.related.products ul.products,
.upsells.products ul.products {
    display: grid !important;
    gap: 16px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both !important;
}

/* Desktop (>= 1100px): Proportional 3 Products Per Row for wide, chunky, beautiful cards ("মোটা হবে") */
@media (min-width: 1100px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .site-main ul.products,
    .ed-wishlist-grid,
    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 26px !important;
    }
}

/* Tablet (768px - 1099px): 2 Products Per Row */
@media (min-width: 768px) and (max-width: 1099px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .site-main ul.products,
    .ed-wishlist-grid,
    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* Mobile (<= 767px): Exactly 2 Products Per Row */
@media (max-width: 767px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .site-main ul.products,
    .ed-wishlist-grid,
    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 15px 0 !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .site-main ul.products li.product,
    .ed-wishlist-card {
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .woocommerce ul.products li.product img,
    .woocommerce-page ul.products li.product img,
    .site-main ul.products li.product img,
    .ed-wishlist-card img {
        height: 135px !important;
        border-radius: 8px !important;
    }

    .woocommerce-loop-product__title {
        font-size: 13px !important;
        margin: 8px 0 4px 0 !important;
        line-height: 1.25 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 32px;
    }

    .woocommerce ul.products li.product .price,
    .site-main ul.products li.product .price {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .woocommerce ul.products li.product .button.add_to_cart_button,
    .site-main ul.products li.product .button.add_to_cart_button {
        padding: 8px 10px !important;
        font-size: 11px !important;
        height: 34px !important;
    }

    .ed-loop-actions-wrap {
        gap: 6px !important;
        margin-top: 6px !important;
        padding-top: 6px !important;
    }

    .ed-loop-actions-wrap .ed-compare-btn,
    .ed-loop-actions-wrap .ed-wishlist-btn {
        padding: 0 4px !important;
        font-size: 11px !important;
        height: 32px !important;
    }

    .ed-loop-actions-wrap .ed-compare-btn svg,
    .ed-loop-actions-wrap .ed-wishlist-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.site-main ul.products::before,
.site-main ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product,
.site-main ul.products li.product {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: none !important;
    position: relative;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 24px 22px 24px 22px !important;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.025);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.woocommerce ul.products li.product:hover,
.site-main ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(197, 157, 95, 0.12);
    border-color: rgba(197, 157, 95, 0.4);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.site-main ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
    position: relative;
    text-decoration: none;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product img,
.site-main ul.products li.product img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: #fafafa;
    margin: 0 auto !important;
    display: block !important;
    transition: transform 0.4s ease;
    padding: 12px;
    box-sizing: border-box;
}

.woocommerce ul.products li.product:hover img,
.site-main ul.products li.product:hover img {
    transform: scale(1.03);
}

/* Modern Pill Sale Badge (Loop + Single Product) */
.woocommerce span.onsale,
.woocommerce-page span.onsale,
.single-product span.onsale,
.woocommerce div.product span.onsale,
.woocommerce ul.products li.product .onsale,
.site-main ul.products li.product .onsale {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    line-height: 1.2 !important;
    min-width: unset !important;
    min-height: unset !important;
    height: auto !important;
    width: auto !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 9 !important;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35) !important;
    border: none !important;
}

.woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 10px 0 6px 0 !important;
    line-height: 1.35 !important;
    transition: color 0.2s ease;
}

.woocommerce-loop-product__title:hover {
    color: var(--ed-primary, #C59D5F) !important;
}

.woocommerce ul.products li.product .price,
.site-main ul.products li.product .price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--ed-primary, #C59D5F) !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.woocommerce ul.products li.product .price del,
.site-main ul.products li.product .price del {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-right: 6px !important;
}

.woocommerce ul.products li.product .price ins,
.site-main ul.products li.product .price ins {
    text-decoration: none !important;
}

.ed-loop-stock-wrap {
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .button.add_to_cart_button,
.site-main ul.products li.product .button.add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 11px 16px !important;
    border-radius: var(--ed-radius, 10px) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(197, 157, 95, 0.25) !important;
    margin-top: auto !important;
    height: 42px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.site-main ul.products li.product .button.add_to_cart_button:hover {
    background: #b28849 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.35) !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button.loading::after {
    top: 50% !important;
    right: 12px !important;
}

/* Single Product Purchase Action Card & Background */
.single-product div.product {
    max-width: 1240px;
    margin: 25px auto 60px auto;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025);
    box-sizing: border-box;
}

.single-product div.product form.cart {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 24px 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
}

.single-product div.product form.cart .quantity {
    margin: 0 !important;
    float: none !important;
}

.single-product div.product form.cart .quantity .qty {
    height: 48px !important;
    width: 65px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-align: center !important;
    background: #ffffff !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.single-product div.product form.cart .quantity .qty:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.15) !important;
}

.single-product div.product form.cart .single_add_to_cart_button {
    height: 48px !important;
    padding: 0 26px !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(197, 157, 95, 0.25) !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
    background: #b28849 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.35) !important;
}

/* Single Product Buy Now (বায়না বাটন) */
.single-product div.product form.cart .ed-single-buy-now-btn,
.ed-single-buy-now-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f172a !important; /* Premium dark navy contrast */
    color: #ffffff !important;
    border: 1px solid #0f172a !important;
    padding: 0 28px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
    height: 48px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

.single-product div.product form.cart .ed-single-buy-now-btn:hover,
.ed-single-buy-now-btn:hover {
    background: #1e293b !important;
    border-color: #1e293b !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3) !important;
}

.ed-buy-now-icon {
    width: 15px;
    height: 15px;
    fill: #f59e0b;
    stroke: #f59e0b;
    flex-shrink: 0;
}

/* No Filter Matches State */
.ed-wishlist-no-match {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: var(--ed-radius, 14px);
    padding: 50px 20px;
    text-align: center;
    color: #64748b;
    margin-top: 10px;
}

.ed-wishlist-no-match i {
    font-size: 38px;
    color: var(--ed-primary, #C59D5F);
    margin-bottom: 14px;
    display: block;
}

.ed-wishlist-no-match h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.ed-wishlist-no-match p {
    margin: 0 0 18px 0;
    font-size: 14px;
}

/* --- 7. Cart Page Advanced Styling --- */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 30px auto 50px auto;
    padding: 0 15px;
}

.woocommerce-cart .woocommerce-cart-form {
    background: #ffffff;
    border: 1px solid var(--ed-border-col, #e2e8f0);
    border-radius: var(--ed-radius, 14px);
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    overflow-x: auto;
}

.woocommerce-cart table.cart {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-cart table.cart th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 16px !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce-cart table.cart td {
    padding: 18px 16px !important;
    vertical-align: middle !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
}

.woocommerce-cart table.cart td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    color: #94a3b8 !important;
    background: #f1f5f9 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart table.cart td.product-remove a.remove:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

.woocommerce-cart table.cart td.product-thumbnail img {
    width: 65px !important;
    height: 65px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.woocommerce-cart table.cart td.product-name a {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.woocommerce-cart table.cart td.product-name a:hover {
    color: var(--ed-primary, #C59D5F) !important;
}

.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart td.product-subtotal {
    font-weight: 800 !important;
    color: var(--ed-primary, #C59D5F) !important;
    font-size: 15px !important;
}

.woocommerce-cart .quantity input.qty {
    height: 38px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: center !important;
    width: 60px !important;
    outline: none !important;
    transition: border-color 0.2s;
}

.woocommerce-cart .quantity input.qty:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
}

.woocommerce-cart table.cart td.actions {
    padding-top: 24px !important;
}

.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woocommerce-cart .coupon input.input-text {
    height: 42px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    outline: none !important;
    transition: border-color 0.2s;
}

.woocommerce-cart .coupon input.input-text:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
}

.woocommerce-cart .coupon button.button,
.woocommerce-cart button[name="update_cart"] {
    background: #1e293b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart .coupon button.button:hover,
.woocommerce-cart button[name="update_cart"]:hover {
    background: var(--ed-primary, #C59D5F) !important;
    transform: translateY(-1px);
}

.woocommerce-cart .cart_totals {
    background: #ffffff;
    border: 1px solid var(--ed-border-col, #e2e8f0);
    border-radius: var(--ed-radius, 14px);
    padding: 26px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.woocommerce-cart .cart_totals h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.woocommerce-cart .cart_totals table.shop_table {
    border: none !important;
    width: 100% !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
    font-weight: 700 !important;
    color: #475569 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
    text-align: right !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total strong {
    font-size: 20px !important;
    color: var(--ed-primary, #C59D5F) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: linear-gradient(135deg, #C59D5F 0%, #b28849 100%) !important;
    color: #ffffff !important;
    padding: 15px 24px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    margin-top: 18px !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.3) !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(197, 157, 95, 0.42) !important;
}

/* --- 8. Checkout Page Advanced Styling --- */
.woocommerce-checkout .woocommerce {
    max-width: 1200px;
    margin: 30px auto 50px auto;
    padding: 0 15px;
}

.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 440px !important;
    gap: 32px !important;
    align-items: start !important;
}

@media (max-width: 991px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
    }
}

.woocommerce-checkout #customer_details {
    background: #ffffff;
    border: 1px solid var(--ed-border-col, #e2e8f0);
    border-radius: var(--ed-radius, 14px);
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.woocommerce-checkout h3 {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.woocommerce-checkout .form-row label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    height: 46px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce-checkout .form-row textarea {
    height: 100px !important;
    padding: 12px 14px !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.15) !important;
}

.woocommerce-checkout #order_review {
    background: #ffffff;
    border: 1px solid var(--ed-border-col, #e2e8f0);
    border-radius: var(--ed-radius, 14px);
    padding: 26px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 24px;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    border: none !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 10px 12px !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
    padding: 12px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total strong {
    font-size: 20px !important;
    color: var(--ed-primary, #C59D5F) !important;
}

.woocommerce-checkout #payment {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 16px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
}

.woocommerce-checkout #payment #place_order {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #C59D5F 0%, #b28849 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 24px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(197, 157, 95, 0.35) !important;
    transition: all 0.25s ease !important;
}

.woocommerce-checkout #payment #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(197, 157, 95, 0.45) !important;
}

/* --- 9. Single Product Page Advanced Styling --- */
.single-product div.product {
    max-width: 1200px;
    margin: 25px auto 50px auto;
    padding: 0 15px;
}

.single-product .woocommerce-product-gallery {
    border-radius: var(--ed-radius, 14px) !important;
    overflow: hidden !important;
    border: 1px solid var(--ed-border-col, #e2e8f0) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff !important;
}

.single-product .summary.entry-summary h1.product_title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin-bottom: 12px !important;
    line-height: 1.25 !important;
}

.single-product .summary.entry-summary p.price {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--ed-primary, #C59D5F) !important;
    margin-bottom: 16px !important;
}

.single-product .summary.entry-summary p.price del {
    color: #94a3b8 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

.single-product .woocommerce-product-details__short-description {
    font-size: 15px !important;
    color: #64748b !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
}

.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 24px 0 !important;
    padding: 20px 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.single-product form.cart .quantity input.qty {
    height: 48px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #1e293b !important;
    text-align: center !important;
    width: 65px !important;
    outline: none !important;
}

.single-product form.cart .quantity input.qty:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
}

.single-product button.single_add_to_cart_button {
    height: 48px !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.3) !important;
    transition: all 0.25s ease !important;
}

.single-product button.single_add_to_cart_button:hover {
    background: #b28849 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(197, 157, 95, 0.4) !important;
}

.single-product .woocommerce-tabs {
    margin-top: 40px !important;
    background: #ffffff;
    border: 1px solid var(--ed-border-col, #e2e8f0);
    border-radius: var(--ed-radius, 14px);
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.single-product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid #f1f5f9 !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    gap: 20px !important;
    background: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 0 12px 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
    color: #64748b !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.single-product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid var(--ed-primary, #C59D5F) !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    color: var(--ed-primary, #C59D5F) !important;
}

/* Single Product Category Meta Links */
.single-product .product_meta {
    font-size: 13px !important;
    color: #64748b !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.single-product .product_meta a,
.single-product .product_meta a:visited {
    color: var(--ed-primary, #C59D5F) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.single-product .product_meta a:hover {
    color: #b28849 !important;
    text-decoration: underline !important;
}

/* Single Product Reviews & Gold Rating Stars */
.woocommerce p.stars a,
.woocommerce p.stars a:hover,
.woocommerce p.stars a.active,
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before,
.single-product .star-rating span::before,
.single-product .star-rating::before,
.single-product p.stars a,
.single-product p.stars span a:hover ~ a::before,
.single-product p.stars span a:hover::before {
    color: var(--ed-primary, #C59D5F) !important;
}

.woocommerce p.stars a,
.single-product p.stars a {
    border-color: var(--ed-primary, #C59D5F) !important;
}

#review_form #comment {
    width: 100% !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

#review_form #comment:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
}

#review_form #submit,
.woocommerce #review_form #respond input#submit {
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(197, 157, 95, 0.3) !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    width: auto !important;
}

#review_form #submit:hover,
.woocommerce #review_form #respond input#submit:hover {
    background: #b28849 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.4) !important;
}

/* --- 5. Toast Popup Notifications --- */
.ed-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.ed-toast {
    background: #1e293b;
    color: #ffffff;
    border-left: 4px solid var(--ed-primary, #C59D5F);
    border-radius: 8px;
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    pointer-events: auto;
    animation: edToastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 360px;
}

.ed-toast.is-leaving {
    animation: edToastSlideOut 0.3s ease forwards;
}

.ed-toast-icon {
    color: var(--ed-primary, #C59D5F);
    font-size: 18px;
    flex-shrink: 0;
}

.ed-toast-link {
    color: var(--ed-primary, #C59D5F) !important;
    text-decoration: underline !important;
    font-weight: 700;
    margin-left: 6px;
}

@keyframes edToastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes edToastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
}

/* ==========================================================================
   8. Modern Checkout Page Suite
   ========================================================================== */
.woocommerce-checkout {
    background-color: #f8fafc !important;
}

.woocommerce-checkout .woocommerce {
    max-width: 1240px;
    margin: 30px auto 70px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-notices-wrapper {
    max-width: 1240px;
    margin: 0 auto 20px auto;
}

.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-info {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--ed-primary, #C59D5F) !important;
    border-radius: 12px !important;
    padding: 16px 20px 16px 50px !important;
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-checkout .woocommerce-info a {
    color: var(--ed-primary, #C59D5F) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.woocommerce-checkout form.checkout_coupon {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 22px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.woocommerce-checkout form.checkout_coupon input.input-text {
    height: 46px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
}

.woocommerce-checkout form.checkout_coupon button.button {
    height: 46px !important;
    background: #1e293b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 20px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

/* 2-Column Desktop Grid for Checkout */
@media (min-width: 992px) {
    form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: 1.15fr 0.85fr !important;
        gap: 32px !important;
        align-items: start !important;
    }

    #customer_details {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    #order_review_heading {
        display: none !important;
    }

    #order_review {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        position: sticky;
        top: 24px;
    }
}

/* Left Column: Customer Details Card */
#customer_details {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025);
    box-sizing: border-box;
}

#customer_details .col-1,
#customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    letter-spacing: -0.2px !important;
}

.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
    padding: 0 !important;
}

.woocommerce-checkout .form-row label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
}

.woocommerce-checkout .form-row label .required {
    color: #ef4444 !important;
    text-decoration: none !important;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.16) !important;
}

.woocommerce-checkout .form-row textarea {
    height: 90px !important;
}

/* Right Column: Order Review Card */
#order_review {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025);
    box-sizing: border-box;
}

#order_review::before {
    content: "Your Order Summary";
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: -0.2px;
}

table.woocommerce-checkout-review-order-table {
    border: none !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    border-collapse: collapse !important;
}

table.woocommerce-checkout-review-order-table th,
table.woocommerce-checkout-review-order-table td {
    padding: 12px 0 !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
}

table.woocommerce-checkout-review-order-table th {
    font-weight: 700 !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

table.woocommerce-checkout-review-order-table td.product-name {
    color: #1e293b !important;
    font-weight: 600 !important;
}

table.woocommerce-checkout-review-order-table td.product-total {
    text-align: right !important;
    color: #1e293b !important;
    font-weight: 700 !important;
}

table.woocommerce-checkout-review-order-table tr.order-total th,
table.woocommerce-checkout-review-order-table tr.order-total td {
    padding-top: 16px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border-bottom: none !important;
}

table.woocommerce-checkout-review-order-table tr.order-total td strong {
    color: var(--ed-primary, #C59D5F) !important;
    font-size: 18px !important;
}

/* Payment Methods Suite */
#payment {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-top: 15px !important;
}

#payment ul.payment_methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    list-style: none !important;
}

#payment ul.payment_methods li {
    margin-bottom: 12px !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    transition: border-color 0.2s ease !important;
}

#payment ul.payment_methods li label {
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

#payment div.payment_box {
    background: #fff8ee !important;
    border: 1px solid rgba(197, 157, 95, 0.25) !important;
    border-radius: 8px !important;
    color: #8c6d37 !important;
    padding: 12px !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

#payment div.payment_box::before {
    display: none !important;
}

#payment #place_order,
.woocommerce-checkout #place_order {
    width: 100% !important;
    height: 50px !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.3) !important;
    margin-top: 10px !important;
}

#payment #place_order:hover,
.woocommerce-checkout #place_order:hover {
    background: #b28849 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(197, 157, 95, 0.4) !important;
}

/* ==========================================================================
   9. Modern Thank You / Order Received Page Suite
   ========================================================================== */
.woocommerce-order-received {
    background-color: #f8fafc !important;
}

.woocommerce-order-received .woocommerce-order {
    max-width: 880px;
    margin: 40px auto 70px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hide raw default notice line */
.woocommerce-order-received p.woocommerce-thankyou-order-received {
    display: none !important;
}

/* Hero Order Confirmation Card */
.ed-thankyou-hero {
    background: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.06);
    margin-bottom: 28px;
}

.ed-thankyou-icon-wrap {
    width: 76px;
    height: 76px;
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.ed-thankyou-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    letter-spacing: -0.4px;
}

.ed-thankyou-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0 auto;
    max-width: 620px;
    line-height: 1.6;
}

.ed-thankyou-subtitle strong {
    color: #0f172a;
}

/* Order Summary 4-Column Grid */
ul.woocommerce-order-overview.woocommerce-thankyou-order-details {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

@media (max-width: 767px) {
    ul.woocommerce-order-overview.woocommerce-thankyou-order-details {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details li {
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 14px !important;
    padding: 18px 14px !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    margin: 0 !important;
    float: none !important;
    border-right: 1px solid #edf2f7 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details li strong {
    display: block !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-top: 6px !important;
    text-transform: none !important;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details li.total strong {
    color: var(--ed-primary, #C59D5F) !important;
}

/* Order Details Table Card */
.woocommerce-order-details {
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 18px !important;
    padding: 32px 28px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025) !important;
    margin-bottom: 28px !important;
}

.woocommerce-order-details__title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

table.woocommerce-table--order-details {
    border: none !important;
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
}

table.woocommerce-table--order-details th,
table.woocommerce-table--order-details td {
    padding: 14px 0 !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
}

table.woocommerce-table--order-details th {
    font-weight: 700 !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    text-transform: uppercase !important;
}

table.woocommerce-table--order-details tfoot th {
    text-align: left !important;
    font-weight: 600 !important;
    color: #64748b !important;
}

table.woocommerce-table--order-details tfoot td {
    text-align: right !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

table.woocommerce-table--order-details tfoot tr:last-child th,
table.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: none !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--ed-primary, #C59D5F) !important;
    padding-top: 18px !important;
}

/* Customer Addresses Card */
.woocommerce-customer-details {
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 18px !important;
    padding: 32px 28px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025) !important;
    margin-bottom: 28px !important;
}

.woocommerce-customer-details h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-customer-details .woocommerce-columns--addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

@media (max-width: 767px) {
    .woocommerce-customer-details .woocommerce-columns--addresses {
        grid-template-columns: 1fr !important;
    }
}

.woocommerce-customer-details address {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    font-style: normal !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    font-size: 13.5px !important;
}

/* Thank You Action Buttons */
.ed-thankyou-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 32px 0 20px 0;
    flex-wrap: wrap;
}

.ed-thankyou-shop-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 48px !important;
    padding: 0 28px !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(197, 157, 95, 0.25) !important;
    transition: all 0.25s ease !important;
}

.ed-thankyou-shop-btn:hover {
    background: #b28849 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.35) !important;
}

.ed-thankyou-account-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 48px !important;
    padding: 0 24px !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.ed-thankyou-account-btn:hover {
    border-color: var(--ed-primary, #C59D5F) !important;
    color: var(--ed-primary, #C59D5F) !important;
    background: #fffdfa !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   11. Modern Blog Archive, Single Post & Sidebar Styles
   ========================================================================== */

/* Main Blog Page Containers */
.ed-blog-page-container {
    max-width: 1340px !important;
    margin: 36px auto 70px !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1e293b !important;
}

/* Breadcrumbs Navigation */
.ed-blog-breadcrumb {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #64748b !important;
    margin-bottom: 24px !important;
}

.ed-blog-breadcrumb .ed-bc-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #64748b !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.ed-blog-breadcrumb .ed-bc-link:hover {
    color: var(--ed-primary, #C59D5F) !important;
    transform: translateY(-1px);
}

.ed-blog-breadcrumb .ed-bc-home-icon {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
}

.ed-blog-breadcrumb .ed-bc-sep {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #cbd5e1 !important;
}

.ed-blog-breadcrumb .ed-bc-sep svg {
    width: 11px !important;
    height: 11px !important;
    stroke: currentColor !important;
    opacity: 0.7;
    display: block;
}

.ed-blog-breadcrumb .ed-bc-current {
    color: #1e293b !important;
    font-weight: 600 !important;
    max-width: 320px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Blog Archive Header Banner */
.ed-blog-page-header {
    text-align: center !important;
    padding: 46px 32px !important;
    margin-bottom: 40px !important;
    background: linear-gradient(135deg, #fffdfa 0%, #fdf7ee 50%, #f7efe2 100%) !important;
    border: 1.5px solid rgba(197, 157, 95, 0.3) !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 32px rgba(197, 157, 95, 0.09), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    overflow: hidden !important;
}

.ed-blog-page-header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 8% !important;
    right: 8% !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(197, 157, 95, 0.6), transparent) !important;
}

.ed-blog-header-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: rgba(197, 157, 95, 0.18) !important;
    color: #8c6a28 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.3px !important;
    padding: 7px 18px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(197, 157, 95, 0.35) !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 6px rgba(197, 157, 95, 0.08) !important;
    transition: all 0.25s ease !important;
}

.ed-blog-header-badge:hover {
    background: rgba(197, 157, 95, 0.26) !important;
    transform: translateY(-1px) !important;
}

.ed-blog-header-badge .ed-header-badge-icon {
    width: 14px !important;
    height: 14px !important;
    stroke: #8c6a28 !important;
    flex-shrink: 0 !important;
}

.ed-blog-page-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.6px !important;
}

.ed-blog-page-desc {
    font-size: 16px !important;
    color: #64748b !important;
    max-width: 640px !important;
    margin: 0 auto !important;
    line-height: 1.65 !important;
}

/* 2-Column Layout Wrap: Main Content + Sidebar */
.ed-blog-layout-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    gap: 36px !important;
    align-items: start !important;
}

.ed-blog-main-content {
    min-width: 0 !important;
}

/* Blog Cards Grid */
.ed-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
}

/* Individual Blog Card */
.ed-blog-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.ed-blog-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(197, 157, 95, 0.35) !important;
}

/* Card Media / Thumbnail */
.ed-blog-card-media {
    position: relative !important;
    width: 100% !important;
    height: 230px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
}

.ed-blog-thumb-wrap {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

.ed-blog-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.ed-blog-card:hover .ed-blog-card-img {
    transform: scale(1.06) !important;
}

.ed-blog-card-img-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    color: #94a3b8 !important;
}

.ed-blog-card-badge {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.ed-blog-card-badge .ed-cat-badge-icon {
    width: 11px !important;
    height: 11px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
}

.ed-blog-card-badge:hover {
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(197, 157, 95, 0.35) !important;
}

/* Card Body */
.ed-blog-card-body {
    padding: 22px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.ed-blog-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    margin-bottom: 10px !important;
}

.ed-meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.ed-meta-item svg {
    width: 13px !important;
    height: 13px !important;
    color: var(--ed-primary, #C59D5F) !important;
    stroke: var(--ed-primary, #C59D5F) !important;
    flex-shrink: 0 !important;
}

.ed-meta-sep {
    color: #cbd5e1 !important;
    font-size: 10px !important;
}

.ed-blog-card-title {
    font-size: 18.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
}

.ed-blog-card-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.ed-blog-card-title a:hover {
    color: var(--ed-primary, #C59D5F) !important;
}

.ed-blog-card-excerpt {
    font-size: 13.5px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
}

/* Card Footer */
.ed-blog-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.ed-blog-author-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.ed-author-avatar-img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.ed-author-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

.ed-blog-read-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--ed-primary, #C59D5F) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.ed-blog-read-more svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
}

.ed-blog-read-more:hover {
    color: #9f793b !important;
}

.ed-blog-read-more:hover svg {
    transform: translateX(4px) !important;
}

/* Blog Pagination */
.ed-blog-pagination {
    margin-top: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.ed-blog-pagination .page-numbers {
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.ed-blog-pagination .page-numbers:hover {
    border-color: var(--ed-primary, #C59D5F) !important;
    color: var(--ed-primary, #C59D5F) !important;
}

.ed-blog-pagination .page-numbers.current {
    background: var(--ed-primary, #C59D5F) !important;
    border-color: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
}

/* No Posts Found Box */
.ed-blog-no-posts {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 50px 30px !important;
    text-align: center !important;
    color: #64748b !important;
}

.ed-blog-no-posts svg {
    color: #94a3b8 !important;
    margin-bottom: 16px !important;
}

.ed-blog-no-posts h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
}

.ed-blog-no-posts p {
    font-size: 14.5px !important;
    margin: 0 auto 24px auto !important;
    max-width: 460px !important;
}

.ed-blog-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
}

.ed-blog-btn-primary:hover {
    opacity: 0.9 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Blog Sidebar Component Styles (পাশে ক্যাটাগরি ও রিসেন্ট পোস্ট)
   ========================================================================== */
.ed-blog-sidebar {
    position: sticky !important;
    top: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.ed-sidebar-widget {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #eef2f6 !important;
    padding: 24px !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03) !important;
    box-sizing: border-box !important;
}

.ed-widget-title {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 18px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

.ed-widget-title-icon {
    color: var(--ed-primary, #C59D5F) !important;
}

/* Sidebar Search Widget */
.ed-search-input-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.ed-search-icon {
    position: absolute !important;
    left: 14px !important;
    color: #94a3b8 !important;
    pointer-events: none !important;
}

.ed-search-field {
    width: 100% !important;
    height: 46px !important;
    padding: 0 46px 0 40px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.ed-search-field:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.15) !important;
    outline: none !important;
}

.ed-search-submit {
    position: absolute !important;
    right: 6px !important;
    width: 34px !important;
    height: 34px !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.ed-search-submit:hover {
    background: #b28849 !important;
}

/* Sidebar Categories Widget */
.ed-blog-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.ed-blog-cat-item {
    margin: 0 !important;
    padding: 0 !important;
}

.ed-blog-cat-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: #f8fafc !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
}

.ed-cat-title-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.ed-cat-icon {
    width: 12px !important;
    height: 12px !important;
    color: #94a3b8 !important;
    stroke: currentColor !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
    flex-shrink: 0 !important;
}

.ed-blog-cat-link:hover,
.ed-blog-cat-item.is-active .ed-blog-cat-link {
    background: #fdfbf7 !important;
    border-color: rgba(197, 157, 95, 0.3) !important;
    color: var(--ed-primary, #C59D5F) !important;
    transform: translateX(3px) !important;
}

.ed-blog-cat-link:hover .ed-cat-icon,
.ed-blog-cat-item.is-active .ed-cat-icon {
    color: var(--ed-primary, #C59D5F) !important;
    transform: translateX(2px) !important;
}

.ed-cat-count {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
    transition: all 0.2s ease !important;
}

.ed-blog-cat-link:hover .ed-cat-count,
.ed-blog-cat-item.is-active .ed-cat-count {
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
}

/* Sidebar Recent Posts Widget */
.ed-recent-posts-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.ed-recent-post-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.ed-recent-post-thumb-link {
    width: 68px !important;
    height: 68px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #f1f5f9 !important;
    display: block !important;
    text-decoration: none !important;
}

.ed-recent-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.ed-recent-post-thumb-link:hover .ed-recent-thumb-img {
    transform: scale(1.08) !important;
}

.ed-recent-thumb-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

.ed-recent-post-meta {
    flex-grow: 1 !important;
    min-width: 0 !important;
}

.ed-recent-date {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    margin-bottom: 4px !important;
}

.ed-recent-date svg {
    width: 12px !important;
    height: 12px !important;
    color: var(--ed-primary, #C59D5F) !important;
    stroke: var(--ed-primary, #C59D5F) !important;
    flex-shrink: 0 !important;
}

.ed-recent-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.ed-recent-title a {
    color: #1e293b !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.2s ease !important;
}

.ed-recent-title a:hover {
    color: var(--ed-primary, #C59D5F) !important;
}

/* Sidebar Wellness CTA Banner */
.ed-cta-widget {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border: none !important;
    border-radius: 18px !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15) !important;
}

.ed-cta-inner {
    position: relative !important;
    z-index: 2 !important;
}

.ed-cta-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(197, 157, 95, 0.25) !important;
    color: #e9c388 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
}

.ed-cta-badge svg {
    width: 12px !important;
    height: 12px !important;
    stroke: #e9c388 !important;
    flex-shrink: 0 !important;
}

.ed-cta-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
}

.ed-cta-text {
    font-size: 13px !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
}

.ed-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 42px !important;
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(197, 157, 95, 0.3) !important;
    transition: all 0.2s ease !important;
}

.ed-cta-btn:hover {
    background: #b28849 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(197, 157, 95, 0.4) !important;
}

/* ==========================================================================
   Single Blog Post Card & Article Styles
   ========================================================================== */
.ed-single-post-container {
    max-width: 1340px !important;
}

.ed-single-post-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #eef2f6 !important;
    padding: 42px !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
}

.ed-single-post-header {
    margin-bottom: 30px !important;
}

.ed-single-post-title {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin: 14px 0 20px 0 !important;
    letter-spacing: -0.5px !important;
}

.ed-single-meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.ed-meta-author-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.ed-single-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.ed-author-by {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #94a3b8 !important;
    display: block !important;
}

.ed-author-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

.ed-meta-info-items {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.ed-meta-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    background: #f8fafc !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    border: 1px solid #eef2f6 !important;
}

.ed-meta-pill svg {
    color: var(--ed-primary, #C59D5F) !important;
}

/* Single Featured Image */
.ed-single-featured-wrap {
    margin-bottom: 34px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    max-height: 480px !important;
    background: #f8fafc !important;
}

.ed-single-featured-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Article Content Typography */
.ed-single-post-content {
    font-size: 16.5px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
}

.ed-single-post-content .ed-lead {
    font-size: 19px !important;
    line-height: 1.65 !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    margin-bottom: 24px !important;
}

.ed-single-post-content h2 {
    font-size: 25px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 36px 0 16px 0 !important;
    line-height: 1.35 !important;
}

.ed-single-post-content h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 28px 0 12px 0 !important;
}

.ed-single-post-content p {
    margin: 0 0 20px 0 !important;
}

.ed-single-post-content blockquote {
    border-left: 4px solid var(--ed-primary, #C59D5F) !important;
    padding: 20px 26px !important;
    margin: 30px 0 !important;
    background: #fdfbf7 !important;
    border-radius: 0 14px 14px 0 !important;
    font-style: italic !important;
    font-size: 17px !important;
    color: #1e293b !important;
    line-height: 1.6 !important;
}

.ed-single-post-content blockquote p {
    margin: 0 !important;
}

.ed-single-post-content ul,
.ed-single-post-content ol {
    margin: 18px 0 24px 22px !important;
    padding: 0 !important;
}

.ed-single-post-content li {
    margin-bottom: 9px !important;
    line-height: 1.7 !important;
}

/* Footer Tags & Social Share */
.ed-single-post-footer {
    margin-top: 40px !important;
    padding: 24px 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.ed-post-tags-wrap {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.ed-tags-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.ed-tags-label svg {
    color: var(--ed-primary, #C59D5F) !important;
    stroke: var(--ed-primary, #C59D5F) !important;
    flex-shrink: 0 !important;
}

.ed-tags-list {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.ed-tag-pill {
    display: inline-block !important;
    padding: 5px 12px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.ed-tag-pill:hover {
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.ed-share-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.ed-share-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

.ed-share-links {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.ed-share-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.ed-share-btn.share-fb {
    background: #1877f2 !important;
}

.ed-share-btn.share-tw {
    background: #0f172a !important;
}

.ed-share-btn.share-wa {
    background: #25d366 !important;
}

.ed-share-btn:hover {
    transform: translateY(-2px) !important;
    opacity: 0.9 !important;
}

/* Author Bio Card */
.ed-author-box {
    margin: 32px 0 !important;
    padding: 28px !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
    border: 1px solid #eef2f6 !important;
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
}

.ed-author-lg-img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.ed-author-box-subtitle {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 800 !important;
    color: var(--ed-primary, #C59D5F) !important;
    display: block !important;
}

.ed-author-box-name {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 4px 0 6px 0 !important;
}

.ed-author-box-bio {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Prev / Next Navigation Grid */
.ed-post-nav-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-top: 32px !important;
}

.ed-post-nav-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px 22px !important;
    border-radius: 14px !important;
    border: 1.5px solid #eef2f6 !important;
    background: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.ed-post-nav-card:hover {
    border-color: var(--ed-primary, #C59D5F) !important;
    box-shadow: 0 6px 20px rgba(197, 157, 95, 0.12) !important;
    transform: translateY(-2px) !important;
}

.ed-nav-direction {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.ed-nav-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 8px 0 0 0 !important;
    line-height: 1.4 !important;
}

/* Comments Area */
.ed-comments-container {
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.ed-comments-container h2,
.ed-comments-container .comments-title,
.ed-comments-container .comment-reply-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 20px 0 !important;
}

.ed-comments-container .comment-form input[type="text"],
.ed-comments-container .comment-form input[type="email"],
.ed-comments-container .comment-form textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    font-size: 14px !important;
    margin-bottom: 14px !important;
}

.ed-comments-container .comment-form input:focus,
.ed-comments-container .comment-form textarea:focus {
    border-color: var(--ed-primary, #C59D5F) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.15) !important;
    outline: none !important;
}

.ed-comments-container .form-submit input[type="submit"] {
    background: var(--ed-primary, #C59D5F) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 28px !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
}

.ed-comments-container .form-submit input[type="submit"]:hover {
    opacity: 0.9 !important;
}

/* ==========================================================================
   Responsive Breakpoints for Blog & Sidebar
   ========================================================================== */
@media (max-width: 1024px) {
    .ed-blog-layout-wrap {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .ed-blog-sidebar {
        position: static !important;
        top: 0 !important;
    }
}

@media (max-width: 768px) {
    .ed-blog-page-container {
        padding: 0 16px !important;
        margin: 20px auto 50px !important;
    }

    .ed-blog-page-header {
        padding: 30px 18px !important;
        margin-bottom: 28px !important;
    }

    .ed-blog-page-title {
        font-size: 26px !important;
    }

    .ed-blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .ed-single-post-card {
        padding: 24px 18px !important;
    }

    .ed-single-post-title {
        font-size: 24px !important;
    }

    .ed-post-nav-grid {
        grid-template-columns: 1fr !important;
    }

    .ed-author-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
    }
}

