/* HERZITE client revision 1.1.4 */
:root {
    --hz-shell: min(1440px, calc(100vw - 64px));
    --hz-accent-refined: #b9aa8e;
    --hz-header-height: 88px;
}

.hz-brand img {
    width: 75%;
}

/* A stable content frame keeps the composition consistent across large displays. */
.hz-header__inner {
    grid-template-columns: minmax(180px, 1fr) auto minmax(300px, 1fr);
    gap: 34px;
}

.hz-brand {
    justify-self: start;
    width: 228px;
}

.hz-navigation {
    justify-self: center;
}

.hz-navigation__list {
    gap: clamp(24px, 2vw, 42px);
}

.hz-navigation__list a {
    font-size: 0.92rem;
    font-weight: 500;
}

.hz-header-actions {
    justify-self: end;
    gap: 4px;
}

.hz-language {
    margin-right: 0;
}

.trp-shortcode-switcher__wrapper {
    height: 38px;
}

.hz-language .trp-language-switcher {
    width: auto;
    padding: 0;
    border-radius: 0;
    border: 1px solid black !important;
}

.hz-currency {
    display: flex;
    align-items: center;
    height: 35px !important;
    top: -2px;
    position: relative;
}

.hz-currency select {
    width: 70px;
    height: 100% !important;
    padding: 0 !important;
    border: 1px solid black !important;
    border-radius: 0;
    background: var(--hz-white);
    color: var(--hz-ink);
    font-size: 0.68rem;
    font-weight: 400;
    cursor: pointer;
}

a.woocommerce-button.button.post_design.order-actions-button {
    width: 207px;
    justify-content: center;
    display: flex;
}

a.hz-button.hz-button--dark.hz-community-post-btn {
    display: none;
}

.hz-page-content a:not(.wp-element-button):not(.button) {
    color: var(--hz-blue-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    background: white !important;
}


/* Refined hero proportions and a clearer left alignment. */
.hz-hero__content {
    width: min(520px, 44%);
    margin-left: 0;
}

.hz-hero h1 {
    max-width: 540px;
    margin-bottom: 22px;
    font-size: clamp(3.45rem, 5vw, 5.55rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.038em;
}

.hz-hero__copy {
    max-width: 450px;
    font-size: clamp(0.94rem, 1vw, 1.05rem);
    line-height: 1.72;
}

/* Compact three-step process. */
.hz-process {
    padding-block: clamp(62px, 7vw, 96px);
}

.hz-process .hz-section-heading {
    margin-bottom: 42px;
}

.hz-process .hz-section-heading h2 {
    font-size: clamp(2.3rem, 3.6vw, 3.8rem);
}

.hz-process-card {
    min-height: 220px;
    padding: 28px;
    border-radius: 0;
    box-shadow: 0 16px 38px rgba(8, 17, 27, 0.06);
}

.hz-process-grid::before {
    top: 58px;
}

.hz-process-card__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 34px;
    border-width: 7px;
}

.hz-process-card h3 {
    margin-bottom: 9px;
    font-size: 1.45rem;
}

.hz-process-card p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* Promise / commitment block. */
.hz-promise {
    padding-block: 58px;
    border-block: 1px solid var(--hz-line);
    background: #fbfaf8;
}

.hz-promise__heading {
    margin-bottom: 30px;
    text-align: center;
}

.hz-promise__heading .hz-kicker {
    margin-bottom: 7px;
    color: #7a6b54;
}

.hz-promise__heading h2 {
    margin: 0;
    font-size: clamp(2.1rem, 3vw, 3.2rem);
}

.hz-promise__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hz-promise__grid article {
    padding: 26px 24px;
    border: 1px solid var(--hz-line);
    background: var(--hz-white);
    text-align: center;
}

.hz-promise__grid article>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    border: 1px solid rgba(8, 17, 27, 0.18);
    border-radius: 50%;
    color: #7a6b54;
}

.hz-promise__grid .hz-icon {
    width: 19px;
    height: 19px;
}

.hz-promise__grid h3 {
    margin-bottom: 8px;
    font-family: var(--hz-sans);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hz-promise__grid p {
    margin: 0;
    color: var(--hz-muted);
    font-size: 0.7rem;
    line-height: 1.55;
}

/* Five image-ready element tiles. */
.hz-elements .hz-kicker {
    color: var(--hz-accent-refined);
}

.hz-element-grid {
    gap: 14px;
}

.hz-element-card,
.hz-element-card:nth-child(4),
.hz-element-card:nth-child(5),
.hz-element-card:last-child {
    min-height: 370px;
    padding: 24px;
    border-radius: 0;
    background: #101b28;
}

.hz-element-card__image {
    position: absolute;
    z-index: -2;
    top: 22px;
    left: 50%;
    width: 82%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.84;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms ease;
}

.hz-element-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(8, 17, 27, 0.2) 45%, #08111b 92%);
    content: "";
}

.hz-element-card:hover .hz-element-card__image {
    transform: translateX(-50%) scale(1.06) rotate(3deg);
    opacity: 1;
}

.hz-element-card__glow {
    display: none;
}

.hz-element-card__icon {
    width: 42px;
    height: 42px;
    margin: 0;
    background: rgba(8, 17, 27, 0.45);
}

.hz-element-card strong {
    font-size: 1.35rem;
}

.hz-element-card small {
    font-size: 0.65rem;
}

/* Four collection cards use deliberate right angles. */
.hz-theme-card {
    border-radius: 0;
}

/* Ten-card material introduction. */
.hz-stones .hz-section-heading {
    margin-bottom: 46px;
}

.hz-stones .hz-section-heading h2 {
    font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.hz-material-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.hz-material-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--hz-line);
    background: var(--hz-white);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.hz-material-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 17, 27, 0.34);
    box-shadow: var(--hz-shadow-soft);
}

.hz-material-card>img {
    width: 100%;
    aspect-ratio: 1;
    padding: 20px;
    background: #f7f6f3;
    object-fit: contain;
}

.hz-material-card>div {
    display: flex;
    min-height: 156px;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.hz-material-card h3 {
    margin-bottom: 5px;
    font-size: 1.18rem;
}

.hz-material-card p {
    margin: 0;
    color: var(--hz-muted);
    font-size: 0.64rem;
    line-height: 1.45;
}

.hz-material-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.68rem;
    font-weight: 800;
}

.hz-material-card a .hz-icon {
    width: 14px;
    height: 14px;
}

/* A wider, denser community carousel with six visible submissions. */
.hz-creations .hz-shell {
    width: min(1540px, calc(100vw - 40px));
}

.hz-creation-card {
    width: min(430px, 44vw);
    height: clamp(360px, 38vw, 520px);
    border-radius: 0;
}

.hz-creation-card--detail-right img {
    object-position: 78% center;
}

.hz-creation-card--detail-left img {
    object-position: 22% center;
}

.hz-creation-card--detail-center img {
    transform: scale(1.16);
}

.hz-creation-card--detail-center:hover img {
    transform: scale(1.2);
}

/* Smaller, calmer closing typography. */
.hz-philosophy__content h2 {
    font-size: clamp(2.5rem, 4.2vw, 4.65rem);
    font-weight: 400;
}

.hz-newsletter h2 {
    font-size: clamp(2.35rem, 3.5vw, 4rem);
    font-weight: 400;
}

.hz-newsletter__copy>p:last-child {
    font-size: 0.86rem;
    line-height: 1.65;
}

.hz-form-note {
    color: rgba(255, 255, 255, 0.62);
}

/* Consolidated footer structure. */
.hz-footer__grid {
    grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
}

/* Material encyclopedia. */
.hz-material-library {
    background: #f3f6fa;
}

.hz-material-library__hero {
    padding: clamp(84px, 10vw, 144px) 0 clamp(52px, 7vw, 88px);
    background: linear-gradient(135deg, #edf3f8, #f8fbfd);
}

.hz-material-library__hero h1 {
    max-width: 900px;
    margin-bottom: 24px;
    font-size: clamp(3.2rem, 6vw, 6.5rem);
    font-weight: 400;
}

.hz-material-library__hero>div>p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--hz-muted);
}

.hz-material-library__body {
    padding-block: clamp(58px, 8vw, 110px);
}

.hz-material-library__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
    align-items: start;
    gap: 26px;
}

.hz-material-library__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hz-material-library__card {
    display: grid;
    grid-template-columns: 108px 1fr;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(8, 17, 27, 0.1);
    background: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    text-align: left;
    transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.hz-material-library__card:hover,
.hz-material-library__card.is-active {
    transform: translateY(-2px);
    border-color: rgba(90, 134, 209, 0.55);
    background: var(--hz-white);
}

.hz-material-library__card img {
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.hz-material-library__card span {
    display: flex;
    flex-direction: column;
}

.hz-material-library__card strong {
    font-family: var(--hz-serif);
    font-size: 1.15rem;
    font-weight: 600;
}

.hz-material-library__card small {
    color: var(--hz-muted);
    font-size: 0.65rem;
}

.hz-material-library__detail {
    position: sticky;
    top: 120px;
    min-height: 620px;
    padding: 42px;
    background: var(--hz-ink);
    color: var(--hz-white);
}

.hz-material-library__detail>img {
    width: min(280px, 82%);
    margin: 24px auto 38px;
    filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.28));
}

.hz-material-library__detail .hz-kicker,
.hz-material-library__detail>strong {
    color: #c8bfae;
}

.hz-material-library__detail h3 {
    margin-bottom: 8px;
    font-size: clamp(2.6rem, 4vw, 4.4rem);
}

.hz-material-library__detail>strong {
    display: block;
    margin-bottom: 18px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hz-material-library__detail>p:not(.hz-kicker) {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.hz-material-library__detail .hz-button {
    margin-top: 12px;
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
    color: var(--hz-white);
}

/* Shop archive hero and more refined product tiles. */
.hz-commerce-archive {
    padding-top: 0;
}

.hz-shop-hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: clamp(460px, 62vh, 720px);
    margin-bottom: clamp(64px, 8vw, 110px);
    overflow: hidden;
    background: var(--hz-mist);
}

/* .hz-shop-hero::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 17, 27, 0.74), rgba(8, 17, 27, 0.08) 64%);
	content: "";
} */

.hz-shop-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hz-shop-hero__content {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(48px, 7vw, 90px);
    color: var(--hz-white);
}

.hz-shop-hero__content .hz-kicker {
    color: #d2c8b5;
}

.hz-shop-hero__content h1 {
    margin-bottom: 16px;
    font-size: clamp(3.7rem, 7vw, 7.5rem);
    font-weight: 400;
}

.hz-shop-hero__content p:last-child {
    margin: 0;
}

.hz-commerce-archive .woocommerce-products-header {
    display: none;
}

.woocommerce ul.products {
    gap: 52px 22px;
}

.woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1.08;
    border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.18rem;
}

/* Product detail: larger imagery, accordions, and visual material story. */
.hz-commerce-single .product.type-product>.woocommerce-product-gallery {
    width: 58%;
}

.hz-commerce-single .product.type-product>.summary {
    width: 38%;
}

