@charset "UTF-8";
/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
:root {
  --tm-primary: #111184; /* CI primary — dark blue */
  --tm-primary-600: #1c1ca0; /* hover */
  --tm-primary-800: #0c0c5f; /* active / dark */
  --tm-secondary: #999b9b; /* CI secondary — metallic silver */
  --tm-accent: #f5a623; /* solar gold — warm accent */
  --tm-accent-600: #e0921a; /* accent hover */
  --tm-ink: #14152b; /* body text */
  --tm-muted: #63657a; /* secondary text */
  --tm-border: #e3e4ec;
  --tm-surface: #f6f7fb; /* light section background */
  --tm-radius: 6px;
  --tm-font: "Inter", -apple-system, "Helvetica Neue", "Segoe UI", "Noto Sans Thai", sans-serif;
}

body {
  font-family: var(--tm-font);
  color: var(--tm-ink);
}

a {
  color: var(--tm-primary);
}
a:hover {
  color: var(--tm-primary-600);
}

button,
input[type=button],
input[type=submit],
.button,
.added_to_cart,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: var(--tm-primary);
  color: #fff;
  border-radius: var(--tm-radius);
  border: none;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

button:hover,
.button:hover,
.added_to_cart:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--tm-primary-600);
  color: #fff;
}

.wp-block-button__link.wp-element-button {
  background-color: var(--tm-primary);
  color: #fff;
  border-radius: var(--tm-radius);
  border: none;
  font-weight: 600;
  transition: background-color 0.15s ease;
}
.wp-block-button__link.wp-element-button:hover {
  background-color: var(--tm-primary-600);
  color: #fff;
}

/* Prices */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
  color: var(--tm-primary);
  font-weight: 700;
}

/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.tm-topbar {
  background: var(--tm-primary-800);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}
.tm-topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 1.5em;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.tm-topbar__label {
  color: rgba(255, 255, 255, 0.65);
  margin-right: auto;
}
.tm-topbar__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tm-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  line-height: 1;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.tm-topbar__link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.tm-topbar__icon {
  flex: 0 0 auto;
  display: block;
}

@media (max-width: 480px) {
  .tm-topbar__label {
    display: none;
  }
  .tm-topbar__inner {
    justify-content: center;
  }
}
#site-header-cart .cart-contents {
  display: inline-block;
  transform-origin: center;
}

/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
#masthead.site-header {
  background: #fff;
  border-bottom: 1px solid var(--tm-border);
  padding-bottom: 0;
}
#masthead.site-header > .col-full {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
#masthead.site-header .site-branding {
  float: none;
  width: auto;
  margin: 0;
  flex: 0 0 auto;
  order: 1;
}
#masthead.site-header .site-branding .site-title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
}
#masthead.site-header .site-branding .site-title a {
  color: var(--tm-primary);
}
#masthead.site-header .site-branding .site-description {
  margin: 0;
  font-size: 0.8rem;
  color: var(--tm-muted);
}
#masthead.site-header .site-branding img {
  display: block;
  max-height: 56px;
  width: auto;
}
#masthead.site-header .site-search {
  display: block;
  float: none;
  clear: none;
  width: auto;
  margin: 0;
  flex: 1 1 100%;
  min-width: 0;
  order: 3;
  font-size: 1rem;
}
#masthead.site-header .site-search .widget {
  margin: 0;
}
#masthead.site-header .site-search form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--tm-surface);
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  padding: 0.1rem 0.35rem 0.1rem 0.9rem;
}
#masthead.site-header .site-search form:focus-within {
  border-color: var(--tm-primary);
}
#masthead.site-header .site-search form::before {
  content: none;
}
#masthead.site-header .site-search input[type=search],
#masthead.site-header .site-search input[type=text] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.6rem 0;
  line-height: 1.3;
}
#masthead.site-header .site-search input[type=search]:focus,
#masthead.site-header .site-search input[type=text]:focus {
  outline: 0;
}
#masthead.site-header .site-search button[type=submit] {
  flex: 0 0 auto;
  position: static;
  clip: auto;
  clip-path: none;
  overflow: visible;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  line-height: 1;
  background: var(--tm-primary);
  color: #fff;
}
#masthead.site-header .site-search button[type=submit]:hover {
  background: var(--tm-primary-600);
}
#masthead.site-header .tm-header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex: 0 0 auto;
  order: 2;
}
#masthead.site-header .tm-header-actions__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  color: var(--tm-primary);
  transition: background-color 0.15s ease, color 0.15s ease;
}
#masthead.site-header .tm-header-actions__link:hover, #masthead.site-header .tm-header-actions__link:focus {
  background: var(--tm-surface);
  color: var(--tm-primary-600);
}
#masthead.site-header .tm-header-actions__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--tm-accent);
  color: var(--tm-ink);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
