:root {
    --cdz-bg: #fdf9f2;
    --cdz-surface: #ffffff;
    --cdz-text: #2f251f;
    --cdz-muted: #6d6159;
    --cdz-border: #e8ddd1;
    --cdz-accent: #b54b24;
    --cdz-accent-hover: #8e3b1d;
    --cdz-secondary: #244f43;
    --cdz-radius: 18px;
    --cdz-shadow: 0 14px 35px rgba(41, 29, 18, 0.08);
}

body {
    background: radial-gradient(circle at top right, #fff0dd 0, var(--cdz-bg) 40%);
    color: var(--cdz-text);
}

a {
    color: var(--cdz-secondary);
}

.site {
    max-width: 100%;
}

.site-header {
    border-bottom: 1px solid var(--cdz-border);
    background: #fffcf8;
    padding-top: 0.2rem;
}

.site-header .col-full {
    width: 100%;
}

.site-branding {
    margin: 0;
}

.cdz-branding {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cdz-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--cdz-text);
    text-decoration: none;
    font-weight: 700;
}

.cdz-brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cdz-brand-name {
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

.cdz-brand-tagline {
    margin: 0;
    color: var(--cdz-muted);
    font-size: 0.98rem;
    line-height: 1.3;
}

.site-search {
    margin-bottom: 0;
}

.main-navigation {
    margin: 0;
}

.main-navigation ul.menu {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.main-navigation ul.menu > li > a {
    color: var(--cdz-text);
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.55rem 0.55rem;
    white-space: nowrap;
}

.site-header-cart {
    margin: 0;
}

.site-header-cart .cart-contents {
    padding: 0.55rem 0;
}

@media (min-width: 993px) {
    .site-header .site-branding,
    .site-header .site-search,
    .site-header .main-navigation,
    .site-header .site-header-cart {
        float: none;
        clear: none;
    }

    .site-header {
        height: 180px;
        min-height: 180px;
        padding-top: 0;
    }

    .cdz-header-top {
        display: grid;
        grid-template-columns: 1fr 360px;
        align-items: center;
        column-gap: 1rem;
        padding: 0.3rem 0 0.2rem;
    }

    .cdz-header-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 1rem;
        padding: 0.1rem 0 0.2rem;
    }

    .cdz-header-top .site-branding {
        justify-self: start;
        width: auto;
    }

    .cdz-header-top .site-search {
        justify-self: end;
        width: 360px;
        margin: 0;
    }

    .cdz-header-top .site-search .widget_product_search,
    .cdz-header-top .site-search form {
        margin: 0;
    }

    .cdz-header-bottom .main-navigation {
        width: 100%;
        margin: 0;
        justify-self: start;
    }

    .cdz-header-bottom .main-navigation ul.menu {
        gap: 0.7rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }

    .cdz-header-bottom .site-header-cart {
        width: auto;
        justify-self: end;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .cdz-header-bottom .site-header-cart .cart-contents {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0;
        white-space: nowrap;
    }

    .cdz-header-bottom .site-header-cart .cart-contents .amount,
    .cdz-header-bottom .site-header-cart .cart-contents .count {
        line-height: 1;
    }

    .cdz-header-bottom .site-header-cart .cart-contents::after {
        margin-left: 0.2rem;
    }

    .cdz-header-bottom .site-header-cart li:last-child {
        display: none;
    }
}

.button,
.button.alt,
button.button,
input.button,
input[type='submit'] {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    padding: 0.65rem 1.1rem;
    background: var(--cdz-accent);
    color: #fff;
    font-weight: 600;
}

.button:hover,
.button.alt:hover,
button.button:hover,
input.button:hover,
input[type='submit']:hover {
    background: var(--cdz-accent-hover);
    color: #fff;
}

.cdz-front-page,
.cdz-catalog-page {
    padding-bottom: 3rem;
}

.cdz-hero {
    padding: 2rem 0 1rem;
}

.cdz-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    align-items: stretch;
    background: var(--cdz-surface);
    border: 1px solid var(--cdz-border);
    border-radius: calc(var(--cdz-radius) + 4px);
    box-shadow: var(--cdz-shadow);
    padding: 1.8rem;
}

.cdz-hero-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.cdz-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cdz-hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 18px;
    object-fit: cover;
    margin: 0 auto 0.95rem;
}

