/* 11ads / Alexandras.gr — responsive Doomsday skin, scoped to the optional mode. */

/* The premiere banner lives BEFORE WoodMart's header and is always displayed. */
#wd-doom-topbar {
  position: relative;
  z-index: 100001;
  isolation: isolate;
  width: 100%;
  min-height: 58px;
  color: #efffea;
  background: #062510 url('./doom-energy.svg') center 34% / cover no-repeat;
  border-bottom: 1px solid #62d33a;
  box-shadow: inset 0 -2px 20px rgba(88, 255, 35, .18), 0 3px 15px #001b0b45;
  font-family: Arial, Helvetica, sans-serif;
}
#wd-doom-topbar * { box-sizing: border-box; }
#wd-doom-topbar .wd-doom-topbar-link {
  display: flex;
  width: min(1440px, 100%);
  min-height: 58px;
  padding: 8px clamp(14px, 3.5vw, 50px);
  margin-inline: auto;
  gap: clamp(12px, 3vw, 40px);
  align-items: center;
  justify-content: space-between;
  color: #e9ffe7 !important;
  text-decoration: none !important;
}
#wd-doom-topbar .wd-doom-topbar-link:hover { color: #fff !important; }
#wd-doom-topbar .wd-doom-topbar-link:focus-visible { outline: 3px solid #eaff8c; outline-offset: -4px; }
.wd-doom-topbar-brand {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.3;
  white-space: nowrap;
}
.wd-doom-topbar-mark { font-size: 24px; color: #93ff5d; text-shadow: 0 0 12px #51fb27; }
.wd-doom-topbar-brand small {
  width: 100%;
  margin-left: 31px;
  color: #c7f9b4;
  font-size: 9px;
  letter-spacing: .15em;
}
.wd-doom-topbar-clock {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(3px, .7vw, 9px);
  font-variant-numeric: tabular-nums;
}
.wd-doom-topbar-clock > span:not(.wd-doom-clock-colon) {
  display: flex;
  min-width: clamp(35px, 3.5vw, 54px);
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.wd-doom-topbar-clock strong {
  color: #caff92 !important;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 15px #64e51b69;
}
.wd-doom-topbar-clock small { color: #e7ffe1; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.wd-doom-clock-colon { align-self: flex-start; margin-top: 3px; font-size: 20px; color: #8df662; }
.wd-doom-topbar-cta {
  padding: 9px 14px;
  border: 1px solid #83fb56;
  border-radius: 5px;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .06em;
  white-space: nowrap;
  background: #123a1a;
  transition: background .2s;
}
.wd-doom-topbar-link:hover .wd-doom-topbar-cta { background: #327226; }
.wd-doom-topbar-cta span { padding-left: 4px; color: #a8ff70; }
#wd-doom-topbar.wd-doom-premiered .wd-doom-topbar-clock strong { color: #fff !important; }

/* Palette: atmospheric emerald behind, pale lime for navigation and commerce cards. */
html.wddoom-active {
  --wd-primary-color: var(--wddoom-neon) !important;
  --wd-link-color: #a9fa86 !important;
  --wd-link-color-hover: #daffba !important;
  --wd-title-color: #eaffdf !important;
  --wd-text-color: #e0f5d9 !important;
  --wd-border-color: #497a45 !important;
  --wd-form-brd-color: #4c8e49 !important;
  color-scheme: light;
}
html.wddoom-active body,
html.wddoom-active .website-wrapper,
html.wddoom-active .main-page-wrapper,
html.wddoom-active .site-content,
html.wddoom-active .wd-content-layout {
  background-color: #061c0d !important;
  background-image: url('./doom-energy.svg') !important;
  background-position: center top !important;
  background-repeat: repeat-y !important;
  background-size: 100% auto !important;
  color: #e6ffe1 !important;
}
html.wddoom-active :is(.whb-header, .whb-general-header, .whb-main-header, .whb-header-bottom, .whb-sticked, .whb-row, .wd-header, .wd-header-nav, .whb-top-bar) {
  background-color: #c3ff97 !important;
  background-image: linear-gradient(120deg, #cdff9f, #a4f677) !important;
  color: #0b2c15 !important;
  border-color: #87d958 !important;
}
html.wddoom-active :is(.whb-header, .whb-general-header, .whb-sticked, .whb-row, .wd-header-nav) :is(a, button, .wd-tools-text, .wd-tools-icon, .wd-nav-text, .wd-nav-opener, .wd-header-search, .wd-cart-number) {
  color: #092f14 !important;
}
html.wddoom-active .whb-row :is(.wd-nav a:hover, .wd-tools-element a:hover) { color: #39741e !important; }
html.wddoom-active .whb-top-bar, html.wddoom-active .whb-top-bar .whb-row {
  background: #103c18 !important;
  color: #eaffde !important;
}
html.wddoom-active .whb-top-bar :is(a, span, p) { color: #eaffde !important; }
html.wddoom-active .whb-logo img[data-wd-doom-logo],
html.wddoom-active .wd-logo img[data-wd-doom-logo],
html.wddoom-active img.custom-logo[data-wd-doom-logo] {
  display: block;
  width: clamp(120px, 12vw, 188px) !important;
  height: auto !important;
  max-height: 110px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 8px #4ba62759);
}
html.wddoom-active :is(.wd-dropdown, .wd-sub-menu, .wd-search-dropdown, .wd-side-hidden, .wd-popup, .wd-cookies-popup) {
  background: #d4ffb3 !important;
  color: #123b1a !important;
  border-color: #73b957 !important;
}
html.wddoom-active :is(.wd-dropdown, .wd-sub-menu, .wd-side-hidden, .wd-popup) :is(p, a, span, h2, h3, h4, li) { color: #123b1a !important; }
html.wddoom-active :is(h1, h2, h3, h4, h5, h6, .title, .wd-entities-title, .product-title, .entry-title) { color: #ddffcc !important; }
html.wddoom-active :is(p, li, .product_meta, .wd-text-block, .breadcrumbs, .wd-breadcrumbs) { color: #e0f8d8; }
html.wddoom-active :is(a:hover, .woocommerce-Price-amount) { color: #a4ff64 !important; }

/* Keep authentic furniture photos completely untouched. Frame, not tint, galleries. */
html.wddoom-active :is(.woocommerce-product-gallery, .product-images, .wd-product-gallery, .woocommerce div.product div.images) {
  border: 2px solid #6aff37;
  border-radius: 15px;
  box-shadow: 0 0 0 4px #48fd3420, 0 0 35px #52ff4166;
  overflow: hidden;
  background: #fff !important;
}
html.wddoom-active :is(.woocommerce-product-gallery img, .product-images img, .product-grid-item img, .wd-product img) { filter: none !important; }

/* WoodMart single product: pale-lime information panel, dark-forest copy. */
html.wddoom-active :is(.single-product .summary.entry-summary, .single-product .product-image-summary .summary, .single-product .summary-inner) {
  background: linear-gradient(155deg, #d5ffb2, #acfb8a) !important;
  color: #0b3518 !important;
  border: 1px solid #8cea66;
  border-radius: 16px;
  padding: clamp(18px, 2.5vw, 35px) !important;
  box-shadow: 0 15px 45px #001c0b7d, inset 0 1px #fff8;
}
html.wddoom-active :is(.single-product .summary, .single-product .summary-inner) :is(h1, h2, h3, h4, h5, h6, p, span, li, label, a, .price, .woocommerce-Price-amount, .product_meta, .stock, .wd-text-block) {
  color: #123c1c !important;
}
html.wddoom-active :is(.single-product .summary, .single-product .summary-inner) .price .amount { color: #0b2f13 !important; }
html.wddoom-active .single-product :is(.woocommerce-tabs, .wd-accordion-item, .wd-tab-wrapper) {
  background: #ccffb0 !important;
  color: #0e381b !important;
  border-radius: 12px;
  padding: 16px;
}
html.wddoom-active .single-product :is(.woocommerce-tabs, .wd-accordion-item, .wd-tab-wrapper) :is(h2, h3, h4, p, li, a, span) { color: #0e381b !important; }

/* Catalog tiles and category cards. */
html.wddoom-active :is(.product-grid-item .product-wrapper, .wd-product .product-wrapper, .wd-product .product-element-top + .product-information) {
  background: #d5ffbd !important;
  color: #103519 !important;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 26px #0009, 0 0 0 1px #72f53980;
}
html.wddoom-active :is(.product-grid-item .product-wrapper, .wd-product .product-wrapper, .wd-product .product-information) :is(.wd-entities-title, .product-title, a, .price, .woocommerce-Price-amount, span) { color: #143e1d !important; }
html.wddoom-active :is(.wd-product .product-wrapper, .product-grid-item .product-wrapper) img { background: #fff; border-radius: 7px; }

/* Buttons are neon with dark text; distinct from dark copy. */
html.wddoom-active :is(.btn, a.button, button.button, .wd-button-wrapper a, .woocommerce-button, .single_add_to_cart_button, .checkout-button, .place-order button, #place_order, .wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button, button[type=submit]):not(.wd-doom-toggle):not(#wd-doom-cinematic-close) {
  background: var(--wddoom-neon) !important;
  border: 1px solid #4eb929 !important;
  color: #082a11 !important;
  border-radius: 6px;
  font-weight: 800;
  box-shadow: 0 0 13px #69fc4566;
}
html.wddoom-active :is(.btn, a.button, button.button, .single_add_to_cart_button, .checkout-button, #place_order, .wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button, button[type=submit]):not(.wd-doom-toggle):hover {
  background: #c6ff9a !important;
  color: #082a11 !important;
}
html.wddoom-active :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), textarea, select, .select2-selection, .wc-block-components-text-input input) {
  background: #f8fff4 !important;
  border: 1px solid #68aa55 !important;
  color: #13391d !important;
}
html.wddoom-active :is(input, textarea, select):focus-visible { outline: 2px solid #227d23; outline-offset: 2px; }
html.wddoom-active input::placeholder, html.wddoom-active textarea::placeholder { color: #527657 !important; }

/* Cart, checkout, mini cart, account — preserve the real WooCommerce functionality. */
html.wddoom-active :is(.woocommerce-cart-form, .cart-collaterals, .cart_totals, .woocommerce-checkout-review-order, #order_review, .woocommerce-checkout .col2-set, .woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, .woocommerce-form-coupon, .woocommerce-form-login, .woocommerce-MyAccount-content, .wd-cart-content, .widget_shopping_cart_content, .wc-block-cart, .wc-block-checkout, .wc-block-components-sidebar, .wc-block-components-main) {
  background: #d0ffb1 !important;
  color: #10351b !important;
  border: 1px solid #85d866;
  border-radius: 12px;
  padding: clamp(14px, 2vw, 25px) !important;
  box-shadow: 0 8px 28px #04180847;
}
html.wddoom-active :is(.woocommerce-cart-form, .cart-collaterals, .cart_totals, #order_review, .woocommerce-checkout .col2-set, .woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, .woocommerce-MyAccount-content, .wd-cart-content, .widget_shopping_cart_content, .wc-block-cart, .wc-block-checkout, .wc-block-components-sidebar, .wc-block-components-main) :is(h1, h2, h3, h4, p, li, a, span, td, th, label, small, strong, .price, .amount, .woocommerce-Price-amount, .wc-block-components-formatted-money-amount) {
  color: #0d3617 !important;
}
html.wddoom-active :is(.woocommerce-cart-form, .woocommerce-checkout, .wc-block-cart, .wc-block-checkout) :is(table, th, td, .wc-block-components-order-summary-item, .wc-block-cart-items__row) { border-color: #82bb6c !important; }
html.wddoom-active :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) {
  background: #e4ffd2 !important;
  color: #103718 !important;
  border-color: #52b733 !important;
  border-radius: 9px;
}
html.wddoom-active :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) :is(a, p, span, li) { color: #123d1c !important; }
html.wddoom-active :is(.payment_box, .woocommerce-checkout-payment, #payment, .wc-block-components-radio-control__option, .wc-block-components-payment-methods) {
  background: #f1ffe7 !important;
  color: #13391d !important;
  border-color: #70b357 !important;
}
html.wddoom-active :is(.payment_box, .woocommerce-checkout-payment, #payment) :is(p, span, label, a) { color: #153f20 !important; }
/* Third-party gateway iframes are intentionally not styled or manipulated. */

html.wddoom-active :is(.footer-container, .wd-footer) {
  background: #0a2913 !important;
  color: #e0ffd5 !important;
  border-top: 2px solid #6bf334;
}
html.wddoom-active :is(.footer-container, .wd-footer) :is(h2, h3, h4, a, p, li) { color: #e0ffd5 !important; }

/* Contrast safeguards for custom WoodMart/WPBakery sections and category text.
   The JS helper marks only text whose computed foreground/background contrast is low. */
html.wddoom-active body .wd-doom-readable-on-light,
html.wddoom-active body .wd-doom-readable-on-light:is(h1,h2,h3,h4,h5,h6,p,span,strong,small,a,li,label,bdi) {
  color: #12371b !important;
  text-shadow: none !important;
}
html.wddoom-active body .wd-doom-readable-on-dark,
html.wddoom-active body .wd-doom-readable-on-dark:is(h1,h2,h3,h4,h5,h6,p,span,strong,small,a,li,label,bdi) {
  color: #f3ffeb !important;
}

/* The category description and price-filter sidebar have near-white surfaces. */
html.wddoom-active :is(.term-description, .woocommerce-products-header__description, .wd-term-desc, .wd-shop-page-content .wd-term-desc, .wd-sidebar .widget, .sidebar-container .widget, .shop-sidebar .widget) {
  color: #12381b !important;
}
html.wddoom-active :is(.term-description, .woocommerce-products-header__description, .wd-term-desc, .wd-sidebar .widget, .sidebar-container .widget, .shop-sidebar .widget) :is(h1,h2,h3,h4,h5,h6,p,span,li,small,label,strong,a) {
  color: #153c1e !important;
}

/* WoodMart uses dedicated add-to-cart wrappers, not always the .button class. */
html.wddoom-active .main-page-wrapper :is(.wd-add-btn > a, .wd-add-btn a.button, .wd-add-btn-replace > a, .wd-product .add_to_cart_button, .wd-product .product_type_simple, .wd-product .product_type_variable, .product-grid-item .add_to_cart_button, .single_add_to_cart_button, .cart .single_add_to_cart_button) {
  background: var(--wddoom-neon) !important;
  border-color: #4dbd26 !important;
  color: #082d12 !important;
  box-shadow: 0 0 12px #6bff4880;
}
html.wddoom-active .main-page-wrapper :is(.wd-add-btn > a, .wd-add-btn a.button, .wd-add-btn-replace > a, .wd-product .add_to_cart_button, .product-grid-item .add_to_cart_button, .single_add_to_cart_button) :is(span, strong, small) {
  color: #082d12 !important;
}
html.wddoom-active .main-page-wrapper :is(.wd-add-btn > a, .wd-add-btn a.button, .wd-add-btn-replace > a, .wd-product .add_to_cart_button, .single_add_to_cart_button):hover {
  background: #caff9f !important;
  color: #092e15 !important;
}

/* The same hand-drawn hooded mask can be the floating Doom trigger. */
.wd-doom-toggle { background: #0a2a11 url('./doom-energy.svg') center center / cover !important; }
.wd-doom-toggle-icon { box-shadow: 0 0 17px #76ff55a8, inset 0 0 12px #0004; }

/* Compact circular switch: fixed at bottom-center throughout scrolling. */
.wd-doom-ui .wd-doom-toggle {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px)) !important;
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  height: 68px !important;
  min-height: 68px !important;
  padding: 0 !important;
  gap: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 50% !important;
  transform: translateX(-50%);
}
.wd-doom-ui .wd-doom-toggle:hover { transform: translate(-50%, -3px); }
.wd-doom-ui .wd-doom-toggle .wd-doom-toggle-label,
.wd-doom-ui .wd-doom-toggle .wd-doom-toggle-x { display: none !important; }
.wd-doom-ui .wd-doom-toggle .wd-doom-toggle-icon,
html.wddoom-active .wd-doom-ui .wd-doom-toggle .wd-doom-toggle-icon {
  display: grid !important;
  place-items: center !important;
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px;
  border-radius: 50%;
}
.wd-doom-ui .wd-doom-toggle .wd-doom-toggle-icon svg { width: 43px; height: 43px; }
html.wddoom-active .wd-doom-ui .wd-doom-toggle {
  border-color: #c5ff9b !important;
  box-shadow: 0 0 0 3px #4eff3c70, 0 0 32px #7cff43b3, 0 7px 24px #000a;
}

@media (max-width: 900px) {
  #wd-doom-topbar .wd-doom-topbar-link { gap: 10px; padding-inline: 12px; }
  .wd-doom-topbar-cta { display: none; }
  .wd-doom-topbar-brand { font-size: 11px; }
}
@media (max-width: 600px) {
	.wd-doom-ui .wd-doom-toggle {
    left: 50% !important;
    right: auto !important;
    bottom: max(15px, calc(env(safe-area-inset-bottom, 0px) + 10px)) !important;
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    height: 60px !important;
    min-height: 60px !important;
  }
	.wd-doom-ui .wd-doom-toggle .wd-doom-toggle-icon,
  html.wddoom-active .wd-doom-ui .wd-doom-toggle .wd-doom-toggle-icon {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px;
  }
	.wd-doom-ui .wd-doom-toggle .wd-doom-toggle-icon svg { width: 39px; height: 39px; }
  #wd-doom-topbar .wd-doom-topbar-link {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    min-height: 86px;
    padding: 7px 8px 9px;
  }
  .wd-doom-topbar-brand { width: 100%; justify-content: center; font-size: 11px; }
  .wd-doom-topbar-brand small { width: auto; margin-left: 0; font-size: 9px; }
  .wd-doom-topbar-mark { font-size: 16px; }
  .wd-doom-topbar-clock { gap: 6px; }
  .wd-doom-topbar-clock > span:not(.wd-doom-clock-colon) { min-width: 40px; }
  .wd-doom-topbar-clock strong { font-size: 20px; }
  .wd-doom-topbar-clock small { font-size: 7px; }
  html.wddoom-active .whb-logo img[data-wd-doom-logo],
  html.wddoom-active .wd-logo img[data-wd-doom-logo],
  html.wddoom-active img.custom-logo[data-wd-doom-logo] { width: 125px !important; max-height: 72px !important; }
  html.wddoom-active :is(.single-product .summary.entry-summary, .single-product .product-image-summary .summary, .single-product .summary-inner) { padding: 16px !important; }
  html.wddoom-active :is(.woocommerce-cart-form, .cart-collaterals, .cart_totals, .woocommerce-checkout-review-order, #order_review, .woocommerce-checkout .col2-set, .wc-block-cart, .wc-block-checkout) { padding: 12px !important; }
}
@media (max-width: 380px) {
  .wd-doom-topbar-brand { font-size: 10px; }
  .wd-doom-topbar-brand small { font-size: 8px; }
  .wd-doom-topbar-clock { gap: 3px; }
  .wd-doom-topbar-clock > span:not(.wd-doom-clock-colon) { min-width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  #wd-doom-topbar *, html.wddoom-active .wd-doom-toggle { transition: none !important; animation: none !important; }
}
