body.epg-preset-chic-confections {
    --epg-color-bg: #fff9fd;
    --epg-color-bg-alt: #f9efff;
    --epg-color-surface: rgba(255, 255, 255, 0.96);
    --epg-color-surface-solid: #ffffff;
    --epg-color-text: #2a2230;
    --epg-color-text-soft: #735f7d;
    --epg-color-primary: #c76fea;
    --epg-color-primary-dark: #8e35c2;
    --epg-color-primary-light: #e391fd;
    --epg-color-accent: #fff1c7;
    --epg-color-border: #ecd7f8;
    --epg-color-border-strong: #d9b4ef;
    --epg-color-button-text: #ffffff;
    --epg-shadow-soft: 0 14px 30px rgba(142, 53, 194, 0.10);
    --epg-shadow-card: 0 20px 42px rgba(142, 53, 194, 0.14);
    --epg-radius-xl: 32px;
    --epg-radius-lg: 24px;
    --epg-radius-md: 18px;
    --epg-radius-sm: 12px;
    --epg-gradient-metal: linear-gradient(135deg, #fffafd 0%, #f5e7ff 48%, #fff5d8 100%);
    --epg-gradient-primary: linear-gradient(135deg, #8e35c2 0%, #c76fea 54%, #e391fd 100%);

    background:
        radial-gradient(circle at top left, rgba(227, 145, 253, 0.34), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 241, 199, 0.72), transparent 34%),
        radial-gradient(circle at 18% 78%, rgba(199, 111, 234, 0.13), transparent 28%),
        linear-gradient(180deg, #fff9fd 0%, #f9efff 52%, #fffaf2 100%);
    color: var(--epg-color-text);
}

body.epg-preset-chic-confections .epg-site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(217, 180, 239, 0.45);
}

body.epg-preset-chic-confections .epg-site-branding a,
body.epg-preset-chic-confections .epg-site-title,
body.epg-preset-chic-confections h1,
body.epg-preset-chic-confections h2,
body.epg-preset-chic-confections h3 {
    color: var(--epg-color-text);
    letter-spacing: -0.035em;
}

body.epg-preset-chic-confections .epg-site-title,
body.epg-preset-chic-confections .epg-site-branding a {
    color: var(--epg-color-primary-dark);
}

body.epg-preset-chic-confections .epg-hero,
body.epg-preset-chic-confections .epg-hero-card,
body.epg-preset-chic-confections .epg-product-card,
body.epg-preset-chic-confections .epg-featured-product-card,
body.epg-preset-chic-confections .epg-collection-card,
body.epg-preset-chic-confections .epg-card,
body.epg-preset-chic-confections .epg-step-card,
body.epg-preset-chic-confections .epg-trust-card,
body.epg-preset-chic-confections .woocommerce ul.products li.product {
    border-radius: var(--epg-radius-xl);
}

body.epg-preset-chic-confections .epg-button,
body.epg-preset-chic-confections .button,
body.epg-preset-chic-confections button,
body.epg-preset-chic-confections input[type="submit"],
body.epg-preset-chic-confections .added_to_cart {
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(142, 53, 194, 0.18);
}

body.epg-preset-chic-confections .epg-button,
body.epg-preset-chic-confections .button,
body.epg-preset-chic-confections button[type="submit"],
body.epg-preset-chic-confections input[type="submit"],
body.epg-preset-chic-confections .added_to_cart,
body.epg-preset-chic-confections .woocommerce a.button,
body.epg-preset-chic-confections .woocommerce button.button,
body.epg-preset-chic-confections .woocommerce input.button {
    background: var(--epg-gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

body.epg-preset-chic-confections .epg-button:hover,
body.epg-preset-chic-confections .button:hover,
body.epg-preset-chic-confections button[type="submit"]:hover,
body.epg-preset-chic-confections input[type="submit"]:hover,
body.epg-preset-chic-confections .added_to_cart:hover,
body.epg-preset-chic-confections .woocommerce a.button:hover,
body.epg-preset-chic-confections .woocommerce button.button:hover,
body.epg-preset-chic-confections .woocommerce input.button:hover {
    filter: saturate(1.04) brightness(0.98);
    box-shadow: 0 18px 34px rgba(142, 53, 194, 0.22);
}

body.epg-preset-chic-confections .epg-button--secondary,
body.epg-preset-chic-confections .epg-hero-secondary,
body.epg-preset-chic-confections .button.alt {
    background: #fffefd;
    color: var(--epg-color-primary-dark);
    border-color: var(--epg-color-border-strong);
    box-shadow: 0 10px 22px rgba(142, 53, 194, 0.08);
}

body.epg-preset-chic-confections .epg-button--secondary:hover,
body.epg-preset-chic-confections .epg-hero-secondary:hover,
body.epg-preset-chic-confections .button.alt:hover {
    background: #fbf1ff;
    color: var(--epg-color-primary-dark);
    border-color: rgba(142, 53, 194, 0.35);
}

body.epg-preset-chic-confections .epg-product-card__image,
body.epg-preset-chic-confections .epg-featured-product-card__image,
body.epg-preset-chic-confections .epg-collection-card__image,
body.epg-preset-chic-confections .epg-hero-product-media {
    background:
        radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.98), transparent 30%),
        radial-gradient(circle at 82% 22%, rgba(255, 241, 199, 0.82), transparent 28%),
        radial-gradient(circle at 50% 76%, rgba(227, 145, 253, 0.16), transparent 34%),
        linear-gradient(135deg, #fffaff 0%, #f4e4ff 50%, #fff5d6 100%);
}

body.epg-preset-chic-confections .epg-product-badge,
body.epg-preset-chic-confections .epg-hero-badge,
body.epg-preset-chic-confections .epg-badge,
body.epg-preset-chic-confections .epg-muted-label {
    border-radius: 999px;
    background: #fbecff;
    color: var(--epg-color-primary-dark);
    border: 1px solid var(--epg-color-border);
    box-shadow: 0 8px 18px rgba(142, 53, 194, 0.10);
}

body.epg-preset-chic-confections .epg-price,
body.epg-preset-chic-confections .price,
body.epg-preset-chic-confections .amount {
    color: var(--epg-color-primary-dark);
}

body.epg-preset-chic-confections .epg-section-heading p,
body.epg-preset-chic-confections .epg-muted,
body.epg-preset-chic-confections .epg-product-card p,
body.epg-preset-chic-confections .epg-featured-product-card p {
    color: var(--epg-color-text-soft);
}

body.epg-preset-chic-confections .epg-glow-panel,
body.epg-preset-chic-confections .epg-card,
body.epg-preset-chic-confections .epg-product-card,
body.epg-preset-chic-confections .epg-featured-product-card,
body.epg-preset-chic-confections .epg-collection-card,
body.epg-preset-chic-confections .epg-trust-card,
body.epg-preset-chic-confections .epg-step-card,
body.epg-preset-chic-confections .woocommerce ul.products li.product {
    background:
        radial-gradient(circle at 18px 18px, rgba(227, 145, 253, 0.060) 0 3px, transparent 4px) 0 0 / 30px 30px,
        linear-gradient(180deg, rgba(255,255,255,0.985), rgba(253,247,255,0.975));
    border-color: rgba(217, 180, 239, 0.55);
}

body.epg-preset-chic-confections .epg-hero,
body.epg-preset-chic-confections .epg-hero-card {
    background:
        radial-gradient(circle at 24px 24px, rgba(227, 145, 253, 0.070) 0 3px, transparent 4px) 0 0 / 32px 32px,
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(253,245,255,0.98) 54%, rgba(255,250,239,0.98));
    border-color: rgba(217, 180, 239, 0.65);
}

body.epg-preset-chic-confections .epg-product-card:hover,
body.epg-preset-chic-confections .epg-featured-product-card:hover,
body.epg-preset-chic-confections .epg-collection-card:hover {
    transform: translateY(-7px) rotate(-0.25deg);
    box-shadow: 0 24px 48px rgba(142, 53, 194, 0.16);
}

body.epg-preset-chic-confections .epg-section-heading h2 {
    color: var(--epg-color-primary-dark);
}

body.epg-preset-chic-confections .epg-section-heading h2::after {
    content: "";
    display: block;
    width: 86px;
    height: 7px;
    margin: 14px auto 0;
    border-radius: 999px;
    background:
        radial-gradient(circle, #fff7d9 28%, transparent 31%) 0 0 / 14px 7px repeat-x,
        linear-gradient(90deg, #8e35c2, #c76fea, #e391fd);
}

body.epg-preset-chic-confections .epg-trust-card::before {
    background: radial-gradient(circle, rgba(227, 145, 253, 0.16), transparent 68%);
}

body.epg-preset-chic-confections .epg-trust-card:hover {
    border-color: rgba(142, 53, 194, 0.25);
    box-shadow:
        0 22px 52px rgba(142, 53, 194, 0.13),
        0 8px 22px rgba(142, 53, 194, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.95);
}

body.epg-preset-chic-confections .epg-trust-card__icon,
body.epg-preset-chic-confections .epg-step-number {
    background: var(--epg-gradient-primary);
    border-radius: 999px;
    box-shadow:
        0 12px 24px rgba(142, 53, 194, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

body.epg-preset-chic-confections .epg-step-card::before {
    background: linear-gradient(90deg, rgba(142, 53, 194, 0.95), rgba(227, 145, 253, 0.55));
}

body.epg-preset-chic-confections .epg-hero-slider-arrow,
body.epg-preset-chic-confections .epg-hero-slider-dot.is-active,
body.epg-preset-chic-confections .epg-slider-dot.is-active {
    background: var(--epg-gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

body.epg-preset-chic-confections .epg-single-product-summary__cart button.epg-single-product-add-to-cart-stay,
body.epg-preset-chic-confections .epg-single-product-summary__cart button.single_add_to_cart_button,
body.epg-preset-chic-confections .epg-single-product-summary__cart .epg-single-product-proceed-cart,
body.epg-preset-chic-confections .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.epg-preset-chic-confections .woocommerce-checkout button#place_order,
body.epg-preset-chic-confections .wc-block-components-checkout-place-order-button {
    background: var(--epg-gradient-primary) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow:
        0 16px 32px rgba(142, 53, 194, 0.22),
        0 6px 14px rgba(142, 53, 194, 0.12) !important;
}

body.epg-preset-chic-confections .epg-single-product-summary__cart button.epg-single-product-add-to-cart-stay:hover,
body.epg-preset-chic-confections .epg-single-product-summary__cart .epg-single-product-proceed-cart:hover,
body.epg-preset-chic-confections .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.epg-preset-chic-confections .woocommerce-checkout button#place_order:hover,
body.epg-preset-chic-confections .wc-block-components-checkout-place-order-button:hover {
    filter: saturate(1.05) brightness(0.98);
    box-shadow:
        0 20px 40px rgba(142, 53, 194, 0.28),
        0 8px 18px rgba(142, 53, 194, 0.14) !important;
}

body.epg-preset-chic-confections .epg-single-product-summary__cart button.epg-single-product-add-to-cart-stay:focus-visible,
body.epg-preset-chic-confections .epg-single-product-summary__cart .epg-single-product-proceed-cart:focus-visible,
body.epg-preset-chic-confections .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus-visible,
body.epg-preset-chic-confections .woocommerce-checkout button#place_order:focus-visible {
    outline: 3px solid rgba(227, 145, 253, 0.34);
    outline-offset: 3px;
}

body.epg-preset-chic-confections .epg-single-product-summary__cart .quantity input.qty,
body.epg-preset-chic-confections .woocommerce input.input-text,
body.epg-preset-chic-confections .woocommerce textarea,
body.epg-preset-chic-confections .woocommerce select,
body.epg-preset-chic-confections .wc-block-components-text-input input,
body.epg-preset-chic-confections .wc-block-components-combobox input {
    border-color: var(--epg-color-border-strong);
}

body.epg-preset-chic-confections .epg-single-product-summary__cart .quantity input.qty:focus,
body.epg-preset-chic-confections .woocommerce input.input-text:focus,
body.epg-preset-chic-confections .woocommerce textarea:focus,
body.epg-preset-chic-confections .woocommerce select:focus,
body.epg-preset-chic-confections .wc-block-components-text-input input:focus,
body.epg-preset-chic-confections .wc-block-components-combobox input:focus {
    border-color: rgba(142, 53, 194, 0.55);
    box-shadow: 0 0 0 4px rgba(227, 145, 253, 0.18);
}

body.epg-preset-chic-confections .woocommerce-cart .cart_totals,
body.epg-preset-chic-confections .woocommerce-checkout-review-order,
body.epg-preset-chic-confections .wc-block-components-sidebar,
body.epg-preset-chic-confections .wc-block-components-order-summary,
body.epg-preset-chic-confections .wp-block-woocommerce-checkout-order-summary-block {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(217, 180, 239, 0.65);
    box-shadow: 0 22px 50px rgba(142, 53, 194, 0.11);
}

body.epg-preset-chic-confections .epg-final-cta,
body.epg-preset-chic-confections .epg-cta-card {
    background:
        radial-gradient(circle at 18px 18px, rgba(227, 145, 253, 0.060) 0 3px, transparent 4px) 0 0 / 30px 30px,
        linear-gradient(135deg, #ffffff 0%, #fbf0ff 56%, #fff8e5 100%);
    border-color: rgba(217, 180, 239, 0.55);
}

/* Chic Confections photo-friendly product image treatment.
   This preset is intended for real bakery/sweets photos with backgrounds
   instead of transparent product cutouts. Keep this in the preset CSS so
   other presets can still use the cutout/contain treatment. */
body.epg-preset-chic-confections.epg-image-style-photo .epg-hero-section .epg-product-card__image,
body.epg-preset-chic-confections.epg-image-style-photo .epg-featured-products-grid .epg-product-card__image,
body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap,
body.epg-preset-chic-confections.epg-image-style-photo .epg-landing-product-card__image {
    padding: 12px !important;
    overflow: hidden !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(253, 244, 255, 0.88) 52%, rgba(255, 248, 224, 0.88)) !important;
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-featured-products-grid .epg-product-card__image {
    min-height: 190px !important;
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap {
    min-height: 280px;
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-hero-section .epg-product-card__image::after,
body.epg-preset-chic-confections.epg-image-style-photo .epg-featured-products-grid .epg-product-card__image::after,
body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap::after,
body.epg-preset-chic-confections.epg-image-style-photo .epg-landing-product-card__image::after {
    display: none !important;
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-hero-section .epg-product-card__image img,
body.epg-preset-chic-confections.epg-image-style-photo .epg-featured-products-grid .epg-product-card__image img,
body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap img,
body.epg-preset-chic-confections.epg-image-style-photo .epg-landing-product-card__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 20px;
    filter: none !important;
    box-shadow: 0 14px 26px rgba(78, 41, 92, 0.10);
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-single-product-gallery__main {
    padding: 12px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(253, 244, 255, 0.88) 52%, rgba(255, 248, 224, 0.88)) !important;
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-single-product-gallery__main img {
    width: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 22px;
    filter: none !important;
    box-shadow: 0 16px 30px rgba(78, 41, 92, 0.10);
}

@media (max-width: 767px) {
    body.epg-preset-chic-confections.epg-image-style-photo .epg-featured-products-grid .epg-product-card__image {
        min-height: 160px !important;
        padding: 10px !important;
    }

    body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap {
        min-height: 210px;
        padding: 10px !important;
    }

    body.epg-preset-chic-confections.epg-image-style-photo .epg-hero-section .epg-product-card__image,
    body.epg-preset-chic-confections.epg-image-style-photo .epg-landing-product-card__image,
    body.epg-preset-chic-confections.epg-image-style-photo .epg-single-product-gallery__main {
        padding: 10px !important;
    }

    body.epg-preset-chic-confections.epg-image-style-photo .epg-hero-section .epg-product-card__image img,
    body.epg-preset-chic-confections.epg-image-style-photo .epg-featured-products-grid .epg-product-card__image img,
    body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap img,
    body.epg-preset-chic-confections.epg-image-style-photo .epg-landing-product-card__image img,
    body.epg-preset-chic-confections.epg-image-style-photo .epg-single-product-gallery__main img {
        border-radius: 16px;
    }
}


/* Theme 1.1.5: photo-style shop identity polish for food/photo presets. */
body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-page__heading h1 {
    color: var(--epg-color-primary-dark);
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(255,250,255,0.96)) !important;
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap {
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    margin: 14px 14px 0;
    padding: 0 !important;
    border-radius: 24px;
}

body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 22px;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap {
        min-height: 0 !important;
        aspect-ratio: 16 / 10;
        margin: 10px 10px 0;
        padding: 0 !important;
        border-radius: 20px;
    }

    body.epg-preset-chic-confections.epg-image-style-photo .epg-shop-card__image-wrap img {
        border-radius: 18px;
    }
}
