/* Restored HDM membership landing styles (original client design) */
:root{

    --hdm-maroon:#751017;
    --hdm-maroon-dark:#620b10;
    --hdm-maroon-light:#8c1b22;

    --hdm-cream:#fff9e9;
    --hdm-cream-dark:#fff3cf;

    --hdm-border:#a52b22;

    --hdm-text:#111111;
    --hdm-muted:#555;

    --hdm-gold:#f5c400;

}

body.hdm-membership-landing {
  background: #fffae8;
}

.hdm-registration-info {
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;

    background: #fffaf0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   MAIN WRAPPER
========================================================= */

.hdm-info-wrapper {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    

    box-sizing: border-box;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px;

    position: relative;
}


/* =========================================================
   COMMON CARD
========================================================= */

.hdm-info-card {
    position: relative;

    min-height: 325px;

    border-radius: 15px;

    overflow: hidden;

    box-sizing: border-box;

    border: 1px solid #f2dfc2;

    box-shadow:
        0 3px 12px rgba(120, 75, 25, 0.10);

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fffdfa 55%,
            #fff4db 100%
        );
}


/* =========================================================
   LEFT CARD
========================================================= */

.hdm-benefits-card {
    padding: 15px 22px 15px 18px;
}


/* =========================================================
   BENEFITS HEADER
========================================================= */

.hdm-benefits-header {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 8px;
}


.hdm-header-icon {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #94191c;

    color: #fff;

    border: 4px solid #f4d79f;

    box-shadow:
        0 0 0 3px #fff7e8;
}


.hdm-header-icon i {
    font-size: 25px;
}


.hdm-benefits-header h2 {
    margin: 0;

    color: #101d43;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.2;
}


/* =========================================================
   BENEFITS LIST
========================================================= */

.hdm-benefits-list {
    width: 100%;
}


.hdm-benefit-item {
    min-height: 43px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: #162346;

    font-size: 15px;

    line-height: 1.3;

    border-bottom: 1px dashed #e8d6b9;
}


.hdm-benefit-item:last-child {
    border-bottom: none;
}


/* =========================================================
   BENEFIT ICON
========================================================= */

.hdm-benefit-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #fff2d5;

    color: #94191c;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 16px;
}


.hdm-benefit-item > span:last-child {
    flex: 1;
}


/* =========================================================
   CENTER ARROW
========================================================= */

.hdm-info-arrow {
    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    width: 43px;
    height: 43px;

    border-radius: 50%;

    background: #fff;

    border: 1px solid #dfb58f;

    color: #a52222;

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 10;

    box-shadow:
        0 2px 8px rgba(100, 60, 20, 0.08);
}


.hdm-info-arrow i {
    font-size: 20px;
}


/* =========================================================
   RIGHT CARD
========================================================= */

.hdm-filling-card {
    min-height: 325px;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(255, 225, 160, 0.55),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fffdf8 0%,
            #fff9ed 60%,
            #ffefc9 100%
        );
}


/* =========================================================
   FILLING CONTENT
========================================================= */

.hdm-filling-content {
   

    padding: 28px 0 20px 35px;

    box-sizing: border-box;
}


.hdm-filling-content h1 {
    margin: 0;

    color: #132143;

    font-size: 42px;

    line-height: 0.98;

    font-weight: 700;
}


.hdm-filling-content h1 span {
    display: block;

    color: #991b1e;
}


.hdm-filling-content h1 strong {
    display: block;

    font-weight: 700;
}


.hdm-filling-content h1 span:last-child {
    margin-top: 3px;
}


/* =========================================================
   DECORATIVE LINE
========================================================= */

.hdm-title-decoration {
    display: flex;

    align-items: center;

    gap: 7px;

    width: 100%;

    margin: 17px 0 12px;
}


.hdm-title-decoration span {
    height: 1px;

    background: #dfc5a4;

    flex: 1;
}


.hdm-title-decoration i {
    color: #d4aa76;

    font-size: 17px;
}


/* =========================================================
   BOTTOM CONTENT
========================================================= */

.hdm-filling-bottom {
    display: flex;

    align-items: flex-start;

    gap: 25px;
}


/* =========================================================
   QUICK BOX
========================================================= */

.hdm-quick-box {
    min-height: 45px;

    padding: 8px 14px;

    border-radius: 12px;

    border: 1px solid #efd8b0;

    background: rgba(255, 250, 235, 0.9);

    display: flex;

    align-items: center;

    gap: 10px;

    white-space: nowrap;

    color: #132143;

    font-size: 14px;
}


.hdm-quick-box i {
    color: #a51c20;

    font-size: 23px;
}


