/*
Theme Name: ePujan Child
Template: astra
Version: 1.0.0
Description: Custom design for ePujan online puja services.
Text Domain: epujan-child
*/

/* =========================================
   ePujan - Custom Website Design
========================================= */

:root {
    --ep-maroon: #9c2525;
    --ep-dark: #681b20;
    --ep-saffron: #e88a27;
    --ep-gold: #c6a15b;
    --ep-ivory: #fbf6ed;
    --ep-text: #30251f;
}

body {
    font-family: Arial, sans-serif;
    color: var(--ep-text);
}

.epujan-home {
    overflow: hidden;
}

.epujan-home a {
    text-decoration: none;
}

/* Hero section */

.ep-hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: 48% 52%;
    background: linear-gradient(115deg, #fff7e9, #f6d8a9);
}

.ep-hero-content {
    padding: 75px 7% 65px 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ep-eyebrow,
.ep-section-heading > span,
.ep-trust > div:first-child > span {
    color: var(--ep-saffron);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ep-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.12;
    color: var(--ep-maroon);
    margin: 18px 0;
}

.ep-hero-content > p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 520px;
}

.ep-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 22px 0 30px;
    font-size: 13px;
    font-weight: 600;
}

.ep-features span::first-letter {
    color: #27864b;
}

.ep-button {
    display: inline-block;
    width: fit-content;
    padding: 16px 30px;
    border-radius: 40px;
    background: var(--ep-maroon);
    color: #fff !important;
    font-weight: 700;
    transition: .25s ease;
}

.ep-button:hover {
    background: var(--ep-dark);
    transform: translateY(-2px);
}

.ep-hero-image {
    min-height: 520px;
    position: relative;
    background:
        linear-gradient(90deg, rgba(90,35,15,.05), transparent),
        radial-gradient(circle at 70% 45%, #e6a33c 0, #9d4a1e 38%, #54251b 100%);
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 25px;
}

.ep-image-caption {
    color: #fff7e8;
    font-family: Georgia, serif;
    font-size: 22px;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #40170f;
}

/* Categories */

.ep-categories {
    padding: 75px 6%;
    background: var(--ep-ivory);
}

.ep-section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.ep-section-heading h2,
.ep-trust h2,
.ep-cta h2 {
    font-family: Georgia, serif;
    color: var(--ep-dark);
    font-size: clamp(28px, 3vw, 38px);
    margin: 12px 0;
}

.ep-section-heading p {
    color: #75665b;
}

.ep-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: auto;
}

.ep-category-card {
    background: #fff;
    border: 1px solid #ead9bd;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    transition: .25s ease;
}

.ep-category-card:hover {
    border-color: var(--ep-saffron);
    box-shadow: 0 12px 30px rgba(95,54,20,.09);
    transform: translateY(-5px);
}

.ep-category-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 15px;
}

.ep-category-card h3 {
    color: var(--ep-maroon);
    font-size: 20px;
    margin-bottom: 8px;
}

.ep-category-card p {
    color: #76685c;
    font-size: 14px;
}

.ep-explore {
    display: inline-block;
    color: var(--ep-maroon);
    font-weight: 700;
    font-size: 13px;
    margin-top: 12px;
}

/* Trust section */

.ep-trust {
    padding: 75px 8%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #fff;
}

.ep-trust-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ep-trust-points > div {
    border-left: 2px solid var(--ep-gold);
    padding-left: 16px;
}

.ep-trust-points strong {
    color: var(--ep-saffron);
    font-size: 27px;
}

.ep-trust-points h3 {
    font-size: 17px;
    color: var(--ep-dark);
}

.ep-trust-points p {
    color: #75665b;
    font-size: 13px;
    line-height: 1.6;
}

/* CTA */

.ep-cta {
    padding: 65px 20px;
    text-align: center;
    background: #f8ead5;
}

.ep-cta p {
    margin-bottom: 25px;
}

