/*
 * The only CSS written for the rebuild. Everything else is the WordPress
 * site's own stylesheets (Rehub, Elementor, WooCommerce), served from
 * /wp-content/ exactly as the live site loaded them.
 */

/* Generated posts: their markdown body sits in the Elementor post-content
   widget, where imported posts carry their own Elementor sections. */
.elementor-widget-theme-post-content .elementor-widget-container > p,
.elementor-widget-theme-post-content .elementor-widget-container > ul,
.elementor-widget-theme-post-content .elementor-widget-container > ol {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 28px;
}
.elementor-widget-theme-post-content .elementor-widget-container > h2 {
    margin: 32px 0 14px;
    font-size: 26px;
    line-height: 34px;
}
.elementor-widget-theme-post-content .elementor-widget-container > h3 {
    margin: 24px 0 10px;
    font-size: 20px;
    line-height: 28px;
}
.elementor-widget-theme-post-content .elementor-widget-container > ul,
.elementor-widget-theme-post-content .elementor-widget-container > ol {
    padding-left: 22px;
}
.elementor-widget-theme-post-content figure.wp-block-image {
    margin: 24px 0;
}
.elementor-widget-theme-post-content figure.wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
}
.elementor-widget-theme-post-content figure.wp-block-image figcaption {
    font-size: 12px;
    color: #777;
    margin-top: 6px;
    text-align: center;
}

/* The store list on product pages (Content Egg's rh_listoffers, prices left out). */
.rh_post_layout_rev_price_holder .rh_listoffers {
    margin-bottom: 10px;
}
.rh_post_layout_rev_price_holder .rh_listcolumn_price {
    display: none;
}
.rh_post_layout_rev_price_holder .rh_listcolumn_shop .fontbold {
    color: #111;
}

/* The comment form keeps wpDiscuz's classes; its rich editor (Quill) is gone,
   so the plain textarea is styled to sit where the editor did. */
#wpdcom .wpdiscuz-textarea-wrap {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
#wpdcom .wpd-form-foot {
    display: block !important;
    margin-top: 12px;
}
#wpdcom .wpd-comment-info {
    color: #2e7d32;
    margin-bottom: 10px;
}

/* ==========================================================================
   2026-10-04 redesign (owner's request). Keeps the black + red brand.
   ========================================================================== */
:root {
    --p3d-red: #ff4136;
    --p3d-red-dark: #e0352b;
    --p3d-ink: #111418;
    --p3d-text: #2b2f36;
    --p3d-muted: #6b7280;
    --p3d-line: #e6e8ec;
    --p3d-bg-soft: #f6f7f9;
    --p3d-radius: 12px;
    --p3d-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --p3d-shadow-hover: 0 10px 24px rgba(16, 24, 40, .12);
}

body { color: var(--p3d-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--p3d-ink); letter-spacing: -.01em; }

