/* Cellpept dual chamber pen pages: the WoodMart layout around the .cp-dc sections. Loaded only on these products
   (body.cp-dc-page), after the theme. Design tokens as in the build guide. 1.1.0 */
body.cp-dc-page {
	--cp-ink: #0E0E0E;
	--cp-text: #2E3742;
	--cp-muted: #586474;
	--cp-line: #E4E9EF;
	--cp-line-2: #EEF2F6;
	--cp-page: #F6F8FA;
	--cp-accent: #0077B6;
	--cp-accent-dark: #00669C;
	--cp-brand: #019FE0;
	--cp-head: "Barlow", "Barlow Semi Condensed", system-ui, sans-serif;
	--cp-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.cp-dc-page .main-page-wrapper,
body.cp-dc-page .wd-page-content { background-color: var(--cp-page); }

/* One centred column, 640 px max */
body.cp-dc-page .elementor .e-con.cp-dc-layout {
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	max-width: 640px; width: 100%; margin-inline: auto; padding: 6px 0 56px;
	font-family: var(--cp-body); color: var(--cp-ink);
}
body.cp-dc-page .cp-dc-layout > .elementor-element { width: 100%; margin: 0; }
body.cp-dc-page .cp-dc-layout .cp-dc { margin: 0 0 36px; }
body.cp-dc-page .cp-dc-layout .cp-dc-head { margin: 0 0 12px; }
body.cp-dc-page .cp-dc-layout .cp-dc-metaline { margin: 0 0 16px; }
body.cp-dc-page .cp-dc-layout .cp-dc-tiles { margin: 0 0 16px; }
body.cp-dc-page .cp-dc-layout .cp-dc-ordernote { margin: 12px 0 18px; }
body.cp-dc-page .cp-dc-layout .cp-dc-trust { margin: 0 0 36px; }
body.cp-dc-page .cp-dc-layout .cp-dc-faq { margin: 0 0 28px; }
body.cp-dc-page .cp-dc-layout .cp-dc-tabtext,
body.cp-dc-page .cp-dc-layout .cp-dc-tabs .cp-dc-ruo { margin: 0; }
body.cp-dc-page .cp-dc-layout .cp-dc-more { margin: 0; }

/* Breadcrumbs: Home / Dual Chamber Pens */
body.cp-dc-page .cp-dc-crumbs { margin: 0 0 12px !important; }
body.cp-dc-page .cp-dc-crumbs .wd-breadcrumbs { font-family: var(--cp-body); font-size: 13px; line-height: 1.4; color: var(--cp-muted); }
body.cp-dc-page .cp-dc-crumbs .wd-breadcrumbs a { color: var(--cp-muted); font-weight: 400; }
body.cp-dc-page .cp-dc-crumbs .wd-breadcrumbs a:hover { color: var(--cp-accent); }
body.cp-dc-page .cp-dc-crumbs .wd-delimiter:has(+ .wd-last),
body.cp-dc-page .cp-dc-crumbs .wd-last { display: none; }

/* Gallery: white card, square image, thumbnails below */
body.cp-dc-page .cp-dc-gallery { margin: 0 0 24px !important; }
body.cp-dc-page .cp-dc-gallery .woocommerce-product-gallery { background: #fff; border: 1px solid var(--cp-line); border-radius: 22px; overflow: hidden; padding: 0 0 12px; margin: 0; }
body.cp-dc-page .cp-dc-gallery .wd-gallery-images { margin: 0; }
body.cp-dc-page .cp-dc-gallery .wd-gallery-images .woocommerce-product-gallery__image,
body.cp-dc-page .cp-dc-gallery .wd-gallery-images .woocommerce-product-gallery__image a { display: block; background: #fff; }
body.cp-dc-page .cp-dc-gallery .wd-gallery-images img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 0; }
body.cp-dc-page .cp-dc-gallery .wd-gallery-thumb { margin: 0; padding: 12px 12px 0; border-top: 1px solid var(--cp-line-2); }
/* The shop hides gallery thumbnails on phones (product.css); the pen pages show them, as in the design. */
body.cp-dc-page.single-product .single-product-page .cp-dc-gallery .wd-gallery-thumb { display: block !important; }
body.cp-dc-page .cp-dc-gallery .wd-gallery-thumb .wd-carousel { --wd-gap: 10px; }
body.cp-dc-page .cp-dc-gallery .wd-gallery-thumb .wd-carousel-item { opacity: 1; }
body.cp-dc-page .cp-dc-gallery .wd-gallery-thumb .wd-carousel-item img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--cp-line); border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease; }
body.cp-dc-page .cp-dc-gallery .wd-gallery-thumb .wd-carousel-item.wd-thumb-active img { border-color: var(--cp-accent); box-shadow: 0 0 0 1px var(--cp-accent); }
body.cp-dc-page .cp-dc-gallery .wd-gallery-images .wd-btn-arrow .wd-arrow-inner { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid var(--cp-line); color: var(--cp-ink); box-shadow: 0 4px 14px -8px rgba(14, 40, 70, .4); }
body.cp-dc-page .cp-dc-gallery .wd-gallery-thumb .wd-nav-arrows { display: none; }

