/* =========================================================
   AL KARAMA - EXTENDED PAGES
========================================================= */

/* COMMON */

.ext-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ext-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 22px;
    overflow: hidden;
    transition: .25s;
}

.ext-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.ext-card-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #eee;
}

.ext-card-body {
    padding: 22px;
}

.ext-kicker {
    color: var(--karama-red);
    font-size: 11px;
    font-weight: 900;
}

.ext-title {
    margin-top: 5px;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.35;
}

.ext-text {
    margin-top: 10px;
    color: #5b5b5b;
    font-size: 14px;
}

.ext-meta {
    margin-top: 12px;
    color: var(--karama-gray-500);
    font-size: 12px;
}


/* =========================================================
   MEMBERSHIPS
========================================================= */

.membership-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.membership-intro-copy h2 {
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 900;
    line-height: 1.15;
}

.membership-intro-copy p {
    margin-top: 16px;
    color: #555;
    font-size: 17px;
}

.membership-points {
    display: grid;
    gap: 12px;
}

.membership-point {
    padding: 18px;
    border-radius: 17px;
    border: 1px solid #e8e8e8;
    background: white;
    font-weight: 800;
}

.membership-point strong {
    color: var(--karama-red);
    margin-inline-end: 7px;
}

.membership-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.membership-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e7e7e7;
    border-radius: 24px;
    overflow: hidden;
    transition: .25s;
}

.membership-type-card.featured {
    border: 2px solid var(--karama-red);
}

.membership-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.membership-featured-label {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--karama-red);
    color: white;
    font-size: 10px;
    font-weight: 900;
}

.membership-image {
    height: 220px;
    background: #222;
}

.membership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.membership-image-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 24px;
    font-weight: 900;
}

.membership-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.membership-name {
    font-size: 26px;
    font-weight: 900;
}

.membership-price {
    margin-top: 7px;
    color: var(--karama-red);
    font-size: 34px;
    font-weight: 900;
}

.membership-price small {
    font-size: 13px;
    color: var(--karama-gray-500);
}

.membership-duration {
    color: var(--karama-gray-500);
    font-size: 12px;
}

.membership-benefits {
    flex: 1;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ececec;
    color: #444;
}

.membership-benefits ul,
.membership-benefits ol {
    padding-inline-start: 20px;
}

.membership-apply-button {
    margin-top: 22px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--karama-red);
    color: white;
    font-weight: 900;
}


/* =========================================================
   STORE
========================================================= */

.store-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.store-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.store-category {
    padding: 9px 15px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: white;
    font-size: 12px;
    font-weight: 900;
}

.store-category.active,
.store-category:hover {
    background: var(--karama-red);
    color: white;
    border-color: var(--karama-red);
}

.store-search {
    display: flex;
    gap: 8px;
}

.store-search input {
    min-width: 230px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 999px;
}

.store-search button {
    border: 0;
    padding: 10px 17px;
    border-radius: 999px;
    background: var(--karama-red);
    color: white;
    font-weight: 900;
    cursor: pointer;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.store-card {
    background: white;
    border: 1px solid #e7e7e7;
    border-radius: 22px;
    overflow: hidden;
    transition: .25s;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.store-image {
    position: relative;
    height: 300px;
    background: #eee;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #999;
    font-weight: 900;
}

.store-featured {
    position: absolute;
    top: 13px;
    inset-inline-start: 13px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--karama-red);
    color: white;
    font-size: 10px;
    font-weight: 900;
}

.store-card-body {
    padding: 18px;
}

.store-product-category {
    color: var(--karama-red);
    font-size: 10px;
    font-weight: 900;
}

.store-product-name {
    margin-top: 4px;
    font-size: 20px;
    font-weight: 900;
}

.store-price-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 11px;
}

.store-price {
    color: var(--karama-red);
    font-size: 22px;
    font-weight: 900;
}

.store-old-price {
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
}

.store-status {
    margin-top: 6px;
    color: var(--karama-gray-500);
    font-size: 11px;
}


/* PRODUCT */

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-main-image {
    min-height: 540px;
    border-radius: 26px;
    overflow: hidden;
    background: white;
    border: 1px solid #e7e7e7;
}

.product-main-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
}

.product-main-placeholder {
    height: 540px;
    display: grid;
    place-items: center;
    background: #222;
    color: white;
    font-size: 30px;
    font-weight: 900;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-top: 10px;
}

.product-thumbs img {
    width: 100%;
    height: 105px;
    border-radius: 13px;
    object-fit: cover;
}

.product-category {
    color: var(--karama-red);
    font-size: 11px;
    font-weight: 900;
}

.product-name {
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    margin-top: 5px;
}

.product-short {
    margin-top: 16px;
    color: #555;
    font-size: 17px;
}

.product-price-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 23px;
}

.product-price {
    color: var(--karama-red);
    font-size: 36px;
    font-weight: 900;
}

.product-old-price {
    color: #999;
    font-size: 18px;
    text-decoration: line-through;
}

.product-availability {
    margin-top: 15px;
    font-weight: 900;
}

.variant-list {
    display: grid;
    gap: 9px;
    margin-top: 25px;
}

.variant-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 13px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: white;
}

.variant-label {
    color: var(--karama-gray-500);
    font-size: 10px;
}

.variant-value {
    font-weight: 900;
}

.product-description {
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid #e7e7e7;
    color: #444;
}


/* =========================================================
   INTERNATIONAL
========================================================= */

.international-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.international-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: .25s;
}

.international-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.international-image {
    position: relative;
    height: 270px;
    background: #222;
}

.international-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.international-country {
    position: absolute;
    bottom: 14px;
    inset-inline-start: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.75);
    color: white;
    font-size: 10px;
    font-weight: 900;
}