.hdm-quick-box b {
    color: #a51c20;
}


/* =========================================================
   HERITAGE BOX
========================================================= */

.hdm-heritage-box {
    min-height: 62px;
width: 230px;
    padding: 8px 13px;

    border: 1px solid #e7cba3;

    border-radius: 12px;

    background: rgba(255, 251, 241, 0.85);

    display: flex;

    align-items: center;

    gap: 10px;

    color: #172445;

    font-size: 13px;

    line-height: 1.3;
}


.hdm-heritage-box i {
    color: #a51c20;

    font-size: 30px;
}


.hdm-heritage-box strong {
    color: #a51c20;
}


/* =========================================================
   GODDESS IMAGE
========================================================= */

.hdm-goddess-image {
    position: absolute;

    right: 20px;

    top: 20px;

    width: 180px;

    height: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 2;
}


.hdm-goddess-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================================
   DECORATIVE MANDALA
========================================================= */

.hdm-mandala-decoration {
    position: absolute;

    bottom: -45px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 180px;

    line-height: 1;

    color: rgba(220, 170, 90, 0.13);

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .hdm-info-wrapper {
        max-width: 1400px;
    }

    .hdm-benefits-header h2 {
        font-size: 26px;
    }

    .hdm-filling-content h1 {
        font-size: 44px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .hdm-info-wrapper {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .hdm-info-arrow {
        left: 50%;

        top: 50%;

        transform: translate(-50%, -50%) rotate(90deg);
    }


    .hdm-info-card {
        min-height: 300px;
    }


    .hdm-filling-content {
        width: 65%;
    }


    .hdm-goddess-image {
        right: 25px;

        width: 190px;
        height: 190px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .hdm-registration-info {
        padding: 10px 0;
    }


    .hdm-info-wrapper {
        padding: 0 0px;

        grid-template-columns: 1fr;

        gap: 12px;
    }


    .hdm-info-card {
        min-height: auto;

        border-radius: 13px;
    }


    /* LEFT */

    .hdm-benefits-card {
        padding: 15px;
    }


    .hdm-benefits-header {
        gap: 12px;
    }


    .hdm-header-icon {
        flex: 0 0 48px;

        width: 48px;
        height: 48px;
    }


    .hdm-header-icon i {
        font-size: 21px;
    }


    .hdm-benefits-header h2 {
        font-size: 21px;
    }


    .hdm-benefit-item {
        min-height: 45px;

        font-size: 14px;

        gap: 9px;
    }


    .hdm-benefit-icon {
        flex: 0 0 32px;

        width: 32px;
        height: 32px;

        font-size: 14px;
    }


    /* ARROW */

    .hdm-info-arrow {
        position: absolute;

        left: 50%;

        top: 46%;

        bottom: auto;

        margin-top: 0;

        transform: translate(-50%, -50%) rotate(90deg);

        width: 40px;
        height: 40px;
    }


    /* RIGHT */

    .hdm-filling-card {
        min-height: 390px;
    }


    .hdm-filling-content {
        width: 100%;

        padding: 25px 20px;
    }


    .hdm-filling-content h1 {
        font-size: 36px;

        line-height: 1;
    }


    .hdm-goddess-image {
        width: 150px;
        height: 150px;

        right: 10px;

        top: 135px;

        opacity: 0.95;
    }


    .hdm-filling-bottom {
        position: relative;

        z-index: 5;

        flex-direction: column;

        gap: 12px;

        margin-top: 10px;
    }


    .hdm-quick-box {
        width: fit-content;

        max-width: 100%;

        white-space: normal;
    }


    .hdm-heritage-box {
        width: fit-content;
    }


    .hdm-mandala-decoration {
        font-size: 130px;

        bottom: -30px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hdm-benefits-header h2 {
        font-size: 19px;
    }


    .hdm-benefit-item {
        font-size: 13px;
    }


    .hdm-filling-card {
        min-height: 430px;
    }

 .hdm-info-arrow {    top: 43%;}
 
 
 
    .hdm-filling-content h1 {
        font-size: 30px; text-align: center;
    }
.hdm-quick-box {
    width: 100%;}

    .hdm-goddess-image {
        width: 135px;
        height: 135px;
position: relative;
        top: auto;margin: 0px auto;
    }

 .hdm-heritage-box {
    width: 100%;
  }
    .hdm-quick-box {
        font-size: 13px;
    }


    .hdm-heritage-box {
        font-size: 12px;
    }

}
/* =========================================================
   MAIN LAYOUT
========================================================= */

.membership-type-section {
    width: 100%;
   background: var(--hdm-cream);
  border: 2px solid var(--hdm-border);
  border-radius: 7px;
  padding: 20px 10px 0px 10px;
    position: relative;
margin-bottom: 20px;
   

   
    box-sizing: border-box;

    overflow: hidden;

   
    color: #101d3b;
}


/* =========================================================
   DECORATION
========================================================= */

.membership-decor {
    position: absolute;

    top: 30px;

    font-size: 28px;

    line-height: 1;

    z-index: 1;

    pointer-events: none;
}

.membership-decor-left {
    left: 20px;
}

.membership-decor-right {
    right: 20px;
}


/* =========================================================
   HEADING
========================================================= */

.membership-heading {
    text-align: center;

    position: relative;

    z-index: 2;

    margin-bottom: 28px;
}

.membership-heading h2 {
    margin: 0;

    padding: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 52px !important;

    line-height: 1.1 !important;

    font-weight: 700 !important;

    color: #7d1014 !important;

    letter-spacing: -1px;

    text-align: center;
}

.membership-divider {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin: 10px auto 10px;

    max-width: 220px;

    color: #e8a019;

    font-size: 15px;
}

.membership-divider::before,
.membership-divider::after {
    content: "";

    height: 1px;

    flex: 1;

    background: #e8a019;
}

.membership-heading p {
    margin: 0 !important;

    padding: 0 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px !important;

    line-height: 1.5 !important;

    color: #101d3b !important;

    text-align: center;
}

.membership-heading p strong {
    color: #9d151a;
}


/* =========================================================
   CARD GRID
========================================================= */

.membership-cards {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    box-sizing: border-box;
}


/* =========================================================
   MEMBERSHIP CARD
========================================================= */

.membership-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}


/* =========================================================
   CARD
========================================================= */

.membership-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 390px;

    padding: 18px 10px 8px;

    border: 1px solid #e2c9a8;
    border-radius: 10px;

    background: #fffdf8;

    cursor: pointer;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

    box-sizing: border-box;
}

.membership-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(90,40,20,.12);
}
.membership-card .hdm-contribution-check {
    /* shown when selected — see rules near end of file */
    display: none;
}


/* =========================================================
   MEMBERSHIP ICON
========================================================= */

.membership-icon {

    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 2px;
    margin-bottom: 5px;

    border-radius: 50%;

    font-size: 32px;

    background: #8d0d13;
    color: #fff;

    border: 4px solid #fff;

    box-shadow:
        0 0 0 2px #d9c3a3,
        0 4px 10px rgba(0,0,0,0.12);

    transition: all 0.3s ease;

    z-index: 2;
}


/* INDIVIDUAL */

.individual-card .membership-icon {
    background: #174584;
}


/* BUSINESS */

.business-card .membership-icon {
    background: #075b31;
}


/* =========================================================
   TITLE
========================================================= */

.membership-card h3 {

    margin: 2px 0 3px;

    text-align: center;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;

    line-height: 0.95;

    color: #8d0d13;

    transition: all 0.25s ease;
}


/* Individual title */

.individual-card h3 {
    color: #174584;
}


/* Business title */

.business-card h3 {
    color: #075b31;
}


/* =========================================================
   FOR TEXT
========================================================= */

.membership-for {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    font-weight: 600;

    color: #171717;

    text-align: center;
}


/* GOLD STARS */

.membership-for span {
    color: #d99812;
}




/* =========================================================
   FAMILY PEOPLE
========================================================= */

.family-people {

    display: flex;

    align-items: flex-end;

    gap: 7px;

    color: #b73a3e;

    font-size: 58px;

    line-height: 1;
}
.family-card:has(input[type="radio"]:checked) {

    border: 3px solid #b30d14;

    background:
        linear-gradient(
            145deg,
            #fffefa 0%,
            #fff0f0 100%
        );

    box-shadow:
        0 12px 30px rgba(179, 13, 20, 0.30),
        0 0 0 5px rgba(179, 13, 20, 0.10);

    transform: translateY(-5px);
}


/* =========================================================
   SELECTED INDIVIDUAL
========================================================= */

.individual-card:has(input[type="radio"]:checked) {

    border: 3px solid #174584;

    background:
        linear-gradient(
            145deg,
            #fffefa 0%,
            #edf4ff 100%
        );

    box-shadow:
        0 12px 30px rgba(23, 69, 132, 0.30),
        0 0 0 5px rgba(23, 69, 132, 0.10);

    transform: translateY(-5px);
}


/* =========================================================
   SELECTED BUSINESS
========================================================= */

.business-card:has(input[type="radio"]:checked) {

    border: 3px solid #075b31;

    background:
        linear-gradient(
            145deg,
            #fffefa 0%,
            #edf8f1 100%
        );

    box-shadow:
        0 12px 30px rgba(7, 91, 49, 0.30),
        0 0 0 5px rgba(7, 91, 49, 0.10);

    transform: translateY(-5px);
}


/* =========================================================
   SELECTED CARD TOP STRIPE
========================================================= */

.membership-card:has(input[type="radio"]:checked)::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    z-index: 10;
}


