/* ELETRICAL — 3C store visual layer
   palette: ink #10141c / navy #0f1b2d / accent #0e7490 / cyan #06b6d4 */

:root{
  --el-ink:#10141c;
  --el-ink-soft:#4b5563;
  --el-ink-faint:#9ca3af;
  --el-bg:#f6f7f9;
  --el-card:#ffffff;
  --el-line:#e5e7eb;
  --el-navy:#0f1b2d;
  --el-navy-2:#16263d;
  --el-accent:#0e7490;
  --el-cyan:#06b6d4;
  --el-gold:#f59e0b;
  --el-radius:14px;
  --el-ease:cubic-bezier(.22,.61,.36,1);
}

body.elec-theme{
  font-family:"Inter","Segoe UI","Helvetica Neue",Arial,sans-serif;
  background:var(--el-bg);
  color:var(--el-ink);
  -webkit-font-smoothing:antialiased;
}

/* ---------- typography ---------- */
body.elec-theme h1,
body.elec-theme h2,
body.elec-theme h3{
  font-family:"Inter",sans-serif;
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--el-ink);
}

/* ---------- header ---------- */
body.elec-theme .wp-block-template-part header,
body.elec-theme header.wp-block-template-part{
  background:var(--el-navy);
}
body.elec-theme header a,
body.elec-theme header .wp-block-navigation-item__content,
body.elec-theme header .wp-block-site-title a{
  color:#e8eef6 !important;
}
body.elec-theme header .wp-block-navigation-item__content:hover{
  color:var(--el-cyan) !important;
}

/* ---------- full-bleed breakout (theme constrains content width) ---------- */
body.elec-theme .el-hero,
body.elec-theme .el-trust,
body.elec-theme .el-section,
body.elec-theme .el-cta{
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  box-sizing:border-box;
}
body.elec-theme{ overflow-x:hidden; }

/* the front page starts flush with the header */
body.home main.wp-block-group{ margin-top:0 !important; }
body.home main > .wp-block-group:first-child{ padding-top:0 !important; }

/* hide the page title on the front page only */
body.home .wp-block-post-title{ display:none !important; }