.international-featured {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--karama-red);
    color: white;
    font-size: 10px;
    font-weight: 900;
}

.international-body {
    padding: 21px;
}

.international-type {
    color: var(--karama-red);
    font-size: 10px;
    font-weight: 900;
}

.international-title {
    margin-top: 5px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.4;
}

.international-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.international-summary {
    background: white;
    padding: 22px;
    border: 1px solid #e8e8e8;
    border-radius: 17px;
}

.international-summary-label {
    color: var(--karama-gray-500);
    font-size: 10px;
}

.international-summary-value {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 900;
}


/* =========================================================
   COMMUNITY PROJECTS
========================================================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 22px;
    overflow: hidden;
    transition: .25s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.project-image {
    position: relative;
    height: 265px;
    background: #222;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    position: absolute;
    bottom: 14px;
    inset-inline-start: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.78);
    color: white;
    font-size: 10px;
    font-weight: 900;
}

.project-featured {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--karama-red);
    color: white;
    font-size: 10px;
    font-weight: 900;
}

.project-body {
    padding: 22px;
}

.project-type {
    color: var(--karama-red);
    font-size: 10px;
    font-weight: 900;
}

.project-title {
    margin-top: 5px;
    font-size: 22px;
    font-weight: 900;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.project-stat {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 17px;
    padding: 20px;
}

.project-stat-label {
    color: var(--karama-gray-500);
    font-size: 10px;
}

.project-stat-value {
    margin-top: 4px;
    font-size: 17px;
    font-weight: 900;
}


/* =========================================================
   SUPPORT
========================================================= */

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.support-card {
    background: white;
    border: 1px solid #e7e7e7;
    border-radius: 22px;
    overflow: hidden;
    transition: .25s;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.support-image {
    position: relative;
    height: 255px;
    background: #222;
}

.support-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-featured {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--karama-red);
    color: white;
    font-size: 10px;
    font-weight: 900;
}

.support-card-body {
    padding: 22px;
}

.support-title {
    font-size: 22px;
    font-weight: 900;
}

.support-amounts {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
    color: var(--karama-gray-500);
    font-size: 11px;
}

.support-amounts strong {
    color: var(--karama-red);
}

.support-progress {
    height: 8px;
    margin-top: 9px;
    border-radius: 999px;
    overflow: hidden;
    background: #eee;
}

.support-progress-bar {
    height: 100%;
    background: var(--karama-red);
}

.support-page-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    align-items: start;
}

.support-sidebar {
    position: sticky;
    top: 115px;
    padding: 25px;
    border-radius: 22px;
    border: 1px solid #e7e7e7;
    background: white;
}

.support-sidebar h2 {
    font-size: 22px;
    font-weight: 900;
}

.support-raised {
    margin-top: 18px;
    color: var(--karama-red);
    font-size: 28px;
    font-weight: 900;
}

.support-target {
    color: #666;
    font-size: 12px;
}

.support-donate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 20px;
    border-radius: 999px;
    background: var(--karama-red);
    color: white;
    font-weight: 900;
}


/* =========================================================
   PARTNERS
========================================================= */

.main-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.main-partner-card {
    padding: 35px;
    text-align: center;
    border-radius: 24px;
    border: 2px solid var(--karama-red);
    background: white;
}

.partner-logo-large {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-large img {
    max-width: 260px;
    max-height: 125px;
    object-fit: contain;
}

.partner-main-name {
    margin-top: 15px;
    font-size: 24px;
    font-weight: 900;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.partner-card {
    padding: 22px;
    text-align: center;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    background: white;
    transition: .25s;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.partner-logo {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 180px;
    max-height: 95px;
    object-fit: contain;
}

.partner-type {
    margin-top: 13px;
    color: var(--karama-red);
    font-size: 10px;
    font-weight: 900;
}

.partner-name {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 900;
}

.partner-level {
    color: var(--karama-gray-500);
    font-size: 11px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.contact-info-stack {
    display: grid;
    gap: 14px;
}

.contact-info-card {
    padding: 21px;
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    background: white;
}

.contact-info-label {
    color: var(--karama-red);
    font-size: 10px;
    font-weight: 900;
}

.contact-info-value {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 900;
}

.contact-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.contact-social a {
    padding: 9px;
    text-align: center;
    border-radius: 11px;
    background: var(--karama-gray-100);
    font-size: 11px;
    font-weight: 900;
}

.contact-social a:hover {
    background: var(--karama-red);
    color: white;
}


/* =========================================================
   ARTICLE SHELL
========================================================= */

.rich-article {
    padding: 34px;
    border-radius: 24px;
    border: 1px solid #e8e8e8;
    background: white;
}

.rich-lead {
    margin-bottom: 24px;
    font-size: 19px;
    font-weight: 800;
}

.rich-body {
    color: #444;
    font-size: 16px;
    line-height: 2;
}

.rich-body p {
    margin-bottom: 15px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .store-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .membership-types-grid,
    .international-grid,
    .project-grid,
    .support-grid {
        grid-template-columns: 1fr 1fr;
    }

    .partner-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 850px) {

    .membership-intro-grid,
    .product-layout,
    .support-page-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: static;
    }

    .international-summary-grid,
    .project-stats {
        grid-template-columns: 1fr;
    }

    .main-partners-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 700px) {

    .store-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 560px) {

    .membership-types-grid,
    .international-grid,
    .project-grid,
    .support-grid,
    .store-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .store-search {
        width: 100%;
    }

    .store-search input {
        min-width: 0;
        flex: 1;
    }

    .product-thumbs {
        grid-template-columns: 1fr 1fr;
    }

    .contact-social {
        grid-template-columns: 1fr;
    }

}