/* Mobile */

@media (max-width: 900px) {
    .ep-hero {
        grid-template-columns: 1fr;
    }

    .ep-hero-content {
        padding: 55px 7%;
    }

    .ep-hero-image {
        min-height: 300px;
    }

    .ep-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ep-trust {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ep-hero h1 {
        font-size: 38px;
    }

    .ep-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .ep-category-grid {
        grid-template-columns: 1fr;
    }

    .ep-trust-points {
        grid-template-columns: 1fr;
    }

    .ep-categories {
        padding: 50px 6%;
    }
}


/* ePujan full-width layout and branded header */
.site-header { display: none !important; }
.ast-container,
.site-content .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.site-content { padding: 0 !important; }

.ep-site-header {
    min-height: 92px;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #fff;
    border-bottom: 1px solid #eee2d2;
}
.ep-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9c2525 !important;
    text-decoration: none !important;
}
.ep-brand-symbol { font-size: 42px; color: #e88a27; }
.ep-brand strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 32px;
    line-height: 1;
}
.ep-brand small { display: block; font-size: 12px; margin-top: 5px; }
.ep-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}
.ep-navigation a {
    color: #30251f !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}
.ep-navigation a:hover { color: #9c2525 !important; }

@media(max-width:900px) {
    .ep-site-header { flex-direction: column; padding: 15px; }
    .ep-navigation { justify-content: center; gap: 14px; }
}
@media(max-width:600px) {
    .ep-navigation { gap: 12px; }
    .ep-navigation a { font-size: 12px; }
    .ep-brand strong { font-size: 28px; }
}

/* FIX: ePujan homepage full-width layout */
body.home #secondary,
body.home .widget-area,
body.home .sidebar-main {
    display: none !important;
}

body.home #primary,
body.home .content-area,
body.home main#main,
body.home .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

body.home .ast-row {
    display: block !important;
    margin: 0 !important;
}

body.home .epujan-home {
    width: 100% !important;
    max-width: 100% !important;
}

body.home .ep-site-header {
    width: 100% !important;
}


/* ePujan Ganesha Hero Image */
.ep-hero-image {
    background:
        linear-gradient(90deg, rgba(70,25,15,.03), transparent),
        url("assets/images/ganesha-hero.jpg") center center / cover no-repeat !important;
    min-height: 520px;
    position: relative;
}

.ep-image-caption {
    background: rgba(105,25,25,.92);
    border: 1px solid #d6a64e;
    border-radius: 30px;
    padding: 12px 28px;
    color: #fff8e8;
    font-size: 19px;
    margin-bottom: 15px;
}


/* Fix: remove duplicate caption over generated hero artwork */
.ep-hero-image .ep-image-caption {
    display: none !important;
}


/* =========================================
   ePujan Puja Enquiry Page
========================================= */

.ep-enquiry-page {
    background: #fbf6ed;
    color: #30251f;
    padding-bottom: 60px;
}

.ep-enquiry-hero {
    text-align: center;
    padding: 65px 20px;
    background: linear-gradient(120deg, #fff4df, #f3dfc2);
}

.ep-enquiry-hero > span {
    color: #e88a27;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
}

.ep-enquiry-hero h1 {
    color: #9c2525;
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 44px);
    margin: 15px 0;
}

.ep-enquiry-hero p {
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
    color: #75665b;
}

.ep-enquiry-section {
    max-width: 950px;
    margin: 45px auto;
    padding: 0 20px;
}

.ep-enquiry-form {
    background: #fff;
    padding: 38px;
    border: 1px solid #ead9bd;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(95,54,20,.07);
}

.ep-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ep-form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ep-form-full {
    grid-column: 1 / -1;
}

.ep-form-field label {
    color: #681b20;
    font-weight: 700;
    font-size: 14px;
}

.ep-form-field input,
.ep-form-field select,
.ep-form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dfcfb8;
    border-radius: 8px;
    background: #fffdf9;
    color: #30251f;
    font-size: 15px;
}

.ep-form-field textarea {
    min-height: 120px;
}

.ep-form-field input:focus,
.ep-form-field select:focus,
.ep-form-field textarea:focus {
    border-color: #9c2525;
    outline: 2px solid rgba(156,37,37,.12);
}

.ep-enquiry-note {
    margin: 25px 0;
    padding: 14px;
    background: #fff7e9;
    border-left: 3px solid #e88a27;
    font-size: 13px;
    line-height: 1.6;
}

.ep-enquiry-submit {
    display: block;
    width: 100%;
    padding: 16px;
    border: 0;
    border-radius: 30px;
    background: #9c2525;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.ep-enquiry-submit:hover {
    background: #681b20;
}

.ep-enquiry-whatsapp {
    text-align: center;
    margin-top: 28px;
}

.ep-enquiry-whatsapp a {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    background: #198b45;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.ep-enquiry-success,
.ep-enquiry-error {
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-weight: 600;
}

.ep-enquiry-success {
    background: #e9f7ed;
    color: #176b35;
}

.ep-enquiry-error {
    background: #fff0ed;
    color: #a32620;
}

@media (max-width: 600px) {
    .ep-enquiry-form {
        padding: 22px 17px;
    }

    .ep-form-grid {
        grid-template-columns: 1fr;
    }

    .ep-form-full {
        grid-column: auto;
    }

    .ep-enquiry-hero {
        padding: 45px 18px;
    }
}

/* ePujan Service Card Prices */
.ep-category-price {
    color: #9c2525;
    font-size: 21px;
    font-weight: 700;
    margin: 12px 0 4px;
}

/* ePujan Enquiry Page - Full Width Layout Fix */
body.page-id-28 #secondary,
body.page-id-28 .widget-area,
body.page-id-28 .sidebar-main {
    display: none !important;
}

body.page-id-28 #content,
body.page-id-28 .site-content,
body.page-id-28 .site-content .ast-container,
body.page-id-28 #primary,
body.page-id-28 .content-area,
body.page-id-28 main#main,
body.page-id-28 .site-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-id-28 .ast-row {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.page-id-28 .ep-enquiry-page {
    width: 100% !important;
    max-width: 100% !important;
}

body.page-id-28 .ep-enquiry-section {
    width: 100%;
    max-width: 950px;
    margin: 45px auto;
    padding: 0 20px;
}

/* =========================================
   ePujan – Puja Services Page
========================================= */

.ep-services-page {
    background: #fbf6ed;
    color: #3d2924;
    padding-bottom: 60px;
}

.ep-services-hero {
    background: linear-gradient(135deg, #681b20, #9c2525);
    color: #fff;
    text-align: center;
    padding: 65px 20px;
}

.ep-services-hero span {
    color: #e8c98d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ep-services-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    margin: 14px 0;
}

.ep-services-hero p {
    max-width: 750px;
    margin: 0 auto;
    color: #f8e9df;
    font-size: 16px;
    line-height: 1.8;
}

.ep-services-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 55px 22px;
}

.ep-services-intro {
    text-align: center;
    margin-bottom: 35px;
}

.ep-services-intro h2 {
    color: #681b20;
    font-size: 30px;
    margin-bottom: 12px;
}

.ep-services-intro p {
    color: #66534b;
    font-size: 16px;
    line-height: 1.7;
}

.ep-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.ep-service-card {
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(80, 40, 20, 0.07);
    display: flex;
    flex-direction: column;
}

.ep-service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1e8db;
}

.ep-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ep-service-content {
    padding: 23px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ep-service-content h3 {
    color: #681b20;
    font-size: 21px;
    margin: 0 0 12px;
}

.ep-service-content p {
    color: #66534b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.ep-service-button {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    background: #9c2525;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.ep-service-button:hover {
    background: #681b20;
    color: #fff !important;
}

.ep-services-cta {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px 25px;
    text-align: center;
    background: #f1e5d3;
    border-radius: 12px;
}

.ep-services-cta h2 {
    color: #681b20;
    font-size: 27px;
    margin-bottom: 12px;
}

.ep-services-cta p {
    color: #66534b;
    line-height: 1.7;
    margin-bottom: 22px;
}

.ep-services-cta .ep-service-button {
    display: inline-block;
}

@media (max-width: 900px) {
    .ep-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .ep-services-hero {
        padding: 45px 18px;
    }

    .ep-services-container {
        padding: 38px 16px;
    }

    .ep-services-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ep-service-image {
        height: 210px;
    }

    .ep-services-intro h2 {
        font-size: 25px;
    }

    .ep-services-cta {
        margin: 0 16px;
        padding: 32px 18px;
    }
}

/* =========================================
   Puja Services – Full Width Layout
   Page ID: 29
========================================= */

body.page-id-29 #secondary,
body.page-id-29 .widget-area,
body.page-id-29 .sidebar-main {
    display: none !important;
}

body.page-id-29 #content,
body.page-id-29 .site-content,
body.page-id-29 .site-content > .ast-container,
body.page-id-29 .ast-container,
body.page-id-29 #primary,
body.page-id-29 .content-area,
body.page-id-29 main#main,
body.page-id-29 .site-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-id-29 .ep-services-page {
    width: 100% !important;
    max-width: 100% !important;
}

body.page-id-29 .ep-services-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Griha Pravesh Puja – Full Width Layout
   Page ID: 30
========================================= */

body.page-id-30 #secondary,
body.page-id-30 .widget-area,
body.page-id-30 .sidebar-main {
    display: none !important;
}

body.page-id-30 #content,
body.page-id-30 .site-content,
body.page-id-30 .site-content > .ast-container,
body.page-id-30 .ast-container,
body.page-id-30 #primary,
body.page-id-30 .content-area,
body.page-id-30 main#main,
body.page-id-30 .site-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-id-30 .ep-detail-page {
    width: 100% !important;
    max-width: 100% !important;
}

/* =========================================
   ePujan Individual Puja Detail Pages
   Page IDs: 31–36
   Consolidated Full Width Layout
========================================= */

body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) #secondary,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) .widget-area,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) .sidebar-main {
    display: none !important;
}

body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) #content,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) .site-content,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) .site-content > .ast-container,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) .ast-container,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) #primary,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) .content-area,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) main#main,
body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) .site-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body:is(.page-id-31, .page-id-32, .page-id-33, .page-id-34, .page-id-35, .page-id-36) .ep-detail-page {
    width: 100% !important;
    max-width: 100% !important;
}


