.terms,
.cookie,
.return,
.disclaimer,
.refund,
.privacy {
  text-align: left;
  padding: 15rem 0;
}
/* Base styles */
:root {
    --primary-color: #4551B5;
    --secondary-color: #CFFE91;
    --text-color: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --black: #000000;
    --gray-bg: #F5F5F5;
    --dark-footer: #1A1A1A;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: rgba(246, 247, 249, 1);
}

img {
    max-width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header styles */
.site-header {
    background-color: rgba(54, 77, 175, 1);
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo a {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.8rem;
    color: #fff;
}

.logo img {
    height: 3rem;
    margin-right: 1rem;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 2.5rem;
}

.main-nav a {
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    text-decoration: underline;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5rem;
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: #B9E577;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #B9E577;
}

.btn-cookie-accept {
    background-color: var(--secondary-color);
    color: var(--text-color);
    width: 100%;
    margin-bottom: 1rem;
}

.btn-cookie-refuse {
    background-color: var(--secondary-color);
    color: var(--text-color);
    width: 100%;
    margin-bottom: 1rem;
}

.btn-cookie-accept:hover {
    background-color: #B9E577;
}

.btn-cookie-refuse:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero section */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 0;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    min-width: 30rem;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 5.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.hero-image {
    flex: 1;
    min-width: 30rem;
    display: flex;
    justify-content: center;
}

/* Features section */
.features {
    padding: 8rem 0;
}

.features h2 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 5rem;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.feature-card {
    flex: 1;
    min-width: 25rem;
    max-width: 35rem;
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Story section */
.story {
    padding: 8rem 0;
    background-color: var(--gray-bg);
}

.story .container {
  background-color: #fff;
  padding: 4rem;
  border-radius: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.story-content {
    flex: 2;
    min-width: 30rem;
    padding-right: 5rem;
}

.story h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.story p {
    margin-bottom: 2rem;
}

.story-image {
    flex: 1;
    min-width: 25rem;
}

/* Credentials section */
.credentials {
    padding: 8rem 0;
}

.credentials h2 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 5rem;
}

.credentials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.credential-card {
    flex: 1;
    min-width: 25rem;
    max-width: 35rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.8rem;
}

.credential-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* FAQ section */
.faq {
    padding: 8rem 0;
}

.faq h2 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 5rem;
}

.faq-item {
  padding: 2rem;
  margin-bottom: 3rem;
  background-color: #fff;
  border-radius: 2rem;
}

.faq-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Consultation section */
.consultation {
    padding: 8rem 0;
    background-color: var(--gray-bg);
}

.consultation-content {
    text-align: center;
}

.consultation h2 {
  text-align: left;
  font-size: 4rem;
  margin-bottom: 3rem;
  color: #fff;
}

/* Footer */
footer {
    background-color: var(--dark-footer);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5rem;
}

.footer-column {
    flex: 1;
    min-width: 20rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-column a {
    color: #BBBBBB;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 0.1rem solid #333;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-bottom p {
    margin-bottom: 1rem;
    color: #BBBBBB;
    font-size: 1.4rem;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    max-width: 48rem;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 120rem;
    margin: 0 auto;
}

.cookie-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.cookie-content p {
    margin-bottom: 2.5rem;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    max-width: 40rem;
    margin: 0 auto;
}

/* Catalog page */
.catalog {
    padding: 8rem 0;
}

.catalog h1 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 5rem;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.product-card {
    flex: 0 0 calc(33.333% - 3rem);
    min-width: 25rem;
    background-color: var(--white);
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-0.5rem);
}

.product-image {
    position: relative;
    padding: 2rem;
    background-color: var(--white);
    height: 25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge img {
    width: 1.5rem;
}

.product-info {
  text-align: center;
    padding: 2rem;
}

.product-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.product-price {
    font-weight: 700;
    font-size: 1.8rem;
}

/* Product detail page */
.product-detail {
    padding: 8rem 0;
}

.product-detail-grid {
  align-items: center;
  justify-content: center;
  padding: 5rem;
  background-color: #fff;
  border-radius: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.product-detail-image {
  max-width: 36rem;
    flex: 1;
    min-width: 30rem;
    background-color: var(--white);
    border-radius: 0.8rem;
}

.product-detail-info {
    flex: 1;
    max-width: 50rem;
}

.product-detail-info h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.product-description {
    margin-bottom: 3rem;
}

.product-description p {
  font-size: 1.4rem;
    margin-bottom: 2rem;
}

/* Media queries */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    
    .hero-content,
    .hero-image {
        flex: 100%;
        min-width: 100%;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 4rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .story-content {
        padding-right: 0;
        flex: 100%;
        min-width: 100%;
        margin-bottom: 4rem;
    }
    
    .story-image {
        flex: 100%;
        min-width: 100%;
    }
    
    .product-detail-grid {
        flex-direction: column;
    }
    
    .product-detail-image,
    .product-detail-info {
        flex: 100%;
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 9px;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 1;
        margin-bottom: 1rem;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .main-nav li:first-child {
        margin-left: 0;
    }
    
    .footer-column {
        flex: 100%;
        min-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .product-card {
        flex: 0 0 100%;
    }
}

.consultation-content{
  flex-direction: column;
  padding: 3rem;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 3rem;
  border-radius: 2rem;
}
.consultation-content a{
  flex: 0 0 auto;
}
.footer-flex{
  display: flex;
  gap: 2rem;
  flex-direction: column;
}
@media (min-width: 968px) {
  .consultation-content{
    flex-direction: row;
  }
  .footer-flex{
    flex-direction: row;
  }
}