/*
Theme Name: Zevont Custom WooCommerce Theme
Theme URI: https://zevont.local
Author: AntiGravity Agent
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.2
Description: Pixel-accurate WooCommerce storefront theme for Zevont.
Text Domain: zevont-theme
*/

:root {
  /* Typography Tokens */
  --font-body-family: "Rethink Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body-style: normal;
  --font-body-weight: 400;
  --font-body-weight-bold: 700;
  --font-heading-family: "Rethink Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading-style: normal;
  --font-heading-weight: 400;
  --font-heading-line-height: 1.15;
  --font-button-family: "Assistant", sans-serif;
  --font-button-weight: 400;
  --font-mainmenu-family: "Assistant", sans-serif;
  --font-mainmenu-weight: 400;
  --font-h4h5h6-family: "Assistant", sans-serif;
  --font-h4h5h6-weight: 400;
  --font-price-family: "Assistant", sans-serif;
  --font-price-weight: 400;
  --font-heading-scale: 0.95;
  --font-body-scale: 1.0;

  --font-body-size: calc(16px * var(--font-body-scale));
  --font-body-line-height: 1.45;
  --font-body2-size: calc(14px * var(--font-body-scale));
  --font-body2-line-height: 1.4;
  --font-body3-size: calc(12px * var(--font-body-scale));
  --font-body3-line-height: 1.4;

  /* Color Tokens */
  --color-body-background: #FFFFFF;
  --color-secondary-background: #f0f0f0;
  --color-base: #000000;
  --color-accent: #000000;
  --color-lines: #D9D9D9;
  --color-footer-bg: #000000;
  --color-footer-lines: #444444;
  --color-footer-input-bg: #444444;
  --color-footer-input-border: #777777;
  --color-image-preloader-bg: #F5F5F5;

  /* Radii & Motion */
  --radius: 0px;
  --radius-image: 0px;
  --radius-input: 0px;
  --radius-button: 0px;
  --duration-short: 0.2s;
  --duration-medium: 0.3s;
  --duration-large: 0.5s;
  --animation-bezier: ease;
  --animation-underline-thin: 1px;

  /* Layout & Spacing */
  --page-width: 1600px;
  --padding-wide-horizontal: 20px;
  --padding-wide-horizontal-tablet: 20px;
  --page-padding: 20px;
  --page-padding-phone: 15px;
  --sections-top-spacing: 100px;
  --sections-top-spacing-mobile: 50px;
  --sections-top-spacing--medium: 80px;
  --sections-top-spacing--medium-mobile: 40px;
  --sections-top-spacing--small: 40px;
  --sections-top-spacing--small-mobile: 15px;
  --form-field-height: 40px;
}

@media (max-width: 576px) {
  :root {
    --font-heading-scale: 0.9;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  font-size: var(--font-body-size);
  line-height: var(--font-body-line-height);
  color: var(--color-base);
  background-color: var(--color-body-background);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  line-height: var(--font-heading-line-height);
  letter-spacing: 0;
  margin-top: 0;
}

h4, h5, h6, .h4, .h5, .h6 {
  font-family: var(--font-h4h5h6-family);
}

.body2 {
  font-size: var(--font-body2-size);
  line-height: var(--font-body2-line-height);
}

.body3 {
  font-size: var(--font-body3-size);
  line-height: var(--font-body3-line-height);
}

.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }

.unstyle-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clear-underline {
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}

/* Containers */
.page-width,
.page-wide {
  --grid-padding: var(--padding-wide-horizontal);
  width: 100%;
  max-width: calc(var(--page-width) + var(--grid-padding) * 2);
  margin-inline: auto;
  padding-inline: var(--grid-padding);
}

.page-wide {
  max-width: unset;
  margin-inline: unset;
}

.page-fullwidth {
  width: 100%;
}

@media (max-width: 1024px) {
  .page-width,
  .page-wide {
    --grid-padding: var(--padding-wide-horizontal-tablet);
  }
}

@media (max-width: 576px) {
  .page-width,
  .page-wide {
    --grid-padding: 15px;
    --page-padding: var(--page-padding-phone);
  }
}

/* Section Vertical Spacing */
.top-spacing-none { --s-t: 0; --s-m: 0; }
.top-spacing-small {
  --s-t: var(--sections-top-spacing--small);
  --s-m: var(--sections-top-spacing--small-mobile);
}
.top-spacing-medium {
  --s-t: var(--sections-top-spacing--medium);
  --s-m: var(--sections-top-spacing--medium-mobile);
}
.top-spacing-normal {
  --s-t: var(--sections-top-spacing);
  --s-m: var(--sections-top-spacing-mobile);
}

[class*="top-spacing-"] {
  margin-top: var(--s-t);
}

@media (max-width: 576px) {
  [class*="top-spacing-"] {
    margin-top: var(--s-m);
  }
}

/* Link & Heading Underline Animations */
.animation-underline {
  display: inline-flex;
  position: relative;
  text-decoration: none;
}

.animation-underline::before {
  content: "";
  position: absolute;
  width: 0;
  height: var(--animation-underline-thin);
  left: 0;
  top: 100%;
  background: currentColor;
  transition: width var(--duration-medium) var(--animation-bezier);
  pointer-events: none;
}

.link-hover-span {
  text-decoration: none;
}

.link-hover-span > span {
  position: relative;
  display: inline-block;
}

.link-hover-span > span::before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  left: 0;
  top: 100%;
  background: currentColor;
  transition: width var(--duration-medium) var(--animation-bezier);
}

.link-hover-span:hover > span::before {
  width: 100%;
}