/* =========================================
   ePujan Online Pandit Booking Page
========================================= */

body.page-id-37 #secondary {
    display: none !important;
}

body.page-id-37 #primary,
body.page-id-37 .content-area,
body.page-id-37 main#main,
body.page-id-37 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

body.page-id-37 .ep-pandit-booking-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 24px 70px;
    color: #38251f;
}

.ep-pandit-booking-hero {
    text-align: center;
    background: #fbf3e8;
    border-radius: 14px;
    padding: 45px 25px;
    margin-bottom: 35px;
    border-bottom: 4px solid #d49a36;
}

.ep-pandit-booking-hero h1 {
    color: #702c25;
    font-size: 36px;
    margin-bottom: 14px;
}

.ep-pandit-booking-hero p {
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

.ep-pandit-booking-content {
    max-width: 820px;
    margin: 0 auto;
}

.ep-pandit-booking-form {
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 5px 22px rgba(70, 40, 25, 0.06);
}

.ep-pandit-booking-form h2 {
    color: #702c25;
    font-size: 23px;
    margin: 10px 0 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eadfce;
}

.ep-booking-field {
    margin-bottom: 21px;
}

.ep-booking-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #49332b;
}

.ep-booking-field input,
.ep-booking-field select,
.ep-booking-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d8c9b7;
    border-radius: 7px;
    background: #fff;
    color: #38251f;
    font-size: 15px;
}