.woocommerce div.product div.images img {
    border-radius: 0;
}

.woocommerce div.product .product_title {
    margin-bottom: 22px;
    font-size: clamp(3.1rem, 5vw, 5.9rem);
    font-weight: 400;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #6f654f;
}

.hz-product-accordions {
    margin-top: 28px;
    border-top: 1px solid var(--hz-line);
}

.hz-product-accordions details {
    border-bottom: 1px solid var(--hz-line);
}

.hz-product-accordions summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.hz-product-accordions summary::-webkit-details-marker {
    display: none;
}

.hz-product-accordions summary span,
.hz-product-accordions summary .hz-icon {
    width: 18px;
    height: 18px;
}

.hz-product-accordions details[open] summary .hz-icon {
    transform: rotate(45deg);
}

.hz-product-accordions details p {
    padding: 0 0 20px;
    margin: 0;
    color: var(--hz-muted);
    font-size: 0.78rem;
    line-height: 1.65;
}

.hz-product-story {
    clear: both;
    padding-top: clamp(80px, 10vw, 150px);
}

.hz-product-story__intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 42px;
}

.hz-product-story__intro h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.8rem, 4.8vw, 5.3rem);
    font-weight: 400;
}

.hz-product-story__intro>p {
    margin: 0 0 8px;
    color: var(--hz-muted);
}

.hz-product-material-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hz-product-material {
    position: relative;
    min-height: 360px;
    padding: 28px;
    overflow: hidden;
    background: #f3f1ed;
}

.hz-product-material>img {
    width: 190px;
    height: 190px;
    margin: 0 auto 24px;
    object-fit: contain;
    transition: transform 350ms ease;
}

.hz-product-material:hover>img {
    transform: scale(1.06) rotate(4deg);
}

.hz-product-material>span {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #7a6b54;
}

.hz-product-material h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.hz-product-material p {
    margin: 0;
    color: var(--hz-muted);
    font-size: 0.72rem;
}

.hz-product-views {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 12px;
    margin-top: 54px;
}

.hz-product-view {
    position: relative;
    min-height: 430px;
    margin: 0;
    overflow: hidden;
    background: var(--hz-mist);
}

.hz-product-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hz-product-view--detail img {
    transform: scale(1.35);
    object-position: 30% center;
}

.hz-product-view--texture img {
    transform: scale(1.55);
    object-position: 72% center;
}

.hz-product-view figcaption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.64rem;
    font-weight: 800;
}

/* Full-workspace bracelet designer. */
.hz-designer-intro {
    padding: clamp(66px, 7vw, 105px) 0 52px;
}

.hz-designer-intro h1 {
    font-size: clamp(3.5rem, 6vw, 6.8rem);
    font-weight: 400;
}

.hz-builder {
    padding: 0 0 0px;
}

.hz-builder-topbar {
    position: sticky;
    z-index: 15;
    top: var(--hz-header-height);
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    width: min(1720px, calc(100vw - 24px));
    min-height: 58px;
    gap: 28px;
    padding: 8px 14px;
    margin: 0 auto;
    border: 1px solid var(--hz-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
}

.hz-builder-topbar p {
    margin: 0;
    font-size: 0.68rem;
}

.hz-builder-topbar>p:last-child strong {
    margin-left: 8px;
    font-family: var(--hz-serif);
    font-size: 1.1rem;
}

.hz-builder-mode {
    display: flex;
    gap: 4px;
    padding: 0;
    background: transparent;
}

.hz-builder-mode button {
    padding: 10px 14px;
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 800;
}

.hz-builder-mode button.is-active {
    background: var(--hz-ink);
    box-shadow: none;
    color: var(--hz-white);
}

.hz-builder-workspace {
    display: grid;
    grid-template-columns: minmax(300px, 350px) minmax(520px, 1fr) minmax(270px, 320px);
    width: min(1720px, calc(100vw - 24px));
    min-height: 720px;
    margin: 12px auto 0;
    border: 1px solid var(--hz-line);
    background: var(--hz-white);
}

.hz-bead-library,
.hz-builder-config {
    height: min(760px, calc(100vh - 170px));
    min-height: 680px;
    overflow-y: auto;
    background: #eaf3fb;
}

.hz-bead-library {
    padding: 24px 18px;
    border-right: 1px solid var(--hz-line);
}

.hz-bead-library__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.hz-bead-library__head .hz-kicker {
    margin-bottom: 5px;
}

.hz-bead-library__head h2,
.hz-builder-config h2 {
    margin: 0;
    font-size: 1.65rem;
}

.hz-bead-library__head>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--hz-line);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
}

.hz-bead-size-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin: 20px 0 12px;
}

.hz-bead-size-tabs button,
.hz-bead-filters button {
    min-height: 32px;
    padding: 5px 8px;
    border: 1px solid var(--hz-line);
    border-radius: 0;
    background: var(--hz-white);
    font-size: 0.62rem;
    font-weight: 700;
    cursor: pointer;
}

.hz-bead-size-tabs button.is-active,
.hz-bead-filters button.is-active {
    border-color: var(--hz-ink);
    background: var(--hz-ink);
    color: var(--hz-white);
}

.hz-bead-search {
    display: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--hz-line);
    background: var(--hz-white);
}

.hz-bead-search .hz-icon {
    width: 17px;
    height: 17px;
    color: var(--hz-muted);
}

.hz-bead-search input {
    width: 100%;
    border: 0;
    background: transparent;
    font-size: 0.72rem;
    outline: 0;
}

.hz-bead-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin: 12px 0 16px;
}

.hz-bead-palette {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.hz-bead-choice {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 9px;
    border-radius: 0;
}

.hz-bead-choice[hidden] {
    display: none;
}

.hz-bead-choice>img {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    object-fit: contain;
}

.hz-bead-choice>span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hz-bead-choice strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hz-bead-choice small {
    display: none;
}

.hz-bead-choice em {
    color: #786d58;
    font-size: 0.59rem;
    font-style: normal;
    font-weight: 800;
}

.hz-bead-choice>.hz-icon {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 15px;
    height: 15px;
}

.hz-bead-empty {
    padding: 30px 10px;
    color: var(--hz-muted);
    font-size: 0.72rem;
    text-align: center;
}

.hz-builder-preview {
    position: relative;
    top: auto;
    display: flex;
    height: min(760px, calc(100vh - 170px));
    min-height: 680px;
    flex-direction: column;
    padding: 28px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hz-builder-preview__head {
    align-items: start;
}

.hz-builder-preview__head h2 {
    font-size: 2.25rem;
}

.hz-builder-preview__head>p {
    margin: 4px 0 0;
    color: var(--hz-muted);
    font-size: 0.62rem;
}

.hz-bracelet-stage {
    min-height: 0;
    flex: 1;
    margin: 16px 0;
    border-radius: 0;
    touch-action: none;
}

.hz-bracelet-stage::after {
    display: none;
}

.hz-bracelet-thread {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 64%;
    /* default 16cm; JS overrides per size in px */
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    /* No transition — JS measures thread immediately after resize, delay causes stale coords */
    border: 2px solid rgba(8, 17, 27, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.35);
}

.hz-bracelet-preview {
    width: min(560px, 82%);
}

.hz-preview-bead {
    width: var(--bead-px, 33px);
    height: var(--bead-px, 33px);
    border: 0;
    background: transparent;
    box-shadow: none;
    touch-action: none;
    transform: translate(-50%, -50%) translate(var(--drag-x, 0), var(--drag-y, 0)) scale(var(--bead-depth, 1));
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

.hz-preview-bead::before {
    display: none;
}

.hz-preview-bead img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 6px 7px rgba(8, 17, 27, 0.25));
    object-fit: contain;
    pointer-events: none;
}

.hz-preview-bead.is-dragging {
    z-index: 50 !important;
    filter: brightness(1.08);
    transition: none;
}

.hz-builder-message {
    min-height: 24px;
    margin: 12px 0 0;
}

.hz-builder-message.is-error {
    color: #a43f45;
}

.hz-builder-config {
    padding: 28px 24px;
    border-left: 1px solid var(--hz-line);
}

.hz-builder-config .hz-kicker {
    margin-bottom: 5px;
}

.hz-builder-config__stat {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 24px 0;
    border: 1px solid #d8d0bf;
    background: #f5f0e6;
}

.hz-builder-config__stat span,
.hz-builder-config label>span,
.hz-builder-config__total span,
.hz-builder-config__total small {
    color: var(--hz-muted);
    font-size: 0.64rem;
    font-weight: 700;
}

.hz-builder-config__stat strong {
    font-family: var(--hz-serif);
    font-size: 2rem;
    font-weight: 500;
}

.hz-builder-config label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.hz-builder-config select {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--hz-line);
    border-radius: 0;
    background: var(--hz-white);
    font-size: 0.72rem;
}

.hz-builder-config__total {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    margin: 28px 0 20px;
    border-top: 1px solid var(--hz-line);
}

.hz-builder-config__total>div {
    display: flex;
    flex-direction: column;
}

.hz-builder-config__total>strong {
    font-family: var(--hz-serif);
    font-size: 2rem;
    font-weight: 500;
}

.hz-builder-config>p:last-child {
    margin: 14px 0 0;
    color: var(--hz-muted);
    font-size: 0.62rem;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 1280px) {
    .hz-header__inner {
        grid-template-columns: 160px 1fr auto;
        gap: 18px;
    }

    .hz-brand {
        width: 158px;
    }

    .hz-navigation__list {
        gap: 17px;
    }

    .hz-navigation__list a {
        font-size: 0.78rem;
    }

    .hz-material-grid {
        grid-template-columns: repeat(5, minmax(150px, 1fr));
    }

    .hz-builder-workspace {
        grid-template-columns: minmax(280px, 320px) minmax(470px, 1fr);
    }

    .hz-builder-config {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        height: auto;
        min-height: 0;
        gap: 16px;
        border-top: 1px solid var(--hz-line);
        border-left: 0;
    }

    .hz-builder-config>.hz-kicker,
    .hz-builder-config>h2,
    .hz-builder-config>p:last-child {
        grid-column: 1 / -1;
    }

    .hz-builder-config__stat,
    .hz-builder-config label,
    .hz-builder-config__total {
        margin: 0;
    }

    .hz-builder-config__total {
        padding: 12px 0 0;
    }
}

