/*----------HEADER----------*/

.ti-header.ti-transparent-header {
    background-color: transparent;
    border: none;
    height: 77px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

body.has-transparent-header {
    padding-top: 0;
}

.ti-transparent-header .ti-logo-circle  {
    padding-top: 2px;
}

.ti-header {
    height: 80px;
    display: flex;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--ti-ldm-background-color-primary-primarydark);
    border-bottom: var(--ti-border);
}

body.admin-bar .ti-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .ti-header {
        top: 46px;
    }
}

.ti-header-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

@media(max-width: 767px) {
    .ti-header-container {
        padding: 0 10px;
    }
}

.ti-header-logo-container {
    display: flex;
    width: 20%;
}

@media(max-width: 1366px) {
    .ti-header-logo-container {
        width: 100%;
    }
}

.ti-header-menu-container {
    display: flex;
    width: 60%;
    justify-content: center;
}

@media(max-width: 1366px) {
    .ti-header-menu-container {
        width: auto;
    }
}

.ti-header-buttons-container {
    display: flex;
    width: 20%;
    justify-content: flex-end;
}

@media(max-width: 1366px) {
    .ti-header-buttons-container {
        min-width: 150px;
        width: 150px;
    }
}

/*----------TI LOGO----------*/

.ti-logo-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
}

.ti-logo-link a:hover {
    text-decoration: none;
}

.ti-logo-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    margin: 0;
    padding-top: 1px;
    font-size: 22px;
    font-family: var(--ti-font-family-secondary);
    font-weight: 600;
    color: var(--ti-color-white);
    border-radius: 50%;
    border: var(--ti-border);
}

.ti-logo-title {
    display: block;
    font-size: 13px;
    font-family: var(--ti-font-family-secondary);
    font-weight: 600;
    margin-left: 5px;
    padding-top: 2px;
    line-height: 16px;
    color: var(--ti-color-white);
}

@media (max-width: 430px) {
    .ti-logo-title {
        display: none;
    }
}

/*----------LIGHT DARK MODE----------*/

#light-dark-mode-button {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    margin-left: 5px;
}

#light-dark-mode-button[data-mode="dark"] {
    background-color: var(--ti-color-secondary);
    color: var(--ti-color-black);
}

#light-dark-mode-button[data-mode="light"] {
    background-color: var(--ti-color-black);
    color: var(--ti-color-secondary);
}

@media (min-width: 1367px) { 
    #light-dark-mode-button[data-mode="light"]:hover {
        background-color: var(--ti-hover-color-black);
    }
    
    #light-dark-mode-button[data-mode="dark"]:hover {
        background-color: var(--ti-hover-color-secondary);
    }
}

.ti-light-mode-icon {
    color: var(--ti-color-secondary);
    font-size: 24px;
}

.ti-dark-mode-icon {
    color: var(--ti-color-black);
    font-size: 24px;
    border: none;
}

/*----------SP BUTTON----------*/

.ti-sp-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    font-size: 21px;
    color: var(--ti-color-black);
    background-color: var(--ti-color-secondary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    margin-left: 5px;
}

.ti-sp-button:hover {
    background-color: var(--ti-hover-color-secondary);
}

/*----------CART BUTTON----------*/

.ti-cart-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    color: var(--ti-color-black);
    background-color: var(--ti-color-secondary);
    border-radius: 50%;
    border: var(--ti-border);
    cursor: pointer;
    margin-left: 5px;
}

.ti-cart-button:hover {
    color: var(--ti-color-black);
    background-color: var(--ti-hover-color-secondary);
    border-color: var(--ti-hover-color-secondary);
}

.ti-cart-icon {
    position: relative;
    margin-right: 3px;
    font-size: 22px;
}

.ti-cart-item-count {
    display: flex;
    align-items: center;
    justify-content: center;  
    position: absolute;
    top: -1px;
    right: -5px;
    background-color: var(--ti-color-black);
    color: var(--ti-color-white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    width: 15px;
    height: 15px;
}

/*----------FOOTER----------*/

.ti-footer {
    height: 80px;
    display: flex;
    width: 100%;
    background-color: var(--ti-ldm-background-color-primary-primarydark);
    border-top: var(--ti-border);
}

.ti-footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

@media(max-width: 767px) {
    .ti-footer-container {
        padding: 0 5px;
    }
}

.ti-footer-left-container {
    display: flex;
    width: auto;
    margin-right: 10px;
}

.ti-footer-center-container {
    display: flex;
    width: auto;
}

.ti-footer-right-container {
    display: flex;
    width: auto;
    margin-left: 10px;
}

.ti-footer-nav {
  position: relative;
}

.ti-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ti-footer-nav a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ti-color-white);
  font-weight: 600;
  font-size: var(--ti-font-size-paragraph);
  position: relative;
  margin: 0;
  padding: 0;
}

.ti-footer-nav a:hover {
  text-decoration: underline;
  color: var(--ti-color-white);
}