.ep-booking-field textarea {
    min-height: 120px;
}

.ep-booking-field input:focus,
.ep-booking-field select:focus,
.ep-booking-field textarea:focus {
    outline: none;
    border-color: #a64b36;
    box-shadow: 0 0 0 2px rgba(166, 75, 54, 0.12);
}

.ep-pandit-booking-submit {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 7px;
    background: #702c25;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ep-pandit-booking-submit:hover {
    background: #a64b36;
    color: #fff;
}

.ep-booking-disclaimer {
    margin: 20px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: #75645a;
}

.ep-booking-notice {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.ep-booking-success {
    background: #edf7ed;
    border: 1px solid #b7d9b7;
    color: #285b2a;
}

.ep-booking-error {
    background: #fff0ed;
    border: 1px solid #e7b9ae;
    color: #8b3023;
}

@media (max-width: 600px) {
    body.page-id-37 .ep-pandit-booking-page {
        padding: 25px 14px 45px;
    }

    .ep-pandit-booking-hero {
        padding: 30px 18px;
    }

    .ep-pandit-booking-hero h1 {
        font-size: 28px;
    }

    .ep-pandit-booking-form {
        padding: 22px 17px;
    }
}


/* =========================================
   ePujan Packages Page
========================================= */

body.page-id-38 #secondary {
    display: none !important;
}