@media (max-width: 980px) {
    .hz-promise__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hz-material-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hz-material-library__grid,
    .hz-product-story__intro {
        grid-template-columns: 1fr;
    }

    .hz-material-library__detail {
        position: relative;
        top: auto;
    }

    .hz-commerce-single .product.type-product>.woocommerce-product-gallery,
    .hz-commerce-single .product.type-product>.summary {
        width: 100%;
    }

    .hz-product-material-grid,
    .hz-product-views {
        grid-template-columns: 1fr;
    }

    .hz-product-view {
        min-height: 520px;
    }

    .hz-builder-workspace {
        grid-template-columns: 1fr;
    }

    .hz-bead-library,
    .hz-builder-preview {
        height: auto;
        min-height: 680px;
        border: 0;
        border-bottom: 1px solid var(--hz-line);
    }

    .hz-builder-config {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .hz-header__inner {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 0;
    }

    .hz-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        width: 128px;
    }

    .hz-header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .hz-hero__content {
        width: 100%;
    }

    .hz-header-actions .hz-currency {
        display: none;
    }

    .hz-element-card,
    .hz-element-card:nth-child(4),
    .hz-element-card:nth-child(5),
    .hz-element-card:last-child {
        border-radius: 0;
    }

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

    .hz-builder-topbar {
        position: relative;
        top: auto;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hz-builder-topbar>p {
        display: none;
    }
}

@media (max-width: 620px) {
    :root {
        --hz-shell: calc(100vw - 28px);
    }



    .hz-promise__grid,
    .hz-material-grid,
    .hz-material-library__list,
    .hz-product-material-grid,
    .hz-builder-config {
        grid-template-columns: 1fr;
    }

    .hz-creation-card {
        width: 84vw;
    }

    .hz-material-library__card {
        grid-template-columns: 86px 1fr;
    }

    .hz-material-library__card img {
        width: 86px;
        height: 86px;
    }

    .hz-material-library__detail {
        min-height: 0;
        padding: 28px;
    }

    .hz-shop-hero {
        min-height: 560px;
    }



    .hz-product-view {
        min-height: 380px;
    }

    .hz-builder-workspace,
    .hz-builder-topbar {
        width: calc(100vw - 12px);
    }

    .hz-bead-library,
    .hz-builder-preview {
        min-height: 620px;
        padding: 22px 14px;
    }

    .hz-builder-preview {
        width: auto;
        margin: 0;
    }

    .hz-bracelet-preview {
        width: 92%;
    }

    .hz-builder-config {
        display: block;
    }
}

/* ============================================================
   REVISION 1.2 — Front-page tasks (Tasks 1, 2, 8)
   ============================================================ */

/* ── Task 1: Five Elements heading — subtitle sits below h2 ── */
.hz-elements__heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.hz-elements__heading h2 {
    margin-bottom: 18px;
}

.hz-elements__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    line-height: 1.65;
    max-width: 540px;
}

/* ── Task 2A: Five Elements cards — smaller & more decorative ── */
.hz-element-card,
.hz-element-card:nth-child(4),
.hz-element-card:nth-child(5),
.hz-element-card:last-child {
    min-height: 260px;
    padding: 20px;
    /* Decorative gradient border */
    background: #101b28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Decorative shimmer sweep on hover */
.hz-element-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.07) 50%,
            transparent 100%);
    transform: skewX(-20deg);
    transition: left 600ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 2;
}

.hz-element-card:hover::before {
    left: 130%;
}

/* Decorative sparkle ✦ top-right corner */
.hz-element-card::after {
    content: "✦";
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0;
    line-height: 1;
    z-index: 3;
    transition: color 300ms ease, transform 300ms ease;
    pointer-events: none;
}

.hz-element-card:hover::after {
    color: rgba(255, 255, 255, 0.72);
    transform: rotate(30deg) scale(1.25);
}

/* Bead image — slightly smaller inside the shorter card */
.hz-element-card__image {
    top: 10px;
    width: 76%;
    /* Subtle ring glow around the bead */
    filter: drop-shadow(0 0 18px var(--element-glow, rgba(90, 134, 209, 0.45)));
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 500ms ease,
        filter 500ms ease;
}

.hz-element-card:hover .hz-element-card__image {
    filter: drop-shadow(0 0 28px var(--element-glow, rgba(90, 134, 209, 0.7)));
}

/* Coloured glow tint per element */
.hz-element-card--metal {
    --element-glow: rgba(200, 220, 255, 0.55);
}

.hz-element-card--wood {
    --element-glow: rgba(81, 180, 110, 0.55);
}

.hz-element-card--water {
    --element-glow: rgba(52, 145, 220, 0.60);
}

.hz-element-card--fire {
    --element-glow: rgba(230, 90, 68, 0.60);
}

.hz-element-card--earth {
    --element-glow: rgba(180, 140, 90, 0.60);
}

/* Bottom gradient that lifts text over the bead image */
.hz-element-card>.hz-element-card__after-layer {
    display: none;
    /* handled by existing ::after in base */
}

.hz-element-card strong {
    font-size: 1.2rem;
}

.hz-element-card small {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.52);
}

/* Element icon badge — more refined size */
.hz-element-card__icon {
    width: 36px;
    height: 36px;
    margin: 0;
    background: rgba(8, 17, 27, 0.55);
    border-color: rgba(255, 255, 255, 0.18);
}

/* ── Task 2B: Material cards — new layout with decorative sparkle ── */

/* Switch to 3-column wider cards so they feel more editorial */
.hz-material-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


/* Taller image area, slightly warmer background */
.hz-material-card>img {
    aspect-ratio: 4 / 3;
    padding: 28px;
    background: #f5f3ef;
}

/* Decorative sparkle icon in top-right of the image area */
.hz-material-card {
    position: relative;
    border: 0;
    box-shadow: 0 2px 18px rgba(8, 17, 27, 0.07);
    background: var(--hz-white);
}

.hz-material-card::before {
    content: "✦";
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 2;
    font-size: 0.72rem;
    color: rgba(8, 17, 27, 0.2);
    transition: color 240ms ease, transform 300ms ease;
    pointer-events: none;
}

.hz-material-card:hover::before {
    color: var(--hz-blue-dark);
    transform: rotate(30deg) scale(1.3);
}

/* Refined card content */
.hz-material-card>div {
    min-height: 130px;
    padding: 22px 20px;
    background: var(--hz-white);
}

.hz-material-card h3 {
    font-size: 1.3rem;
    margin-bottom: 7px;
}

.hz-material-card p {
    font-size: 0.7rem;
    color: var(--hz-muted);
    line-height: 1.5;
}

.hz-material-card a {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--hz-ink);
    letter-spacing: 0.01em;
}

/* ── Task 8: Language + currency selectors — equal dimensions ── */

/* Shared wrapper style for both selectors */
.hz-language .trp-language-switcher>div,
.hz-currency {
    display: flex;
    align-items: center;
}

/* Give the language switcher link the same look as the currency select */
.hz-currency select {
    width: 70px;
    height: 38px;
    padding: 0 22px 0 8px;
    border: 1px solid black !important;  /* language wala border black hai */
    border-radius: 0;
    background: var(--hz-white);
    color: var(--hz-ink);
    font-size: 0.68rem;
    font-weight: 700;        /* 400 → 700 (language se match) */
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none; /* browser arrow hatao */
    -moz-appearance: none;
    appearance: none;
    /* Language wala arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000000' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
}

.hz-language .trp-language-switcher>div>a:hover {
    border-color: var(--hz-ink) !important;
}

/* Currency select - language se bilkul match */

/* Currency select - language se bilkul match */
.hz-currency select {
    width: 70px;
    height: 38px;
    padding: 0 20px 0 8px;
    border: 1px solid black !important;
    border-radius: 0;
    background-color: transparent !important;
    background-repeat: no-repeat;
    background-position: right 6px center;
    color: #1d2327;
    font-size: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23143852' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    font-weight: 400;
    font-family: inherit;
    background-size: 13px;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
}

/* Responsive: collapse material grid to 2-col on medium screens */
@media (max-width: 980px) {
    .hz-material-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hz-material-card:nth-child(n+7) {
        display: flex;
    }
}

@media (max-width: 620px) {
    .hz-material-grid {
        grid-template-columns: 1fr;
    }

    .hz-element-card,
    .hz-element-card:nth-child(4),
    .hz-element-card:nth-child(5),
    .hz-element-card:last-child {
        min-height: 220px;
    }
}

/* ============================================================
   REVISION 1.3 — Tasks 3 & 4 (Shop images + Product detail)
   ============================================================ */

/* ── Task 3: Square product images on shop/archive page ── */
.woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin-bottom: 20px;
    /* Slightly smaller overall via the parent grid gap already set */
}

/* Product title and price refinements on archive */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* ── Task 4: Product detail page — editorial overhaul ── */

/* Main gallery / summary split proportions */
.hz-commerce-single .product.type-product {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0 72px;
    align-items: start;
}

.hz-commerce-single .product.type-product>.woocommerce-product-gallery {
    width: 100%;
    position: relative !important;
    top: auto !important;
}

.hz-commerce-single .product.type-product>.summary {
    width: 100%;
    padding-top: 18px;
}

/* All elements after the gallery+summary must break out and span both columns */
.hz-commerce-single .product.type-product>.hz-product-story,
.hz-commerce-single .product.type-product>.woocommerce-tabs,
.hz-commerce-single .product.type-product>.up-sells,
.hz-commerce-single .product.type-product>.related {
    grid-column: 1 / -1;
    width: 100%;
    clear: both;
}

/* Product title — refined serif, lighter weight */
.woocommerce div.product .product_title {
    margin-bottom: 16px;
    font-size: clamp(2.4rem, 4vw, 4.6rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.96;
}

/* Subtle kicker above the title */
.woocommerce div.product .woocommerce-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--hz-accent-refined, #b9aa8e);
}

/* Price — more prominent, warm gold */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: block;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hz-line);
    color: var(--hz-ink);
    font-family: var(--hz-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 22px;
    color: var(--hz-muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

/* Add-to-cart button — full width, dark pill */
.woocommerce div.product form.cart {
    margin-bottom: 0;
}

.woocommerce div.product form.cart .button {
    width: 100%;
    min-height: 56px;
    border-radius: 0 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 56px !important;
}

/* Gallery image: square crop, flush edges */
.woocommerce div.product div.images img {
    border-radius: 0;
    background: #f5f3ef;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Thumbnails below main gallery image */
.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 0;
    opacity: 0.58;
    transition: opacity 200ms ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 1;
}

/* ── Task 4: Trust / service features strip ── */
.hz-product-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    margin-top: 32px;
    padding: 22px 0;
    border-top: 1px solid var(--hz-line);
    border-bottom: 1px solid var(--hz-line);
    background: #faf9f7;
}

.hz-product-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px;
    text-align: center;
}

/* Vertical divider between items */
.hz-product-trust__item+.hz-product-trust__item {
    border-left: 1px solid var(--hz-line);
}

.hz-product-trust__item svg {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    color: #7a6b54;
    stroke: currentColor;
}

.hz-product-trust__item span {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.4;
    color: var(--hz-ink);
    text-transform: uppercase;
}

/* ── Task 4: Material cards — sparkle icon refinement ── */
.hz-product-material>span {
    top: 20px;
    right: 20px;
    color: #b9aa8e;
    opacity: 0.8;
}

.hz-product-material {
    background: #f5f2ed;
    border: 1px solid rgba(8, 17, 27, 0.07);
    transition: box-shadow 240ms ease, transform 240ms ease;
}

.hz-product-material:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(8, 17, 27, 0.1);
}

/* ── Task 4: Product views — more editorial proportions ── */
.hz-product-views {
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
    gap: 10px;
    margin-top: 44px;
}

.hz-product-view {
    min-height: 380px;
    background: #f5f2ed;
}