#masthead.site-header .site-header-cart {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
#masthead.site-header .site-header-cart > li {
  display: flex;
  margin: 0;
}
#masthead.site-header .site-header-cart .cart-contents {
  display: inline-flex;
  padding: 0;
}
#masthead.site-header .site-header-cart .cart-contents::after {
  content: none;
}
#masthead.site-header .site-header-cart .widget_shopping_cart {
  width: 320px;
  max-width: calc(100vw - 2em);
  left: auto;
  right: -999em;
}
#masthead.site-header .site-header-cart:hover .widget_shopping_cart, #masthead.site-header .site-header-cart.focus .widget_shopping_cart {
  left: auto;
  right: 0;
}

#masthead .storefront-primary-navigation {
  background: #fff;
  border-top: 1px solid var(--tm-border);
}
#masthead .storefront-primary-navigation .main-navigation {
  float: none;
  clear: none;
  width: 100%;
  margin: 0;
}

@media (min-width: 768px) {
  #masthead.site-header .site-search {
    flex: 1 1 240px;
    order: 2;
    max-width: 520px;
  }
  #masthead.site-header .tm-header-actions {
    order: 3;
  }
  #masthead .storefront-primary-navigation .main-navigation ul.menu,
  #masthead .storefront-primary-navigation .main-navigation ul.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
  }
  #masthead .storefront-primary-navigation .main-navigation ul.menu ul,
  #masthead .storefront-primary-navigation .main-navigation ul.nav-menu ul {
    display: block;
  }
  #masthead .storefront-primary-navigation .main-navigation ul.menu > li > a,
  #masthead .storefront-primary-navigation .main-navigation ul.nav-menu > li > a {
    padding: 0.9em 1em;
  }
}
@media (max-width: 767px) {
  #masthead.site-header .site-branding .site-description {
    display: none;
  }
  #masthead .storefront-primary-navigation button.menu-toggle {
    float: none;
    display: block;
    margin: 0.5rem auto;
    border-color: var(--tm-border);
    border-radius: 999px;
    color: var(--tm-primary);
  }
  #masthead .storefront-primary-navigation .handheld-navigation ul.menu > li {
    text-align: center;
  }
  #masthead .storefront-primary-navigation .handheld-navigation ul.menu > li + li {
    border-top: 1px solid var(--tm-border);
  }
  #masthead .storefront-primary-navigation .handheld-navigation ul.menu > li > a {
    padding: 0.9em 1em;
  }
}
.tm-fullbleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

.home #masthead.site-header {
  margin-bottom: 0;
}

.tm-hero {
  background-color: var(--tm-primary-800);
  background-image: url("assets/hero-solar.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  position: relative;
  overflow: hidden;
}
.tm-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 12, 95, 0.9) 0%, rgba(17, 17, 132, 0.62) 55%, rgba(17, 17, 132, 0.32) 100%);
  pointer-events: none;
}
.tm-hero .tm-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5em;
  box-sizing: border-box;
}
.tm-hero__title {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  max-width: 24ch;
}
.tm-hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

.tm-hero .button,
.woocommerce .tm-hero a.button {
  background: var(--tm-accent);
  color: var(--tm-primary-800);
}
.tm-hero .button:hover,
.woocommerce .tm-hero a.button:hover {
  background: var(--tm-accent-600);
  color: var(--tm-primary-800);
}