body.page-id-38 #primary,
body.page-id-38 .content-area,
body.page-id-38 main#main,
body.page-id-38 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

body.page-id-38 .ep-packages-page {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 45px 24px 70px;
    color: #38251f;
}

.ep-packages-hero {
    text-align: center;
    background: #fbf3e8;
    border-bottom: 4px solid #d49a36;
    border-radius: 14px;
    padding: 55px 25px;
}

.ep-packages-eyebrow {
    display: inline-block;
    color: #a64b36;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ep-packages-hero h1 {
    color: #702c25;
    font-size: 38px;
    margin-bottom: 15px;
}

.ep-packages-hero p {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

.ep-packages-intro {
    text-align: center;
    max-width: 780px;
    margin: 55px auto 35px;
}

.ep-packages-intro h2,
.ep-packages-note h2 {
    color: #702c25;
    font-size: 27px;
}

.ep-packages-intro p,
.ep-packages-note p {
    line-height: 1.8;
}

.ep-package-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ep-package-card {
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: 13px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(70, 40, 25, 0.06);
    display: flex;
    flex-direction: column;
}

.ep-package-number {
    color: #d49a36;
    font-size: 29px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ep-package-card h2 {
    color: #702c25;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 14px;
}

.ep-package-card p {
    line-height: 1.8;
}

.ep-package-card ul {
    padding-left: 20px;
    margin: 10px 0 25px;
    line-height: 2;
}

.ep-package-link,
.ep-packages-contact-button {
    display: inline-block;
    background: #702c25;
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 7px;
    text-align: center;
    font-weight: 600;
    text-decoration: none !important;
    margin-top: auto;
}

.ep-package-link:hover,
.ep-packages-contact-button:hover {
    background: #a64b36;
    color: #fff !important;
}

.ep-packages-note {
    text-align: center;
    background: #fbf3e8;
    border-radius: 13px;
    padding: 40px 25px;
    margin-top: 55px;
}

.ep-packages-contact-button {
    margin-top: 12px;
}

@media (max-width: 900px) {
    .ep-package-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.page-id-38 .ep-packages-page {
        padding: 25px 14px 45px;
    }

    .ep-packages-hero {
        padding: 35px 18px;
    }

    .ep-packages-hero h1 {
        font-size: 29px;
    }

    .ep-package-categories {
        grid-template-columns: 1fr;
    }

    .ep-package-card {
        padding: 25px 20px;
    }
}


/* =========================================
   ePujan About Us Page
========================================= */

body.page-id-39 #secondary {
    display: none !important;
}

body.page-id-39 #primary,
body.page-id-39 .content-area,
body.page-id-39 main#main,
body.page-id-39 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

body.page-id-39 .ep-about-page {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 45px 24px 70px;
    color: #38251f;
}

.ep-about-hero {
    text-align: center;
    background: #fbf3e8;
    border-bottom: 4px solid #d49a36;
    border-radius: 14px;
    padding: 55px 25px;
}

.ep-about-eyebrow {
    color: #a64b36;
    font-weight: 600;
    letter-spacing: 1px;
}

.ep-about-hero h1 {
    color: #702c25;
    font-size: 38px;
    margin: 12px 0 15px;
}

.ep-about-hero p {
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.8;
}

.ep-about-section {
    margin: 45px 0;
}

.ep-about-section h2,
.ep-about-cta h2 {
    color: #702c25;
    font-size: 27px;
    margin-bottom: 18px;
}

.ep-about-section p {
    line-height: 1.9;
}

.ep-about-highlight {
    background: #fbf3e8;
    border-radius: 13px;
    padding: 35px;
}

.ep-about-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.ep-about-service-item {
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: 10px;
    padding: 23px;
}

.ep-about-service-item h3 {
    color: #702c25;
    font-size: 19px;
    margin-bottom: 10px;
}

.ep-about-service-item p {
    margin-bottom: 0;
}

.ep-about-values {
    padding-left: 23px;
    line-height: 2;
}

.ep-about-cta {
    text-align: center;
    background: #fbf3e8;
    border-radius: 13px;
    padding: 40px 25px;
}

.ep-about-button {
    display: inline-block;
    margin-top: 12px;
    padding: 13px 25px;
    background: #702c25;
    color: #fff !important;
    border-radius: 7px;
    text-decoration: none !important;
    font-weight: 600;
}

.ep-about-button:hover {
    background: #a64b36;
    color: #fff !important;
}

@media (max-width: 600px) {
    body.page-id-39 .ep-about-page {
        padding: 25px 14px 45px;
    }

    .ep-about-hero {
        padding: 35px 18px;
    }

    .ep-about-hero h1 {
        font-size: 29px;
    }

    .ep-about-highlight {
        padding: 23px 17px;
    }

    .ep-about-service-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   ePujan Contact Us Page
========================================= */

body.page-id-40 #secondary {
    display: none !important;
}

body.page-id-40 #primary,
body.page-id-40 .content-area,
body.page-id-40 main#main,
body.page-id-40 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

body.page-id-40 .ep-contact-page {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 45px 24px 70px;
    color: #38251f;
}

.ep-contact-hero {
    text-align: center;
    background: #fbf3e8;
    border-bottom: 4px solid #d49a36;
    border-radius: 14px;
    padding: 55px 25px;
}

.ep-contact-eyebrow {
    color: #a64b36;
    font-weight: 600;
    letter-spacing: 1px;
}

.ep-contact-hero h1 {
    color: #702c25;
    font-size: 38px;
    margin: 12px 0 15px;
}

.ep-contact-hero p {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

.ep-contact-intro {
    text-align: center;
    max-width: 780px;
    margin: 50px auto 35px;
}

.ep-contact-intro h2,
.ep-contact-enquiry h2,
.ep-contact-note h2 {
    color: #702c25;
    font-size: 27px;
}

.ep-contact-intro p,
.ep-contact-enquiry p,
.ep-contact-note p {
    line-height: 1.8;
}

.ep-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ep-contact-card {
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: 12px;
    padding: 30px 23px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(70, 40, 25, 0.05);
}

.ep-contact-icon {
    color: #d49a36;
    font-size: 32px;
    margin-bottom: 15px;
}

.ep-contact-card h2 {
    color: #702c25;
    font-size: 21px;
}

.ep-contact-card p {
    line-height: 1.8;
    margin-bottom: 0;
}

.ep-contact-enquiry {
    background: #fbf3e8;
    border-radius: 13px;
    text-align: center;
    padding: 40px 25px;
    margin-top: 50px;
}

.ep-contact-button {
    display: inline-block;
    margin-top: 12px;
    padding: 13px 25px;
    background: #702c25;
    color: #fff !important;
    border-radius: 7px;
    text-decoration: none !important;
    font-weight: 600;
}

.ep-contact-button:hover {
    background: #a64b36;
    color: #fff !important;
}

.ep-contact-note {
    margin-top: 35px;
    padding: 25px;
    border: 1px solid #eadfce;
    border-radius: 12px;
}

@media (max-width: 800px) {
    .ep-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.page-id-40 .ep-contact-page {
        padding: 25px 14px 45px;
    }

    .ep-contact-hero {
        padding: 35px 18px;
    }

    .ep-contact-hero h1 {
        font-size: 29px;
    }

    .ep-contact-grid {
        grid-template-columns: 1fr;
    }

    .ep-contact-card {
        padding: 25px 20px;
    }
}


/* =========================================
   ePujan Mobile Header and Navigation
========================================= */

@media (max-width: 768px) {

    .ep-site-header {
        min-height: auto;
        padding: 18px 15px;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
    }

    .ep-brand {
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .ep-brand-symbol {
        font-size: 36px;
    }

    .ep-brand strong {
        font-size: 28px;
    }

    .ep-navigation {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 18px;
    }

    .ep-navigation a {
        font-size: 13px;
        white-space: nowrap;
    }
}


/* =========================================
   ePujan Package Enquiry Page
========================================= */

body.page-id-44 #secondary {
    display: none !important;
}

body.page-id-44 #primary,
body.page-id-44 .content-area,
body.page-id-44 main#main,
body.page-id-44 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

body.page-id-44 .ep-package-enquiry {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 24px 70px;
    color: #38251f;
}

.ep-package-enquiry-hero {
    text-align: center;
    background: #fbf3e8;
    border-bottom: 4px solid #d49a36;
    border-radius: 14px;
    padding: 45px 25px;
    margin-bottom: 35px;
}

.ep-package-enquiry-hero span {
    color: #a64b36;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ep-package-enquiry-hero h1 {
    color: #702c25;
    font-size: 36px;
    margin: 12px 0;
}

.ep-package-enquiry-hero p {
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.ep-package-enquiry-form {
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 5px 22px rgba(70, 40, 25, 0.06);
}

.ep-package-enquiry-form h2 {
    color: #702c25;
    font-size: 23px;
    margin: 10px 0 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eadfce;
}

.ep-package-field {
    margin-bottom: 21px;
}

.ep-package-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #49332b;
}

.ep-package-field input,
.ep-package-field select,
.ep-package-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d8c9b7;
    border-radius: 7px;
    background: #fff;
    color: #38251f;
    font-size: 15px;
}

.ep-package-field textarea {
    min-height: 110px;
}

.ep-package-submit {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 7px;
    background: #702c25;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.ep-package-submit:hover {
    background: #a64b36;
    color: #fff;
}

.ep-package-disclaimer {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #75645a;
}

.ep-package-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.ep-package-message.success {
    background: #edf7ed;
    border: 1px solid #b7d9b7;
    color: #285b2a;
}

.ep-package-message.error {
    background: #fff0ed;
    border: 1px solid #e7b9ae;
    color: #8b3023;
}

@media (max-width: 600px) {
    body.page-id-44 .ep-package-enquiry {
        padding: 25px 14px 45px;
    }

    .ep-package-enquiry-hero {
        padding: 30px 18px;
    }

    .ep-package-enquiry-hero h1 {
        font-size: 29px;
    }

    .ep-package-enquiry-form {
        padding: 22px 17px;
    }
}

/* =========================================
   ePujan - My Account Page
========================================= */

body.woocommerce-account {
    background: #fbf6ed;
}

body.woocommerce-account .site-content {
    background: #fbf6ed;
    padding: 45px 20px 60px;
}

body.woocommerce-account .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    color: #49352e;
}

