:root {
    color-scheme: light;
}

html,
body,
body.cldc-standalone {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #efe8df;
}

body.cldc-standalone {
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    font-family: "Heebo", "Assistant", Arial, sans-serif;
    color: #211b16;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.cldc-page,
.cldc-page *,
.cldc-page *::before,
.cldc-page *::after {
    box-sizing: border-box;
    max-width: 100%;
}

.cldc-page {
    --cldc-primary: #18130f;
    --cldc-accent: #a77943;
    --cldc-soft: #f4eee7;
    direction: rtl;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    touch-action: pan-y;
    overscroll-behavior-x: none;
    padding: 18px 12px 36px;
    background:
        radial-gradient(circle at 10% 3%, rgba(167, 121, 67, .18), transparent 30%),
        linear-gradient(180deg, #ede4da 0, #f8f5f1 320px, #f5f1ec 100%);
}

.cldc-card {
    width: min(100%, 620px);
    margin: 0 auto;
    max-width: 620px;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(36, 25, 16, .16);
}

.cldc-hero {
    position: relative;
    padding: 34px 22px 28px;
    text-align: center;
    color: #fff;
    background: var(--cldc-primary);
}

.cldc-hero::before,
.cldc-hero::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    pointer-events: none;
}

.cldc-hero::before {
    top: -70px;
    left: -80px;
    width: 190px;
    height: 190px;
    background: rgba(167, 121, 67, .23);
}

.cldc-hero::after {
    right: -80px;
    bottom: -100px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.cldc-brand-mark {
    position: relative;
    z-index: 1;
    display: grid;
    width: 104px;
    height: 104px;
    margin: 0 auto 18px;
    place-items: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .9);
    border-radius: 26px;
    color: var(--cldc-primary);
    background: #fff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
}

.cldc-brand-mark img {
    display: block;
    width: 88%;
    height: 88%;
    object-fit: contain;
}

.cldc-brand-mark span {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: .04em;
}

.cldc-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.05;
    font-weight: 850;
}

.cldc-subtitle {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 12px auto 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.6;
}

.cldc-contact-line {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 18px;
}

.cldc-contact-line a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
}

.cldc-primary-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 18px 14px;
    border-bottom: 1px solid #eee8e2;
    background: #fff;
}

.cldc-action,
button.cldc-action {
    display: flex;
    min-width: 0;
    min-height: 88px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 7px;
    border: 1px solid #e8dfd6;
    border-radius: 18px;
    color: var(--cldc-primary);
    background: var(--cldc-soft);
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.cldc-action svg,
.cldc-tool svg,
.cldc-category svg,
.cldc-detail > svg {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    fill: currentColor;
}

.cldc-action svg {
    color: var(--cldc-accent);
}

.cldc-action-wa {
    color: #fff;
    border-color: #128c4c;
    background: #128c4c;
}

.cldc-action-wa svg {
    color: #fff;
}

.cldc-section {
    padding: 25px 20px;
    border-bottom: 1px solid #eee8e2;
}

.cldc-section h2 {
    margin: 0 0 17px;
    color: var(--cldc-primary);
    font-size: 23px;
    line-height: 1.2;
}

.cldc-about div {
    color: #5b5148;
    font-size: 16px;
    line-height: 1.9;
}

.cldc-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.cldc-category {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid #eadfd4;
    border-radius: 18px;
    color: var(--cldc-primary);
    background: #fcfaf8;
    text-decoration: none;
    font-weight: 750;
}

.cldc-category-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--cldc-accent);
}

.cldc-category-icon svg {
    width: 24px;
    height: 24px;
}

.cldc-details {
    display: grid;
    gap: 0;
}

.cldc-details h2 {
    margin-bottom: 8px;
}

.cldc-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 2px;
    border-bottom: 1px solid #eee8e2;
    color: var(--cldc-primary);
    text-decoration: none;
}

.cldc-detail:last-child {
    border-bottom: 0;
}

.cldc-detail > svg {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 13px;
    color: var(--cldc-accent);
    background: var(--cldc-soft);
}

.cldc-detail span {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.cldc-detail strong {
    font-size: 15px;
}

.cldc-detail small {
    overflow-wrap: anywhere;
    color: #6d6259;
    font-size: 14px;
    line-height: 1.55;
}

.cldc-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cldc-tool {
    display: flex;
    min-height: 98px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 8px;
    border: 1px solid #eadfd4;
    border-radius: 18px;
    color: var(--cldc-primary);
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.cldc-tool svg {
    color: var(--cldc-accent);
}

.cldc-form {
    display: grid;
    gap: 14px;
}

.cldc-form label,
.cldc-modal-panel label {
    display: grid;
    gap: 7px;
    color: #4e443b;
    font-size: 14px;
    font-weight: 700;
}

.cldc-form input,
.cldc-form textarea,
.cldc-modal-panel input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d8cec4;
    border-radius: 13px;
    color: var(--cldc-primary);
    background: #fff;
    font: inherit;
    font-size: 16px;
    outline: none;
}

.cldc-form textarea {
    min-height: 98px;
    resize: vertical;
}

.cldc-form input:focus,
.cldc-form textarea:focus,
.cldc-modal-panel input:focus {
    border-color: var(--cldc-accent);
    box-shadow: 0 0 0 3px rgba(167, 121, 67, .14);
}

.cldc-consent {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 10px !important;
    font-weight: 500 !important;
    line-height: 1.55;
}

.cldc-consent input {
    width: 19px;
    min-height: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin: 2px 0 0;
}

.cldc-form button,
.cldc-modal-submit {
    min-height: 52px;
    padding: 13px 18px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: var(--cldc-primary);
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.cldc-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cldc-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.cldc-notice-success {
    color: #125d35;
    background: #e6f5ed;
}

.cldc-notice-error {
    color: #8a2727;
    background: #fbeaea;
}

.cldc-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 17px 20px 21px;
    background: #faf8f5;
}

.cldc-footer a {
    color: #71665e;
    font-size: 12px;
    text-decoration: underline;
}

.cldc-modal[hidden],
.cldc-toast[hidden] {
    display: none !important;
}

.cldc-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    padding: 18px;
    place-items: center;
}