.cdz-eyebrow {
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cdz-muted);
    margin: 0 0 0.5rem;
    text-align: center;
}

.cdz-hero h1,
.cdz-catalog-header h1 {
    margin-bottom: 0.65rem;
    line-height: 1.2;
    width: 100%;
    text-align: center;
}

.cdz-hero p,
.cdz-catalog-header p {
    color: var(--cdz-muted);
    margin-bottom: 0.6rem;
}

.cdz-hero-facts {
    list-style: none;
    margin: 0.45rem 0 0.8rem;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    width: 100%;
    max-width: 560px;
}

.cdz-hero-facts li {
    background: #f9f2e9;
    border: 1px solid var(--cdz-border);
    border-radius: 12px;
    padding: 0.45rem 0.7rem;
    color: #5b4e44;
    font-size: 0.92rem;
}

.cdz-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.35rem;
    justify-content: center;
}

.cdz-wa-support {
    margin-top: 0.7rem;
    color: var(--cdz-muted);
    font-size: 0.92rem;
}

.cdz-hero-media {
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    gap: 0.7rem;
    min-height: 340px;
}

.cdz-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
    align-items: center;
}

.cdz-main-photo,
.cdz-side-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--cdz-radius);
    border: 1px solid var(--cdz-border);
}

.cdz-info-strip {
    margin-top: 0.8rem;
    background: #fff;
    border: 1px solid var(--cdz-border);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.8rem 1rem;
}

.cdz-info-strip p {
    margin: 0;
    color: #594b41;
    font-size: 0.9rem;
    font-weight: 600;
}

.cdz-offers,
.cdz-secondary-info,
.cdz-how-to-buy,
.cdz-products-highlight {
    margin-top: 1.8rem;
}

.cdz-offers header {
    margin-bottom: 0.9rem;
}

.cdz-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cdz-offer-card {
    background: var(--cdz-surface);
    border: 1px solid var(--cdz-border);
    border-radius: var(--cdz-radius);
    box-shadow: 0 8px 20px rgba(27, 20, 15, 0.04);
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
}

.cdz-offer-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.7rem;
}

.cdz-offer-card h3 {
    margin-bottom: 0.35rem;
    font-size: 1.08rem;
}

.cdz-offer-card p {
    margin-bottom: 0.35rem;
    color: var(--cdz-muted);
    line-height: 1.35;
}

.cdz-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cdz-accent);
    margin-top: auto;
}

.cdz-card-actions {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.6rem;
}

.cdz-card-actions a {
    flex: 1;
    text-align: center;
    border: 1px solid var(--cdz-border);
    border-radius: 10px;
    padding: 0.5rem 0.55rem;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--cdz-text);
    background: #fff;
}

.cdz-card-actions a:last-child {
    background: var(--cdz-secondary);
    border-color: var(--cdz-secondary);
    color: #fff;
}

.cdz-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cdz-secondary-grid article {
    background: #fff;
    border: 1px solid var(--cdz-border);
    border-radius: var(--cdz-radius);
    padding: 1rem;
}

.cdz-secondary-grid ul {
    margin: 0;
    padding-left: 1.1rem;
}

.cdz-secondary-grid li {
    margin-bottom: 0.35rem;
}

.cdz-how-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cdz-how-grid article,
.cdz-how-grid aside {
    background: #fff;
    border: 1px solid var(--cdz-border);
    border-radius: var(--cdz-radius);
    padding: 1.1rem;
}

.cdz-how-grid ol,
.cdz-how-grid ul {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
}

.cdz-products-highlight .products li.product,
.cdz-catalog-page .products li.product {
    background: var(--cdz-surface);
    border: 1px solid var(--cdz-border);
    border-radius: var(--cdz-radius);
    box-shadow: 0 8px 20px rgba(27, 20, 15, 0.04);
    padding: 1rem;
}