/* Short description */
body.cp-dc-page .cp-dc-short { margin: 0 0 18px !important; }
body.cp-dc-page .cp-dc-short .woocommerce-product-details__short-description,
body.cp-dc-page .cp-dc-short p { font-family: var(--cp-body); font-size: 15px; line-height: 1.55; color: #3F4A58; margin: 0; }

/* Price */
body.cp-dc-page .cp-dc-price { margin: 0 0 10px !important; }
body.cp-dc-page .cp-dc-price .price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-family: var(--cp-head); font-weight: 700; font-size: 36px; line-height: 1.05; color: var(--cp-ink); }
body.cp-dc-page .cp-dc-price .price .amount { color: var(--cp-ink); font-weight: 700; }
body.cp-dc-page .cp-dc-price .woocommerce-price-suffix { font-family: var(--cp-body); font-size: 13px; font-weight: 400; color: var(--cp-muted); }

/* Add to cart: quantity + full button; the other buy-box extras live elsewhere on this page */
body.cp-dc-page .cp-dc-atc { margin: 0 !important; }
body.cp-dc-page .cp-dc-atc .lab-report-btn,
body.cp-dc-page .cp-dc-atc .cp-pp-info,
body.cp-dc-page .cp-dc-atc .wpsc-product-help { display: none !important; }
body.cp-dc-page .cp-dc-atc form.cart { display: flex !important; flex-wrap: nowrap; align-items: stretch; gap: 12px; margin: 0 !important; width: 100%; }
body.cp-dc-page .cp-dc-atc form.cart .quantity { flex: 0 0 auto; display: flex; align-items: center; height: 56px; margin: 0 !important; background: #fff; border: 1px solid #C9D3DE; border-radius: 14px; overflow: hidden; }
body.cp-dc-page .cp-dc-atc form.cart .quantity input.minus,
body.cp-dc-page .cp-dc-atc form.cart .quantity input.plus { width: 42px; min-width: 42px; height: 54px; padding: 0; border: 0 !important; background: transparent; color: var(--cp-ink); font-size: 22px; font-weight: 500; line-height: 1; box-shadow: none; }
/* A real minus sign instead of the theme's hyphen (the button keeps its value for screen readers) */
body.cp-dc-page .cp-dc-atc form.cart .quantity input.minus { color: transparent; background: linear-gradient(var(--cp-ink), var(--cp-ink)) center / 14px 2px no-repeat; }
body.cp-dc-page .cp-dc-atc form.cart .quantity input.qty { width: 36px; min-width: 36px; height: 54px; padding: 0; border: 0 !important; background: transparent; color: var(--cp-ink); font-family: var(--cp-body); font-size: 17px; font-weight: 600; text-align: center; box-shadow: none; }
body.cp-dc-page .cp-dc-atc form.cart .single_add_to_cart_button { flex: 1 1 auto; height: 56px; min-height: 56px; margin: 0 !important; padding: 0 18px; border: 0; border-radius: 14px; background: var(--cp-accent); color: #fff; font-family: var(--cp-head); font-weight: 700; font-size: 19px; letter-spacing: 0; text-transform: none; box-shadow: none; transition: background-color .15s ease; }
body.cp-dc-page .cp-dc-atc form.cart .single_add_to_cart_button:hover { background: var(--cp-accent-dark); color: #fff; }
body.cp-dc-page .cp-dc-atc form.cart .single_add_to_cart_button:focus-visible { outline: 3px solid var(--cp-brand); outline-offset: 2px; }
body.cp-dc-page .cp-dc-atc form.cart .single_add_to_cart_button.loading { opacity: .85; }
body.cp-dc-page .cp-dc-atc .stock { margin: 0 0 10px; }

/* Product tabs as an accordion of cards */
body.cp-dc-page .cp-dc-tabs { margin: 0 0 20px !important; }
body.cp-dc-page .cp-dc-tabs .wd-accordion { display: flex; flex-direction: column; gap: 10px; border: 0; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-item { background: #fff; border: 1px solid var(--cp-line) !important; border-radius: 16px; overflow: hidden; margin: 0; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-title { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between !important; gap: 12px; min-height: 60px; padding: 16px 18px; margin: 0; border: 0; cursor: pointer; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-title-text { order: 1 !important; flex: 1 1 auto; text-align: left; font-family: var(--cp-head); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--cp-ink); text-transform: none; letter-spacing: 0; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-title-text span { color: inherit; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-opener { order: 2 !important; flex: 0 0 auto; width: 22px; height: 22px; margin: 0; display: flex; align-items: center; justify-content: center; transform: none !important; color: var(--cp-accent); font-size: 0; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-opener::before,
body.cp-dc-page .cp-dc-tabs .wd-accordion-opener::after { content: none; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-opener { background: linear-gradient(currentColor, currentColor) center / 14px 2.5px no-repeat, linear-gradient(currentColor, currentColor) center / 2.5px 14px no-repeat; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-title.wd-active .wd-accordion-opener { background: linear-gradient(currentColor, currentColor) center / 14px 2.5px no-repeat; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-title:focus-visible { outline: 3px solid var(--cp-brand); outline-offset: -3px; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-content { padding: 0 18px 18px; margin: 0; border: 0; font-family: var(--cp-body); font-size: 15px; line-height: 1.65; color: var(--cp-text); }
body.cp-dc-page .cp-dc-tabs .wd-accordion-content p { margin: 0 0 12px; }
body.cp-dc-page .cp-dc-tabs .wd-accordion-content p:last-child { margin-bottom: 0; }
body.cp-dc-page .cp-dc-tabs .wd-scroll-content { max-height: none !important; overflow: visible !important; padding: 0; }

/* Sticky add-to-cart bar */
body.cp-dc-page .wd-sticky-btn { background: #fff; border-top: 1px solid var(--cp-line); box-shadow: 0 -8px 24px -18px rgba(14, 40, 70, .35); }
body.cp-dc-page .wd-sticky-btn .lab-report-btn,
body.cp-dc-page .wd-sticky-btn .wpsc-product-help { display: none !important; }
body.cp-dc-page .wd-sticky-btn-thumbnail img { width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--cp-line); border-radius: 10px; }
body.cp-dc-page .wd-sticky-btn-info .wd-entities-title { font-family: var(--cp-body); font-size: 12px; font-weight: 500; color: var(--cp-muted); }
body.cp-dc-page .wd-sticky-btn-cart .price { font-family: var(--cp-head); font-weight: 700; font-size: 22px; color: var(--cp-ink); }
body.cp-dc-page .wd-sticky-btn-cart .price .amount { color: var(--cp-ink); }
body.cp-dc-page .wd-sticky-btn-cart .woocommerce-price-suffix { display: none; }
body.cp-dc-page .wd-sticky-btn .single_add_to_cart_button { min-height: 48px; border-radius: 14px; background: var(--cp-accent); color: #fff; font-family: var(--cp-head); font-weight: 700; font-size: 17px; text-transform: none; letter-spacing: 0; padding: 0 22px; box-shadow: none; }
body.cp-dc-page .wd-sticky-btn .single_add_to_cart_button:hover { background: var(--cp-accent-dark); }
body.cp-dc-page .wd-sticky-btn .quantity { display: flex; align-items: center; height: 48px; margin: 0; background: #fff; border: 1px solid #C9D3DE; border-radius: 12px; overflow: hidden; }
body.cp-dc-page .wd-sticky-btn .quantity input.minus,
body.cp-dc-page .wd-sticky-btn .quantity input.plus { width: 36px; min-width: 36px; height: 46px; padding: 0; border: 0 !important; background: transparent; color: var(--cp-ink); font-size: 20px; line-height: 1; box-shadow: none; }
body.cp-dc-page .wd-sticky-btn .quantity input.minus { color: transparent; background: linear-gradient(var(--cp-ink), var(--cp-ink)) center / 12px 2px no-repeat; }
body.cp-dc-page .wd-sticky-btn .quantity input.qty { width: 32px; min-width: 32px; height: 46px; padding: 0; border: 0 !important; background: transparent; font-family: var(--cp-body); font-size: 16px; font-weight: 600; text-align: center; box-shadow: none; }

/* Wider screens: keep the column, a little more air */
@media (min-width: 769px) {
	body.cp-dc-page .elementor .e-con.cp-dc-layout { padding-top: 16px; }
	body.cp-dc-page .cp-dc-layout .cp-dc-title { font-size: 44px; }
}
/* Phones: 16 px side gutters inside WoodMart's container */
@media (max-width: 680px) {
	body.cp-dc-page .elementor .e-con.cp-dc-layout { padding-inline: 0; }
}
