:root {
  --primary-color: #5D6D7E;
  --secondary-color: #4A5A6A;
  --accent-color: #7F8C9A;
  --light-color: #F0F3F5;
  --dark-color: #1C2631;
  --gradient-primary: linear-gradient(135deg, #5D6D7E 0%, #4A5A6A 100%);
  --hover-color: #3A4A58;
  --background-color: #F6F8FA;
  --text-color: #394550;
  --border-color: rgba(93, 109, 126, 0.16);
  --divider-color: rgba(93, 109, 126, 0.1);
  --shadow-color: rgba(28, 38, 49, 0.09);
  --highlight-color: #D6E0E8;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Pattern: subtle concentric rings */
.pattern-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 80%, rgba(93,109,126,0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(93,109,126,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(93,109,126,0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* =================== HEADER =================== */
header {
  background-color: var(--dark-color);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.header-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0.08;
}

.header-deco span {
  display: block;
  border: 2px solid #fff;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .header-deco { display: none; }
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-family: var(--main-font);
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  width: fit-content;
}

.logo-icon {
  width: 33px;
  height: 33px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* =================== MAIN =================== */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* =================== LEFT =================== */
.product-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-image-container {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px var(--shadow-color);
  display: flex;
  justify-content: center;
}

.product-image-container picture {
  display: flex;
  justify-content: center;
}

.product-image {
  width: 50%;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
}

.product-image:hover {
  transform: scale(1.04);
}

/* Guarantee block — card with top accent stripe */
.guarantee-block {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  overflow: hidden;
}

.guarantee-block-inner {
  padding: 0.9rem 1.1rem;
}

.guarantee-block-stripe {
  height: 4px;
  background: var(--primary-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--primary-color);
}

.guarantee-block p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-color);
}

/* Features icons — tag pills */
.features-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 5px var(--shadow-color);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.feature-item:hover {
  background: var(--light-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.feature-item .feature-icon {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.feature-item span:last-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark-color);
  font-family: var(--alt-font);
}

/* Cart button */
.cart-button {
  background: var(--dark-color);
  color: #fff;
  padding: 0.78rem 1.6rem;
  border: none;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-family: var(--alt-font);
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.cart-button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}

/* =================== RIGHT =================== */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 1.85rem;
  color: var(--dark-color);
  margin-bottom: 0.65rem;
  font-weight: 600;
  line-height: 1.22;
}

.price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.6rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.87rem;
  margin-bottom: 0.85rem;
  line-height: 1.7;
  color: var(--text-color);
}

.highlight-text {
  background: var(--dark-color);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  margin: 1rem 0;
  font-size: 0.9rem;
  font-family: var(--main-font);
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.features-list {
  list-style: none;
  margin: 0.9rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 1px 5px var(--shadow-color);
  border-right: 3px solid var(--primary-color);
  transition: all 0.25s ease;
  font-size: 0.85rem;
}

.features-list li:hover {
  transform: translateX(-3px);
  box-shadow: 0 3px 9px var(--shadow-color);
}

.feature-check {
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.72rem;
}

/* =================== WIDE BLOCK =================== */
.wide-block {
  background: var(--dark-color);
  padding: 2rem 1.5rem;
}

.wide-block h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Horizontal scrollable ribbon */
.wide-ribbon {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 1060px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .wide-ribbon { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .wide-ribbon { grid-template-columns: repeat(4, 1fr); }
}

.ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s ease;
}

.ribbon-item:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-2px);
}

.ribbon-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
}

.ribbon-item h3 {
  font-family: var(--main-font);
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
}

.ribbon-item p {
  font-size: 0.81rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
}

/* =================== TESTIMONIALS =================== */
.testimonials {
  background: var(--light-color);
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.55rem;
  color: var(--dark-color);
  font-weight: 600;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1060px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

.testimonial {
  background: #fff;
  padding: 1.1rem;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: transform 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.testimonial-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark-color);
}

.testimonial p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* =================== FOOTER =================== */
footer {
  background: var(--dark-color);
  color: #fff;
  padding: 1.5rem;
}

.footer-content {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-nav { justify-content: flex-end; }
}

.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  max-width: 1060px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}