@charset "UTF-8";

:root {
    /* colors */
    --lttrshop-text-color: #000000;
    --lttrshop-highlight-color: #0077ff;
    --lttrshop-half-highlight-color: #0077ff11;
    --lttrshop-background-color: #ffffff;
    --lttrshop-side-color: #fafafa;
    --lttrshop-stroke-color: #e8e8e8;
    --lttrshop-error-color: #ff4400;
    --lttrshop-half-error-color: #ff440011;
    --lttrshop-half-text-color: rgba(0, 0, 0, 0.5);
}

:root {
    /* s optical corrections */
    font-variant-ligatures: common-ligatures historical-ligatures;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.2s;
    /* dimensions and spacing variables */
    --unit: 0.01vw;
    /* jednotka: vw, px, em	*/
    --const: 20;
    /* breakpoint konštanta mení sa pri break pointoch	*/
    --size: calc( var(--unit) * var(--const));
    /* veľkosť unit prepočítaný breakpoint konštantou */
    --line: calc(25 * var(--size));
    /* spacing */
    --lttrshop-space-xs: calc(7 * var(--size));
    --lttrshop-space-s: calc(15 * var(--size));
    --lttrshop-space-m: calc(20 * var(--size));
    --lttrshop-space-l: calc(30 * var(--size));
    --lttrshop-space-xl: calc(40 * var(--size));
    --lttrshop-space-xxl: calc(60 * var(--size));
    --lttrshop-space-xxxl: calc(90 * var(--size));
    --page-padding: 0 3vw;
    /* typography */
    --lttrshop-txt-xs: calc(0.55 * var(--line));
    --lttrshop-txt-s: calc(0.7 * var(--line));
    --lttrshop-txt-m: calc(0.8 * var(--line));
    --lttrshop-txt-l: calc(0.95 * var(--line));
    --lttrshop-txt-xl: calc(1.2 * var(--line));
    --lttrshop-txt-xxl: calc(1.44 * var(--line));
    --lttrshop-txt-xxxl: calc(1.8 * var(--line));
    --lttrshop-txt-icon: calc(1 * var(--line)); /* Icons are compatible with text with line height of this size or bigger */
    --lttrshop-font-family-normal: 'lttrshop-seller-font-normal', 'Inter', sans-serif;
    --lttrshop-font-weight-normal: normal;
    --lttrshop-font-family-bold: 'lttrshop-seller-font-bold', 'lttrshop-seller-font-normal', 'Inter', sans-serif;
    --lttrshop-font-weight-bold: bold;
    --lttrshop-font-family-icons: 'lttrshop-seller-font-icons', 'lttrshop-default-font-icons', 'Inter', sans-serif;
    --lttrshop-font-weight-icons: normal;
    --lttrshop-font-family-lttrshop-logo: 'lttrshop-logo-font', 'lttrshop-seller-font-normal', 'Inter', sans-serif;
    --lttrshop-font-weight-lttrshop-logo: normal;
    /* line-heights */
    --lttrshop-line-xs: calc(0.75 * var(--line));
    --lttrshop-line-s: calc(1.00 * var(--line));
    --lttrshop-line-m: calc(1.00 * var(--line));
    --lttrshop-line-l: calc(1.25 * var(--line));
    --lttrshop-line-xl: calc(1.25 * var(--line));
    --lttrshop-line-xxl: calc(1.50 * var(--line));
    --lttrshop-line-xxxl: calc(2.0 * var(--line));
    /* radius */
    --input-radius-l: calc(6 * var(--size));
    --input-radius-xl: calc(8 * var(--size));
    --input-radius-xxl: calc(20 * var(--size));
    /* border line */
    --outline: calc(0.05 * var(--line));
    /* input checkout size */
    --checkbox-size: calc(23 * var(--size));
    /* arrows */
    --lttrshop-expand-arrow-size: calc(24 * var(--size));
    /* opacity */
    --alpha: 0.2;
    --beta: 0.6;
    --gamma: 0.75;
    /* input number size */
    --number-width: calc(45 * var(--size));
    --number-height: calc(35 * var(--size));
    /* billing label left position */
    --billing-label-left: calc(1.5 * var(--size));
    /*header logo*/
    --header-logo-size: calc(4.7 * var(--line));
    /*spinner*/
    --spinner-height: calc(17 * var(--size));
    --spinner-width: calc(15 * var(--size));
    --spinner-slice-width: calc(2.5 * var(--size));
    --spinner-slice-height: calc(6 * var(--size));
    --spinner-slice-left-position: calc(0 * var(--size));
    --spinner-slice-top-position: calc(17 * var(--size));
    --spinner-transform-x: calc(1 * var(--size));
    --spinner-transform-y: calc(13 * var(--size));
    /*position line details to checkboxes around*/
    --lttrshop-select-articles-details-line-position: calc(var(--checkbox-size) / 2 - (var(--outline) / 2));
    --lttrshop-select-articles-details-line-top-position: calc(48 * var(--size));
}