.tm-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.tm-section .tm-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5em;
  box-sizing: border-box;
}
.tm-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.75rem;
}
.tm-section__title {
  color: var(--tm-ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  padding-bottom: 0.6rem;
  position: relative;
}
.tm-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 4px;
  border-radius: 2px;
  background: var(--tm-accent);
}
.tm-section__more {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.tm-brands {
  background: #fff;
  overflow: hidden;
}
.tm-brands .tm-inner {
  margin-bottom: 0.5rem;
}

.tm-section__head--center {
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}
.tm-section__head--center .tm-section__title::after {
  left: 50%;
  transform: translateX(-50%);
}

.tm-brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.tm-brand-marquee:hover .tm-brand-marquee__viewport {
  animation-play-state: paused;
}
.tm-brand-marquee__viewport {
  display: flex;
  width: max-content;
  animation: tm-brand-scroll 45s linear infinite;
}

.tm-brand-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.5rem 0.75rem;
  list-style: none;
}

.tm-brand-item {
  margin: 0;
  flex: 0 0 auto;
}
.tm-brand-item__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 84px;
  padding: 0.55rem 1.1rem;
  box-sizing: border-box;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.tm-brand-item__link:hover {
  transform: translateY(-2px);
  opacity: 0.75;
}
.tm-brand-item__logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes tm-brand-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tm-brand-marquee {
    overflow-x: auto;
  }
  .tm-brand-marquee__viewport {
    animation: none;
  }
}
@media (max-width: 480px) {
  .tm-brand-item__link {
    width: 150px;
    height: 70px;
  }
}
/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.tm-promotion {
  background: var(--tm-surface);
}

.tm-promotion__content {
  background: #fff;
  border-radius: 12px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.tm-promotion__content > *:first-child {
  margin-top: 0;
}
.tm-promotion__content > *:last-child {
  margin-bottom: 0;
}
.tm-promotion__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.tm-promotion__content a {
  color: var(--tm-primary);
}

/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.tm-promo-archive__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.tm-promo-archive__header .page-title {
  margin-bottom: 0.5rem;
}

.tm-promo-archive__lede {
  color: var(--tm-muted);
  font-size: 1.05rem;
  margin: 0;
}

.tm-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.tm-promo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tm-promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--tm-primary);
  box-shadow: 0 12px 28px rgba(17, 17, 132, 0.13);
}

.tm-promo-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tm-promo-card__body > *:first-child {
  margin-top: 0;
}
.tm-promo-card__body .wp-block-image,
.tm-promo-card__body .wp-block-media-text__media {
  margin: 0;
}
.tm-promo-card__body .wp-block-image img,
.tm-promo-card__body .wp-block-media-text__media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.tm-promo-card__body .wp-block-heading {
  margin: 1.1rem 1.25rem 0;
  font-size: 1.15rem;
  color: var(--tm-ink);
}
.tm-promo-card__body p {
  margin: 0.6rem 1.25rem 0;
  color: var(--tm-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.tm-promo-card__body .wp-block-buttons {
  margin: 1rem 1.25rem 1.25rem;
  margin-top: auto;
  padding-top: 1rem;
}
.tm-promo-card__body .wp-block-media-text {
  display: flex !important;
  flex-direction: column;
  flex: 1;
}
.tm-promo-card__body .wp-block-media-text .wp-block-media-text__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}

.tm-promo-card__footer {
  padding: 0 1.25rem 1.25rem;
}

.tm-promo-card__details {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}
.tm-promo-card__details:hover, .tm-promo-card__details:focus {
  color: var(--tm-primary-600);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .tm-promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .tm-promo-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
.tm-promotion-post .storefront-breadcrumb {
  margin-bottom: 1.75rem;
}
.tm-promotion-post .entry-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
}
.tm-promotion-post .entry-title {
  margin-bottom: 0;
}

/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.tm-categories {
  background: var(--tm-surface);
}

.tm-cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.tm-cat-card {
  margin: 0;
}
.tm-cat-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.tm-cat-card__link:hover {
  border-color: var(--tm-primary);
  box-shadow: 0 8px 24px rgba(17, 17, 132, 0.12);
  transform: translateY(-3px);
  color: inherit;
}
.tm-cat-card__media {
  display: block;
  aspect-ratio: 4/3;
  background: #f4f5fa;
  overflow: hidden;
}
.tm-cat-card__media .tm-cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.tm-cat-card__link:hover .tm-cat-card__img {
  transform: scale(1.04);
}
.tm-cat-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 17, 132, 0.08) 0%, rgba(153, 155, 155, 0.12) 100%);
}
.tm-cat-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem 1rem;
}
.tm-cat-card__name {
  font-weight: 700;
  color: var(--tm-ink);
  line-height: 1.3;
}
.tm-cat-card__count {
  font-size: 0.85rem;
  color: var(--tm-muted);
}