.family-card:has(input[type="radio"]:checked)::before {
    background: #b30d14;
}


.individual-card:has(input[type="radio"]:checked)::before {
    background: #174584;
}


.business-card:has(input[type="radio"]:checked)::before {
    background: #075b31;
}


/* =========================================================
   SELECTED ICON
========================================================= */

.membership-card:has(input[type="radio"]:checked)
.membership-icon {

    transform: scale(1.10);

    box-shadow:
        0 0 0 4px rgba(255,255,255,0.9),
        0 0 0 6px rgba(0,0,0,0.08),
        0 7px 18px rgba(0,0,0,0.20);
}


/* =========================================================
   SELECTED TITLE
========================================================= */

.membership-card:has(input[type="radio"]:checked) h3 {

    transform: scale(1.04);

    font-weight: 800;
}


/* =========================================================
   SELECTED PRICE
========================================================= */

.membership-card:has(input[type="radio"]:checked)
.membership-price {

    box-shadow:
        0 -2px 8px rgba(0,0,0,0.12);
}


/* =========================================================
   HOVER
========================================================= */

.membership-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 7px 18px rgba(0,0,0,0.12);
}


/* Selected hover */

.membership-card:has(input[type="radio"]:checked):hover {

    transform: translateY(-7px);
}

/* =========================================================
   INDIVIDUAL PERSON
========================================================= */