.hz-product-view figcaption {
    border-radius: 0;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.88);
}

/* ── Responsive adjustments ── */
@media (max-width: 980px) {
    .hz-commerce-single .product.type-product {
        grid-template-columns: 1fr;
    }

    .hz-commerce-single .product.type-product>.woocommerce-product-gallery {
        position: static;
    }

    .hz-product-trust {
        flex-wrap: wrap;
    }

    .hz-product-trust__item {
        flex: 1 1 45%;
    }

    .hz-product-trust__item:nth-child(2) {
        border-left: 1px solid var(--hz-line);
    }

    .hz-product-trust__item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--hz-line);
    }

    .hz-product-trust__item:nth-child(4) {
        border-left: 1px solid var(--hz-line);
        border-top: 1px solid var(--hz-line);
    }

    .woocommerce div.product .product_title {
        font-size: clamp(2.2rem, 7vw, 3.6rem);
    }
}

@media (max-width: 620px) {
    .hz-product-trust__item {
        flex: 1 1 100%;
        border-left: 0 !important;
        border-top: 1px solid var(--hz-line);
    }

    .hz-product-trust__item:first-child {
        border-top: 0;
    }
}


/* ============================================================
   REVISION 1.4 — Task 6: About Us (Gorjana-matched structure)
   ============================================================ */

.hz-about {
    --about-cream: #f7f4ef;
    --about-warm: #8c7354;
}

/* Shared eyebrow label */
.hz-about-eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--about-warm);
    margin-bottom: 16px;
}

/* ── ① Founders Note ── */
.hz-about-founders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 72px;
    align-items: center;
    padding-top: clamp(60px, 8vw, 100px);
    padding-bottom: clamp(60px, 8vw, 100px);
    border-bottom: 1px solid var(--hz-line);
}

.hz-about-founders__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.hz-about-founders__text h1 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--hz-ink);
}

.hz-about-founders__text p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--hz-muted);
    margin-bottom: 14px;
}

.hz-about-founders__sig {
    margin-top: 28px !important;
    font-style: italic;
    font-size: 0.95rem !important;
    color: var(--hz-ink) !important;
    font-family: var(--hz-serif);
}

/* ── ② Our Story Timeline ── */
.hz-about-story {
    background: var(--about-cream);
    padding: clamp(56px, 8vw, 96px) 0;
}

.hz-about-story__label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hz-muted);
    text-align: center;
    margin-bottom: 16px;
}

.hz-about-story__intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 52px;
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--hz-muted);
}

.hz-about-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 28px;
    align-items: start;
}

/* Horizontal connector line */
.hz-about-timeline__track {
    position: absolute;
    top: 88px;
    /* roughly mid-image */
    left: 12%;
    right: 12%;
    height: 1px;
    background: rgba(8, 17, 27, 0.14);
    z-index: 0;
}

.hz-about-timeline__item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hz-about-timeline__year {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--about-warm);
    margin-bottom: 14px;
}

.hz-about-timeline__image {
    margin-bottom: 16px;
}

.hz-about-timeline__image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.hz-about-timeline__item p {
    font-size: 0.78rem;
    line-height: 1.65;
    color: var(--hz-muted);
    padding: 0 8px;
}

/* ── ③ Full-width Banner ── */
.hz-about-banner {
    width: 100%;
    overflow: hidden;
    max-height: 520px;
}

.hz-about-banner img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* ── ④ Gives Back / Mission ── */
.hz-about-gives {
    padding: clamp(56px, 8vw, 96px) 0;
    border-bottom: 1px solid var(--hz-line);
}

.hz-about-gives>h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 16px;
}

.hz-about-gives__intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--hz-muted);
}

.hz-about-gives__community {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0 64px;
    align-items: center;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--hz-line);
}

.hz-about-gives__community-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.hz-about-gives__community-text p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--hz-muted);
    margin-bottom: 14px;
}

.hz-about-gives__community-text .hz-text-link {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hz-ink);
    text-decoration: none;
}

.hz-about-gives__giving {
    max-width: 680px;
}

.hz-about-gives__giving p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--hz-muted);
    margin-bottom: 12px;
}

/* ── ⑤ Our Creations Grid ── */
.hz-about-creations {
    background: var(--about-cream);
    padding: clamp(56px, 8vw, 96px) 0;
}

.hz-about-creations>.hz-shell>h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.hz-about-creations__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.hz-about-creation {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.hz-about-creation--wide {
    grid-column: 2;
    grid-row: 1 / 3;
}

.hz-about-creation img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hz-about-creation--wide img {
    height: 100%;
    min-height: 572px;
}

.hz-about-creation:hover img {
    transform: scale(1.04);
}

.hz-about-creation figcaption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.hz-about-creation figcaption span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hz-ink);
}

.hz-about-creation figcaption a {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hz-muted);
    text-decoration: none;
    transition: color 200ms ease;
}

.hz-about-creation figcaption a:hover {
    color: var(--hz-ink);
}

/* ── Responsive ── */
@media (max-width: 980px) {
    .hz-about-founders {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hz-about-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .hz-about-timeline__track {
        display: none;
    }

    .hz-about-gives__community {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hz-about-creations__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hz-about-creation--wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .hz-about-creation--wide img {
        height: 320px;
        min-height: unset;
    }
}

@media (max-width: 620px) {
    .hz-about-timeline {
        grid-template-columns: 1fr;
    }

    .hz-about-creations__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   REVISION 1.5 — Task 7: Contact Us page
   ============================================================ */

/* ── Hero: 3-panel photo with overlaid title ── */
.hz-contact-hero {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.hz-contact-hero__panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 100%;
}

.hz-contact-hero__panel {
    background-size: cover;
    background-position: center;
    height: 100%;
}

/* Dark gradient overlay so title is readable */
.hz-contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(8, 17, 27, 0.35) 0%,
            rgba(8, 17, 27, 0.55) 100%);
}

.hz-contact-hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

.hz-contact-hero__content h1 {
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0;
}

/* ── Intro ── */
.hz-contact-intro {
    padding: clamp(56px, 8vw, 96px) 0 0;
}

.hz-contact-intro h2 {
    text-align: center;
    font-size: -webkit-xxx-large;
    font-weight: 400;
    letter-spacing: -0.035em;
    margin-bottom: 54px;
}

.hz-contact-intro p {
    text-align: center;
    font-size: 0.95rem
15.2px
;
    line-height: 1.7;
    color: var(--hz-muted);
}

.hz-contact-intro a {
    color: var(--hz-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── 6-Card Topic Grid — overlaps bottom of hero ── */
.hz-contact-topics {
    background: #ffffff;
    padding: 0 0 clamp(48px, 7vw, 80px);
    margin-top: -70px;
    /* pulls cards up to overlap hero bottom */
    position: relative;
    z-index: 2;
}

.hz-contact-topics__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 0;
}

.hz-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 36px 24px;
    background: var(--hz-white);
    border-radius: 6px;
    box-shadow: 0 2px 20px rgba(8, 17, 27, 0.07);
    cursor: default;
    min-height: 150px;
}

.hz-contact-card__icon {
    width: 34px;
    height: 34px;
    color: rgba(8, 17, 27, 0.45);
    flex: 0 0 auto;
}

.hz-contact-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--hz-ink);
    text-align: center;
    margin: 0;
}

/* ── Contact Form ── */
.hz-contact-form-section {
    padding: clamp(64px, 9vw, 112px) 0;
    max-width: 760px;
}

.hz-contact-form-section__heading {
    margin-bottom: 40px;
}

.hz-contact-form-section__heading h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.hz-contact-form-section__heading p {
    font-size: 0.9rem;
    color: var(--hz-muted);
    line-height: 1.65;
}

.hz-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hz-contact-form__row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hz-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hz-contact-form__field label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hz-ink);
}

.hz-contact-form__field label span {
    color: #b94040;
}

.hz-contact-form__field input,
.hz-contact-form__field select,
.hz-contact-form__field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--hz-line);
    border-radius: 0;
    background: var(--hz-white);
    color: var(--hz-ink);
    font-family: var(--hz-sans);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: border-color 200ms ease;
    box-sizing: border-box;
    appearance: auto;
}

.hz-contact-form__field input:focus,
.hz-contact-form__field select:focus,
.hz-contact-form__field textarea:focus {
    outline: none;
    border-color: var(--hz-ink);
}

.hz-contact-form__field input::placeholder,
.hz-contact-form__field textarea::placeholder {
    color: rgba(8, 17, 27, 0.35);
}

.hz-contact-form__field textarea {
    resize: vertical;
    min-height: 160px;
}

.hz-contact-form__submit {
    align-self: flex-start;
    min-width: 200px;
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hz-contact-topics__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hz-contact-form__row--2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hz-contact-topics__grid {
        grid-template-columns: 1fr;
    }

    .hz-contact-form__submit {
        width: 100%;
    }
}

/* ============================================================
   REVISION 1.6 — Doc2 Task 2: Policy pages
   ============================================================ */

.hz-policy-page__date {
    margin-top: 12px;
    font-size: 0.72rem;
    color: rgba(8, 17, 27, 0.45);
    letter-spacing: 0.04em;
}

.hz-policy-page__body {
    padding-top: clamp(48px, 7vw, 80px);
    padding-bottom: clamp(64px, 10vw, 120px);
}

/* Content typography */
.hz-policy-page__body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 44px 0 14px;
    color: var(--hz-ink);
}

.hz-policy-page__body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--hz-ink);
}

.hz-policy-page__body p {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--hz-muted);
    margin-bottom: 16px;
}

.hz-policy-page__body ul,
.hz-policy-page__body ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.hz-policy-page__body li {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--hz-muted);
    margin-bottom: 8px;
}

.hz-policy-page__body a {
    color: var(--hz-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hz-policy-page__body strong {
    color: var(--hz-ink);
    font-weight: 600;
}

/* First h2 has no top margin */
.hz-policy-page__body h2:first-child {
    margin-top: 0;
}

/* ============================================================
   REVISION 1.7 — Doc2 Task 3: Help Center page
   ============================================================ */

/* ── ① Hero ── */
.hz-help-hero {
    position: relative;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hz-help-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
}

.hz-help-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 17, 27, 0.48);
}

.hz-help-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 24px;
}

.hz-help-hero__content h1 {
    color: var(--hz-white);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

/* Visual search bar */
.hz-help-hero__search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hz-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 18px;
}

.hz-help-hero__search svg {
    width: 18px;
    height: 18px;
    color: rgba(8, 17, 27, 0.4);
    flex: 0 0 auto;
}

.hz-help-hero__search input {
    flex: 1;
    border: 0;
    outline: none;
    font-family: var(--hz-sans);
    font-size: 0.9rem;
    color: var(--hz-ink);
    background: transparent;
}

.hz-help-hero__search input::placeholder {
    color: rgba(8, 17, 27, 0.38);
}

/* ── ② Browse by Category ── */
.hz-help-categories {
    padding-top: clamp(48px, 6vw, 72px);
    padding-bottom: clamp(48px, 6vw, 72px);
}