.cdz-products-highlight .products li.product a img,
.cdz-catalog-page .products li.product a img {
    border-radius: 12px;
}

.cdz-search-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
    margin-bottom: 1rem;
}

.cdz-search-form input[type='search'],
.cdz-search-form input[type='text'],
.cdz-search-form input[type='email'],
.cdz-search-form input[type='tel'],
.cdz-search-form input[type='number'],
.cdz-search-form input[type='password'],
.cdz-search-form input[type='url'] {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid var(--cdz-border);
    padding: 0.6rem 0.9rem;
    width: 100%;
    margin: 0;
    background: #fff;
}

.cdz-search-form button {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    padding: 0.6rem 1.1rem;
    background: var(--cdz-accent);
    color: #fff;
    font-weight: 600;
}

.cdz-catalog-header {
    margin: 2rem 0;
}

.cdz-pagination {
    margin-top: 1.5rem;
}

.cdz-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.cdz-pagination .page-numbers li {
    margin: 0;
}

.cdz-pagination .page-numbers a,
.cdz-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid var(--cdz-border);
    background: #fff;
    padding: 0.3rem 0.6rem;
}

.cdz-footer-wrap {
    border-top: 1px solid var(--cdz-border);
    margin-top: 2.2rem;
    padding: 2rem 0 2.4rem;
    background: #fff8ef;
}

.cdz-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.cdz-footer-grid h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.cdz-footer-grid p {
    margin: 0 0 0.4rem;
    color: #5d5047;
    line-height: 1.35;
}

@media (max-width: 1200px) {
    .cdz-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 992px) {
    .cdz-header-top,
    .cdz-header-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .cdz-hero-grid {
        grid-template-columns: 1fr;
    }

    .cdz-hero-media {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .cdz-search-form,
    .cdz-hero-actions,
    .cdz-card-actions {
        flex-direction: column;
    }

    .cdz-offer-grid,
    .cdz-footer-grid {
        grid-template-columns: 1fr;
    }

    .cdz-how-grid,
    .cdz-secondary-grid {
        grid-template-columns: 1fr;
    }

    .cdz-info-strip {
        flex-direction: column;
        gap: 0.4rem;
    }

    .cdz-hero-logo {
        width: 120px;
        height: 120px;
    }
}

/* Header Layout v2 (custom markup in child-theme header.php) */
@media (min-width: 993px) {
    .site-header {
        height: 180px;
        min-height: 180px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .site-header .cdz-header-shell,
    .site-header .cdz-header-top,
    .site-header .cdz-header-bottom,
    .site-header .cdz-header-brand,
    .site-header .cdz-header-search,
    .site-header .cdz-header-menu,
    .site-header .cdz-header-cart-wrap,
    .site-header .site-branding,
    .site-header .site-search,
    .site-header .main-navigation,
    .site-header .site-header-cart {
        float: none !important;
        clear: none !important;
    }

    .site-header .cdz-header-shell {
        height: 100%;
        display: grid;
        grid-template-rows: 1fr auto;
        gap: 0.1rem;
        padding: 0.25rem 0;
    }

    .site-header .cdz-header-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        align-items: center;
        gap: 1rem;
    }

    .site-header .cdz-header-brand {
        /* justify-self: start; */
    }

    .site-header .cdz-header-search {
        justify-self: end;
        width: 360px;
    }

    .site-header .cdz-header-search .site-search,
    .site-header .cdz-header-search .site-search form,
    .site-header .cdz-header-search .widget_product_search {
        margin: 0;
        width: 100%;
    }

    .site-header .cdz-header-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1rem;
    }

    .site-header .cdz-header-menu .main-navigation {
        width: 100%;
        margin: 0;
    }

    .site-header .cdz-header-menu .main-navigation ul.menu {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        margin: 0;
    }

    .site-header .cdz-header-cart-wrap {
        justify-self: end;
    }

    .site-header .cdz-header-cart-wrap #site-header-cart {
        margin: 0;
    }

    .site-header .cdz-header-cart-wrap .site-header-cart > li:last-child {
        display: none;
    }

    .site-header .cdz-header-cart-wrap .cart-contents {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        white-space: nowrap;
        padding: 0;
    }

    .site-header .cdz-header-cart-wrap .cart-contents::after {
        margin-left: 0.2rem;
    }
}