.meditation-person {

    color: #315a94;

    font-size: 72px;

    line-height: 1;
}


/* =========================================================
   RADIO
========================================================= */

.membership-radio {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;

    pointer-events: none !important;

    margin: 0 !important;
}


/* =========================================================
   CUSTOM CHECKBOX
========================================================= */

.membership-checkbox {
    position: absolute;

    top: 12px;

    left: 12px;

    width: 20px;

    height: 20px;

    border: 1.5px solid #7e1116;

    border-radius: 4px;

    background: #fff;

    z-index: 20;

    box-sizing: border-box;
}


/* FAMILY CHECKBOX */

.family-card .membership-checkbox {
    border-color: #b52325;
}


/* INDIVIDUAL CHECKBOX */

.individual-card .membership-checkbox {
    border-color: #163d78;
}


/* BUSINESS CHECKBOX */

.business-card .membership-checkbox {
    border-color: #0a542e;
}
.individual-card:has(input[type="radio"]:checked) {
  border-color: #123a76 !important;
  box-shadow: 0 0 0 1px rgba(141, 13, 19, 0.15);
}
.business-card:has(input[type="radio"]:checked) {
  border-color: #07542d !important;
  box-shadow: 0 0 0 1px rgba(141, 13, 19, 0.15);
}
.membership-card > input[type="radio"]:checked {

    background: #8d0d13;

    border-color: #8d0d13;

    box-shadow:
        0 0 0 3px #fff,
        0 0 0 5px rgba(141, 13, 19, 0.25);
}


/* RADIO DOT */

.membership-card > input[type="radio"]:checked::after {

    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    background: #ffffff;

    border-radius: 50%;

    top: 4.5px;
    left: 4.5px;
}
/* CHECKED */

.membership-radio:checked + .membership-checkbox {
    background: #8b1116;

    border-color: #8b1116;
}

.individual-card
.membership-radio:checked
+ .membership-checkbox {
    background: #153d78;

    border-color: #153d78;
}

.business-card
.membership-radio:checked
+ .membership-checkbox {
    background: #07542d;

    border-color: #07542d;
}

.membership-radio:checked + .membership-checkbox::after {
    content: "✓";

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -52%);

    color: #fff;

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   ICON
========================================================= */

.membership-icon {
    width: 72px;

    height: 72px;

    min-width: 72px;

    min-height: 72px;

    margin-top: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    z-index: 10;

    border: 4px solid #fff;

    box-shadow:
        0 1px 5px rgba(0,0,0,.25);

    font-family: Arial, sans-serif;
}

.membership-icon i {
    font-size: 32px;

    color: #fff;
}


/* FAMILY */

.family-card .membership-icon {
    background: #9d151a;
}


/* INDIVIDUAL */

.individual-card .membership-icon {
    background: #153d78;
}


/* BUSINESS */

.business-card .membership-icon {
    background: #08612f;
}


/* =========================================================
   CARD TITLE
========================================================= */

