.epg-container {
    width: min(var(--epg-container), calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(199, 209, 220, 0.75);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.epg-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 84px;
    gap: 24px;
}

.site-navigation {
    justify-self: center;
}

.epg-header-actions {
    justify-self: end;
}

.site-main {
    padding-bottom: 72px;
}

.epg-section {
    padding: 56px 0;
    position: relative;
}

.epg-section:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 80%);
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(199, 209, 220, 0.6),
        transparent
    );
}

.epg-hero-section {
    padding-top: 36px;
    padding-bottom: 42px;
}

.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--epg-color-border);
    background: rgba(255, 255, 255, 0.92);
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.epg-grid {
    display: grid;
    gap: 24px;
}

.epg-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.epg-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.epg-hero-section .epg-grid-2 {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
}

.epg-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* DEFAULT CONTENT PAGES */

.epg-default-page {
    padding-bottom: 72px;
}

.epg-page-card {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(217, 225, 234, 0.95);
    border-radius: 28px;
    padding: 42px;
    box-shadow:
        0 24px 60px rgba(18, 58, 120, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.75);
}

.epg-page-header {
    margin-bottom: 28px;
}

.epg-page-title {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-top: 14px;
    margin-bottom: 0;
}

.epg-page-content {
    color: var(--epg-color-text-soft);
    font-size: 1rem;
    line-height: 1.8;
}

.epg-page-content > *:first-child {
    margin-top: 0;
}

.epg-page-content > *:last-child {
    margin-bottom: 0;
}

.epg-page-content h2,
.epg-page-content h3,
.epg-page-content h4 {
    color: var(--epg-color-text);
    letter-spacing: -0.03em;
    margin-top: 32px;
    margin-bottom: 12px;
}

.epg-page-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.epg-page-content h3 {
    font-size: 1.35rem;
}

.epg-page-content p,
.epg-page-content ul,
.epg-page-content ol {
    margin-bottom: 16px;
}

.epg-page-content ul,
.epg-page-content ol {
    padding-left: 22px;
}

.epg-page-content li {
    margin-bottom: 8px;
}

.epg-page-content a {
    color: var(--epg-color-primary);
    font-weight: 700;
}

.epg-page-content strong {
    color: var(--epg-color-text);
}

.epg-page-links {
    margin-top: 28px;
    color: var(--epg-color-text-soft);
}

/* FAQ PAGE */

.epg-page-intro {
    max-width: 680px;
    margin-top: 18px;
    color: var(--epg-color-text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

.epg-faq-list {
    display: grid;
    gap: 18px;
}

.epg-faq-item {
    background: #ffffff;
    border: 1px solid var(--epg-color-border);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: var(--epg-shadow-soft);
}

.epg-faq-item h2 {
    font-size: 1.15rem;
    margin: 0 0 10px;
    color: var(--epg-color-primary-dark);
    letter-spacing: -0.02em;
}

.epg-faq-item p {
    margin: 0;
    color: var(--epg-color-text-soft);
    line-height: 1.7;
}

.epg-faq-item {
    transition: all 0.25s ease;
}

.epg-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* CONTACT PAGE */

.epg-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.epg-contact-card {
    background: #ffffff;
    border: 1px solid var(--epg-color-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--epg-shadow-soft);
    transition: all 0.25s ease;
}

.epg-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.epg-contact-card h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--epg-color-primary-dark);
}

.epg-contact-card p {
    margin: 0;
    color: var(--epg-color-text-soft);
    line-height: 1.6;
}

.epg-contact-note {
    margin-top: 24px;
    color: var(--epg-color-text-soft);
    font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 900px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* SINGLE PRODUCT PAGE */

.single-product .product {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--epg-color-border);
    box-shadow: var(--epg-shadow-soft);
}

.single-product .product .summary {
    padding-left: 20px;
}

.single-product .product .price {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 10px 0;
}

.single-product .product .woocommerce-product-details__short-description {
    color: var(--epg-color-text-soft);
    line-height: 1.7;
}

/* Tabs */
.woocommerce-tabs {
    margin-top: 30px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--epg-color-border);
}

/* GLOBAL TYPOGRAPHY POLISH */

body {
    line-height: 1.6;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
}

/* Section spacing consistency */
.epg-section {
    padding: 60px 0;
}

/* Card consistency */
.epg-page-card {
    padding: 40px;
}

/* PRODUCT PAGE FINAL POLISH */

/* Add spacing between sections */
.single-product .product {
    margin-bottom: 30px;
}

/* Description box */
.woocommerce-tabs {
    margin-top: 40px;
    padding: 28px;
}

/* Related products */
.related.products {
    margin-top: 50px;
}

.related.products h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Fix related product alignment */
.related.products ul.products {
    justify-content: flex-start;
}

/* SALE BADGE */

.woocommerce span.onsale {
    background: var(--epg-color-primary);
    color: #fff;
    border-radius: 50px;
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    top: 12px;
    right: 12px;
}

.woocommerce-products-header {
    margin-bottom: 30px;
}

.single-product .product .summary::after {
    content: "✔ Fast verification • ✔ Secure checkout • ✔ Direct purchase";
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--epg-color-text-soft);
}

@media (max-width: 991px) {
    .epg-grid-2,
    .epg-grid-3,
    .epg-grid-4,
    .epg-hero-section .epg-grid-2 {
        grid-template-columns: 1fr;
    }

    .epg-header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 16px 0;
        gap: 16px;
    }

    .site-navigation,
    .epg-header-actions {
        justify-self: center;
    }

    .epg-section {
        padding: 42px 0;
    }

    .epg-hero-section {
        padding-top: 24px;
    }
}

@media (max-width: 767px) {
    .epg-container {
        width: min(var(--epg-container), calc(100% - 20px));
    }
	
	.epg-default-page {
        padding-bottom: 56px;
    }

    .epg-page-card {
        padding: 24px;
        border-radius: 22px;
    }

    .epg-page-title {
        font-size: 2.4rem;
    }
	
	.epg-faq-item {
        padding: 18px;
        border-radius: 16px;
    }
	
	.epg-contact-grid {
        grid-template-columns: 1fr;
    }
	
	.epg-section {
        padding: 40px 0;
    }

    .epg-page-card {
        padding: 24px;
    }
}