/*
Theme Name: Storefront Tech Child
Theme URI: https://example.com/
Description: Child theme base para WooCommerce/Storefront con estética ecommerce tech.
Author: Flor
Template: storefront
Version: 1.0.1
Text Domain: storefront-tech-child
*/

:root {
  --stc-accent: #12c7c9;
  --stc-accent-dark: #0ea5a8;
  --stc-dark: #222222;
  --stc-dark-2: #2d2d2d;
  --stc-text: #333333;
  --stc-muted: #6b7280;
  --stc-bg: #f5f7f9;
  --stc-border: #e5e7eb;
  --stc-white: #ffffff;
  --stc-radius: 14px;
  --stc-shadow: 0 10px 30px rgba(0,0,0,.08);
}

body {
  background: var(--stc-bg);
  color: var(--stc-text);
}

.site {
  overflow-x: clip;
}

.site-content {
  padding-top: 0;
}

.site-header {
  background: var(--stc-white);
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.stc-topbar {
  background: var(--stc-dark);
  color: rgba(255,255,255,.9);
  font-size: 14px;
}

.stc-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.stc-topbar .stc-container,
.stc-header-main .stc-container,
.stc-main-nav .stc-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.stc-topbar .stc-container {
  min-height: 42px;
}

.stc-topbar a {
  color: inherit;
  text-decoration: none;
}

.stc-topbar-left,
.stc-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stc-header-main {
  background: var(--stc-white);
  padding: 18px 0;
}

.stc-branding {
  min-width: 220px;
}

.stc-branding .site-title,
.stc-branding p.site-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
}

.stc-branding .site-title a,
.stc-branding p.site-title a {
  color: var(--stc-dark);
  text-decoration: none;
}

.stc-branding .site-description {
  margin: 4px 0 0;
  color: var(--stc-muted);
  font-size: 13px;
}

.stc-search {
  flex: 1;
}

.stc-search form,
.stc-search .woocommerce-product-search {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  background: var(--stc-white);
  border: 2px solid var(--stc-accent);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--stc-shadow);
}

.stc-search label {
  display: none;
}

.stc-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 14px 18px;
  font-size: 15px;
  background: transparent;
}

.stc-search button,
.stc-hero__content .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button,
input[type="button"],
input[type="submit"] {
  background: var(--stc-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
}

.stc-search button {
  margin: 0;
  padding: 14px 24px;
  font-weight: 700;
  border-radius: 0;
}

.stc-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stc-header-actions a {
  text-decoration: none;
  color: var(--stc-dark);
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid var(--stc-border);
  border-radius: 999px;
  background: var(--stc-white);
}

.stc-main-nav {
  background: var(--stc-white);
  border-top: 1px solid var(--stc-border);
  border-bottom: 1px solid var(--stc-border);
}

.stc-main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  overflow-x: auto;
}

.stc-main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  text-decoration: none;
  color: var(--stc-dark);
  font-weight: 700;
  white-space: nowrap;
}

.stc-hero {
  padding: 26px 0 8px;
}

.stc-hero__wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  background: linear-gradient(135deg, #13c5c7 0%, #10b5c2 52%, #0891b2 100%);
  color: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--stc-shadow);
}

.stc-hero__content {
  padding: 56px 48px;
}

.stc-hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stc-hero__title {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  font-weight: 800;
}

.stc-hero__text {
  max-width: 580px;
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}

.stc-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.stc-hero__badges li {
  padding: 10px 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-weight: 700;
}

.stc-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stc-hero__actions .button.alt {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
}

.stc-hero__visual {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 26%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.22), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
}

.stc-device-card {
  position: absolute;
  background: rgba(255,255,255,.94);
  color: var(--stc-dark);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.stc-device-card--large {
  inset: 68px 54px 58px 92px;
  padding: 24px;
}

.stc-device-card--small {
  right: 36px;
  bottom: 28px;
  width: 180px;
  padding: 18px;
}

.stc-device-screen {
  height: 100%;
  min-height: 260px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #dbeafe 100%);
  border: 1px solid #dbe6ef;
  position: relative;
  overflow: hidden;
}

.stc-device-screen::before,
.stc-device-screen::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.stc-device-screen::before {
  width: 140px;
  height: 140px;
  background: rgba(18,199,201,.18);
  top: 24px;
  right: 24px;
}

.stc-device-screen::after {
  width: 220px;
  height: 14px;
  background: rgba(17,24,39,.12);
  left: 24px;
  bottom: 38px;
  box-shadow: 0 -28px 0 rgba(17,24,39,.08), 0 -56px 0 rgba(17,24,39,.06);
}

.stc-home-products {
  padding: 26px 0 50px;
}

.storefront-breadcrumb,
.site-search,
.secondary-navigation,
.storefront-handheld-footer-bar,
.site-info,
.site-branding,
.site-header-cart,
.main-navigation,
.col-full > .site-branding,
.col-full > .site-search,
.col-full > .site-header-cart,
.col-full > .menu,
.col-full > .main-navigation,
.page-template-template-homepage .type-page.has-post-thumbnail .entry-title {
  display: none !important;
}

.col-full,
.content-area,
.widget-area,
.site-main {
  width: 100%;
  max-width: 100%;
  float: none;
}

.hentry,
.page .entry-content,
.site-main > .type-page {
  margin-bottom: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--stc-white);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--stc-shadow);
}

.woocommerce ul.products li.product .button {
  width: 100%;
  text-align: center;
}

@media (max-width: 980px) {
  .stc-header-main .stc-container,
  .stc-topbar .stc-container {
    flex-wrap: wrap;
  }

  .stc-branding,
  .stc-search,
  .stc-header-actions {
    width: 100%;
  }

  .stc-header-actions {
    justify-content: flex-start;
  }

  .stc-hero__wrap {
    grid-template-columns: 1fr;
  }

  .stc-hero__content {
    padding: 34px 24px;
  }

  .stc-hero__visual {
    min-height: 280px;
  }

  .stc-device-card--large {
    inset: 34px 26px 44px 34px;
  }
}

@media (max-width: 640px) {
  .stc-topbar-left,
  .stc-topbar-right,
  .stc-header-actions,
  .stc-hero__actions {
    flex-wrap: wrap;
  }

  .stc-main-nav ul {
    gap: 16px;
  }

  .stc-hero__title {
    font-size: 32px;
  }
}