.membership-card h3 {
    width: 100%;

    margin: 8px 0 2px !important;

    padding: 0 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px !important;

    line-height: 1.02 !important;

    font-weight: 700 !important;

    text-align: center;

    position: relative;

    z-index: 10;
}


/* FAMILY */

.family-card h3 {
    color: #94151a !important;
}


/* INDIVIDUAL */

.individual-card h3 {
    color: #173e79 !important;
}


/* BUSINESS */

.business-card h3 {
    color: #07542c !important;
}


/* =========================================================
   FOR TEXT
========================================================= */

.membership-for {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    width: 100%;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;

    line-height: 1.2;

    color: #111;

    position: relative;

    z-index: 10;
}

.membership-for span {
    color: #e7a018;

    font-size: 11px;
}


/* =========================================================
   ILLUSTRATION
========================================================= */

.membership-illustration {
    position: absolute;

    left: 0;

    right: 0;

    bottom: 77px;

    height: 130px;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    overflow: hidden;

    opacity: .9;
}


/* =========================================================
   FAMILY ILLUSTRATION
========================================================= */

.family-illustration {
    color: #b62928;

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(214,75,54,.13),
            transparent 65%
        );
}

.family-people {
    display: flex;

    align-items: flex-end;

    gap: 2px;

    color: #ae2728;

    font-size: 68px;
}

.family-people i:nth-child(2) {
    font-size: 78px;
}

.family-people i:nth-child(3) {
    font-size: 54px;
}

.family-illustration .temple-decoration {
    position: absolute;

    bottom: 0;

    left: 10px;

    font-size: 40px;

    opacity: .4;
}


/* =========================================================
   INDIVIDUAL ILLUSTRATION
========================================================= */

.individual-illustration {
    color: #153f7a;

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(50,95,160,.13),
            transparent 65%
        );
}

.meditation-person {
    font-size: 95px;

    color: #153f7a;
}

.individual-illustration .temple-decoration {
    position: absolute;

    bottom: 0;

    right: 10px;

    font-size: 40px;

    opacity: .35;
}


/* =========================================================
   BUSINESS ILLUSTRATION
========================================================= */
/* =========================================================
   BUSINESS MEMBERSHIP ILLUSTRATION
========================================================= */

.business-illustration {
    width: 100%;
    height: 200px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    position: relative;
    overflow: hidden;

    margin-top: 5px;
}


/* =========================================================
   BUILDING
========================================================= */

.business-building {
    width: 190px;
    height: 100px;

    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform: scale(1);
    transform-origin: bottom center;
}


/* =========================================================
   SHOP AWNING
========================================================= */

.business-awning {
    width: 175px;
    height: 32px;

    position: relative;

    display: flex;

    border-radius: 7px 7px 0 0;

    overflow: hidden;

    z-index: 5;

    background: #075c2f;

    border: 3px solid #064d28;
}


/* individual awning stripes */

.business-awning span {
    flex: 1;

    height: 100%;

    position: relative;

    background: #ffffff;

    border-right: 2px solid #064d28;

    clip-path: polygon(
        0 0,
        100% 0,
        100% 78%,
        80% 100%,
        60% 78%,
        40% 100%,
        20% 78%,
        0 100%
    );
}


/* green stripes */

.business-awning span:nth-child(even) {
    background: #075c2f;
}


/* =========================================================
   SHOP BODY
========================================================= */

.business-shop-body {
    width: 165px;
    height: 78px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    background: #f7f4e7;

    border-left: 4px solid #075c2f;
    border-right: 4px solid #075c2f;

    border-bottom: 4px solid #075c2f;

    z-index: 3;
}


/* =========================================================
   WINDOWS
========================================================= */

.business-window {
    width: 42px;
    height: 42px;

    position: relative;

    background: #e8f2e8;

    border: 3px solid #075c2f;

    box-sizing: border-box;

    overflow: hidden;
}


/* glass */

.window-glass {
    position: absolute;

    inset: 4px;

    background: #e7f1e5;
}


/* vertical frame */

.window-frame-v {
    position: absolute;

    top: 3px;
    bottom: 3px;

    left: 50%;

    width: 3px;

    transform: translateX(-50%);

    background: #075c2f;

    z-index: 2;
}


/* horizontal frame */

.window-frame-h {
    position: absolute;

    left: 3px;
    right: 3px;

    top: 50%;

    height: 3px;

    transform: translateY(-50%);

    background: #075c2f;

    z-index: 2;
}


/* =========================================================
   DOOR
========================================================= */

.business-door {
    width: 42px;
    height: 64px;

    position: relative;

    align-self: flex-end;

    background: #075c2f;

    border: 3px solid #064d28;

    box-sizing: border-box;

    border-radius: 3px 3px 0 0;
}