.hz-help-categories__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.hz-help-categories__header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--hz-ink);
    margin: 0;
}

/* Grid/list view toggle buttons */
.hz-help-view-toggle {
    display: flex;
    gap: 4px;
}

.hz-help-view-toggle__btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hz-line);
    background: var(--hz-white);
    cursor: pointer;
    color: rgba(8, 17, 27, 0.35);
    transition: background 200ms ease, color 200ms ease;
}

.hz-help-view-toggle__btn svg {
    width: 16px;
    height: 16px;
}

.hz-help-view-toggle__btn.is-active {
    background: var(--hz-ink);
    color: var(--hz-white);
    border-color: var(--hz-ink);
}

/* 3×3 card grid */
.hz-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hz-help-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 32px 24px 24px;
    border: 1px solid var(--hz-line);
    background: var(--hz-white);
    min-height: 180px;
    cursor: default;
    /* UI only — no hover navigation */
}

.hz-help-card__icon {
    margin-bottom: auto;
    padding-bottom: 24px;
}

.hz-help-card__icon svg {
    width: 32px;
    height: 32px;
    color: var(--hz-ink);
}

.hz-help-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hz-ink);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.hz-help-card__count {
    font-size: 0.72rem;
    color: var(--hz-muted);
    margin: 0;
}

/* ── ③ Get Support ── */
.hz-help-support {
    padding-bottom: clamp(64px, 9vw, 100px);
}

.hz-help-support h2 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--hz-ink);
    margin-bottom: 24px;
}

.hz-help-support__card {
    border: 1px solid var(--hz-line);
    padding: 24px;
    max-width: 480px;
    background: var(--hz-white);
}

.hz-help-support__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hz-help-support__icon {
    width: 22px;
    height: 22px;
    color: var(--hz-ink);
    flex: 0 0 auto;
}

.hz-help-support__card-header>span {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hz-ink);
}

.hz-help-support__chevron {
    width: 18px;
    height: 18px;
    color: rgba(8, 17, 27, 0.4);
}

.hz-help-support__email {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--hz-ink);
    text-decoration: none;
    margin-bottom: 10px;
}

.hz-help-support__email:hover {
    text-decoration: underline;
}

.hz-help-support__hours {
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--hz-muted);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hz-help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hz-help-grid {
        grid-template-columns: 1fr;
    }

    .hz-help-hero {
        height: 220px;
    }
}

/* ============================================================
   REVISION 1.8 — Doc2 Task 1: Journal / Blog page (home.php)
   Adapted from Aurate New York blog reference
   ============================================================ */

.hz-journal-page {
    --journal-dark: var(--hz-blue-dark);
    --journal-warm: #f5f2ed;
}

/* Shared: category tag above titles */
.hz-journal-cat {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
}

/* Light-background version of category tag */
.hz-journal-grid .hz-journal-cat,
.hz-journal-wide .hz-journal-cat {
    color: var(--hz-muted);
}

/* Shared: "Read the article" link */
.hz-journal-read-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hz-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: border-color 200ms ease;
}

.hz-journal-read-link:hover {
    border-color: var(--hz-white);
}

.hz-journal-read-link--small {
    color: var(--hz-ink);
    border-bottom-color: rgba(8, 17, 27, 0.25);
    margin-top: 12px;
}

.hz-journal-read-link--small:hover {
    border-color: var(--hz-ink);
}

/* ── ② Featured first post ── */
.hz-journal-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    background: var(--journal-dark);
}

.hz-journal-featured__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 72px);
}

.hz-journal-featured__text h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--hz-white);
    margin-bottom: 20px;
}

.hz-journal-featured__text h2 a {
    color: inherit;
    text-decoration: none;
}

.hz-journal-featured__excerpt {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    max-width: 420px;
}

.hz-journal-featured__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(32px, 5vw, 60px);
    background: rgba(255, 255, 255, 0.04);
}

/* Decorative double-frame around image (Aurate style) */
.hz-journal-featured__frame {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.hz-journal-featured__frame::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.hz-journal-featured__frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* ── ③ & ⑥ 5-column post grids ── */
.hz-journal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding-top: clamp(40px, 6vw, 64px);
    padding-bottom: clamp(40px, 6vw, 64px);
    background: var(--hz-white);
}

.hz-journal-grid--light {
    background: var(--journal-warm);
}

.hz-journal-card__image-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hz-journal-card:hover .hz-journal-card__image-link img {
    transform: scale(1.04);
}

.hz-journal-card__image-link {
    display: block;
    overflow: hidden;
    margin-bottom: 16px;
}

.hz-journal-card__body .hz-journal-cat {
    color: var(--hz-muted);
    margin-bottom: 8px;
}

.hz-journal-card__body h3 {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--hz-ink);
    margin-bottom: 0;
}

.hz-journal-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.hz-journal-card__body h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── ④ Wide 2-col featured post ── */
.hz-journal-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 64px;
    align-items: center;
    padding-top: clamp(40px, 6vw, 64px);
    padding-bottom: clamp(40px, 6vw, 64px);
    background: var(--hz-white);
    border-top: 1px solid var(--hz-line);
    border-bottom: 1px solid var(--hz-line);
}

.hz-journal-wide__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.hz-journal-wide__text h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
    color: var(--hz-ink);
}

.hz-journal-wide__text h2 a {
    color: inherit;
    text-decoration: none;
}

.hz-journal-wide__text p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--hz-muted);
}

.hz-journal-wide__text .hz-journal-read-link {
    color: var(--hz-ink);
    border-bottom-color: rgba(8, 17, 27, 0.3);
}

/* ── ⑤ Newsletter signup ── */
.hz-journal-newsletter {
    background: var(--journal-dark);
    padding: clamp(52px, 8vw, 88px) 0;
    text-align: center;
}

.hz-journal-newsletter__inner {
    max-width: 480px;
}

.hz-journal-newsletter h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--hz-white);
    margin-bottom: 10px;
}

.hz-journal-newsletter p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
}

.hz-journal-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.hz-journal-newsletter__form input {
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: var(--hz-white);
    font-family: var(--hz-sans);
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    outline: none;
}

.hz-journal-newsletter__form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
}

.hz-journal-newsletter__form button {
    padding: 12px 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: var(--hz-white);
    font-family: var(--hz-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease;
}

.hz-journal-newsletter__form button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hz-white);
}

/* ── ⑦ Pagination / See More ── */
.hz-journal-pagination {
    padding: clamp(36px, 5vw, 56px) 0;
    text-align: center;
}

.hz-journal-see-more {
    display: inline-block;
    padding: 14px 48px;
    border: 1px solid var(--hz-ink);
    background: var(--hz-ink);
    color: var(--hz-white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 200ms ease, color 200ms ease;
}

.hz-journal-see-more:hover {
    background: transparent;
    color: var(--hz-ink);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .hz-journal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .hz-journal-featured,
    .hz-journal-wide {
        grid-template-columns: 1fr;
    }

    .hz-journal-featured__image {
        display: none;
        /* hide decorative frame image on mobile */
    }

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

@media (max-width: 480px) {
    .hz-journal-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   REVISION 2.0 — Community page + single design
   Matches Anna Sheffield custom/bespoke gallery reference
   ============================================================ */

/* ── Gallery page header ── */
.hz-community-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hz-line);
    gap: 16px;
}

.hz-community-header h1 {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hz-ink);
    margin: 0;
    text-align: center;
}

.hz-community-header__left,
.hz-community-header__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hz-community-header__right {
    justify-content: flex-end;
}

/* Filter button */
.hz-community-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    font-family: var(--hz-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--hz-ink);
    padding: 0;
}

.hz-community-filter-btn svg {
    width: 16px;
    height: 16px;
}

/* Item count */
.hz-community-count {
    font-size: 0.68rem;
    color: var(--hz-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Sort select */
.hz-community-sort__select {
    border: 0;
    border-bottom: 1px solid var(--hz-line);
    background: transparent;
    font-family: var(--hz-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--hz-ink);
    cursor: pointer;
    padding: 4px 20px 4px 0;
    appearance: auto;
    outline: none;
}

/* View toggle */
.hz-community-view-toggle {
    display: flex;
    gap: 4px;
}

.hz-community-view-toggle button {
    width: 28px;
    height: 28px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    color: rgba(8, 17, 27, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.hz-community-view-toggle button svg {
    width: 16px;
    height: 16px;
}

.hz-community-view-toggle button.is-active {
    color: var(--hz-ink);
    border-color: var(--hz-line);
}

/* ── Filter panel ── */
.hz-community-filter-panel {
    padding: 20px 0;
    border-bottom: 1px solid var(--hz-line);
    background: #faf9f7;
}

.hz-community-filter-panel__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hz-community-filter-panel__label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hz-muted);
    margin: 0;
    white-space: nowrap;
}

.hz-community-filter-panel__options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hz-community-filter-chip {
    padding: 6px 16px;
    border: 1px solid var(--hz-line);
    background: var(--hz-white);
    font-family: var(--hz-sans);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--hz-ink);
    transition: background 180ms ease, border-color 180ms ease;
}

.hz-community-filter-chip.is-active,
.hz-community-filter-chip:hover {
    background: var(--hz-ink);
    color: var(--hz-white);
    border-color: var(--hz-ink);
}

/* ── Design grid — matches Anna Sheffield 4-col layout ── */
.hz-community-grid {
    display: grid;
    grid-template-columns: repeat(var(--community-cols, 4), minmax(0, 1fr));
    gap: 2px;
    padding-top: 2px;
    padding-bottom: 48px;
    background: none;
}

.hz-community-grid[data-cols="4"] {
    --community-cols: 4;
}

.hz-community-grid[data-cols="2"] {
    --community-cols: 2;
}

/* ── Design card ── */
.hz-community-card {
    background: var(--hz-white);
    display: flex;
    flex-direction: column;
}

.hz-community-card__image-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f5f3ef;
}

.hz-community-card__image-link img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hz-community-card:hover .hz-community-card__image-link img {
    transform: scale(1.04);
}

/* Badge label — top-left, like Anna Sheffield */
.hz-community-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--hz-white);
    padding: 3px 8px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hz-ink);
    pointer-events: none;
}

/* Placeholder when no image */
.hz-community-card__placeholder {
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f5f3ef;
    color: rgba(8, 17, 27, 0.28);
}

.hz-community-card__placeholder svg {
    width: 40px;
    height: 40px;
}

.hz-community-card__placeholder span {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}

/* Card footer: title + like */
.hz-community-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
}

.hz-community-card__title {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--hz-ink);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hz-community-card__title a {
    color: inherit;
    text-decoration: none;
}

.hz-community-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Like button ── */
.hz-community-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: rgba(8, 17, 27, 0.4);
    padding: 4px;
    flex: 0 0 auto;
    transition: color 180ms ease;
}

.hz-community-like-btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    transition: fill 180ms ease;
}

.hz-community-like-btn .hz-like-count {
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1;
    color: inherit;
}

.hz-community-like-btn.is-liked,
.hz-community-like-btn:hover {
    color: #c0392b;
}