.cldc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 14, 11, .76);
}

.cldc-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    padding: 25px 20px 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.cldc-modal-panel h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.cldc-modal-panel p {
    margin: 0 0 17px;
    color: #645a51;
    line-height: 1.65;
}

.cldc-modal-close {
    position: absolute;
    top: 8px;
    left: 9px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #332a23;
    background: #f1ece7;
    font-size: 28px;
    line-height: 40px;
    cursor: pointer;
}

.cldc-qr {
    display: block;
    width: min(100%, 330px);
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    background: #fff;
}

.cldc-modal-submit {
    width: 100%;
    margin-top: 15px;
}

.cldc-toast {
    position: fixed;
    z-index: 1000000;
    right: 16px;
    bottom: 18px;
    left: 16px;
    max-width: 440px;
    margin: 0 auto;
    padding: 13px 16px;
    border-radius: 13px;
    color: #fff;
    background: #211b16;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

@media (min-width: 620px) {
    .cldc-primary-actions {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    html,
    body.cldc-standalone {
        background: #fff;
    }

    .cldc-page {
        padding: 0;
        background: #fff;
    }

    .cldc-card {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .cldc-hero {
        padding-top: max(30px, env(safe-area-inset-top));
    }

    .cldc-primary-actions {
        gap: 7px;
        padding: 13px 10px;
    }

    .cldc-action,
    button.cldc-action {
        min-height: 82px;
        padding: 10px 4px;
        border-radius: 15px;
        font-size: 12px;
    }

    .cldc-section {
        padding: 23px 17px;
    }

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

    .cldc-tool-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* Final mobile containment and compact gallery */
.cldc-card,
.cldc-hero,
.cldc-primary-actions,
.cldc-section,
.cldc-footer,
.cldc-modal-panel,
.cldc-form,
.cldc-form label,
.cldc-form input,
.cldc-form textarea,
.cldc-detail,
.cldc-category,
.cldc-tool {
    min-width: 0;
}

.cldc-gallery-section {
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
}

.cldc-gallery-section h2 {
    margin-bottom: 13px;
}

.cldc-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #211b16;
    box-shadow: 0 12px 28px rgba(36, 25, 16, .14);
    touch-action: pan-y;
}

.cldc-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.cldc-carousel-track {
    display: flex;
    width: 100%;
    transition: transform .42s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
    direction: ltr;
}

.cldc-slide {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: clamp(190px, 54vw, 245px);
    margin: 0;
    overflow: hidden;
    background: #211b16;
}

.cldc-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.cldc-slide figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 34px 15px 13px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(20, 14, 10, .88));
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    text-align: right;
    pointer-events: none;
}


.cldc-slide figcaption.has-cta {
    padding-left: 104px;
}

.cldc-slide-cta {
    position: absolute;
    z-index: 4;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    width: auto;
    min-width: 74px;
    height: 36px;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    color: #fff;
    background: rgba(24, 19, 15, .82);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .2);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.cldc-slide-cta:focus-visible,
.cldc-slide-cta:hover {
    color: #fff;
    background: var(--cldc-accent, #a77943);
}

.cldc-carousel-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    color: #fff;
    background: rgba(22, 16, 12, .58);
    backdrop-filter: blur(5px);
    font: inherit;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.cldc-carousel-next { right: 10px; }
.cldc-carousel-prev { left: 10px; }

.cldc-carousel-dots {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 8px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}

.cldc-slide figcaption + .cldc-carousel-dots {
    bottom: 8px;
}

.cldc-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    opacity: .58;
    background: #fff;
    cursor: pointer;
    transition: width .2s ease, opacity .2s ease;
    pointer-events: auto;
}

.cldc-carousel-dot.is-active {
    width: 23px;
    opacity: 1;
}

.cldc-form-message:empty {
    display: none;
}

.cldc-form.is-submitting {
    opacity: .72;
    pointer-events: none;
}

.cldc-form button[disabled] {
    cursor: wait;
    opacity: .72;
}

.cldc-form input,
.cldc-form textarea,
.cldc-modal-panel input,
.cldc-modal-panel,
.cldc-toast {
    max-width: 100%;
}

.cldc-modal {
    max-width: 100vw;
    overflow: hidden;
}

@media (max-width: 480px) {
    .cldc-gallery-section {
        padding-right: 12px;
        padding-left: 12px;
    }

    .cldc-carousel {
        border-radius: 17px;
    }

    .cldc-slide {
        height: min(56vw, 225px);
        min-height: 185px;
    }

    
.cldc-slide figcaption.has-cta {
    padding-left: 104px;
}

.cldc-slide-cta {
    position: absolute;
    z-index: 4;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    width: auto;
    min-width: 74px;
    height: 36px;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    color: #fff;
    background: rgba(24, 19, 15, .82);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .2);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.cldc-slide-cta:focus-visible,
.cldc-slide-cta:hover {
    color: #fff;
    background: var(--cldc-accent, #a77943);
}

.cldc-carousel-arrow {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cldc-carousel-track {
        transition: none;
    }
}