@media (max-width: 992px) {
    .site-header .cdz-header-shell {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .site-header .cdz-header-top,
    .site-header .cdz-header-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        width: 100%;
    }

    .site-header .cdz-header-search,
    .site-header .cdz-header-search .site-search {
        width: 100%;
    }
}

.single-product div.product .summary .price {
    font-size: 1.35rem;
    color: var(--cdz-accent);
    font-weight: 700;
}

.single-product div.product .summary .woocommerce-product-details__short-description {
    color: var(--cdz-muted);
    margin-bottom: 0.8rem;
}

.cdz-product-order-hint {
    margin: 0.75rem 0 1rem;
    background: #fff;
    border: 1px solid var(--cdz-border);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
}

.cdz-product-order-hint h2 {
    margin: 0 0 0.35rem;
    font-size: 1.06rem;
}

.cdz-product-order-hint p {
    margin: 0;
    color: var(--cdz-muted);
    font-size: 0.93rem;
}

.cdz-product-order-hint p + p {
    margin-top: 0.25rem;
}

.cdz-product-yield {
    margin: 0.65rem 0 1rem;
    font-size: 0.95rem;
    color: #5f5146;
    background: #f9f2e9;
    border: 1px solid var(--cdz-border);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
}

.single-product div.product form.cart {
    margin-bottom: 0.6rem;
}

.cdz-whatsapp-wrap {
    margin-top: 0.4rem;
}

.div_evowap_btn {
    margin-top: 0.6rem;
}

.evowap_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    border-radius: 12px;
    background: var(--cdz-secondary);
    border: 1px solid var(--cdz-secondary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.65rem 1.05rem;
}

.evowap_btn:hover {
    background: #1d3f35;
    border-color: #1d3f35;
    color: #fff;
}

.evowap_btn svg {
    width: 20px;
    height: 20px;
}

.cdz-whatsapp-product-button,
.cdz-whatsapp-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    background: var(--cdz-secondary);
    border: 1px solid var(--cdz-secondary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}

.cdz-whatsapp-product-button:hover,
.cdz-whatsapp-cart-button:hover {
    background: #1d3f35;
    border-color: #1d3f35;
    color: #fff;
}

.cdz-whatsapp-cart-button {
    width: 100%;
    margin-top: 0.7rem;
}

.woocommerce-cart table.cart td.product-thumbnail img {
    width: 72px;
    border-radius: 10px;
}

.cdz-cart-variation-list {
    list-style: none;
    margin: 0.3rem 0 0;
    padding: 0;
}

.cdz-cart-variation-list li {
    margin: 0;
    color: var(--cdz-muted);
    font-size: 0.88rem;
}

.cdz-continue-shopping-button {
    margin-left: 0.55rem;
    background: #fff;
    color: var(--cdz-text);
    border: 1px solid var(--cdz-border);
}

.cdz-continue-shopping-button:hover {
    background: #f7efe4;
    color: var(--cdz-text);
}

.cdz-cart-whatsapp-panel {
    margin-top: 0.4rem;
}

.cdz-cart-whatsapp-note {
    margin: 0 0 0.5rem;
    color: #5f5146;
    font-size: 0.92rem;
    font-weight: 600;
}

.cdz-checkout-optional-link {
    display: inline-block;
    margin-top: 0.7rem;
    color: var(--cdz-muted);
    font-size: 0.88rem;
    text-decoration: underline;
}

.cdz-cart-intro {
    margin: 1.4rem 0 1rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid var(--cdz-border);
    border-radius: 14px;
}

.cdz-cart-intro h1 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
}

.cdz-cart-intro p {
    margin: 0;
    color: var(--cdz-muted);
}

.cdz-cart-intro-note {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .evowap_btn,
    .cdz-whatsapp-product-button,
    .cdz-whatsapp-cart-button {
        width: 100%;
    }

    .cdz-continue-shopping-button {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
}
