/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Bestendealz redesign — WPVibe draft only */
:root {
  --bd-ink: #101828;
  --bd-muted: #667085;
  --bd-line: #e7eaf0;
  --bd-bg: #f7f8fb;
  --bd-card: #ffffff;
  --bd-accent: #e63b44;
  --bd-accent-dark: #c92f38;
  --bd-soft: #fff3f4;
  --bd-radius: 18px;
  --bd-shadow: 0 10px 30px rgba(16, 24, 40, .08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bd-bg);
  color: var(--bd-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.elementor-heading-title {
  color: var(--bd-ink);
  letter-spacing: -0.025em;
}

a {
  text-underline-offset: 3px;
}

/* Header */
#header {
  position: relative;
  z-index: 50;
}

#header [data-row="middle"] {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid var(--bd-line);
  box-shadow: 0 3px 18px rgba(16, 24, 40, .05);
  backdrop-filter: blur(12px);
}

#header [data-row="middle"] > .ct-container {
  min-height: 74px;
}

.site-logo-container img {
  max-height: 40px !important;
  width: auto !important;
  object-fit: contain;
}

.header-menu-1 .menu > li > a {
  color: var(--bd-ink) !important;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.header-menu-1 .menu > li > a:hover,
.header-menu-1 .menu > li.current-menu-item > a {
  color: var(--bd-accent) !important;
}

.header-menu-1 .sub-menu {
  border: 1px solid var(--bd-line);
  border-radius: 14px;
  box-shadow: var(--bd-shadow);
  overflow: hidden;
}

/* Redundant/incorrect current CTA hidden in draft */
.ct-header-cta {
  display: none !important;
}

/* Homepage hero */
.elementor-element-360be16 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(230, 59, 68, .22), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(78, 115, 223, .18), transparent 34%),
    linear-gradient(145deg, #0b1220 0%, #111c30 52%, #0d1525 100%) !important;
  padding: 118px 24px 108px !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.elementor-element-360be16 .elementor-background-overlay {
  display: none !important;
}

.elementor-element-360be16 .elementor-container {
  max-width: 1080px !important;
}

.elementor-element-360be16 .elementor-widget-wrap {
  text-align: center;
}

.elementor-element-360be16 h1 {
  max-width: 900px;
  margin: 0 auto 24px !important;
  color: #ffffff !important;
  font-size: clamp(42px, 5.6vw, 76px) !important;
  line-height: 1.01 !important;
  font-weight: 820 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}

.elementor-element-360be16 .elementor-widget-text-editor p {
  max-width: 720px;
  margin: 0 auto 38px !important;
  color: #c7d0df !important;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.elementor-element-360be16 .elementor-button {
  min-width: 170px;
  padding: 15px 24px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.elementor-element-360be16 .elementor-element-5222a3d .elementor-button {
  background: var(--bd-accent) !important;
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(230, 59, 68, .22);
}

.elementor-element-360be16 .elementor-element-6453be5 .elementor-button {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px);
}

.elementor-element-360be16 .elementor-button:hover {
  transform: translateY(-2px);
}

/* Remove legacy spacer + unsupported trust/stat/promo blocks in preview */
.elementor-element-4dcc7164,
.elementor-element-90c24fe,
.elementor-element-c7765d8,
.elementor-element-470b1c2,
.elementor-element-7423e6c,
.elementor-element-c40a91d,
.elementor-element-ebd8228,
.elementor-element-f98eb3b {
  display: none !important;
}

/* Homepage categories */
.elementor-element-00a8fe2 {
  background: #fff !important;
  padding: 76px 24px 86px !important;
}

.elementor-element-00a8fe2 > .elementor-container {
  max-width: 1180px !important;
}

.elementor-element-00a8fe2 .elementor-element-ddcb43c h2 {
  font-size: clamp(30px, 4vw, 46px) !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
}

.elementor-element-00a8fe2 .elementor-element-f1367a6 p {
  color: var(--bd-muted);
  max-width: 720px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.elementor-element-00a8fe2 .elementor-widget-image-box .elementor-image-box-wrapper {
  background: var(--bd-card);
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-radius);
  overflow: hidden;
  box-shadow: 0 7px 22px rgba(16, 24, 40, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.elementor-element-00a8fe2 .elementor-widget-image-box .elementor-image-box-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--bd-shadow);
}

.elementor-element-00a8fe2 .elementor-image-box-img {
  margin: 0 !important;
  overflow: hidden;
}

.elementor-element-00a8fe2 .elementor-image-box-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.elementor-element-00a8fe2 .elementor-image-box-wrapper:hover img {
  transform: scale(1.035);
}

.elementor-element-00a8fe2 .elementor-image-box-content {
  padding: 18px 18px 20px;
}

.elementor-element-00a8fe2 .elementor-image-box-title {
  font-size: 18px !important;
  margin: 0 !important;
  font-weight: 750 !important;
}

/* Product review archives/cards */
.entries[data-layout="grid"] {
  gap: 28px !important;
}

.entry-card.blc-product-review {
  position: relative;
  background: var(--bd-card) !important;
  border: 1px solid var(--bd-line) !important;
  border-radius: var(--bd-radius) !important;
  overflow: hidden;
  box-shadow: 0 7px 22px rgba(16, 24, 40, .055) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.entry-card.blc-product-review:hover {
  transform: translateY(-4px);
  border-color: #d7dce5 !important;
  box-shadow: var(--bd-shadow) !important;
}

.entry-card.blc-product-review .ct-media-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 22px !important;
  min-height: 270px;
  border-bottom: 1px solid var(--bd-line);
}

.entry-card.blc-product-review .ct-media-container img {
  width: 100% !important;
  height: 235px !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  transition: transform .28s ease;
}

.entry-card.blc-product-review:hover .ct-media-container img {
  transform: scale(1.025);
}

.entry-card.blc-product-review .ct-overall-score-layer {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  width: auto !important;
  margin: 18px 22px 4px !important;
  padding: 7px 10px !important;
  background: var(--bd-soft);
  border: 1px solid #ffdadd;
  border-radius: 999px;
  color: var(--bd-ink);
  font-size: 12px;
  font-weight: 700;
}

.entry-card.blc-product-review .ct-score-label {
  color: var(--bd-muted);
}

.entry-card.blc-product-review .entry-title {
  margin: 12px 22px 8px !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  font-weight: 780 !important;
}

.entry-card.blc-product-review .entry-title a {
  color: var(--bd-ink) !important;
}

.entry-card.blc-product-review .entry-title a:hover {
  color: var(--bd-accent) !important;
}

.entry-card.blc-product-review .entry-excerpt {
  margin: 0 22px 16px !important;
  color: var(--bd-muted);
  font-size: 14px;
  line-height: 1.62;
}

.entry-card.blc-product-review .entry-meta {
  margin: auto 22px 20px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--bd-line);
  color: #8a94a6 !important;
  font-size: 12px !important;
}