body.woocommerce-account .entry-title {
    max-width: 1100px;
    margin: 0 auto 25px;
    color: #702c25;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25%;
    background: #fffdf9;
    border: 1px solid #eadcc9;
    border-radius: 12px;
    padding: 12px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid #eee4d8;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 13px 14px;
    color: #702c25;
    text-decoration: none;
    font-weight: 600;
    border-radius: 7px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #f8eee0;
    color: #a64b36;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    width: 72%;
    background: #fffdf9;
    border: 1px solid #eadcc9;
    border-radius: 12px;
    padding: 28px;
    line-height: 1.8;
    min-height: 260px;
}

body.woocommerce-account .woocommerce-MyAccount-content a {
    color: #a04432;
}

@media (max-width: 768px) {
    body.woocommerce-account .site-content {
        padding: 25px 14px 40px;
    }

    body.woocommerce-account .entry-title {
        margin-bottom: 18px;
        font-size: 27px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 18px 15px;
        min-height: auto;
        overflow-wrap: anywhere;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 12px;
    }
}

/* =========================================
   ePujan - WooCommerce Cart Page
========================================= */

body.woocommerce-cart {
    background: #fbf6ed;
}

body.woocommerce-cart .site-content {
    background: #fbf6ed;
    padding: 40px 20px 60px;
}