/* door glass/panel */

.door-panel {
    position: absolute;

    top: 7px;
    left: 6px;
    right: 6px;

    height: 28px;

    background: #dfeee0;

    border: 2px solid #064d28;
}


/* door bottom panel */

.door-panel::after {
    content: "";

    position: absolute;

    left: -2px;
    right: -2px;

    top: 28px;

    height: 17px;

    background: #075c2f;

    border-top: 2px solid #064d28;
}


/* door handle */

.door-handle {
    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #ffd43b;

    right: 6px;
    top: 40px;

    z-index: 5;
}


/* =========================================================
   SHOP BASE
========================================================= */

.business-shop-base {
    width: 180px;
    height: 10px;

    position: relative;

    background: #075c2f;

    border-radius: 2px;

    z-index: 6;
}


/* =========================================================
   SMALL ROOF / TOP LINE
========================================================= */

.business-building::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 7px;

    top: -6px;

    left: 50%;

    transform: translateX(-50%);

    background: #064d28;

    border-radius: 5px 5px 0 0;

    z-index: 6;
}


/* =========================================================
   DECORATIVE SIDE ELEMENTS
========================================================= */

.business-building::after {
    content: "";

    position: absolute;

    width: 14px;
    height: 14px;

    bottom: 5px;
    left: -15px;

    border-left: 3px solid #8ebd98;
    border-bottom: 3px solid #8ebd98;

    opacity: .8;
}


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

@media (max-width: 768px) {

    .business-illustration {
        height: 135px;
    }

    .business-building {
        transform: scale(.90);
    }
}


@media (max-width: 480px) {
label {width: auto !important;}
    .business-illustration {
        height: 125px;
    }
.hdm-form select, .hdm-field select {
    padding: 0px 10px !important;
  }
    .business-building {
        transform: scale(.78);
    }
   .hdm-declaration-checks input{ flex:auto !important; width:25px !important;} 
    
    
}

/* =========================================================
   PRICE
========================================================= */

.membership-price {
    position: absolute;

    left: 7px;

    right: 7px;

    bottom: 7px;

    height: 70px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    text-align: left;

    padding: 5px 9px;

    box-sizing: border-box;

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;

    z-index: 15;
}


/* FAMILY */

.family-card .membership-price {
    background: #a70e13;
}


/* INDIVIDUAL */

.individual-card .membership-price {
    background: #123a76;
}


/* BUSINESS */

.business-card .membership-price {
    background: #07542d;
}


/* PRICE ICON */

.price-icon {
    width: 30px;

    min-width: 30px;

    font-size: 25px;

    text-align: center;

    margin-right: 5px;
}

.membership-price strong {
    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    line-height: 22px;

    color: #fff;
}
.membership-price span {font-size: 13px;}
.membership-price small {
  
display: block;
  

    font-size: 13px;
  line-height: 16px;

    color: #fff;
}

.membership-price small b {
    color: #ffd33d;
}
.show {
  display: flex !important;
}

/* =========================================================
   SUPPORT BOX
========================================================= */

.membership-support {
    width: 100%;

    min-height: 100px;

    margin-top: 12px;
 margin-bottom: 12px;
    border: 1px solid #e5cfa6;

    border-radius: 9px;

    background:
        linear-gradient(
            180deg,
            #fffdf8,
            #fff8ea
        );

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 8px 15px;

    box-sizing: border-box;
}


/* IMAGE */

.support-image {
    width: 115px;

    min-width: 115px;

    height: 95px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.support-kali {
    width: 85px;

    height: 85px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle,
            #ffdf8b,
            #9d161a
        );

    font-size: 45px;
}


/* SUPPORT CONTENT */

.support-content {
    flex: 1;

    text-align: center;

    font-family: Arial, Helvetica, sans-serif;

    color: #111;
}

.support-content p {
    margin: 0 0 2px !important;

    padding: 0 !important;

    font-size: 13px !important;

    line-height: 1.3 !important;
}

.support-content > strong {
    display: block;

    font-size: 13px;

    line-height: 1.3;
}

.support-content > strong span {
    color: #a0151a;
}


/* =========================================================
   SUPPORT ITEMS
========================================================= */

.support-items {
    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 7px;
}

.support-item {
    min-width: 115px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 0 10px;

    border-right: 1px solid #dfcda8;
}

.support-item:last-child {
    border-right: 0;
}

.support-circle {
    width: 34px;

    height: 34px;

    min-width: 34px;

    border: 1px solid #df8f20;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    font-size: 14px;
}

.support-item small {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 9px;

    line-height: 10px;

    text-align: left;
}