/* --- buttons ------------------------------------------------------------ */
.p3d-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 1.2;
    text-decoration: none !important; transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.p3d-btn--primary { background: var(--p3d-red); color: #fff !important; }
.p3d-btn--primary:hover { background: var(--p3d-red-dark); box-shadow: 0 4px 12px rgba(255, 65, 54, .35); }
.p3d-btn--ghost { background: #fff; color: var(--p3d-ink) !important; border-color: var(--p3d-line); }
.p3d-btn--ghost:hover { border-color: var(--p3d-ink); }

/* --- homepage hero ----------------------------------------------------- */
.p3d-hero {
    background: radial-gradient(1200px 400px at 85% -10%, rgba(255, 65, 54, .35), transparent 60%),
                linear-gradient(180deg, #111418 0%, #1b1f26 100%);
    color: #fff; padding: 56px 20px 48px; text-align: center;
}
.p3d-hero__inner { max-width: 860px; margin: 0 auto; }
.p3d-hero__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--p3d-red); margin: 0 0 12px; }
.p3d-hero__title { color: #fff; font-size: 42px; line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.p3d-hero__lead { color: #c9ced6; font-size: 18px; line-height: 1.5; margin: 0 auto 26px; max-width: 640px; }
.p3d-hero__search { display: flex; gap: 8px; max-width: 640px; margin: 0 auto 22px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.p3d-hero__search input[type=search] { flex: 1; border: 0 !important; outline: 0; font-size: 16px; padding: 10px 16px !important; background: transparent !important; color: var(--p3d-ink); min-width: 0; height: auto !important; box-shadow: none !important; }
.p3d-hero__search .p3d-btn { padding: 12px 26px; font-size: 15px; }
.p3d-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.p3d-hero__chips a { color: #fff !important; text-decoration: none !important; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); transition: background .15s, border-color .15s; }
.p3d-hero__chips a:hover { background: var(--p3d-red); border-color: var(--p3d-red); }
@media (max-width: 767px) {
    .p3d-hero { padding: 36px 16px 32px; }
    .p3d-hero__title { font-size: 28px; }
    .p3d-hero__lead { font-size: 15px; }
    .p3d-hero__search .p3d-btn { padding: 10px 16px; }
}

/* --- product cards ----------------------------------------------------- */
.products .p3d-card, .column_woo .p3d-card {
    display: flex !important; flex-direction: column; background: #fff;
    border: 1px solid var(--p3d-line) !important; border-radius: var(--p3d-radius); overflow: hidden;
    box-shadow: var(--p3d-shadow); transition: box-shadow .2s ease, transform .2s ease; padding: 0 !important;
}
.products .p3d-card:hover, .column_woo .p3d-card:hover { box-shadow: var(--p3d-shadow-hover); transform: translateY(-2px); }
.p3d-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff; padding: 18px; border-bottom: 1px solid var(--p3d-line); }
.p3d-card__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.p3d-card__body { padding: 14px 16px 6px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.p3d-card__cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p3d-muted) !important; text-decoration: none !important; }
.p3d-card__cat:hover { color: var(--p3d-red) !important; }
.p3d-card__title { font-size: 15px !important; line-height: 1.35 !important; font-weight: 600 !important; margin: 0 !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p3d-card__title a { color: var(--p3d-ink) !important; text-decoration: none !important; }
.p3d-card__title a:hover { color: var(--p3d-red) !important; }
.p3d-card__store { margin: 0 !important; font-size: 13px; color: var(--p3d-muted); }
.p3d-card__store strong { color: var(--p3d-text); font-weight: 600; }
.p3d-card__foot { padding: 10px 16px 16px; }
.p3d-card__foot .p3d-btn { width: 100%; }
/* even gutters in Rehub's grids */
.col_wrap_three.products, .col_wrap_fourth.products, .column_woo.col_wrap_fourth { display: grid !important; gap: 20px; margin: 0 !important; }
.col_wrap_three.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col_wrap_fourth.products, .column_woo.col_wrap_fourth { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col_wrap_three.products > .col_item, .col_wrap_fourth.products > .col_item, .column_woo > .col_item { width: auto !important; margin: 0 !important; float: none !important; }
@media (max-width: 1023px) { .col_wrap_fourth.products, .column_woo.col_wrap_fourth { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .col_wrap_three.products, .col_wrap_fourth.products, .column_woo.col_wrap_fourth { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .p3d-card__img { padding: 10px; }
    .p3d-card__body { padding: 10px 10px 4px; }
    .p3d-card__foot { padding: 8px 10px 12px; }
    .p3d-card__title { font-size: 14px !important; }
    .p3d-card__foot .p3d-btn { padding: 9px 10px; font-size: 13px; }
}

/* --- product page: where to buy ---------------------------------------- */
.p3d-stores { border: 1px solid var(--p3d-line); border-radius: var(--p3d-radius); padding: 18px 18px 8px; margin: 4px 0 18px; background: #fff; box-shadow: var(--p3d-shadow); }
.p3d-stores__title { font-size: 18px !important; margin: 0 0 8px !important; display: flex; align-items: baseline; gap: 10px; }
.p3d-stores__title span { font-size: 13px; font-weight: 500; color: var(--p3d-muted); }
.p3d-stores__list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.p3d-store { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--p3d-line); margin: 0 !important; }
.p3d-store:first-child { border-top: 0; }
.p3d-store__shop { font-weight: 700; color: var(--p3d-ink); font-size: 14px; }
.p3d-store__shop img { max-width: 90px; max-height: 40px; width: auto; height: auto; }
.p3d-store__offer { font-size: 13px; color: var(--p3d-text); line-height: 1.4; }
.p3d-store__offer small { display: block; color: var(--p3d-muted); font-size: 12px; margin-top: 2px; }
.p3d-stores__note { font-size: 12px; color: var(--p3d-muted); margin: 8px 0 10px !important; }
.p3d-stores--empty { padding: 16px 18px; }
.p3d-stores--empty p { margin: 0 !important; font-size: 14px; }
@media (max-width: 767px) {
    .p3d-store { grid-template-columns: 1fr auto; }
    .p3d-store__offer { grid-column: 1 / -1; order: 3; }
}
/* the old Content Egg price-holder chrome around it */
.rh_post_layout_rev_price_holder > .rehub_scroll { display: none; }

/* --- features that needed WordPress: wishlist + compare ---------------- */
.heart_thumb_wrap, .wpsm-button-new-compare, .compare_for_grid, .woo-top-actions,
.re-compare-icon-fixed, a[href="/my-wishlist/"].elementor-button { display: none !important; }

/* --- ad slots AdSense leaves empty collapse instead of leaving holes ---- */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.elementor-widget-shortcode:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.elementor-widget-html:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.rh_woo_code_zone_content:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none !important; }

/* --- category sidebar: collapsible filter groups ----------------------- */
.widget_layered_nav .title { cursor: pointer; position: relative; padding-right: 22px; user-select: none; }
.widget_layered_nav .title::after { content: ""; position: absolute; right: 4px; top: 6px; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.widget_layered_nav.p3d-collapsed .title::after { transform: rotate(-45deg); top: 9px; }
.widget_layered_nav.p3d-collapsed > ul, .widget_layered_nav.p3d-collapsed .view-more, .widget_layered_nav.p3d-collapsed .view-less { display: none !important; }

/* --- listing header ---------------------------------------------------- */
.arc-main-title { font-size: 32px !important; font-weight: 800 !important; margin: 4px 0 10px !important; }
.woocommerce-result-count { color: var(--p3d-muted); font-style: normal !important; }
.woocommerce-ordering select { border-radius: 8px; border: 1px solid var(--p3d-line); padding: 8px 12px; }
.woocommerce-pagination ul.page-numbers li .page-numbers { border-radius: 8px; }

/* --- polish ---------------------------------------------------------------- */
/* post carousels and grids: no "0 votes / 0 comments" bars */
.re_actions_for_grid, .offer_act_enabled .re_actions_for_grid { display: none !important; }
.offer_act_enabled.col_item { padding-bottom: 12px !important; }
.offer_grid.col_item, .column_grid.col_item { border-radius: var(--p3d-radius); overflow: hidden; }
.offer_grid figure img, .column_grid figure img { border-radius: 8px; }
/* product page title */
.ce_woo_blocks .woo_bl_title h1 { font-size: 28px !important; line-height: 1.25 !important; font-weight: 800 !important; color: var(--p3d-ink); }
/* "View All Filters" as a real button */
.sidebar a[href*="filter"].elementor-button, .sidebar .viewallfilters, #rh_woo_mbl_sidebar .wpsm-button { border-radius: 999px !important; text-decoration: none !important; }
#rh_woo_mbl_sidebar aside.sidebar > a, #rh_woo_mbl_sidebar aside.sidebar .filter-toggle a { text-decoration: none !important; border-radius: 999px; }
aside.sidebar a.filter-toggle { display: block; text-align: center; background: var(--p3d-ink) !important; color: #fff !important; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px; text-decoration: none !important; margin-top: 8px; }
aside.sidebar a.filter-toggle:hover { background: var(--p3d-red) !important; }
