body {
	font-family: "Inter", sans-serif;
}

ul {
	list-style: none;
	padding-left: 0;
}

a {
	text-decoration: none;
	color: inherit;
}

.page-container:before {
	content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 22%;
    background: #7bfa13;
    z-index: -1;
}

.header {
	border-bottom: 1px solid;
	padding: 1em;
}

.header a {
	display: flex;
	align-items: center;
}

.logo-header {
	padding-right: 20px;
}

.logo-header img {
	width: 100px;
}

.infos-header h1 {
	margin: 0 0 10px;
	border-bottom: 1px solid #000;
	padding-bottom: 5px;
	letter-spacing: 1px;
	font-weight: 500;
}

.infos-header p {
	margin: 0;
}

.infos-header p:nth-of-type(1),
.infos-header p:nth-of-type(3)
 {
  font-size: 0.9em;;
  font-weight: 500;
}

.new-adress {
	padding-top: 10px;
}

.page-container {
	padding: 0 3%;
	min-height: 100vh;
	position: relative;
	z-index: 10;
}

.book-image {
 	width: 30%;
 	position: absolute;
 	top: 40px;
 	transition: all 0.3s ease;
}
.book-image.fixed {
  position: fixed;
  top: 40px;
  z-index: 1000;
}

.book-image img {
	max-width: 100%;
	max-height: 550px;
}

.open-lightbox {
  margin-top: 1rem;
  margin-left: 1rem;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  font-size: 0.9em;
}

.open-lightbox:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #fff;
  padding: 1rem;
  border-radius: 6px;
}

.close-lightbox {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.slider {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
}

.slides {
  display: flex;
  transition: transform 0.3s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  max-height: 100vh;
  object-fit: contain;
}

.slider-prev,
.slider-next {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.book-infos {
	width: 69%;
	padding: 1em 1em 2em;
	margin-left: auto;
	box-sizing: border-box;
}

.info-title {
	text-align: center;
	margin-top: 1em;
}

.info-title h1 {
	margin: 0;
	text-transform: uppercase;
}

.info-subtitle {
	font-weight: 500;
	font-style: italic;
	font-size: 1.2em;
	text-align: center;
}
.info-subtitle span {
	display: block;
	color: #01ae10;
}

.details-table {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-row-gap: 0px;
	border: 1px solid #ebf4e3;
    border-radius: 10px;
}

.details-table li {
	padding: 1em;
	text-align: center;
	font-size: 0.9em;
}

.details-table li:not(:last-child) {
	border-right: 1px solid #ebf4e3;
}

.details-table span {
	display: block;
}

.details-title {
	color: #abc09b;
	padding-bottom: 10px;
	text-transform: uppercase;
	font-weight: 500;
}

.info-buy {
	display: flex;
	justify-content: space-between;
	padding-top: 2em;
}

.info-prix {
	color: #01ae10;
    text-align: center;
    line-height: 1;
}

.price-little {
	text-transform: uppercase;
    font-weight: 500;
    font-size: 1.2em;
    display: block;
}

.price-big {
	font-size: 4em;
    font-weight: 900;
}

.buy-btn {
	display: flex;
    background: #01ae10;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 10px;
    margin-left: 5em;
    cursor: pointer;
    text-align: center;
    padding: 10px;
}

.buy-image img {
	width: 30px;
	margin-right: 20px;
}

.buy-text {
	font-size: 1.5em;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
}

.paypal {
	margin: 2em 0 1em;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, opacity 0.6s ease;
	padding: 1em;
    background: #d5f0d7;
    border: 1px solid;
}

.paypal.visible {
  max-height: 2000px;
  opacity: 1;
}

.paypal-content {
	text-align: center;
}

.select-item {
	padding: 1.2em;
}

.select-item select {
	margin-top: 5px;
	display: block;
	width: 100%;
}

select {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px;
}

select:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 3px rgba(74, 144, 226, 0.6);
}

.paypal-price {
	line-height: 0.6;
}

p.shipping {
	color: #575757;
    font-size: 0.9em;
}

p.total {
	font-weight: bold;
	font-size: 1.3em;
}

.shipping-note {
	font-style: italic;
}

.paypal-button {
	max-width: 700px;
	margin: 0 auto;
}

.confirmation-message p {
	font-weight: 500;
	font-size: 1.1em;
	text-align: center;
}


@media screen and (min-width: 1200px) {
	.paypal-select {
		display: flex;
		justify-content: center;
	}
}

@media screen and (max-width: 992px) {
	.details-table li {
		padding: 1em 0.8em;
		text-align: center;
		font-size: 0.8em;
	}
}

@media screen and (max-width: 768px) {
	.book-image {
		position: static;
		width: 100%;
		text-align: center;
	}

	.page-container:before {
		width: 50%;
		height: 300px;
	}

	.book-infos {
		width: 100%;
		padding: 1em 0 0;
	}

	.info-title h1 {
		font-size: 1.6em;
	}
}

@media screen and (max-width: 576px) {
	.details-table {
		grid-template-columns: repeat(2, 1fr);
	}

	.details-table > *:last-child:nth-child(odd) {
		grid-column: span 2;
	}

	.details-table li:not(:last-child) {
		border-bottom: 1px solid #ebf4e3;
	}

	.info-buy {
		margin-top: 1em;
		display: initial;
	}

	.buy-btn {
		margin: 1em auto 0;
		box-sizing: border-box;
		width: 90%;
	}

	.header a {
		display: initial;
		text-align: center;
	}

	.infos-header h1 {
		font-size: 1.5em;
	}

	.logo-header img {
		width: 90px;
	}
}