html {
  height: 100%;
  width: 100%;
  font-size: 100%;
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

*::before {
  box-sizing: inherit;
}

*::after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header header aside" "main main aside" "footer footer footer";
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0;
  background-color: var(--lttrshop-background-color);
  color: var(--lttrshop-text-color);
  font-family: var(--lttrshop-font-family-normal);
  font-weight: var(--lttrshop-font-weight-normal);
}

header {
  grid-area: header;
}

main {
  grid-area: main;
}

aside {
  grid-area: aside;
}

footer {
  grid-area: footer;
}

ul {
  padding-left: var(--lttrshop-space-m);
}

a {
  text-decoration: none;
}

a > *:hover {
    opacity: var(--gamma);
}

summary::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

@media screen and (max-width: 799px) {
  body {
    grid-template-areas: "header" "main" "aside" "footer" "sticky";
    grid-template-columns: 1fr;
    padding: 0;
    margin: 0;
    height: 100vw;
  }
  :root {
    --page-padding: 0 4vw;
  }
}

@media screen and (min-width: 800px) and (max-width: 900px) {
  body {
    grid-template-areas: "header aside" "main aside" "footer footer";
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 350px) {
  :root {
    --const: 19;
  }
}

@media screen and (min-width: 400px) {
  :root {
    --const: 18;
  }
}

@media screen and (min-width: 450px) {
  :root {
    --const: 17;
  }
}

@media screen and (min-width: 500px) {
  :root {
    --const: 16;
  }
}

@media screen and (min-width: 550px) {
  :root {
    --const: 14.1;
  }
}

@media screen and (min-width: 600px) {
  :root {
    --const: 12.7;
  }
}

@media screen and (min-width: 700px) {
  :root {
    --const: 11;
  }
}

@media screen and (min-width: 800px) {
  :root {
    --const: 9.6;
  }
}

@media screen and (min-width: 900px) {
  :root {
    --const: 8.5;
  }
}

@media (min-width: 1000px) {
  :root {
    --const: 7.7;
  }
}

@media (min-width: 1100px) {
  :root {
    --const: 6.9;
  }
}

@media screen and (min-width: 1200px) {
  :root {
    --const: 6.4;
  }
}

@media (min-width: 1300px) {
  :root {
    --const: 5.7;
  }
}

@media (min-width: 1400px) {
  :root {
    --const: 5.4;
  }
}

@media (min-width: 1500px) {
  :root {
    --const: 5.1;
  }
}

@media (min-width: 1600px) {
  :root {
    --const: 4.8;
  }
}

@media (min-width: 1700px) {
  :root {
    --const: 4.5;
  }
}

@media (min-width: 1800px) {
  :root {
    --const: 4.2;
  }
}

@font-face {
    font-family: 'lttrshop-default-font-icons';
    src: url('../font/LTTRSHOP-Icons-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'lttrshop-logo-font';
    src: url('../font/SKTTypeOneDisplay-Bold.woff2') format('woff2');
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