/* ---------- hero ---------- */
.el-hero{
  position:relative;
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
  background-color:var(--el-navy);
  padding:112px 0 104px;
  overflow:hidden;
}
.el-hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(10,17,28,.94) 0%,rgba(10,17,28,.80) 42%,rgba(10,17,28,.30) 78%,rgba(10,17,28,.12) 100%);
}
.el-hero__inner{
  position:relative;
  z-index:1;
  max-width:1240px;
  margin:0 auto;
  padding:0 28px;
}
.el-hero__copy{ max-width:600px; }
.el-hero__eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#7dd3fc;
  border:1px solid rgba(125,211,252,.4);
  border-radius:999px;
  padding:6px 14px;
  margin-bottom:22px;
}
body.elec-theme .el-hero__title{
  font-size:50px;
  line-height:1.08;
  color:#ffffff;
  margin:0 0 20px;
  letter-spacing:-.025em;
}
body.elec-theme .el-hero__title em{ color:#67e8f9; font-style:normal; }
body.elec-theme .el-hero__sub{ color:#c3d3e6; }
.el-hero__title em{
  font-style:normal;
  color:#67e8f9;
}
.el-hero__sub{
  font-size:16.5px;
  line-height:1.65;
  color:#c3d3e6;
  margin:0 0 30px;
  max-width:520px;
}
.el-hero__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.el-btn{
  display:inline-block;
  padding:14px 26px;
  border-radius:10px;
  font-size:14.5px;
  font-weight:600;
  text-decoration:none;
  transition:all .25s var(--el-ease);
  border:1px solid transparent;
}
.el-btn--primary{ background:#06b6d4; color:#04222b; }
.el-btn--primary:hover{ background:#67e8f9; transform:translateY(-1px); }
.el-btn--ghost{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.35);
}
.el-btn--ghost:hover{ border-color:#67e8f9; color:#67e8f9; }
.el-hero__media img{
  width:100%;
  border-radius:var(--el-radius);
  display:block;
}
@media (max-width:900px){
  .el-hero{ padding:76px 0 70px; background-position:center; }
  .el-hero__overlay{ background:linear-gradient(180deg,rgba(10,17,28,.90) 0%,rgba(10,17,28,.86) 100%); }
  .el-hero__title{ font-size:33px; }
  .el-hero__sub{ font-size:15px; }
}

/* ---------- trust strip ---------- */
.el-trust{
  background:#fff;
  border-bottom:1px solid var(--el-line);
}
.el-trust__inner{
  max-width:1240px;
  margin:0 auto;
  padding:26px 28px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.el-trust__item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  font-size:13.5px;
  line-height:1.45;
}
.el-trust__item svg{
  flex:0 0 auto;
  width:22px;
  height:22px;
  stroke:var(--el-accent);
  fill:none;
  stroke-width:1.6;
}
.el-trust__item b{ display:block; font-weight:600; }
.el-trust__item span{ color:var(--el-ink-soft); }
@media (max-width:820px){ .el-trust__inner{ grid-template-columns:repeat(2,1fr); } }

/* ---------- section shell ---------- */
.el-section{
  max-width:1240px;
  margin:0 auto;
  padding:64px 28px;
}
.el-section--tight{ padding:52px 28px; }
.el-section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
}
.el-section__title{
  font-size:27px;
  margin:0 0 6px;
}
.el-section__desc{
  color:var(--el-ink-soft);
  font-size:14.5px;
  margin:0;
}
.el-section__link{
  font-size:13.5px;
  font-weight:600;
  color:var(--el-accent);
  text-decoration:none;
  white-space:nowrap;
}
.el-section__link:hover{ color:var(--el-cyan); }

/* ---------- category cards ---------- */
.el-cats{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
}
.el-cat{
  display:block;
  background:var(--el-card);
  border:1px solid var(--el-line);
  border-radius:var(--el-radius);
  padding:24px 16px;
  text-align:center;
  text-decoration:none;
  transition:all .28s var(--el-ease);
}
.el-cat:hover{
  background:var(--el-navy);
  border-color:var(--el-navy);
  transform:translateY(-3px);
}
.el-cat svg{
  width:30px;
  height:30px;
  stroke:var(--el-accent);
  fill:none;
  stroke-width:1.5;
  margin-bottom:12px;
}
.el-cat:hover svg{ stroke:#67e8f9; }
.el-cat__name{
  font-size:13.5px;
  font-weight:600;
  color:var(--el-ink);
  line-height:1.3;
}
.el-cat:hover .el-cat__name{ color:#fff; }
.el-cat__count{
  display:block;
  margin-top:4px;
  font-size:11.5px;
  color:var(--el-ink-faint);
}
.el-cat:hover .el-cat__count{ color:#8fb4d4; }
@media (max-width:1000px){ .el-cats{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px){ .el-cats{ grid-template-columns:repeat(2,1fr); } }

/* ---------- product grid ---------- */
body.elec-theme .woocommerce ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  margin:0;
  padding:0;
  list-style:none;
}
body.elec-theme .woocommerce ul.products::before,
body.elec-theme .woocommerce ul.products::after{ display:none; }
body.elec-theme .woocommerce ul.products li.product{
  width:100% !important;
  float:none !important;
  margin:0 !important;
  background:var(--el-card);
  border:1px solid var(--el-line);
  border-radius:var(--el-radius);
  padding:0 0 18px;
  overflow:hidden;
  transition:all .28s var(--el-ease);
}
body.elec-theme .woocommerce ul.products li.product:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(16,20,28,.10);
}
body.elec-theme .woocommerce ul.products li.product img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  margin:0 !important;
  display:block;
  background:#fff;
}
body.elec-theme .woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:14.5px !important;
  font-weight:600;
  line-height:1.4;
  padding:16px 16px 0 !important;
  margin:0 0 8px !important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:40px;
}
body.elec-theme .woocommerce ul.products li.product .price{
  padding:0 16px !important;
  margin:0 0 14px !important;
  font-size:15px !important;
  font-weight:700;
  color:var(--el-accent) !important;
}
body.elec-theme .woocommerce ul.products li.product .price del{ color:var(--el-ink-faint); font-weight:400; }
body.elec-theme .woocommerce ul.products li.product .price ins{ color:var(--el-accent); text-decoration:none; }
body.elec-theme .woocommerce ul.products li.product .button{
  margin:0 16px !important;
  width:calc(100% - 32px);
  padding:12px 10px !important;
  background:var(--el-navy) !important;
  color:#fff !important;
  border:none !important;
  border-radius:9px;
  font-size:13.5px;
  font-weight:600;
}
body.elec-theme .woocommerce ul.products li.product .button:hover{
  background:var(--el-accent) !important;
}
body.elec-theme .woocommerce ul.products li.product .onsale{
  background:var(--el-gold) !important;
  color:#3a2600 !important;
  border-radius:6px;
  font-size:11px;
  font-weight:700;
  margin:12px 0 0 12px !important;
}
@media (max-width:1000px){ body.elec-theme .woocommerce ul.products{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ body.elec-theme .woocommerce ul.products{ grid-template-columns:1fr; } }

/* product collection block (block theme: shop / category pages) */
body.elec-theme ul.wc-block-product-template,
body.elec-theme .wc-block-product-template{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:22px !important;
  list-style:none;
  margin:0 !important;
  padding:0 !important;
}
body.elec-theme ul.wc-block-product-template > li.wc-block-product{
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  background:var(--el-card);
  border:1px solid var(--el-line);
  border-radius:var(--el-radius);
  padding:0 0 18px;
  overflow:hidden;
  transition:all .28s var(--el-ease);
}
body.elec-theme ul.wc-block-product-template > li.wc-block-product:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(16,20,28,.10);
}
body.elec-theme li.wc-block-product .wc-block-components-product-image{
  margin:0 !important;
  border-radius:0;
}
body.elec-theme li.wc-block-product .wc-block-components-product-image img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:0 !important;
  display:block;
}
body.elec-theme li.wc-block-product .wc-block-components-product-name{
  font-size:14.5px !important;
  font-weight:600;
  line-height:1.4;
  padding:16px 16px 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:56px;
  text-align:left;
}
body.elec-theme li.wc-block-product .wc-block-components-product-price{
  font-weight:700;
  font-size:15px !important;
  color:var(--el-accent) !important;
  padding:0 16px;
  margin:8px 0 14px;
  text-align:left;
  display:block;
}
body.elec-theme li.wc-block-product .wc-block-components-product-price del{
  color:var(--el-ink-faint);
  font-weight:400;
  font-size:13px;
}
body.elec-theme li.wc-block-product .wc-block-components-product-price ins{
  text-decoration:none;
}
body.elec-theme li.wc-block-product .wc-block-components-product-button,
body.elec-theme li.wc-block-product .wp-block-button{
  padding:0 16px;
  margin:0;
  text-align:left;
}
body.elec-theme li.wc-block-product .wc-block-components-product-button__button,
body.elec-theme li.wc-block-product .wp-block-button__link{
  width:100%;
  background:var(--el-navy) !important;
  color:#fff !important;
  border:none !important;
  border-radius:9px !important;
  padding:12px 10px !important;
  font-size:13.5px !important;
  font-weight:600;
  text-align:center;
}
body.elec-theme li.wc-block-product .wc-block-components-product-button__button:hover,
body.elec-theme li.wc-block-product .wp-block-button__link:hover{
  background:var(--el-accent) !important;
}
body.elec-theme li.wc-block-product .wc-block-components-product-sale-badge{
  background:var(--el-gold) !important;
  color:#3a2600 !important;
  border-radius:6px !important;
  font-size:11px !important;
  font-weight:700;
  margin:12px 12px 0 0 !important;
}
@media (max-width:1000px){
  body.elec-theme ul.wc-block-product-template{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:560px){
  body.elec-theme ul.wc-block-product-template{ grid-template-columns:1fr !important; }
}
body.elec-theme .wc-block-components-button,
body.elec-theme .wp-block-button__link{
  background:var(--el-navy) !important;
  color:#fff !important;
  border-radius:9px !important;
  font-weight:600;
}
body.elec-theme .wc-block-components-button:hover,
body.elec-theme .wp-block-button__link:hover{
  background:var(--el-accent) !important;
}

/* single product */
body.elec-theme .woocommerce div.product .summary .price{
  color:var(--el-accent);
  font-size:26px;
  font-weight:700;
}
body.elec-theme .woocommerce div.product .single_add_to_cart_button{
  background:var(--el-navy) !important;
  border-radius:10px;
  font-weight:600;
}
body.elec-theme .woocommerce div.product .single_add_to_cart_button:hover{
  background:var(--el-accent) !important;
}

/* ---------- checkout / cart ---------- */
body.elec-theme .woocommerce-checkout #payment,
body.elec-theme .woocommerce-cart .cart_totals{
  border-radius:var(--el-radius);
  border:1px solid var(--el-line);
  background:#fff;
}
body.elec-theme .woocommerce #respond input#submit,
body.elec-theme .woocommerce a.button,
body.elec-theme .woocommerce button.button,
body.elec-theme .woocommerce input.button{
  background:var(--el-navy);
  color:#fff;
  border-radius:9px;
  font-weight:600;
}
body.elec-theme .woocommerce #respond input#submit:hover,
body.elec-theme .woocommerce a.button:hover,
body.elec-theme .woocommerce button.button:hover,
body.elec-theme .woocommerce input.button:hover{
  background:var(--el-accent);
  color:#fff;
}
body.elec-theme #place_order{
  background:var(--el-accent) !important;
  font-size:16px;
  padding:16px !important;
  border-radius:10px;
}
body.elec-theme #place_order:hover{ background:var(--el-cyan) !important; color:#04222b !important; }

/* ---------- bottom CTA ---------- */
.el-cta{
  background:var(--el-navy);
  color:#fff;
  padding:64px 28px;
  text-align:center;
}
.el-cta__inner{ max-width:720px; margin:0 auto; }
.el-cta h2{ color:#fff; font-size:30px; margin:0 0 12px; }
.el-cta p{ color:#b7c7da; font-size:15px; margin:0 0 26px; }
.el-cta .el-btn{ margin:0 6px; }

/* ---------- misc ---------- */
body.elec-theme .home .wp-block-post-title{ display:none; }
body.elec-theme footer.wp-block-template-part{
  background:transparent !important;
  color:inherit;
  padding:0 !important;
  margin:0 !important;
}

/* ---------- footer ---------- */
.el-footer{
  background:var(--el-navy);
  color:#c3d3e6;
  padding:56px 28px 0;
}
.el-footer__inner{
  max-width:1240px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.15fr 1.6fr;
  gap:56px;
  padding-bottom:40px;
}
.el-footer__logo{
  font-size:20px;
  font-weight:800;
  letter-spacing:.22em;
  color:#fff;
  margin-bottom:14px;
}
.el-footer__brand p{
  font-size:13.5px;
  line-height:1.65;
  color:#8fa4bd;
  margin:0;
  max-width:340px;
}
.el-footer__cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}
.el-footer__cols h4{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#fff;
  margin:0 0 16px;
  font-weight:700;
}
.el-footer__cols a{
  display:block;
  font-size:13.5px;
  color:#8fa4bd !important;
  text-decoration:none;
  padding:5px 0;
  transition:color .2s ease;
}
.el-footer__cols a:hover{ color:var(--el-cyan) !important; }
.el-footer__bottom{
  max-width:1240px;
  margin:0 auto;
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0 22px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:12px;
  color:#6f849c;
}
@media (max-width:900px){
  .el-footer__inner{ grid-template-columns:1fr; gap:36px; }
  .el-footer__cols{ grid-template-columns:repeat(2,1fr); gap:24px; }
}
