
:root {
  --color-neutral-light:#FBFAFB;
	--color-neutral-medium:#B5ACAF;
	--color-neutral-dark:#645557;

	--color-main-light:#F9F2EB;
	--color-main-medium:#dcd5cc;
	--color-main-dark:#a99f94;
	
	--color-sub-light:#F3E8E5;
	--color-sub-medium:#c5b2b1;
	--color-sub-dark:#8d7676;


	--color-black:#555;
	--color-white:#fff;

	--header-height:3rem; 
	--spacing:1rem;
}

body{
	background-color:#fbf7f3;
  padding-bottom: 4em;
}



.favorite label {
  transition: all 0.3s;
  display: inline-block;
  transform: scale(1.4,1.15);
  color: var(--color-neutral-medium);; 
}

.favorite input:checked + label{
  color: red;
  transform: scale(1.8,1.45);
  user-select: none;
}

.favorite {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width:800px) {
	.container {
		padding-left: 1em;
		padding-right: 1em;
	}
	.navbar h1 {
		padding-left: 0.5em;
	}
}

@media (max-width:400px) {
	.navbar .display-flex {
		display: block;
	}
	.navbar .nav li {
		line-height: 2em;
	}
}

.figure.product {
  border-radius: 0.5em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
}

.product-overlay {
  position: relative;
  overflow: hidden;
}

.product-overlay figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  opacity: 0;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-overlay:hover figcaption {
  opacity: 1;
}

.product-overlay .caption-body {
  background-color: white;
  border-radius: 0.5em;
  padding: 1em;
  transform: translateY(2em);
  transition: all 0.3s;
}

.product-overlay:hover .caption-body {
  transform: translateY(0);
}

.product-overlay img {
  transform: scale(1,1);
  transition: all 0.3s;
}

.product-overlay:hover img {
  transform: scale(1.4,1.4);
}

@media (max-width:600px) {
  .product-overlay figcaption {
    position: relative;
    display: block;
    top: initial;
    left: initial;
    width: 100%;
    height: initial;
    opacity: 1;
	  background-color: initial;
  }

  .product-overlay .caption-body {
  transform: none;
	padding: 0;
  }
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.3em;
}

.price-row .display-flex {
  display: flex;
  align-items: center;
  gap: 0.5em; 
}

.product-name {
  font-family: "kepler-std", serif;
  font-weight: 800;
  font-size: 1.15em;
  font-style: normal;
  color:#000000;
}

.price {
  font-weight:normal;
  color: var(--color-black);
  user-select: none;
  font-family: "futura-pt", sans-serif;
  font-size: 0.95em;
}

.product-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1; 
  object-fit: cover;  
  display: block;
  margin: 0 auto;
  user-select: none; 
  -webkit-user-drag: none; 
  pointer-events: none;  
}

.bg_image {
  float: right;
  margin-left: 30px;
  width: 550px;
  border-radius: 8px;
}

.name {
  margin-bottom: 0.5em;
}


.brand-section .card.soft {
  padding: 3rem 4rem;
  border-radius: 8px;
}


.brand-section .brand-content {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  gap: 4rem;
  min-height: 450px; 
  box-sizing: border-box;
}


.brand-section .brand-text {
  flex: 1;
  max-width: 500px;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  height: 100%;
}

.brand-section .brand-text .name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.3em;
}

.brand-section .brand-text p {
  margin-bottom: 1.5rem;
}

.brand-section .brand-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.brand-section .brand-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .brand-section .brand-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;
    padding: 2rem;
  }
}

  .brand-section .brand-image {
    justify-content: center;
    margin-top: 2rem;
  }

  .brand-section .brand-image img {
    max-width: 500px;
  }

  .brand-section .brand-text {
    max-width: 100%;
    justify-content: flex-start;
  }


.price-row .form-select select {
  padding: 0.15em 1.2em;
  font-family: "futura-pt", sans-serif;
  font-size: 0.9em;
  color: var(--color-black);
  cursor: pointer;
  outline: none;
  appearance: none;
  height: 1.8em;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
   outline: none;  
}

.product-section .card.soft {
  padding: 3rem 4rem;
  border-radius: 8px;
}

.product-section .product-content {
  display: flex;
  flex-direction: row; /* image left, text right */
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  min-height: 450px;
  box-sizing: border-box;
}

/* product image */
.product-section .product-image {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.product-section .product-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  object-fit: cover;
}

/* text */
.product-section .product-text {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  line-height: 1.8;
}

.product-section .product-text .name {
  font-family: "kepler-std", serif; 
  font-size: 2.4rem;                
  font-weight: 900;               
  letter-spacing: 0.02em;          
  color: var(--color-black);
  margin-bottom: 0.3rem;
  line-height: 1.1;              
}

/* Product Price (H2) */
.product-section .product-text .price {
  font-family: "kepler-std", serif; 
  font-size: 1.8rem;                
  font-weight: 700;                
  color: black;
  margin-bottom: 1rem;
}

.product-section .product-text p {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: v;
}

.product-section .product-text .price {
  font-size: 1.rem;
  font-weight: bold;
  color: var(--color-black);
  margin-bottom: rem;

}

/* ACTIONS ROW */
.product-section .product-actions {
  display: flex;
  align-items: center;
  gap: 1.5em;
  flex-wrap: wrap;
  padding: 0;           
  margin-top: 4rem;    
}

/* HEART ICON */
.product-section .favorite label {
  font-size: 1.8em;
  color: var(--color-neutral-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-section .favorite input:checked + label {
  color: red;
  transform: scale(1.2);
}

/* DROPDOWN SELECTOR */
.product-section .form-select select {
  padding: 1em 1.2em;
  border-radius: 0.4em;
  background-color: var(--color-neutral-light);
  font-family: "futura-pt", sans-serif;
  font-size: 1em;
  cursor: pointer;
}

.product-section .product-text .price {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-black);
  margin-bottom: 3rem; 
}

/* RESPONSIVE (mobile) */
@media (max-width: 900px) {
  .product-section .product-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-section .product-image img {
    max-width: 400px;
  }

  .product-section .product-actions {
    justify-content: center;
  }
}

.back-button-container {
  text-align: left;
  margin: 2rem 0 1rem;
}

.back-button-container .back-button {
  display: inline-block;
  background-color: var(--color-sub-dark);
  color: var(--color-white);
  font-size: 1rem;
  padding: 0.6em 1.5em;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-family: "futura-pt", sans-serif;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-button-container .back-button:hover {
  background-color: var(--color-sub-medium);
  transform: scale(1.05);
}

.back-button-container .back-button:active {
  background-color: var(--color-sub-light);
  transform: scale(0.98);