/*
 * Merca Descuentos Pro 2.0
 * Interfaz exclusiva de marketplace de ofertas.
 */
:root {
    --md-blue: #0a3470;
    --md-blue-2: #123f82;
    --md-blue-dark: #06234d;
    --md-orange: #ff6a00;
    --md-orange-dark: #df5200;
    --md-yellow: #ffbf19;
    --md-green: #138a55;
    --md-ink: #142033;
    --md-muted: #657187;
    --md-line: #dfe5ee;
    --md-soft: #f4f6f9;
    --md-white: #fff;
    --md-radius: 14px;
    --md-shadow: 0 12px 35px rgba(9, 35, 74, .10);
    --md-shadow-hover: 0 18px 45px rgba(9, 35, 74, .16);
    --md-container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--md-ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.ce-menu-open { overflow: hidden; }
a { color: var(--md-blue); text-decoration: none; }
a:hover { color: var(--md-orange); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: inline-block; width: 1em; height: 1em; fill: currentColor; }
.ce-container { width: min(calc(100% - 40px), var(--md-container)); margin-inline: auto; }
.site-main { min-height: 50vh; }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.screen-reader-text:focus, .skip-link:focus {
    clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 999999;
    top: 12px; left: 12px; padding: 10px 14px; background: #fff; color: #111; border-radius: 6px;
}

/* Header */
.ce-site-header { position: relative; z-index: 70; background: #fff; border-bottom: 1px solid var(--md-line); }
.ce-dealbar { background: var(--md-orange); color: #fff; font-size: 13px; }
.ce-dealbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ce-dealbar__message { letter-spacing: .01em; }
.ce-dealbar__message strong { font-weight: 900; }
.ce-dealbar__links { display: flex; align-items: center; gap: 22px; }
.ce-dealbar__links a { color: #fff; font-weight: 700; }
.ce-dealbar__links a:hover { text-decoration: underline; }
.ce-header-main { min-height: 108px; display: grid; grid-template-columns: 260px minmax(300px, 1fr) auto; align-items: center; gap: 34px; }
.ce-logo { display: flex; align-items: center; width: 245px; }
.ce-logo img { display: block; width: 100%; max-height: 80px; object-fit: contain; object-position: left center; }
.ce-header-search { min-width: 0; }
.ce-search-form { position: relative; display: flex; height: 52px; border: 2px solid var(--md-blue); border-radius: 9px; overflow: hidden; background: #fff; }
.ce-search-form__icon { width: 52px; display: grid; place-items: center; color: var(--md-blue); font-size: 21px; flex: 0 0 auto; }
.ce-search-form input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px 0 0; color: var(--md-ink); background: transparent; }
.ce-search-form input::placeholder { color: #8993a5; }
.ce-search-form button { border: 0; padding: 0 28px; background: var(--md-blue); color: #fff; font-weight: 850; cursor: pointer; }
.ce-search-form button:hover { background: var(--md-orange); }
.ce-header-actions { display: flex; align-items: center; gap: 8px; }
.ce-header-action { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--md-ink); white-space: nowrap; }
.ce-header-action:hover { background: var(--md-soft); color: var(--md-blue); }
.ce-header-action__icon { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #edf2f9; color: var(--md-blue); font-size: 19px; }
.ce-header-action small, .ce-header-action strong { display: block; line-height: 1.15; }
.ce-header-action small { color: var(--md-muted); font-size: 11px; }
.ce-header-action strong { margin-top: 3px; font-size: 14px; }
.ce-cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--md-orange); color: #fff; font-size: 11px; font-weight: 900; line-height: 1; }
.ce-header-action__icon .ce-cart-count { position: absolute; top: -7px; right: -7px; }
.ce-menu-toggle { display: none; }
.ce-nav-shell { background: var(--md-blue); color: #fff; }
.ce-store-nav { height: 54px; display: grid; grid-template-columns: 285px 1fr auto; align-items: stretch; gap: 0; }
.ce-departments { position: relative; }
.ce-departments__toggle { width: 100%; height: 54px; border: 0; background: var(--md-orange); color: #fff; display: flex; align-items: center; gap: 11px; padding: 0 18px; cursor: pointer; text-align: left; }
.ce-departments__toggle svg { font-size: 20px; }
.ce-departments__toggle strong { flex: 1; font-size: 14px; }
.ce-departments__panel { display: none; position: absolute; top: calc(100% + 1px); left: 0; width: 330px; padding: 9px; background: #fff; border: 1px solid var(--md-line); border-top: 4px solid var(--md-orange); box-shadow: var(--md-shadow); border-radius: 0 0 12px 12px; }
.ce-departments.is-open .ce-departments__panel { display: block; }
.ce-departments__panel a { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 11px 12px; color: var(--md-ink); border-radius: 7px; font-size: 14px; }
.ce-departments__panel a:hover { background: #fff4eb; color: var(--md-orange-dark); }
.ce-departments__panel small { min-width: 28px; text-align: center; padding: 2px 6px; background: var(--md-soft); border-radius: 999px; color: var(--md-muted); }
.ce-departments__panel .ce-departments__all { margin-bottom: 5px; background: var(--md-blue); color: #fff; font-weight: 800; }
.ce-departments__panel .ce-departments__all:hover { background: var(--md-blue-dark); color: #fff; }
.ce-main-nav { min-width: 0; }
.ce-menu { list-style: none; margin: 0; padding: 0; }
.ce-main-nav > .ce-menu { height: 54px; display: flex; align-items: stretch; }
.ce-main-nav > .ce-menu > li { position: relative; display: flex; }
.ce-main-nav > .ce-menu > li > a { display: flex; align-items: center; padding: 0 20px; color: #fff; font-size: 14px; font-weight: 750; }
.ce-main-nav > .ce-menu > li > a:hover { background: rgba(255,255,255,.10); color: #fff; }
.ce-main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--md-line); box-shadow: var(--md-shadow); }
.ce-main-nav li:hover > .sub-menu { display: block; }
.ce-main-nav .sub-menu a { display: block; padding: 10px; color: var(--md-ink); border-radius: 6px; }
.ce-main-nav .sub-menu a:hover { background: var(--md-soft); }
.ce-nav-highlight { align-self: center; padding: 8px 12px; color: #fff; font-size: 13px; font-weight: 850; white-space: nowrap; }
.ce-nav-highlight:hover { color: var(--md-yellow); }
.ce-mobile-panel, .ce-mobile-overlay { display: none; }

/* Buttons and headings */
.ce-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 8px; border: 2px solid transparent; font-weight: 850; cursor: pointer; }
.ce-button--primary, .ce-button:not(.ce-button--link) { background: var(--md-orange); color: #fff; }
.ce-button--primary:hover, .ce-button:not(.ce-button--link):hover { background: var(--md-orange-dark); color: #fff; }
.ce-button--link { min-height: 44px; padding-inline: 10px; color: var(--md-blue); }
.ce-button--link:hover { color: var(--md-orange); }
.ce-kicker { display: inline-block; color: var(--md-orange); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ce-section { margin-block: 62px; }
.ce-section-heading { margin-bottom: 25px; }
.ce-section-heading h2 { margin: 0; color: var(--md-blue-dark); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.ce-section-heading p { margin: 8px 0 0; color: var(--md-muted); }
.ce-section-heading--row { display: flex; justify-content: space-between; gap: 25px; align-items: end; }

/* Home */
.ce-home-market { padding: 28px 0 24px; background: linear-gradient(180deg, #f4f7fb, #fff); }
.ce-home-market__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 245px; gap: 18px; }
.ce-home-departments { background: #fff; border: 1px solid var(--md-line); border-radius: var(--md-radius); overflow: hidden; box-shadow: 0 8px 22px rgba(9, 35, 74, .06); }
.ce-home-departments__title { display: flex; align-items: center; gap: 10px; padding: 16px; background: var(--md-blue); color: #fff; }
.ce-home-departments__title svg { font-size: 20px; }
.ce-home-departments > a { position: relative; display: block; padding: 11px 34px 11px 15px; border-bottom: 1px solid #edf0f4; color: var(--md-ink); }
.ce-home-departments > a:hover { background: #fff6ef; color: var(--md-orange-dark); }
.ce-home-departments > a span, .ce-home-departments > a small { display: block; }
.ce-home-departments > a span { font-size: 13px; font-weight: 780; }
.ce-home-departments > a small { color: var(--md-muted); font-size: 10px; }
.ce-home-departments > a b { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #9ba5b5; }
.ce-home-departments .ce-home-departments__all { border: 0; background: #fff4eb; color: var(--md-orange-dark); font-weight: 850; font-size: 12px; }
.ce-home-hero { min-height: 500px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); align-items: center; overflow: hidden; border-radius: var(--md-radius); background: linear-gradient(125deg, #fff 0%, #fff 48%, #eaf1fb 48%, #dce8fa 100%); border: 1px solid #d9e3f1; box-shadow: var(--md-shadow); }
.ce-home-hero__content { padding: 52px 16px 52px 50px; position: relative; z-index: 2; }
.ce-home-hero h1 { max-width: 680px; margin: 12px 0 18px; color: var(--md-blue-dark); font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -.045em; }
.ce-home-hero p { max-width: 650px; margin: 0; color: #4f5d73; font-size: 17px; }
.ce-home-hero__actions { display: flex; align-items: center; gap: 10px; margin-top: 27px; }
.ce-home-hero__proof { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; color: var(--md-blue); font-size: 12px; font-weight: 750; }
.ce-home-hero__proof span { display: inline-flex; align-items: center; gap: 6px; }
.ce-home-hero__visual { align-self: stretch; position: relative; display: flex; align-items: end; justify-content: center; padding: 30px 25px 20px; }
.ce-home-hero__visual img { position: relative; z-index: 1; max-height: 390px; object-fit: contain; filter: drop-shadow(0 22px 25px rgba(7, 40, 83, .18)); }
.ce-home-hero__saving { position: absolute; z-index: 3; top: 28px; right: 28px; width: 135px; height: 135px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--md-orange); color: #fff; transform: rotate(8deg); box-shadow: 0 12px 22px rgba(197, 75, 0, .28); }
.ce-home-hero__saving strong { font-size: 25px; line-height: 1; }
.ce-home-hero__saving span { max-width: 100px; font-size: 10px; line-height: 1.2; margin-top: 5px; }
.ce-home-side-promos { display: grid; gap: 18px; }
.ce-mini-promo { min-height: 240px; padding: 25px; border-radius: var(--md-radius); color: #fff; display: flex; flex-direction: column; justify-content: end; overflow: hidden; position: relative; box-shadow: var(--md-shadow); }
.ce-mini-promo::before { content: "%"; position: absolute; top: -24px; right: -5px; font-size: 130px; line-height: 1; font-weight: 950; opacity: .12; }
.ce-mini-promo span { font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.ce-mini-promo strong { margin: 8px 0 16px; font-size: 23px; line-height: 1.08; }
.ce-mini-promo b { font-size: 12px; }
.ce-mini-promo:hover { color: #fff; transform: translateY(-2px); }
.ce-mini-promo--orange { background: linear-gradient(145deg, #ff7619, #d74600); }
.ce-mini-promo--blue { background: linear-gradient(145deg, #174b96, #061f46); }
.ce-home-benefits { border-block: 1px solid var(--md-line); background: #fff; }
.ce-home-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ce-home-benefits__grid > div { display: flex; align-items: center; gap: 13px; padding: 22px; border-right: 1px solid var(--md-line); }
.ce-home-benefits__grid > div:last-child { border: 0; }
.ce-home-benefits svg { flex: 0 0 auto; font-size: 29px; color: var(--md-orange); }
.ce-home-benefits strong, .ce-home-benefits small { display: block; }
.ce-home-benefits strong { color: var(--md-blue-dark); font-size: 14px; }
.ce-home-benefits small { color: var(--md-muted); font-size: 11px; }
.ce-home-explain { margin-top: 70px; padding: 75px 0; background: var(--md-blue-dark); color: #fff; }
.ce-home-explain__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 18px; }
.ce-home-explain__intro { padding-right: 28px; }
.ce-home-explain__intro h2 { margin: 10px 0 15px; font-size: clamp(29px, 3.2vw, 45px); line-height: 1.06; }
.ce-home-explain__intro p { color: #bfcee2; }
.ce-home-explain__intro a { color: var(--md-yellow); font-weight: 800; }
.ce-home-explain article { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.05); }
.ce-home-explain article > span { color: var(--md-orange); font-size: 31px; font-weight: 950; }
.ce-home-explain article h3 { margin: 25px 0 10px; font-size: 19px; }
.ce-home-explain article p { margin: 0; color: #bdc9da; font-size: 14px; }

/* Category tiles */
.ce-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ce-category-card { position: relative; min-height: 225px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--md-line); border-radius: 10px; background: #fff; color: var(--md-ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ce-category-card:hover { transform: translateY(-4px); border-color: #c6d2e2; box-shadow: var(--md-shadow-hover); color: var(--md-blue); }
.ce-category-card__image { height: 155px; display: grid; place-items: center; padding: 15px; background: #f8fafc; }
.ce-category-card__image img { width: 100%; height: 100%; object-fit: contain; }
.ce-category-card__overlay { display: none; }
.ce-category-card__name { padding: 13px 14px 2px; font-weight: 850; font-size: 14px; line-height: 1.25; }
.ce-category-card__count { padding: 0 14px 14px; color: var(--md-muted); font-size: 11px; }

/* Product cards */
.ce-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ce-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--md-line); border-radius: 10px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ce-product-card:hover { transform: translateY(-4px); border-color: #c7d3e2; box-shadow: var(--md-shadow-hover); }
.ce-product-card__image { position: relative; height: 255px; display: grid; place-items: center; overflow: hidden; padding: 18px; background: #f7f9fc; }
.ce-product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.ce-product-card:hover .ce-product-card__image img { transform: scale(1.035); }
.ce-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 9px; border-radius: 5px; background: var(--md-blue); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ce-product-card__discount { position: absolute; top: 12px; right: 12px; padding: 7px 8px; border-radius: 5px; background: var(--md-orange); color: #fff; font-weight: 950; font-size: 13px; }
.ce-product-card__body { padding: 17px; }
.ce-product-card__category { min-height: 18px; margin-bottom: 5px; color: var(--md-muted); font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .05em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ce-product-card__category a { color: inherit; }
.ce-product-card h3 { min-height: 44px; margin: 0 0 8px; font-size: 16px; line-height: 1.32; }
.ce-product-card h3 a { color: var(--md-ink); }
.ce-product-card h3 a:hover { color: var(--md-orange-dark); }
.ce-product-card__excerpt { min-height: 38px; margin: 0 0 12px; color: var(--md-muted); font-size: 12px; line-height: 1.42; }
.ce-product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px solid #edf0f4; }
.ce-product-card__price { color: var(--md-blue-dark); font-size: 21px; font-weight: 900; }
.ce-product-card__price del { display: block; color: #939dac; font-size: 12px; font-weight: 600; }
.ce-product-card__price ins { text-decoration: none; }
.ce-product-card__button { min-width: 50px; height: 38px; display: grid; place-items: center; padding: 0 10px; border-radius: 7px; background: var(--md-orange); color: #fff; font-size: 12px; font-weight: 900; }
.ce-product-card__button:hover { background: var(--md-orange-dark); color: #fff; }
.ce-product-card__stock { margin-top: 9px; color: var(--md-green); font-size: 11px; font-weight: 800; }

/* Shop/archive */
.ce-breadcrumbs { padding: 18px 0 12px; color: var(--md-muted); font-size: 12px; }
.ce-breadcrumbs a { color: var(--md-muted); }
.ce-breadcrumbs span { margin: 0 7px; color: #a7afbb; }
.ce-shop-wrap { padding-bottom: 70px; }
.ce-shop-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 28px; align-items: start; }
.ce-shop-sidebar { position: sticky; top: 18px; overflow: hidden; border: 1px solid var(--md-line); border-radius: 10px; background: #fff; }
.admin-bar .ce-shop-sidebar { top: 50px; }
.ce-shop-sidebar__head { display: flex; align-items: center; gap: 9px; padding: 16px; background: var(--md-blue); color: #fff; }
.ce-shop-sidebar__head svg { font-size: 19px; }
.ce-shop-sidebar > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #edf0f4; color: var(--md-ink); font-size: 13px; }
.ce-shop-sidebar > a:hover, .ce-shop-sidebar > a.is-current { background: #fff3e9; color: var(--md-orange-dark); font-weight: 800; }
.ce-shop-sidebar > a small { display: grid; place-items: center; min-width: 25px; height: 22px; border-radius: 999px; background: var(--md-soft); color: var(--md-muted); font-size: 10px; }
.ce-shop-sidebar__help { margin: 13px; padding: 17px; border-radius: 8px; background: var(--md-soft); }
.ce-shop-sidebar__help svg { color: var(--md-orange); font-size: 22px; }
.ce-shop-sidebar__help strong, .ce-shop-sidebar__help a { display: block; }
.ce-shop-sidebar__help strong { margin: 8px 0 3px; font-size: 13px; }
.ce-shop-sidebar__help a { font-size: 12px; font-weight: 800; }
.ce-shop-content { min-width: 0; }
.ce-shop-hero { min-height: 235px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px 48px; overflow: hidden; border-radius: 12px; background: linear-gradient(120deg, var(--md-blue-dark), var(--md-blue-2)); color: #fff; position: relative; }
.ce-shop-hero::after { content: "%"; position: absolute; right: 15%; top: -78px; font-size: 260px; line-height: 1; font-weight: 950; opacity: .06; }
.ce-shop-hero > div:first-child { position: relative; z-index: 1; max-width: 800px; }
.ce-shop-hero h1 { margin: 9px 0 12px; font-size: clamp(31px, 4vw, 48px); line-height: 1.04; }
.ce-shop-hero p, .ce-shop-hero__description { margin: 0; color: #ccd8e9; }
.ce-shop-hero__stamp { position: relative; z-index: 1; width: 130px; height: 130px; flex: 0 0 auto; display: grid; place-content: center; border: 4px solid var(--md-orange); border-radius: 50%; text-align: center; transform: rotate(7deg); }
.ce-shop-hero__stamp strong, .ce-shop-hero__stamp span { display: block; }
.ce-shop-hero__stamp strong { color: var(--md-yellow); font-size: 26px; }
.ce-shop-hero__stamp span { font-size: 12px; letter-spacing: .12em; }
.ce-shop-hero__count { position: relative; z-index: 1; min-width: 130px; padding: 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; text-align: center; background: rgba(255,255,255,.08); }
.ce-shop-hero__count strong, .ce-shop-hero__count span { display: block; }
.ce-shop-hero__count strong { color: var(--md-yellow); font-size: 39px; line-height: 1; }
.ce-shop-hero__count span { margin-top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ce-shop-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; color: var(--md-muted); font-size: 12px; }
.ce-shop-toolbar select { height: 42px; padding: 0 38px 0 12px; border: 1px solid var(--md-line); border-radius: 7px; background: #fff; }
.ce-category-products { margin-bottom: 0; }
.woocommerce-pagination ul.page-numbers { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 35px 0 0; border: 0 !important; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--md-line); border-radius: 7px; background: #fff; }
.woocommerce-pagination .page-numbers .current { background: var(--md-blue); color: #fff; border-color: var(--md-blue); }
.ce-search-hero { margin-bottom: 24px; }
.ce-search-toolbar { margin: 20px 0; padding: 13px 15px; background: var(--md-soft); border-radius: 8px; }
.ce-search-empty, .ce-search-empty-form { max-width: 760px; margin: 25px auto; }
.ce-search-empty-form { display: flex; gap: 8px; }
.ce-search-empty-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--md-line); border-radius: 8px; }
.ce-search-empty-form button { border: 0; border-radius: 8px; background: var(--md-blue); color: #fff; font-weight: 800; padding: 0 22px; }

/* Single product */
.ce-product-page { padding-bottom: 75px; }
.ce-product-topline { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; color: var(--md-muted); font-size: 11px; }
.ce-product-status { color: var(--md-green); font-weight: 850; }
.ce-single-product__grid { display: grid; grid-template-columns: minmax(440px, 1.25fr) minmax(320px, .92fr) 330px; gap: 24px; align-items: start; }
.ce-product-media-panel, .ce-product-information, .ce-buy-card { border: 1px solid var(--md-line); border-radius: 12px; background: #fff; }
.ce-product-media-panel { padding: 18px; }
.ce-product-gallery { display: grid; grid-template-columns: 78px minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; }
.ce-product-gallery__main { grid-column: 2; grid-row: 1; min-height: 530px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: #f7f9fc; }
.ce-product-gallery__main img { width: 100%; height: 100%; max-height: 540px; object-fit: contain; }
.ce-product-gallery__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 8px; max-height: 530px; overflow-y: auto; scrollbar-width: thin; }
.ce-product-gallery__thumb { flex: 0 0 72px; width: 72px; height: 72px; padding: 5px; border: 1px solid var(--md-line); border-radius: 7px; background: #fff; cursor: pointer; }
.ce-product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.ce-product-gallery__thumb.is-active { border: 2px solid var(--md-orange); }
.ce-photo-note { grid-column: 1 / -1; margin: 3px 0 0; padding: 10px 12px; background: var(--md-soft); color: var(--md-muted); border-radius: 6px; font-size: 10px; }
.ce-product-information { padding: 27px; }
.ce-product-information__badges .ce-badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ce-badge-row .ce-badge { position: static; display: inline-flex; background: #edf3fb; color: var(--md-blue); border: 1px solid #d4e1f2; }
.ce-product-information h1 { margin: 17px 0 20px; color: var(--md-blue-dark); font-size: clamp(27px, 3vw, 40px); line-height: 1.09; letter-spacing: -.02em; }
.ce-product-shortdesc { margin-bottom: 22px; padding: 18px; border-left: 4px solid var(--md-orange); background: #fff7f0; color: #48566b; border-radius: 0 8px 8px 0; }
.ce-product-shortdesc > strong { display: block; margin-bottom: 7px; color: var(--md-blue-dark); font-size: 13px; }
.ce-product-shortdesc p { margin: 0 0 7px; }
.ce-product-shortdesc p:last-child { margin: 0; }
.ce-product-keyfacts { display: grid; gap: 0; border-top: 1px solid var(--md-line); }
.ce-product-keyfacts > div { display: grid; grid-template-columns: 110px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--md-line); }
.ce-product-keyfacts span { color: var(--md-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.ce-product-keyfacts strong { font-size: 13px; font-weight: 750; }
.ce-product-keyfacts .stock { margin: 0; }
.ce-buy-card { position: sticky; top: 18px; padding: 25px; box-shadow: var(--md-shadow); border-top: 5px solid var(--md-orange); }
.admin-bar .ce-buy-card { top: 50px; }
.ce-buy-card__label { display: block; color: var(--md-muted); font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.ce-product-price { margin: 4px 0 7px; color: var(--md-blue-dark); font-size: 34px; font-weight: 950; line-height: 1.1; }
.ce-product-price del { display: block; color: #9099a8; font-size: 15px; font-weight: 600; }
.ce-product-price ins { text-decoration: none; }
.ce-buy-card__saving { display: inline-block; margin-bottom: 13px; padding: 5px 8px; border-radius: 5px; background: #eaf8f0; color: var(--md-green); font-size: 11px; font-weight: 850; }
.ce-buy-card__stock .stock { margin: 0 0 17px; color: var(--md-green); font-weight: 850; }
.ce-add-to-cart-box form.cart { margin: 0; }
.ce-add-to-cart-box .quantity { display: inline-flex; margin: 0 7px 10px 0 !important; }
.ce-add-to-cart-box .qty { width: 68px; height: 48px; border: 1px solid var(--md-line); border-radius: 7px; text-align: center; }
.ce-add-to-cart-box .single_add_to_cart_button, .ce-add-to-cart-box button.single_add_to_cart_button {
    min-height: 50px; border: 0 !important; border-radius: 7px !important; background: var(--md-orange) !important; color: #fff !important; font-weight: 900 !important; padding: 0 22px !important;
}
.ce-add-to-cart-box .single_add_to_cart_button:hover { background: var(--md-orange-dark) !important; }
.ce-add-to-cart-box table.variations { width: 100%; margin-bottom: 14px; }
.ce-add-to-cart-box table.variations td, .ce-add-to-cart-box table.variations th { padding: 6px 0; text-align: left; }
.ce-add-to-cart-box select { width: 100%; min-height: 44px; border: 1px solid var(--md-line); border-radius: 7px; }
.ce-buy-card__separator { display: flex; align-items: center; gap: 8px; margin: 20px 0 13px; color: var(--md-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.ce-buy-card__separator::before, .ce-buy-card__separator::after { content: ""; flex: 1; height: 1px; background: var(--md-line); }
.ce-buy-card__benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ce-buy-card__benefits li { display: flex; align-items: flex-start; gap: 10px; }
.ce-buy-card__benefits svg { flex: 0 0 auto; margin-top: 2px; color: var(--md-blue); font-size: 19px; }
.ce-buy-card__benefits strong, .ce-buy-card__benefits small { display: block; }
.ce-buy-card__benefits strong { font-size: 12px; }
.ce-buy-card__benefits small { color: var(--md-muted); font-size: 10px; line-height: 1.35; }
.ce-buy-card__conditions { display: block; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--md-line); font-size: 11px; font-weight: 750; }
.ce-product-anchor-nav { display: flex; gap: 0; margin: 28px 0; border: 1px solid var(--md-line); border-radius: 9px; overflow: hidden; background: #fff; }
.ce-product-anchor-nav a { flex: 1; padding: 14px 18px; border-right: 1px solid var(--md-line); color: var(--md-ink); text-align: center; font-size: 12px; font-weight: 800; }
.ce-product-anchor-nav a:last-child { border: 0; }
.ce-product-anchor-nav a:hover { background: var(--md-blue); color: #fff; }
.ce-product-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.ce-product-content-main { display: grid; gap: 22px; }
.ce-product-section { padding: 32px; border: 1px solid var(--md-line); border-radius: 12px; background: #fff; }
.ce-product-section__heading { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.ce-product-section__heading > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--md-blue); color: #fff; font-weight: 900; }
.ce-product-section__heading small { color: var(--md-orange); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.ce-product-section__heading h2 { margin: 2px 0 0; font-size: 25px; color: var(--md-blue-dark); }
.ce-entry-content { color: #3f4c5f; }
.ce-entry-content h2, .ce-entry-content h3, .ce-entry-content h4 { color: var(--md-blue-dark); }
.ce-entry-content img { border-radius: 8px; }
.ce-product-info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ce-product-info-cards > div { padding: 17px; border-radius: 8px; background: var(--md-soft); }
.ce-product-info-cards strong { color: var(--md-blue); font-size: 12px; text-transform: uppercase; }
.ce-product-info-cards p { margin: 7px 0 0; font-size: 13px; }
.ce-product-content-side { display: grid; gap: 15px; }
.ce-product-side-card { padding: 24px; border: 1px solid var(--md-line); border-radius: 10px; background: #fff; }
.ce-product-side-card__icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 8px; background: #edf3fb; color: var(--md-blue); font-size: 22px; }
.ce-product-side-card h3 { margin: 15px 0 8px; color: var(--md-blue-dark); font-size: 17px; }
.ce-product-side-card p { color: var(--md-muted); font-size: 12px; }
.ce-product-side-card a { font-size: 12px; font-weight: 800; }

/* Generic pages and WooCommerce */
.entry-content, .ce-page-content { max-width: 1050px; margin-inline: auto; }
.woocommerce-notices-wrapper, .woocommerce-message, .woocommerce-error, .woocommerce-info { margin-bottom: 18px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 14px 18px; border-radius: 8px; border: 1px solid var(--md-line); background: #f6f9fc; }
.woocommerce-message { border-left: 5px solid var(--md-green); }
.woocommerce-info { border-left: 5px solid var(--md-blue); }
.woocommerce-error { border-left: 5px solid #bd2b35; list-style: none; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    border-radius: 7px !important; background: var(--md-blue) !important; color: #fff !important; font-weight: 800 !important; padding: 12px 17px !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--md-orange) !important; }
.woocommerce table.shop_table { width: 100%; border: 1px solid var(--md-line); border-collapse: collapse; border-radius: 9px; overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border: 1px solid var(--md-line); }
.woocommerce table.shop_table th { background: var(--md-soft); color: var(--md-blue-dark); text-align: left; }
.woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main, body.page .site-main { padding: 38px 0 70px; }
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce, .woocommerce-account .woocommerce, body.page .entry-content { width: min(calc(100% - 40px), 1250px); margin-inline: auto; }
.woocommerce form .form-row label { display: block; margin-bottom: 5px; color: var(--md-ink); font-weight: 700; font-size: 13px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single {
    width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid #cfd7e3; border-radius: 7px; background: #fff;
}
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: auto; }
.woocommerce-checkout-review-order, .woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields {
    padding: 24px; border: 1px solid var(--md-line); border-radius: 10px; background: #fff;
}
#order_review_heading { margin-top: 30px; }
.woocommerce-checkout-payment { border: 1px solid var(--md-line) !important; border-radius: 10px !important; background: var(--md-soft) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--md-line); border-radius: 9px; overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 15px; border-bottom: 1px solid var(--md-line); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--md-blue); color: #fff; }
.woocommerce-MyAccount-navigation { width: 25%; float: left; }
.woocommerce-MyAccount-content { width: 71%; float: right; }

/* Footer */
.ce-footer-benefits { border-top: 1px solid var(--md-line); background: #f1f4f8; }
.ce-footer-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ce-footer-benefits__grid > div { display: flex; align-items: center; gap: 12px; padding: 23px 18px; border-right: 1px solid #dce2eb; }
.ce-footer-benefits__grid > div:last-child { border: 0; }
.ce-footer-benefits svg { flex: 0 0 auto; color: var(--md-orange); font-size: 28px; }
.ce-footer-benefits strong, .ce-footer-benefits small { display: block; }
.ce-footer-benefits strong { color: var(--md-blue-dark); font-size: 13px; }
.ce-footer-benefits small { color: var(--md-muted); font-size: 10px; }
.ce-site-footer { background: #071b39; color: #c5d0df; }
.ce-footer-main { display: grid; grid-template-columns: 1.35fr .72fr .8fr .95fr 1.05fr; gap: 35px; padding: 58px 0 48px; }
.ce-footer-brand img { width: 230px; max-height: 78px; padding: 8px; object-fit: contain; object-position: left center; background: #fff; border-radius: 8px; }
.ce-footer-brand p { max-width: 340px; font-size: 13px; color: #aebcd0; }
.ce-footer-email { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; font-weight: 750; }
.ce-footer-email svg { color: var(--md-orange); }
.ce-footer-column h3, .ce-footer-contact-card h3 { margin: 0 0 16px; color: #fff; font-size: 14px; }
.ce-footer-column ul { list-style: none; padding: 0; margin: 0; }
.ce-footer-column li { margin-bottom: 8px; }
.ce-footer-column a { color: #b7c4d6; font-size: 12px; }
.ce-footer-column a:hover { color: var(--md-yellow); }
.ce-footer-contact-card { padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.04); }
.ce-footer-contact-card__label { color: var(--md-orange); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.ce-footer-contact-card h3 { margin-top: 7px; }
.ce-footer-contact-card p { color: #aebcd0; font-size: 11px; }
.ce-footer-contact-card a { color: #fff; }
.ce-footer-bottom { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.10); color: #8fa0b8; font-size: 10px; }
.ce-footer-bottom .ce-container { display: flex; justify-content: space-between; gap: 20px; }
.ce-mobile-bottom-nav { display: none; }

/* WordPress alignment */
.alignwide { width: min(1200px, 100%); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

@media (max-width: 1260px) {
    .ce-header-main { grid-template-columns: 220px minmax(260px, 1fr) auto; gap: 18px; }
    .ce-logo { width: 210px; }
    .ce-store-nav { grid-template-columns: 245px 1fr auto; }
    .ce-home-market__grid { grid-template-columns: 230px minmax(0, 1fr); }
    .ce-home-side-promos { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .ce-mini-promo { min-height: 175px; }
    .ce-single-product__grid { grid-template-columns: minmax(390px, 1.15fr) minmax(300px, .85fr); }
    .ce-buy-card { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
    .ce-buy-card__label, .ce-product-price, .ce-buy-card__saving, .ce-buy-card__stock, .ce-add-to-cart-box { grid-column: 1; }
    .ce-buy-card__separator, .ce-buy-card__benefits, .ce-buy-card__conditions { grid-column: 2; }
    .ce-buy-card__separator { grid-row: 1; }
    .ce-buy-card__benefits { grid-row: 2 / span 4; }
    .ce-buy-card__conditions { align-self: end; }
    .ce-category-grid { grid-template-columns: repeat(4, 1fr); }
    .ce-footer-main { grid-template-columns: 1.4fr repeat(3, 1fr); }
    .ce-footer-contact-card { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .ce-header-main { min-height: 92px; grid-template-columns: 195px 1fr auto; }
    .ce-logo { width: 185px; }
    .ce-header-action > span:last-child { display: none; }
    .ce-store-nav { grid-template-columns: 230px 1fr; }
    .ce-nav-highlight { display: none; }
    .ce-main-nav > .ce-menu > li > a { padding-inline: 13px; }
    .ce-home-market__grid { grid-template-columns: 1fr; }
    .ce-home-departments { display: none; }
    .ce-home-hero { min-height: 460px; }
    .ce-home-benefits__grid, .ce-footer-benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .ce-home-benefits__grid > div:nth-child(2), .ce-footer-benefits__grid > div:nth-child(2) { border-right: 0; }
    .ce-home-benefits__grid > div:nth-child(-n+2), .ce-footer-benefits__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--md-line); }
    .ce-home-explain__grid { grid-template-columns: 1fr 1fr; }
    .ce-home-explain__intro { grid-column: 1 / -1; }
    .ce-category-grid { grid-template-columns: repeat(3, 1fr); }
    .ce-products-grid { grid-template-columns: repeat(3, 1fr); }
    .ce-shop-layout { grid-template-columns: 1fr; }
    .ce-shop-sidebar { display: none; }
    .ce-single-product__grid { grid-template-columns: 1fr 1fr; }
    .ce-product-gallery__main { min-height: 450px; }
    .ce-product-content-layout { grid-template-columns: 1fr; }
    .ce-product-content-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
    .ce-container { width: min(calc(100% - 24px), var(--md-container)); }
    body { padding-bottom: 64px; }
    .ce-dealbar__inner { min-height: 31px; justify-content: center; }
    .ce-dealbar__message { font-size: 10px; text-align: center; }
    .ce-dealbar__links { display: none; }
    .ce-header-main { min-height: 74px; grid-template-columns: 42px 1fr auto; gap: 10px; }
    .ce-menu-toggle { display: inline-flex; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; padding: 9px; border: 0; border-radius: 7px; background: var(--md-blue); }
    .ce-menu-toggle span { width: 100%; height: 2px; background: #fff; }
    .ce-logo { width: 170px; max-width: 100%; }
    .ce-header-search { grid-column: 1 / -1; grid-row: 2; padding-bottom: 12px; }
    .ce-search-form { height: 46px; }
    .ce-search-form__icon { width: 42px; }
    .ce-search-form button { padding-inline: 15px; }
    .ce-header-actions .ce-header-action:first-child { display: none; }
    .ce-header-action { padding: 5px; }
    .ce-header-action__icon { width: 40px; height: 40px; }
    .ce-nav-shell { display: none; }
    .ce-mobile-panel { display: block; position: fixed; z-index: 999; top: 0; left: 0; bottom: 0; width: min(88vw, 370px); padding: 0 18px 30px; overflow-y: auto; background: #fff; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 20px 0 45px rgba(0,0,0,.18); }
    .ce-mobile-panel.is-open { transform: translateX(0); }
    .ce-mobile-overlay { position: fixed; z-index: 998; inset: 0; background: rgba(2,13,30,.58); }
    .ce-mobile-overlay.is-open { display: block; }
    .ce-mobile-panel__head { display: flex; justify-content: space-between; align-items: center; padding: 19px 0 15px; border-bottom: 1px solid var(--md-line); }
    .ce-mobile-panel__close { border: 0; background: transparent; font-size: 32px; line-height: 1; color: var(--md-blue-dark); }
    .ce-mobile-panel__search { margin: 15px 0; }
    .ce-mobile-panel__links, .ce-mobile-panel__categories { display: grid; }
    .ce-mobile-panel__links a, .ce-mobile-panel__categories a { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--md-line); color: var(--md-ink); font-size: 14px; font-weight: 750; }
    .ce-mobile-panel__categories > strong { margin-top: 22px; padding: 12px 0; color: var(--md-orange); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
    .ce-home-market { padding-top: 14px; }
    .ce-home-hero { min-height: auto; grid-template-columns: 1fr; background: linear-gradient(145deg, #fff, #e9f0fa); }
    .ce-home-hero__content { padding: 35px 25px 10px; }
    .ce-home-hero h1 { font-size: 43px; }
    .ce-home-hero__visual { min-height: 300px; padding-top: 10px; }
    .ce-home-hero__visual img { max-height: 280px; }
    .ce-home-hero__saving { width: 105px; height: 105px; top: 8px; right: 15px; }
    .ce-home-hero__saving strong { font-size: 20px; }
    .ce-home-side-promos { grid-template-columns: 1fr 1fr; }
    .ce-mini-promo { min-height: 165px; padding: 20px; }
    .ce-mini-promo strong { font-size: 18px; }
    .ce-section { margin-block: 45px; }
    .ce-category-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
    .ce-category-card { min-height: 190px; }
    .ce-category-card__image { height: 125px; }
    .ce-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .ce-product-card__image { height: 190px; padding: 12px; }
    .ce-product-card__body { padding: 13px; }
    .ce-product-card h3 { min-height: 52px; font-size: 14px; }
    .ce-product-card__excerpt { display: none; }
    .ce-product-card__price { font-size: 18px; }
    .ce-product-card__button { min-width: 43px; }
    .ce-home-explain { padding: 52px 0; }
    .ce-home-explain__grid { grid-template-columns: 1fr; }
    .ce-home-explain article { padding: 22px; }
    .ce-shop-hero { min-height: auto; padding: 30px 24px; }
    .ce-shop-hero h1 { font-size: 34px; }
    .ce-shop-hero__stamp, .ce-shop-hero__count { display: none; }
    .ce-section-heading--row { display: block; }
    .ce-shop-toolbar { justify-content: space-between; margin-top: 15px; }
    .ce-single-product__grid { grid-template-columns: 1fr; }
    .ce-product-gallery { grid-template-columns: 1fr; }
    .ce-product-gallery__main { grid-column: 1; grid-row: 1; min-height: 390px; }
    .ce-product-gallery__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; max-height: none; overflow-x: auto; }
    .ce-photo-note { grid-row: 3; }
    .ce-product-information { padding: 22px; }
    .ce-buy-card { display: block; }
    .ce-product-anchor-nav { overflow-x: auto; }
    .ce-product-anchor-nav a { min-width: 170px; }
    .ce-product-section { padding: 22px; }
    .ce-product-info-cards { grid-template-columns: 1fr; }
    .ce-product-content-side { grid-template-columns: 1fr; }
    .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
    .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { float: none; width: 100%; }
    .woocommerce-MyAccount-navigation { margin-bottom: 22px; }
    .ce-footer-benefits { display: none; }
    .ce-footer-main { grid-template-columns: 1fr 1fr; gap: 27px 20px; padding: 42px 0; }
    .ce-footer-brand, .ce-footer-contact-card { grid-column: 1 / -1; }
    .ce-footer-bottom .ce-container { display: block; text-align: center; }
    .ce-footer-bottom span { display: block; margin: 2px 0; }
    .ce-mobile-bottom-nav { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; height: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--md-line); box-shadow: 0 -8px 24px rgba(8,34,70,.10); }
    .ce-mobile-bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--md-blue-dark); font-size: 9px; font-weight: 800; }
    .ce-mobile-bottom-nav svg { font-size: 20px; }
    .ce-mobile-bottom-nav .ce-cart-count { position: absolute; top: 5px; right: calc(50% - 24px); }
}

@media (max-width: 480px) {
    .ce-logo { width: 145px; }
    .ce-search-form input { font-size: 12px; }
    .ce-search-form button { font-size: 12px; }
    .ce-home-hero__content { padding-inline: 20px; }
    .ce-home-hero h1 { font-size: 37px; }
    .ce-home-hero p { font-size: 14px; }
    .ce-home-hero__actions { align-items: stretch; flex-direction: column; }
    .ce-home-hero__proof { gap: 9px; }
    .ce-home-side-promos { grid-template-columns: 1fr; }
    .ce-mini-promo { min-height: 145px; }
    .ce-home-benefits__grid { grid-template-columns: 1fr; }
    .ce-home-benefits__grid > div { border-right: 0; border-bottom: 1px solid var(--md-line); }
    .ce-category-card__name { font-size: 12px; }
    .ce-products-grid { gap: 8px; }
    .ce-product-card__image { height: 160px; }
    .ce-product-card__body { padding: 10px; }
    .ce-product-card__category { font-size: 8px; }
    .ce-product-card h3 { font-size: 12px; min-height: 47px; }
    .ce-product-card__price { font-size: 15px; }
    .ce-product-card__button { min-width: 38px; height: 34px; font-size: 10px; }
    .ce-badge { top: 8px; left: 8px; font-size: 8px; }
    .ce-product-card__discount { top: 8px; right: 8px; font-size: 10px; }
    .ce-product-gallery__main { min-height: 320px; }
    .ce-product-information h1 { font-size: 29px; }
    .ce-product-keyfacts > div { grid-template-columns: 90px 1fr; }
    .ce-product-price { font-size: 30px; }
    .ce-footer-main { grid-template-columns: 1fr; }
    .ce-footer-column, .ce-footer-brand, .ce-footer-contact-card { grid-column: 1; }
}

/* Content pages, legal pages and posts */
.ce-content-wrap, .ce-page-wrap { padding-top: 34px; padding-bottom: 70px; }
.ce-page { overflow: hidden; border: 1px solid var(--md-line); border-radius: 12px; background: #fff; }
.ce-page-header { padding: 34px 38px 25px; border-bottom: 1px solid var(--md-line); background: linear-gradient(120deg, #f8fafc, #eef3f9); }
.ce-page-header h1 { margin: 0; color: var(--md-blue-dark); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.ce-page > .ce-entry-content { max-width: none; padding: 35px 38px 48px; }
.ce-post-list { display: grid; gap: 18px; }
.ce-post-card { padding: 28px; border: 1px solid var(--md-line); border-radius: 10px; background: #fff; }
.ce-post-card h1 { margin: 0 0 12px; font-size: 25px; }
.ce-404 { padding-top: 80px; padding-bottom: 100px; text-align: center; }
.ce-404 h1 { color: var(--md-blue-dark); font-size: clamp(36px, 6vw, 70px); }
.ce-404 p { color: var(--md-muted); }
body.mdc-legal-page .ce-page { border-top: 6px solid var(--md-orange); box-shadow: var(--md-shadow); }
body.mdc-legal-page .mdc-legal-index { border-left: 5px solid var(--md-blue); }

@media (max-width: 780px) {
    .ce-content-wrap, .ce-page-wrap { padding-top: 22px; }
    .ce-page-header, .ce-page > .ce-entry-content { padding-left: 22px; padding-right: 22px; }
}