.entry-card.blc-product-review .meta-categories a {
  color: var(--bd-accent) !important;
  font-weight: 650;
}

/* Generic archive/page polish */
.hero-section {
  background: #fff;
  border-bottom: 1px solid var(--bd-line);
}

.hero-section .page-title,
.hero-section h1 {
  font-weight: 800 !important;
  letter-spacing: -.035em;
}

.ct-container {
  max-width: 1180px;
}

/* Footer */
#footer [data-row="middle"] {
  background: #101828 !important;
  color: #d0d5dd;
  padding-top: 58px;
  padding-bottom: 44px;
}

#footer [data-row="middle"] a {
  color: #eaecf0 !important;
}

#footer [data-row="middle"] a:hover {
  color: #fff !important;
}

#footer .widget-title {
  color: #fff !important;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .01em;
}

#footer .widget_media_image img {
  max-width: 220px !important;
  height: auto !important;
}

#footer .wp-element-caption {
  color: #98a2b3;
  font-size: 13px;
  max-width: 270px;
}

/* Current incorrect phone/email block hidden in draft */
#footer #text-7 {
  display: none !important;
}

#footer [data-row="bottom"] {
  background: #0b1220 !important;
  border-top: 1px solid rgba(255,255,255,.08);
}

#footer .ct-footer-copyright {
  color: #98a2b3;
  font-size: 13px;
}

/* Buttons site-wide */
.elementor-button,
.ct-button,
button,
input[type="submit"] {
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 999px) {
  #header [data-row="middle"] > .ct-container {
    min-height: 64px;
  }

  .site-logo-container img {
    max-height: 34px !important;
  }

  .elementor-element-360be16 {
    padding: 72px 18px 66px !important;
  }

  .elementor-element-360be16 h1 {
    font-size: clamp(36px, 10vw, 52px) !important;
  }

  .elementor-element-00a8fe2 {
    padding: 58px 18px 66px !important;
  }

  .entry-card.blc-product-review .ct-media-container {
    min-height: 230px;
  }

  .entry-card.blc-product-review .ct-media-container img {
    height: 205px !important;
  }
}

@media (max-width: 767px) {
  .elementor-element-360be16 .elementor-button {
    width: 100%;
    max-width: 320px;
  }

  .entry-card.blc-product-review .entry-title {
    font-size: 19px !important;
  }

  #footer [data-row="middle"] {
    padding-top: 42px;
    padding-bottom: 32px;
  }
}