@media (max-width: 480px) {
  .tm-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}
.tm-products--alt {
  background: var(--tm-surface);
}

.tm-products .woocommerce {
  width: 100%;
}

/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}
.woocommerce ul.products.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.woocommerce ul.products.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.woocommerce ul.products.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
.woocommerce ul.products.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}
.woocommerce ul.products.columns-6 {
  grid-template-columns: repeat(6, 1fr);
}
.woocommerce ul.products::before, .woocommerce ul.products::after {
  display: none;
  content: none;
}
.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 0;
  float: none !important;
  clear: none !important;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: var(--tm-primary);
  box-shadow: 0 12px 28px rgba(17, 17, 132, 0.13);
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.woocommerce ul.products li.product img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #fff;
  padding: 14px;
  box-sizing: border-box;
  margin: 0 0 0.75rem;
  border-bottom: 1px solid var(--tm-border);
  transition: transform 0.25s ease;
}
.woocommerce ul.products li.product:hover img {
  transform: scale(1.04);
}
.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  margin: 0;
  min-height: 0;
  min-width: 0;
  line-height: 1.5;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--tm-accent);
  color: var(--tm-primary-800);
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 1rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tm-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.52em;
}
.woocommerce ul.products li.product .price {
  padding: 0 1rem;
  margin: 0.5rem 0 0;
  color: var(--tm-primary);
  font-weight: 700;
  font-size: 1.05rem;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--tm-primary);
  font-weight: 700;
}
.woocommerce ul.products li.product .price del {
  margin-right: 0.4rem;
  color: var(--tm-secondary);
  font-weight: 400;
  font-size: 0.85rem;
}
.woocommerce ul.products li.product .star-rating {
  display: none;
}
.woocommerce ul.products li.product .button {
  display: block;
  width: auto;
  text-align: center;
  font-weight: 500;
  border-radius: var(--tm-radius);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  margin: 0.9rem 1rem 1.1rem;
  background: #fff;
  color: var(--tm-primary);
  border: 1px solid var(--tm-primary);
  position: relative;
  z-index: 2;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--tm-primary);
  color: #fff;
}
.woocommerce ul.products li.product .added_to_cart {
  position: absolute;
  left: 50%;
  top: calc(100% - 2.35rem);
  transform: translateX(-50%);
  z-index: 1;
  box-sizing: border-box;
  margin: 0;
  width: calc(100% - 3rem);
  height: 0.5rem;
  padding: 0 0.75rem 0.35rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  background: var(--tm-surface);
  color: var(--tm-primary);
  border: 1px solid var(--tm-border);
  border-radius: 0 0 var(--tm-radius) var(--tm-radius);
  box-shadow: 0 8px 14px rgba(20, 21, 43, 0.16);
  transition: height 0.3s ease;
  font-size: 0.85rem;
}
.woocommerce ul.products li.product .added_to_cart:hover {
  background: var(--tm-primary);
  color: #fff;
  border-color: var(--tm-primary);
}
.woocommerce ul.products li.product .added_to_cart.is-visible {
  height: 3.3rem;
}