/* Large like button on detail page */
.hz-community-like-btn--large {
    font-size: 0.88rem;
    gap: 10px;
    padding: 8px 0;
    color: var(--hz-muted);
}

.hz-community-like-btn--large svg {
    width: 22px;
    height: 22px;
}

.hz-community-like-btn--large .hz-like-count {
    font-size: 0.88rem;
}

/* ── Empty state ── */
.hz-community-empty {
    grid-column: 1 / -1;
    padding: 96px 24px;
    text-align: center;
    background: var(--hz-white);
    color: var(--hz-muted);
}

.hz-community-empty p {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* ── Pagination ── */
.hz-community-pagination {
    padding: 32px 0 48px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.hz-community-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--hz-line);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hz-ink);
    text-decoration: none;
    transition: background 180ms ease;
}

.hz-community-pagination .page-numbers.current,
.hz-community-pagination .page-numbers:hover {
    background: var(--hz-ink);
    color: var(--hz-white);
    border-color: var(--hz-ink);
}

/* ── Submit Modal ── */
.hz-community-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 17, 27, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.hz-community-modal-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

.hz-community-modal {
    background: var(--hz-white);
    width: 100%;
    max-width: 520px;
    padding: 40px;
    position: relative;
}

.hz-community-modal h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.hz-community-modal>p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--hz-muted);
    margin-bottom: 28px;
}

.hz-community-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: rgba(8, 17, 27, 0.45);
}

.hz-community-modal__status {
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

.hz-community-modal__status.is-success {
    color: #27ae60;
}

.hz-community-modal__status.is-error {
    color: #c0392b;
}

.hz-community-submit-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Post Your Design button (in orders) ── */
.hz-community-post-btn {
    display: inline-block;
    margin-top: 12px;
}

/* ── Single design page ── */
.hz-community-breadcrumb {
    padding: 20px 0;
    font-size: 0.72rem;
    color: var(--hz-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hz-community-breadcrumb a {
    color: var(--hz-muted);
    text-decoration: none;
}

.hz-community-breadcrumb a:hover {
    color: var(--hz-ink);
}

.hz-community-single__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 72px;
    align-items: start;
    padding-bottom: clamp(48px, 7vw, 80px);
}

.hz-community-single__image img {
    width: 100%;
    display: block;
    position: sticky;
    top: 110px;
}

.hz-community-single__placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f5f3ef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(8, 17, 27, 0.3);
}

.hz-community-single__placeholder svg {
    width: 64px;
    height: 64px;
}

.hz-community-single__info {
    padding-top: 24px;
}

.hz-community-single__submitter {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hz-muted);
    margin-bottom: 12px;
}

.hz-community-single__title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
    line-height: 1.05;
}

.hz-community-single__price {
    font-size: 1.5rem;
    font-family: var(--hz-serif);
    margin-bottom: 20px;
    color: var(--hz-ink);
}

.hz-community-single__note {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--hz-muted);
    margin-bottom: 20px;
}

.hz-community-single__like {
    margin-bottom: 20px;
}

.hz-community-single__divider {
    height: 1px;
    background: var(--hz-line);
    margin: 24px 0;
}

.hz-community-single__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.hz-community-single__actions .hz-button {
    text-align: center;
    padding: 16px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    font-weight: 700;
}

#hz-cart-msg {
    font-size: 0.8rem;
    margin-top: 8px;
}

#hz-cart-msg.is-success {
    color: #27ae60;
}

#hz-cart-msg.is-error {
    color: #c0392b;
}

.hz-community-single__meta p {
    font-size: 0.72rem;
    line-height: 1.65;
    color: rgba(8, 17, 27, 0.45);
    margin-top: 20px;
}

.hz-community-single__back {
    padding-bottom: 48px;
}

.hz-community-single__back a {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--hz-muted);
    text-decoration: none;
}

.hz-community-single__back a:hover {
    color: var(--hz-ink);
}

/* ── Nav item ── */
.hz-community-nav-badge {
    display: inline-block;
    background: var(--hz-ink);
    color: var(--hz-white);
    font-size: 0.5rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 2px;
    vertical-align: super;
    letter-spacing: 0.05em;
    margin-left: 2px;
}

/* ── Responsive ── */
@media (max-width: 980px) {
    .hz-community-grid[data-cols="4"] {
        --community-cols: 2;
    }

    .hz-community-single__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hz-community-single__image img {
        position: static;
        max-height: 60vw;
        object-fit: contain;
    }
}

@media (max-width: 620px) {
    .hz-community-header {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .hz-community-header__center {
        grid-column: 1 / -1;
        order: -1;
        text-align: left;
    }

    .hz-community-grid[data-cols="4"],
    .hz-community-grid[data-cols="2"] {
        --community-cols: 2;
    }

    .hz-community-single__actions {
        grid-template-columns: 1fr;
    }
}

/* ── Thank You page community prompt ── */
.hz-thankyou-community {
    margin: 40px 0 0;
    padding: 40px;
    background: var(--hz-blue-dark);
    text-align: center;
}

.hz-thankyou-community__icon {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.hz-thankyou-community h3 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--hz-white);
    margin-bottom: 12px;
}

.hz-thankyou-community p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
    max-width: 480px;
    margin: 0 auto 28px;
}

.hz-thankyou-community__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hz-thankyou-community__skip {
    border: 0;
    background: transparent;
    font-family: var(--hz-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hz-thankyou-community__skip:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Design image preview in submission modal ── */
.hz-community-modal__preview {
    margin-bottom: 20px;
    text-align: center;
}

.hz-community-modal__preview-label {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hz-muted);
    margin-bottom: 10px;
}

.hz-community-modal__preview img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border: 1px solid var(--hz-line);
    display: block;
    margin: 0 auto;
    background: #f5f3ef;
}

/* ── Design image in cart ── */
.woocommerce-cart-form .hz-design-preview-img,
.wc-block-components-order-summary-item img {
    max-width: 80px;
    display: block;
    margin-top: 6px;
}

/* ============================================================
   REVISION 2.1 — Task 3: Bead String Designer overhaul
   ============================================================ */

/* ── 1. Heading: -30% size, remove gradient background ── */
.hz-designer-intro {
    padding: clamp(40px, 5vw, 72px) 0 40px;
    background: #f4f3f0;
    /* solid gray — no gradient */
}

.hz-designer-intro h1 {
    font-size: clamp(1.6rem, 2.8vw, 3.2rem);
    /* ~30% smaller */
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 600px;
    margin-bottom: 0;
}

/* ── 2. Bracelet stage: white background, no gradient/glow ── */
.hz-bracelet-stage {
    background: #ffffff !important;
    background-size: unset !important;
    border-radius: 0 !important;
    margin: 0 !important;
    flex: 1;
    aspect-ratio: unset;
    min-height: 480px;
}

/* Hide the blue glow entirely — clean white background */
.hz-bracelet-glow {
    display: none !important;
}

/* Also remove stage shadow/drop shadow */
.hz-bracelet-stage::after {
    display: none !important;
}

/* ── 3. Larger workspace matching reference proportions ── */
.hz-builder-workspace {
    grid-template-columns: minmax(320px, 380px) 1fr minmax(280px, 340px);
    min-height: 860px;
}

.hz-bead-library,
.hz-builder-config {
    height: min(900px, calc(100vh - 120px));
    min-height: 100%;
}

/* Make the center preview panel fill all available height */
.hz-builder-preview {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 16px;
    height: min(900px, calc(100vh - 120px));
    min-height: 760px;
    position: relative;
}

/* Stage fills remaining vertical space in the preview panel */
.hz-bracelet-stage {
    flex: 1;
    width: 100%;
}

.hz-bracelet-preview {
    width: min(580px, 90%);
}

/* ── 4. Larger beads in the library ── */
.hz-bead-choice>img {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    object-fit: contain;
}

.hz-bead-choice {
    padding: 12px 8px 10px;
    gap: 5px;
    background: var(--hz-white);
    border: 1px solid transparent;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.hz-bead-choice:hover {
    border-color: var(--hz-line);
    box-shadow: 0 2px 12px rgba(8, 17, 27, 0.06);
}

.hz-bead-choice strong {
    font-size: 0.67rem;
}

.hz-bead-choice em {
    font-size: 0.62rem;
    margin-top: 2px;
}

/* ── 5. Larger beads on the canvas ── */
/* .hz-preview-bead {
    width: var(--bead-px, 68px) !important;
    height: var(--bead-px, 68px) !important;
} */

.hz-preview-bead img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ── 6. Diameter display styling ── */
.hz-builder-diameter {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-top: 1px solid var(--hz-line);
    margin-top: 4px;
}

.hz-builder-diameter>span {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hz-muted);
}

.hz-builder-diameter__values {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hz-builder-diameter__values strong {
    font-size: 1.4rem;
    font-family: var(--hz-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--hz-ink);
    line-height: 1;
}

.hz-builder-diameter__values em {
    font-size: 0.62rem;
    font-style: normal;
    color: var(--hz-muted);
}

/* ── 7. "Scroll onto string" animation for new beads ── */
/* Remove the old is-new animation — JS handles it now */
.hz-preview-bead.is-new {
    animation: none;
}

/* Bead library palette fills nicely */
.hz-bead-palette {
    gap: 6px;
    margin-top: 8px;
}

/* Preview panel head compact */
.hz-builder-preview__head {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hz-line);
}

.hz-builder-preview__head h2 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
}

/* Toolbar compact */
.hz-builder-toolbar {
    padding: 12px 0 0;
    justify-content: center;
}

/* ============================================================
   REVISION 2.2 — Mobile designer layout + flying bead CSS
   ============================================================ */

/* ── Flying bead animation helper ── */
@keyframes hz-fly-bead {
    from {
        opacity: 0.9;
        transform: scale(0.8);
    }

    to {
        opacity: 0;
        transform: scale(1);
    }
}