/* =========================================================
   FOOTER
========================================================= */

.membership-footer {
    width: calc(100% + 40px);

    margin-left: -20px;

    margin-top: 0;

    min-height: 58px;

    background:
        linear-gradient(
            90deg,
            #72070b,
            #a20e12,
            #72070b
        );

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 7px 20px;

    box-sizing: border-box;

    color: #ffd34b;

    text-align: center;
}

.membership-footer > span {
    font-size: 23px;
}

.membership-footer div {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}

.membership-footer small {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 10px;

    line-height: 14px;
}

.membership-footer strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 20px;

    color: #ffd34b;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .membership-type-section {
        max-width: 100%;

        margin: 20px auto;

        padding:
            30px
            12px
            0;
    }

    .membership-heading h2 {
        font-size: 40px !important;
    }

    .membership-heading p {
        font-size: 14px !important;
    }

    .membership-cards {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 6px;
    }

    .membership-card {
        height: 280px;

        padding-left: 5px;

        padding-right: 5px;
    }

    .membership-icon {
        width: 60px;

        height: 60px;

        min-width: 60px;

        min-height: 60px;
    }

    .membership-icon i {
        font-size: 25px;
    }

    .membership-card h3 {
        font-size: 20px !important;
    }

    .membership-for {
        font-size: 11px;
    }

    .membership-price {
        left: 5px;

        right: 5px;

        height: 45px;

        padding: 4px;
    }

    .membership-price strong {
        font-size: 14px;
    }

    .membership-price small {
        font-size: 8px;
    }

    .support-image {
        display: none;
    }

    .support-item {
        min-width: 90px;

        padding: 0 5px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .membership-type-section {
        margin: 15px auto;

        padding:
            25px
            8px
            0;

        border-radius: 6px;
    }

    .membership-decor {
        font-size: 20px;

        top: 7px;
    }

    .membership-decor-left {
        left: 8px;
    }

    .membership-decor-right {
        right: 8px;
    }

    .membership-heading {
        margin-bottom: 18px;
    }

    .membership-heading h2 {
        font-size: 32px !important;

        letter-spacing: 0;
    }

    .membership-heading p {
        font-size: 13px !important;
    }

    .membership-divider {
        margin-top: 7px;

        margin-bottom: 7px;
    }


    /* STACK CARDS */

    .membership-cards {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .membership-card {
        height: 310px;

        max-width: 400px;

        width: 100%;

        margin: 0 auto;

        padding-top: 18px;
    }

    .membership-icon {
        width: 75px;

        height: 75px;

        min-width: 75px;

        min-height: 75px;
    }

    .membership-icon i {
        font-size: 32px;
    }

    .membership-card h3 {
        font-size: 27px !important;

        margin-top: 8px !important;
    }

    .membership-for {
        font-size: 14px;
    }

    .membership-price {
        left: 8px;

        right: 8px;

        bottom: 8px;

        height: 52px;
    }

    .membership-price strong {
        font-size: 17px;
    }

    .membership-price small {
        font-size: 9px;
    }


    /* SUPPORT */

    .membership-support {
        padding: 15px 8px;

        min-height: auto;
    }

    .support-content p {
        font-size: 12px !important;
    }

    .support-content > strong {
        font-size: 11px;
    }

    .support-items {
        flex-wrap: wrap;

        gap: 7px;
    }

    .support-item {
        min-width: calc(50% - 5px);

        border-right: 0;

        justify-content: flex-start;

        padding: 3px;
    }

    .support-circle {
        width: 30px;

        height: 30px;

        min-width: 30px;
    }


    /* FOOTER */

    .membership-footer {
        width: calc(100% + 16px);

        margin-left: -8px;

        padding: 7px 8px;
    }

    .membership-footer > span {
        font-size: 18px;
    }

    .membership-footer small {
        font-size: 8px;
    }

    .membership-footer strong {
        font-size: 15px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .membership-heading h2 {
        font-size: 28px !important;margin-top: 20px;
    }

    .membership-card {
        height: 348px;
    }

    .membership-card h3 {
        font-size: 24px !important;
    }.business-illustration {
    height: 166px;
  }

    .membership-for {
        font-size: 12px;
    }
 .membership-price {
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 66px;
  }
}

.hdm-landing-cta {
  text-align: center;
  margin: 24px 0 40px;
}

/* Beat global a / a:visited color rules — invisible button text fix */
.hdm-landing-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-sizing: border-box;
}

a.hdm-landing-btn.hdm-landing-btn-primary,
a.hdm-landing-btn.hdm-landing-btn-primary:link,
a.hdm-landing-btn.hdm-landing-btn-primary:visited,
a.hdm-landing-btn.hdm-landing-btn-primary:hover,
a.hdm-landing-btn.hdm-landing-btn-primary:focus,
a.hdm-landing-btn.hdm-landing-btn-primary:active,
button.hdm-landing-btn.hdm-landing-btn-primary {
  background: #751017 !important;
  background-color: #751017 !important;
  border-color: #5e0e0e !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(117, 16, 23, 0.22);
}

a.hdm-landing-btn.hdm-landing-btn-primary:hover,
button.hdm-landing-btn.hdm-landing-btn-primary:hover {
  background: #5e0e0e !important;
  background-color: #5e0e0e !important;
  color: #ffffff !important;
}

a.hdm-landing-btn.hdm-landing-btn-danger,
button.hdm-landing-btn.hdm-landing-btn-danger {
  background: #fff !important;
  background-color: #fff !important;
  border: 1px solid #c45c5c !important;
  color: #9b1c1c !important;
  box-shadow: none;
}

a.hdm-landing-btn.hdm-landing-btn-danger:hover,
button.hdm-landing-btn.hdm-landing-btn-danger:hover {
  background: #fdf2f2 !important;
  background-color: #fdf2f2 !important;
  border-color: #9b1c1c !important;
  color: #7a1515 !important;
}

.hdm-landing-note {
  margin-top: 12px;
  color: #666;
  font-size: 13px;
}

.membership-cards {
  position: relative;
  z-index: 3;
}

.membership-card {
  position: relative;
  z-index: 3;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

/* Full-card clickable radio (fixes Family/Business not selecting) */
.membership-card input[type="radio"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 6 !important;
  pointer-events: auto !important;
}

/* Selected state without relying only on :has() */
.membership-card.is-selected,
.membership-card:has(input[type="radio"]:checked) {
  border-color: #751017 !important;
  box-shadow: 0 0 0 3px rgba(117, 16, 23, 0.14), 0 8px 20px rgba(90, 40, 20, 0.12) !important;
  background: #fff8f0 !important;
  transform: translateY(-2px);
}

.family-card.is-selected,
.family-card:has(input[type="radio"]:checked) {
  border-color: #8d0d13 !important;
}

.individual-card.is-selected,
.individual-card:has(input[type="radio"]:checked) {
  border-color: #174584 !important;
  box-shadow: 0 0 0 3px rgba(23, 69, 132, 0.16), 0 8px 20px rgba(90, 40, 20, 0.12) !important;
}

.business-card.is-selected,
.business-card:has(input[type="radio"]:checked) {
  border-color: #075b31 !important;
  box-shadow: 0 0 0 3px rgba(7, 91, 49, 0.16), 0 8px 20px rgba(90, 40, 20, 0.12) !important;
}

.membership-card .hdm-contribution-check {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #751017;
  color: #fff;
  z-index: 3;
}

.membership-card.is-selected .hdm-contribution-check,
.membership-card:has(input[type="radio"]:checked) .hdm-contribution-check {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.membership-card.is-selected .hdm-contribution-check::after,
.membership-card:has(input[type="radio"]:checked) .hdm-contribution-check::after {
  content: "✓";
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.individual-card.is-selected .hdm-contribution-check,
.individual-card:has(input[type="radio"]:checked) .hdm-contribution-check {
  background: #174584;
}

.business-card.is-selected .hdm-contribution-check,
.business-card:has(input[type="radio"]:checked) .hdm-contribution-check {
  background: #075b31;
}

.hdm-info-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #a52b22;
}

/* Validation popup (no browser alert) */
.hdm-val-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hdm-val-modal.is-open { display: flex; }
.hdm-val-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 20, 16, 0.45);
}
.hdm-val-modal-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid #eadfdf;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(42, 20, 16, 0.22);
  padding: 22px 22px 18px;
  text-align: center;
}
.hdm-val-modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fdecec;
  color: #a11f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.hdm-val-modal-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #751017;
}
.hdm-val-modal-card ul {
  margin: 0 0 16px;
  padding: 0 0 0 18px;
  text-align: left;
  color: #2a1410;
  font-size: 14px;
  line-height: 1.45;
}
.hdm-val-modal-card li { margin: 0 0 6px; }
.hdm-val-modal-card .hdm-landing-btn { min-width: 120px; }

@media (max-width: 991px) {
  .membership-cards {
    grid-template-columns: 1fr !important;
  }
  .membership-heading h2 {
    font-size: 36px !important;
  }
  .membership-decor {
    display: none;
  }
  .hdm-info-wrapper {
    grid-template-columns: 1fr !important;
  }
  .hdm-info-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }
}