@media (max-width: 900px) {
  .woocommerce ul.products,
  .woocommerce ul.products[class*=columns-] {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .woocommerce ul.products,
  .woocommerce ul.products[class*=columns-] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header,
.woocommerce-account .entry-header {
  text-align: left;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 1.4159em !important;
}
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title {
  text-align: left;
}

.woocommerce-customer-details address {
  padding: 1em 1.25em;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  background: var(--tm-surface);
}

/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.tm-contact-page {
  padding: 0 0 4.5rem;
}
.tm-contact-page__inner {
  max-width: 960px;
  margin: 0 auto;
}
.tm-contact-page__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}
.tm-contact-page__header h1 {
  margin: 0 0 0.75rem;
  color: var(--tm-primary-800);
}
.tm-contact-page__lead {
  margin: 0;
  color: var(--tm-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.tm-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.tm-contact-grid .tm-contact-card--address {
  grid-column: 1/-1;
}

.tm-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  color: var(--tm-ink);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.tm-contact-card[href]:hover {
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(17, 17, 132, 0.13);
  transform: translateY(-2px);
}
.tm-contact-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--tm-surface);
  color: var(--tm-primary);
}
.tm-contact-card__glyph {
  width: 22px;
  height: 22px;
}
.tm-contact-card--line .tm-contact-card__glyph, .tm-contact-card--facebook .tm-contact-card__glyph {
  width: 26px;
  height: 26px;
}
.tm-contact-card__body {
  min-width: 0;
}
.tm-contact-card__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--tm-muted);
  margin-bottom: 0.25rem;
}
.tm-contact-card__value {
  display: block;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
  word-break: break-word;
}
.tm-contact-card__value strong {
  font-weight: 700;
}
.tm-contact-card[href] .tm-contact-card__value {
  color: var(--tm-primary-800);
}

@media (max-width: 600px) {
  .tm-contact-grid {
    grid-template-columns: 1fr;
  }
  .tm-contact-grid .tm-contact-card--address {
    grid-column: auto;
  }
}
/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.site-info {
  text-align: center;
}

.tm-footer-contact {
  padding: 1.75rem 0 0.5rem;
}
.tm-footer-contact__channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
}
.tm-footer-contact__channels li {
  margin: 0;
}
.tm-footer-contact__channels a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--tm-ink);
  text-decoration: none;
  transition: color 0.18s ease;
}
.tm-footer-contact__channels a:hover {
  color: var(--tm-primary);
}
.tm-footer-contact__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tm-primary);
}
.tm-footer-contact__glyph {
  width: 20px;
  height: 20px;
}
.tm-footer-contact__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}
.tm-footer-contact__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--tm-muted);
}
.tm-footer-contact__value {
  font-weight: 600;
}