/* ── Mobile: full redesign matching reference app layout ── */
@media (max-width: 840px) {

    /* Hide desktop intro — too much space on mobile */
    .hz-designer-intro {
        padding: 20px 0 16px;
    }

    .hz-designer-intro h1 {
        font-size: 1.3rem;
    }

    .hz-designer-intro__inner {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hz-designer-intro__inner>p {
        display: none;
        /* hide long description on mobile */
    }

    /* Topbar: compact */
    .hz-builder-topbar {
        width: 100%;
        padding: 6px 12px;
        gap: 12px;
        min-height: 44px;
    }

    /* Workspace: single column — canvas TOP, library BOTTOM */
    .hz-builder-workspace {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: unset;
        border: 0;
    }

    /* Center preview (canvas) — goes first / top */
    .hz-builder-preview {
        order: 1;
        width: 100%;
        min-height: 75vw;
        max-height: 90vw;
        height: unset;
        border: 0;
        border-bottom: 1px solid var(--hz-line);
        padding: 12px;
        position: static;
        /* no sticky on mobile */
        flex-shrink: 0;
    }

    .hz-builder-preview__head {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .hz-builder-preview__head h2 {
        font-size: 1rem;
    }

    .hz-bracelet-stage {
        min-height: unset;
        flex: 1;
        width: 100%;
        aspect-ratio: unset;
    }

    .hz-bracelet-preview {
        width: 92% !important;
    }

    /* Bead library — goes second / bottom */
    .hz-bead-library {
        order: 2;
        width: 100%;
        height: auto;
        min-height: unset;
        max-height: 58vw;
        border-right: 0;
        border-top: 1px solid var(--hz-line);
        padding: 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fbfaf8;
        flex-shrink: 0;
    }

    .hz-bead-library__head {
        margin-bottom: 10px;
    }

    .hz-bead-library__head h2 {
        font-size: 1rem;
    }

    /* Bead size tabs — horizontal row */
    .hz-bead-size-tabs {
        grid-template-columns: repeat(4, 1fr);
        margin: 8px 0 8px;
    }

    /* Color filters — wrap compactly */
    .hz-bead-filters {
        margin: 6px 0 10px;
        gap: 3px;
    }

    .hz-bead-filters button,
    .hz-bead-size-tabs button {
        min-height: 28px;
        font-size: 0.58rem;
        padding: 4px 6px;
    }

    /* Bead search — full width */
    .hz-bead-search {
        height: 36px;
        margin-bottom: 8px;
    }

    /* Bead palette — 3-column grid on mobile */
    .hz-bead-palette {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .hz-bead-choice>img {
        width: 52px;
        height: 52px;
    }

    .hz-bead-choice {
        padding: 8px 4px 6px;
    }

    .hz-bead-choice strong {
        font-size: 0.58rem;
    }

    .hz-bead-choice em {
        font-size: 0.55rem;
    }

    /* Config panel — goes third, hidden by default, shown as bottom bar */
    .hz-builder-config {
        order: 3;
        width: 100%;
        height: auto;
        min-height: unset;
        border-top: 1px solid var(--hz-line);
        padding: 12px;
        overflow: visible;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
        background: var(--hz-white);
    }

    .hz-builder-config .hz-kicker,
    .hz-builder-config h2 {
        display: none;
        /* hide heading on mobile */
    }

    .hz-builder-config__stat {
        grid-column: 1 / -1;
    }

    .hz-builder-config__total {
        grid-column: 1 / -1;
        padding: 10px 0 0;
        margin-top: 0;
    }

    .hz-builder-config>p:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    /* Save button — full width on mobile */
    .hz-button--wide {
        width: 100%;
        grid-column: 1 / -1;
    }

    /* Toolbar */
    .hz-builder-toolbar {
        padding: 8px 0 0;
    }

    .hz-builder-toolbar button {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    /* Builder message */
    .hz-builder-message {
        font-size: 0.72rem;
        text-align: center;
        padding: 4px 0;
    }

    /* Diameter display — inline on mobile */
    .hz-builder-diameter {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
    }

    .hz-builder-diameter__values {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .hz-builder-diameter__values strong {
        font-size: 1rem;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hz-bracelet-preview {
        width: min(260px, 78%);
    }

    .hz-bead-palette {
        grid-template-columns: repeat(3, 1fr);
    }

    .hz-bead-choice>img {
        width: 46px;
        height: 46px;
    }
}

/* ============================================================
   REVISION 2.3 — Scroll-wheel zoom on bracelet canvas
   ============================================================ */

/* The preview panel clips anything that scales outside its bounds.
   This is what prevents the zoomed canvas from bleeding into the sidebars. */
.hz-builder-preview {
    overflow: hidden;
    position: relative;
}

/* Stage scales from its own centre — smooth, GPU-accelerated. */
.hz-bracelet-stage {
    transform-origin: center center;
    transition: transform 90ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Subtle hint text at the bottom of the canvas.
   Disappears once the user actually zooms. */
.hz-bracelet-stage::before {
    content: "Scroll to zoom  ·  double-click to reset";
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(8, 17, 27, 0.25);
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 300ms ease;
}

/* Hide hint once the user has zoomed in or out */
.hz-bracelet-stage[style*="scale"]:not([style*="scale(1)"]):not([style=""]) ::before {
    opacity: 0;
}

/* No hint needed on touch screens — no scroll wheel */
@media (max-width: 840px) {
    .hz-bracelet-stage::before {
        display: none;
    }
}

/* View Cart button — green tint to signal success */
.hz-button--view-cart {
    background: #2a6b3c !important;
    border-color: #2a6b3c !important;
    color: #fff !important;
    transition: background 200ms ease;
}

.hz-button--view-cart:hover {
    background: #1e5230 !important;
}

.hz-designer-intro__inner {
    display: grid;
    grid-template-columns: 100% !important;
    align-items: end;
    gap: 80px;
}

.hz-designer-intro h1 {
    font-size: clamp(1.6rem, 2.8vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 100% !important;
    margin-bottom: 0;
    text-align: center;
}

.hz-builder-topbar {
    display: none;
    max-width: 100% !important;
    width: 100% !important;
}

.hz-bead-size-tabs {
    display: none;
}

/* Make bead cards a positioning parent */
.hz-bead-choice {
    position: relative;
    overflow: visible;
    /* allow panel to float above */
}

/* The size picker — hidden by default, shown on card hover */
.hz-bead-size-picker {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    /* floats above the card */
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
    padding: 6px;
    min-width: 130px;
    flex-direction: column;
    gap: 2px;

    /* subtle appear animation */
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
    transform: translateX(-50%) translateY(4px);
}

.hz-bead-choice:hover .hz-bead-size-picker {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Each size row */
.hz-size-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: background 120ms ease;
}

.hz-size-option:hover {
    background: #f4f4f4;
}

.hz-size-option.is-active {
    background: #f0f0f0;
    font-weight: 600;
}

.hz-size-mm {
    color: #1a1a1a;
}

.hz-size-price {
    color: #666;
    font-size: 12px;
}


/* ── Selected bead state ───────────────────────────────────────── */
.hz-preview-bead.is-selected {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.25);
    z-index: 999 !important;
}

/* X remove button shown on selected bead */
.hz-bead-remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    border: 2px solid #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: transform 120ms ease;
}

.hz-bead-remove-btn:hover {
    transform: scale(1.15);
}

/* Bead being dragged: follow cursor via CSS custom properties */
.hz-preview-bead.is-dragging {
    opacity: 0.75;
    z-index: 9999 !important;
    transform: translate(calc(-50% + var(--drag-x, 0px)),
            calc(-50% + var(--drag-y, 0px))) scale(1.12) !important;
    transition: none !important;
    cursor: grabbing;
}

/* Rotate cursor on bracelet background */
.hz-bracelet-preview {
    cursor: grab;
}

.hz-bracelet-preview:active {
    cursor: grabbing;
}

.hz-bead-filters button {
    width: 19%;
}

.hz-bracelet-bin {
    position: absolute;
    bottom: auto;
    top: 7px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease, background 150ms ease, color 150ms ease;
    z-index: 50;
}

.hz-bracelet-bin.is-visible {
    opacity: 1;
    transform: scale(1);
}

.hz-bracelet-bin.is-hover {
    background: #d92d20;
    border-color: #d92d20;
    color: #fff;
    transform: scale(1.12);
}

.hz-config-summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #eaf3fb;
    /* light blue */
    border-radius: 10px;
    padding: 16px;
    margin: 16px 0 20px;
}

.hz-config-summary__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hz-config-summary__item span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b8caf;
}

.hz-config-summary__item strong {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hz-config-more {
    margin-bottom: 20px;
}

.hz-config-more summary {
    cursor: pointer;
    font-size: 13px;
    color: #666;
    padding: 8px 0;
}

.hz-config-more[open] summary {
    margin-bottom: 8px;
}

/* Size Guide Button */
.hz-builder-mode {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hz-size-guide-btn {
    border: 1px solid #000;
    background: #fff;
    color: #000;
    padding: 9px 18px;
    min-height: 38px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hz-size-guide-btn:hover {
    background: #000;
    color: #fff;
}


/* Size Guide Modal */
.hz-size-guide-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.hz-size-guide-modal.is-open {
    display: flex;
}

.hz-size-guide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.hz-size-guide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hz-size-guide-image {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.hz-size-guide-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 25px;
    line-height: 32px;
    cursor: pointer;
    z-index: 5;
}

.hz-size-guide-close:hover {
    background: #333;
}


/* Mobile */
@media (max-width: 600px) {

    .hz-builder-mode {
        gap: 6px;
    }

    .hz-size-guide-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .hz-size-guide-modal {
        padding: 15px;
    }

    .hz-size-guide-content {
        width: 100%;
        max-height: 90vh;
        padding: 10px;
    }

    .hz-size-guide-image {
        max-height: 82vh;
    }

}

.hz-header {
    background: white !important;
}
/* Task 2: Search button restore */
button[data-search-open],
.hz-header-actions button[data-search-open] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

/* Task 3: Nav links UPPERCASE */
.hz-navigation__list a {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* Task 4: Hero heading font change */
.hz-hero h1 {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
}
/* Task 5: Hero buttons redesign */

/* Design button - solid black, rectangle */
.hz-hero .hz-button--dark {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    padding: 12px 24px !important;
}

/* Shop button - white background, black border, rectangle */
.hz-hero .hz-button--light {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    padding: 12px 24px !important;
}
/* Task 6: Section spacing fix */
.hz-promise {
    padding-block: 58px !important;
}

.hz-process {
    padding-block: 58px !important;
}

/* Task 6: Start Design button white space kam karo */
.hz-process .hz-section-heading {
    margin-bottom: 20px !important;
}

.hz-process-grid {
    margin-top: 20px !important;
}
/* Task 7: Process cards redesign */

/* Border/box hatao */
.hz-process-card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 28px !important;
    min-height: auto !important;
    text-align: center !important;
}

/* Icon center karo */
.hz-process-card__icon {
    margin: 0 auto 20px !important;
}

/* Dashed line between icons */
.hz-process-grid::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 15%;
    right: 15%;
    height: 1px;
    border-top: 2px dashed #ccc !important;
    background: none !important;
}

/* Text description choti */
.hz-process-card p {
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    color: var(--hz-muted) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
/* Task 8: Promise section final fix */
.hz-promise {
    padding-block: 32px !important;
    border-block: none !important;
    background: transparent !important;
}

.hz-promise__heading {
    display: none !important;
}

.hz-promise__grid {
    border-top: 1px solid #e5e5e5 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    gap: 0 !important;
}

.hz-promise__grid > article {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
    padding: 16px 12px !important;
    border: 0 !important;
    border-left: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    background: transparent !important;
    min-width: 0 !important;
}

.hz-promise__grid > article:first-child {
    border-left: 0 !important;
}

.hz-promise__grid > article > span {
    flex: 0 0 auto !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

.hz-promise__grid h3 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.62rem !important;
    margin: 0 !important;
}

.hz-promise__grid p {
    display: none !important;
}
/* Task 10: Dark overlay + hover zoom */
.hz-element-card__image {
    filter: brightness(0.55) !important;
    transition: transform 500ms ease, filter 500ms ease !important;
}

.hz-element-card:hover .hz-element-card__image {
    transform: translateX(-50%) scale(1.08) !important;
    filter: brightness(0.4) !important;
}
/* Task 10: Black mist overlay on element cards */
.hz-element-card {
    position: relative !important;
}

.hz-element-card .hz-element-card__image {
    filter: brightness(0.4) saturate(0.8) !important;
    transition: transform 500ms ease !important;
}

.hz-element-card:hover .hz-element-card__image {
    transform: translateX(-50%) scale(1.1) !important;
    filter: brightness(0.5) saturate(0.9) !important;
}
/* Task 11: Themes section */
.hz-themes .hz-section-heading.hz-themes__heading {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

.hz-themes .hz-section-heading.hz-themes__heading > div {
    text-align: left !important;
}

.hz-themes .hz-section-heading.hz-themes__heading h2 {
    font-size: 1.6rem !important;
}

.hz-themes .hz-section-heading.hz-themes__heading .hz-button--dark {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0 !important;
}

.hz-theme-card strong {
    font-size: 0.95rem !important;
}

.hz-theme-grid {
    margin-top: 0 !important;
}
/* Task 11: Heading center */
.hz-themes__heading h2 {
    text-align: center !important;
    width: 100% !important;
}

.hz-themes__heading .hz-kicker {
    text-align: center !important;
    width: 100% !important;
}

/* Task 11: Button position fix */
.hz-themes .hz-shell {
    display: flex !important;
    flex-direction: column !important;
}

.hz-themes .hz-shell > div[style] {
    order: -2 !important;
    margin-bottom: 0 !important;
    margin-top: -10px !important;
}
/* Task 12: Material detail button align */
.hz-material-library__detail {
    overflow: hidden !important;
}

.hz-material-library__detail .hz-button {
    width: 100% !important;
    box-sizing: border-box !important;
}
.hz-button, .hz-button--dark, .hz-button--light, .hz-button--outline, a.hz-button, button.hz-button {
    border-radius: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important;
}
/* Task 14: Newsletter section */
.hz-newsletter {
    padding-block: 32px !important;
    background: #b8d8e8 !important;
}

.hz-newsletter h2 {
    font-size: clamp(1.2rem, 2vw, 2rem) !important;
}

/* Email input rectangular */
.hz-newsletter input[type="email"],
.hz-newsletter input {
    border-radius: 0 !important;
}

/* Button rectangular */
.hz-newsletter .hz-button,
.hz-newsletter button {
    border-radius: 0 !important;
}

/* Background color same as reference */
.hz-newsletter-section,
section.hz-newsletter {
    background: #f0f0f5 !important;
}
/* Task 16: Footer logo size */
.hz-footer img[alt="HERZITE"] {
    width: 140px !important;
    height: 40px !important;
}
/* Task 17: Remove Default Sorting dropdown */
.lz-sort-wrap {
    display: none !important;
}

/* Task 17: Remove white circle behind heart icon */
.yith-wcwl-add-button a,
.yith-wcwl-add-button span,
.yith-wcwl-add-to-wishlist a,
.tinvwl_add_to_wishlist_button,
a.tinvwl_add_to_wishlist_button {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}
/* Task 17: Remove Default Sorting dropdown */
.lz-sort-wrap {
    display: none !important;
}

/* Task 17: Remove white circle behind heart icon */
.lz-heart-btn {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}
/* Task 17: Heart icon - remove red fill, outline only */
.lz-heart-btn svg path {
    fill: none !important;
    stroke: #000000 !important;
    stroke-width: 1.5px !important;
}

.lz-heart-btn.is-active svg path {
    fill: none !important;
    stroke: #000000 !important;
}
/* Task 18: Price font and color */
.lz-product-card .price,
.lz-product-card .woocommerce-Price-amount,
.lz-product-card .amount {
    font-family: 'Georgia', serif !important;
    color: #444444 !important;
    font-size: 14px !important;
}

/* Task 18: Sale price layout - sale price left, original strikethrough right */
.lz-product-card .price {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
}

.lz-product-card .price ins {
    text-decoration: none !important;
    order: 1 !important;
    font-weight: 600 !important;
    color: #444444 !important;
    font-family: 'Georgia', serif !important;
}

.lz-product-card .price del {
    order: 2 !important;
    color: #999999 !important;
    font-size: 12px !important;
    font-family: 'Georgia', serif !important;
}
/* Task 19: Quantity input - rectangular border */
.quantity input[type="number"],
.woocommerce .quantity input.qty {
    border-radius: 0 !important;
    border: 1px solid #333333 !important;
}

/* Task 19: Star rating - dark blue */
.star-rating span::before,
.star-rating::before {
    color: #1a2e5a !important;
}

.woocommerce-product-rating .star-rating {
    color: #1a2e5a !important;
}

/* Task 19: Payment icons area */
.payment-icons {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    margin-top: 15px !important;
    flex-wrap: wrap !important;
}

.payment-icons img {
    height: 24px !important;
    width: auto !important;
    opacity: 0.8 !important;
}
/* Task 19: Star rating */
.hz-star-rating {
    margin-bottom: 10px;
}
.hz-star-rating svg {
    width: 110px;
    height: 22px;
}

/* Task 19: Size buttons */
.hz-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
}
.hz-size-label {
    font-size: 13px;
    color: #333;
}
.hz-size-btn {
    border: 1px solid #333333 !important;
    border-radius: 0 !important;
    background: transparent;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
}
.hz-size-btn.active {
    background: #333333 !important;
    color: #ffffff !important;
}

/* Task 19: Payment icons */
.hz-payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.hz-payment-label {
    font-size: 12px;
    color: #666;
}
.hz-payment-icons img {
    height: 22px;
    width: auto;
    opacity: 0.85;
}
/* Task 20: Product meta description */
.hz-product-meta-desc {
    font-size: 12px;
    color: #888;
    margin: 8px 0 12px;
    letter-spacing: 0.03em;
}
.woocommerce-product-gallery__wrapper {
    width: 100% !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 1 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    padding: 14px 20px !important;
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    align-items: center !important;
    justify-content: center;
    display: flex;
}

.hz-trust-bar {
    display: none !important;
}
.hz-trust-bar {
    display: none !important;
}

.hz-product-material-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:20px !important;
}
.hz-product-material-grid > *{
  background:#f2f2f2 !important;
  border-color:#e0e0e0 !important;
}
@media (max-width:1000px){
  .hz-product-material-grid{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width:480px){
  .hz-product-material-grid{grid-template-columns:1fr !important;}
}
/* Task 22: 4 beads horizontal - FINAL FIX */
.hz-product-material-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
}

article.hz-product-material {
    background: #e8e8e8 !important;
    background-color: #e8e8e8 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

article.hz-product-material > img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 12px !important;
}

.hz-product-story {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.hz-product-story__intro,
.hz-product-story > * {
    background: transparent !important;
}

@media (max-width: 1000px) {
    .hz-product-material-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .hz-product-material-grid {
        grid-template-columns: 1fr !important;
    }
}
/* Task 22: OVERRIDE base min-height jo 4 columns rok raha tha */
.hz-product-material {
    min-height: 0 !important;
    max-width: 100% !important;
}

.hz-product-material > img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 12px !important;
}

.hz-product-material-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
}
/* Task 22: Final fix - 4 beads one line */
.hz-product-material-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
}

.hz-product-material {
    min-height: 0 !important;
    max-width: 100% !important;
    background: #e8e8e8 !important;
    padding: 16px !important;
}

.hz-product-material > img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 12px !important;
}
/* Task 23: Hide fake reviews */
.hz-reviews-section {
    display: none !important;
}
/* Task 24: Community section - 4 cards horizontal */
.hz-community-home-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin-top: 32px !important;
}

.hz-community-home-card {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: var(--hz-ink) !important;
}

.hz-community-home-card__img-wrap {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 3 / 4 !important;
}

/* Plain image - default visible */
.hz-community-home-card__plain {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: opacity 400ms ease !important;
    opacity: 1 !important;
    z-index: 1 !important;
}

/* Worn image - hidden by default, shown on hover */
.hz-community-home-card__worn {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: opacity 400ms ease !important;
    opacity: 0 !important;
    z-index: 2 !important;
}

/* Hover: worn image dikhao */
.hz-community-home-card:hover .hz-community-home-card__worn {
    opacity: 1 !important;
}

.hz-community-home-card:hover .hz-community-home-card__plain {
    opacity: 0 !important;
}

.hz-community-home-card__label {
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 10px 0 !important;
    color: var(--hz-ink) !important;
}

/* Task 24: Section heading with button */
.hz-creations .hz-section-heading--split {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

@media (max-width: 768px) {
    .hz-community-home-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .hz-community-home-grid {
        grid-template-columns: 1fr !important;
    }
}
/* Fix: Product image scroll fix */
.woocommerce-product-gallery {
    position: relative !important;
    top: auto !important;
    align-self: flex-start !important;
}

.hz-commerce-single .product.type-product > .woocommerce-product-gallery {
    position: relative !important;
    top: unset !important;
    align-self: auto !important;
}
/* Fix: hz-gallery sticky remove */
.hz-gallery {
    position: relative !important;
    top: auto !important;
}
/* Task 26: Hide newsletter section on bracelet designer page */
.hz-designer-page ~ .hz-newsletter,
.hz-designer-page + .hz-newsletter,
body.page-template-page-bracelet-designer .hz-newsletter,
body.page-template-page-bracelet-designer .hz-newsletter-section {
    display: none !important;
}
/* Task 26: Bracelet designer larger */
body.page-template-page-bracelet-designer .hz-builder-workspace {
    min-height: 960px !important;
}

body.page-template-page-bracelet-designer .hz-builder-preview,
body.page-template-page-bracelet-designer .hz-bead-library,
body.page-template-page-bracelet-designer .hz-builder-config {
    height: min(960px, calc(100vh - 120px)) !important;
    min-height: 860px !important;
}
/* Task 27: Bead library + config background white */
.hz-bead-library {
    background: #ffffff !important;
}

.hz-builder-config {
    background: #ffffff !important;
}
/* Task 25: Logo - SVG container crop, text hide */
.hz-bracelet-empty .hz-empty-logo {
    width: 55px !important;
    height: 55px !important;
    object-fit: none !important;
    object-position: left center !important;
    max-width: none !important;
    display: none!important;

}
main#main-content {
    padding-top: 0;
}
img#hz-main-img {
    aspect-ratio: 3 / 3 !important;
}

aside.hz-bead-library {
    width: 25%;
}

.hz-builder-workspace {
    display: flex;
}

section.hz-builder-preview {
    width: 50%;
}
.hz-material-library__detail {
    position: sticky;
    top: 120px;
    min-height: 620px;
    padding: 42px;
    background: var(--hz-ink);
    color: var(--hz-white);
    padding-bottom: 90px;
}
a.hz-button.hz-button--light {
    display: flex !important;
}
aside.hz-builder-config.hz-builder-config--clean {
    width: 25%;
    display: block;
}
.hz-bead-summary {
    max-height: 300px;
    height: 211px;
    overflow-y: auto;
}