body.woocommerce-cart .entry-title {
    color: #702c25;
    margin-bottom: 25px;
}

body.woocommerce-cart .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
}

body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .cart-empty {
    background: #fffdf9;
    border-top-color: #a64b36;
    border-radius: 9px;
    color: #49352e;
    padding: 22px;
}

body.woocommerce-cart .woocommerce-info::before {
    color: #a64b36;
}

body.woocommerce-cart .return-to-shop {
    margin-top: 25px;
}

body.woocommerce-cart .return-to-shop .button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    background: #702c25;
    color: #fff;
    border-radius: 7px;
    padding: 14px 25px;
    font-weight: 600;
}

body.woocommerce-cart .return-to-shop .button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: #a64b36;
    color: #fff;
}

@media (max-width: 768px) {
    body.woocommerce-cart .site-content {
        padding: 25px 14px 40px;
    }

    body.woocommerce-cart .entry-title {
        font-size: 27px;
    }

    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .cart-empty {
        padding: 18px 15px;
        line-height: 1.7;
    }

    body.woocommerce-cart .return-to-shop .button {
        display: block;
        width: 100%;
        text-align: center;
    }
}


/* =========================================
   ePujan - WooCommerce Checkout Mobile Layout
========================================= */

@media (max-width: 768px) {

    body.woocommerce-checkout {
        overflow-x: hidden;
    }

    body.woocommerce-checkout .site-content,
    body.woocommerce-checkout .site-content .ast-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 12px;
        padding-right: 12px;
    }

    body.woocommerce-checkout .woocommerce,
    body.woocommerce-checkout form.checkout {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review,
    body.woocommerce-checkout .col2-set,
    body.woocommerce-checkout .col2-set .col-1,
    body.woocommerce-checkout .col2-set .col-2 {
        float: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }

    body.woocommerce-checkout #customer_details {
        margin-bottom: 25px;
    }

    body.woocommerce-checkout .form-row {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.woocommerce-checkout input.input-text,
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea {
        max-width: 100%;
        box-sizing: border-box;
    }

    body.woocommerce-checkout #order_review {
        overflow-wrap: anywhere;
    }

    body.woocommerce-checkout #place_order {
        width: 100%;
        white-space: normal;
    }
}