@media (max-width: 600px) {
  .tm-footer-contact__channels {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
/*!
Theme Name: Tera Material
Theme URI: https://example.com/tera-material
Description: Storefront child theme for the Tera Material store (solar & electrical equipment). Clean starting scaffold — brand palette dark blue #111184 + metallic silver #999B9B, built up incrementally.
Author: Tera
Author URI: https://example.com
Template: storefront
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tera-material
Tags: e-commerce, woocommerce, storefront-child
*/
.tera-payment-notify {
  max-width: 820px;
  margin: 0 auto 4.5rem;
}
.tera-payment-notify__empty {
  padding: 1.25rem 1.5rem;
  background: var(--tm-surface);
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  color: var(--tm-muted);
}
.tera-payment-notify__form {
  padding: 2rem 2.25rem 2.25rem;
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(17, 17, 132, 0.06);
}
.tera-payment-notify__intro {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--tm-border);
}
.tera-payment-notify__title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  color: var(--tm-primary-800);
}
.tera-payment-notify__lead {
  margin: 0;
  color: var(--tm-muted);
  line-height: 1.7;
}
.tera-payment-notify__section {
  margin-bottom: 1.75rem;
}
.tera-payment-notify__section:last-of-type {
  margin-bottom: 0;
}
.tera-payment-notify__section-title {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tm-primary);
}
.tera-payment-notify__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
}
.tera-payment-notify__field {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  margin: 0;
}
.tera-payment-notify__field--wide {
  grid-column: 1/-1;
}
.tera-payment-notify__field label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--tm-ink);
}
.tera-payment-notify__field abbr.required {
  color: var(--tm-accent-600);
  border: 0;
  text-decoration: none;
}
.tera-payment-notify__hint {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--tm-muted);
}
.tera-payment-notify input[type=text],
.tera-payment-notify input[type=email],
.tera-payment-notify input:not([type]),
.tera-payment-notify select,
.tera-payment-notify textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  color: var(--tm-ink);
  font-family: var(--tm-font);
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.tera-payment-notify input[type=text]:focus,
.tera-payment-notify input[type=email]:focus,
.tera-payment-notify input:not([type]):focus,
.tera-payment-notify select:focus,
.tera-payment-notify textarea:focus {
  outline: 0;
  border-color: var(--tm-primary);
  box-shadow: 0 0 0 3px rgba(17, 17, 132, 0.12);
}
.tera-payment-notify input[type=text][readonly],
.tera-payment-notify input[type=email][readonly],
.tera-payment-notify input:not([type])[readonly],
.tera-payment-notify select[readonly],
.tera-payment-notify textarea[readonly] {
  background: var(--tm-surface);
  color: var(--tm-muted);
  cursor: default;
}
.tera-payment-notify input[type=text][readonly]:focus,
.tera-payment-notify input[type=email][readonly]:focus,
.tera-payment-notify input:not([type])[readonly]:focus,
.tera-payment-notify select[readonly]:focus,
.tera-payment-notify textarea[readonly]:focus {
  border-color: var(--tm-border);
  box-shadow: none;
}
.tera-payment-notify textarea {
  min-height: 7rem;
  resize: vertical;
}
.tera-payment-notify select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2363657a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
}
.tera-payment-notify__input-group {
  display: flex;
  align-items: stretch;
}
.tera-payment-notify__input-group .tera-payment-notify__amount {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.tera-payment-notify__unit {
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
  background: var(--tm-surface);
  border: 1px solid var(--tm-border);
  border-left: 0;
  border-radius: 0 var(--tm-radius) var(--tm-radius) 0;
  color: var(--tm-muted);
  font-weight: 600;
  white-space: nowrap;
}
.tera-payment-notify input[type=file] {
  width: 100%;
  padding: 0.55rem 0.85rem;
  background: var(--tm-surface);
  border: 1px dashed var(--tm-border);
  border-radius: var(--tm-radius);
  font-size: 0.92rem;
  cursor: pointer;
}
.tera-payment-notify input[type=file]::file-selector-button {
  margin-right: 0.85rem;
  padding: 0.4rem 0.9rem;
  background: var(--tm-primary);
  border: 0;
  border-radius: var(--tm-radius);
  color: #fff;
  font-family: var(--tm-font);
  font-weight: 600;
  cursor: pointer;
}
.tera-payment-notify input[type=file]:hover::file-selector-button {
  background: var(--tm-primary-600);
}
.tera-payment-notify input[type=file]:focus-visible {
  outline: 0;
  border-color: var(--tm-primary);
  box-shadow: 0 0 0 3px rgba(17, 17, 132, 0.12);
}
.tera-payment-notify__preview img {
  display: block;
  max-width: 220px;
  max-height: 160px;
  margin-top: 0.5rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  object-fit: contain;
}
.tera-payment-notify__preview a {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  word-break: break-all;
}
.tera-payment-notify__switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--tm-surface);
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  font-weight: 600;
  cursor: pointer;
}
.tera-payment-notify__switch input[type=checkbox] {
  width: auto;
  margin: 0;
  accent-color: var(--tm-primary);
}
.tera-payment-notify__tax {
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--tm-surface);
  border: 1px solid var(--tm-border);
  border-radius: 12px;
}
.tera-payment-notify__tax[hidden] {
  display: none;
}
.tera-payment-notify__actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tm-border);
}
.tera-payment-notify__actions .button {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background-color: var(--tm-primary);
  border: none;
  border-radius: var(--tm-radius);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}
.tera-payment-notify__actions .button:hover {
  background-color: var(--tm-primary-600);
  color: #fff;
}
.tera-payment-notify__actions .button:disabled {
  background-color: var(--tm-secondary);
  cursor: not-allowed;
}

.tera-payment-notify__history {
  margin-top: 2.5rem;
}
.tera-payment-notify__history h2 {
  font-size: 1.15rem;
  color: var(--tm-primary-800);
}
.tera-payment-notify__history ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tera-payment-notify__history li {
  padding: 0.75rem 1rem;
  background: var(--tm-surface);
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  color: var(--tm-ink);
  font-size: 0.93rem;
}
.tera-payment-notify__history li + li {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .tera-payment-notify__form {
    padding: 1.5rem 1.25rem;
  }
  .tera-payment-notify__grid {
    grid-template-columns: 1fr;
  }
  .tera-payment-notify__title {
    font-size: 1.35rem;
  }
}
