/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  scroll-behavior: smooth;
}

/* COLORS */
:root {
  --black: #000000;
  --charcoal: #1c1c1c;
  --pink: #f5b7d2;
  --brown: rgb(187, 125, 66);
  --white: rgb(243, 243, 243);
}

body {
  background: var(--black);
  color: white;
}

/* TOP NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--black);
  display: flex; 
  align-items: center;
  padding: 15px 15px;
  z-index: 200;
  border-bottom: 1px solid #222;
}

.site-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}
.brand{
  align-items: left;
}
h1.brand {
  font-family: 'Allura';
  font-size: 40px;
  align-items: center;
  color: var(--white);
  text-align: center;
  width: 300px;
  max-width: 90%;
  margin-left: 330px;
  cursor: pointer;
}

h1.brand span {
  font-size: 40px;
  font-family: 'Allura';
  align-items: center;
  color: var(--pink);
}

.nav-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  color: inherit;
  margin-left:auto;
  font-weight: 500;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}

nav a:hover {
  color: var(--pink);
}

.search-bar, .cart, .heart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px var(--pink);
  border-radius: 25px;
  width: auto;
  margin: 0;
  background-color: var(--black);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.search-bar i, .heart i, .cart i{
  font-size: 19px;
  cursor: pointer;
  margin: 0;
  color: var(--pink);
  align-items: center;
}
.cart:hover, .heart:hover, .search-bar:hover {
  box-shadow: 0 0 10px var(--white);
}

/*back*/

.back {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 15px;;
  border-radius: 0;
  width: 100%;
  margin: 0;
  background-color: var(--black);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
  overflow: hidden;
}

.back i{
  font-size:  19px;
  margin: 0;
  color: var(--brown);
}
.back input{
  width: 100%;
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 16px;
}
a{
  text-decoration: none;
  color: inherit;
}
.back p{
  color: var(--brown);
}
/**CART**/
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.qty {
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}


.container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 5px solid var(--brown);
    padding: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
}

h3 {
    text-align: center;
    color: var(--brown);
    font-family: 'allura';
    font-size: 30px;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: palevioletred;
}

input , select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid var(--brown);
    background-color: var(--white);
}

button{
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background:var(--brown);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background:var(--pink);
}

.note {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}
/*check*/

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-group label {
  background: #ffe3ec;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-group input {
  margin-right: 5px;
}
/*ads*/
.checkout-layout {
  display: flex;
  gap: 40px;
  padding: 90px 20px 40px;
  min-height: 100vh;
  max-width: 100%;
  margin: 0 auto;
  align-items: flex-start;
  background-color: black;
}

/* LEFT SIDE */
.form-section {
  flex: 2; /* bigger */
}

/* RIGHT SIDE */
.ads-section {
  flex: 1; /* smaller */
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Ads */
.ad-box {
  background: #0b0b0b;
  padding: 15px;
  text-align: center;
  color: white;
  width: 100%;
  overflow: hidden;
  transition: 0.3s ease;
}

.ad-box.active {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.ad-box p {
  margin-top: 10px;
  font-size: 15px;
  padding: 15px;
  text-align: center;
}
.ad-box:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.ad-box video {
  width: 100%;
  border-radius: 10px;
  height: 220px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .checkout-layout {
    flex-direction: column;
  }

  .ads-section {
    position: sticky;
    flex: 1;
    top: 120px;
  }
}
/* ================= FOOTER ================= */
/* FOOTER */
.footer {
  background: #0b0b0b;
  color: var(--white);
  padding: 20px 10px 10px;
}
.footer-section{
 border-left: 1px solid var(--white);
 padding-left: 20px;
}
.footer-inner > *:not(:first-child) {
  border-left: 0.5px solid rgba(255,255,255,0.2); /* thinner + softer */
  padding-left: 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap:  40px;
  align-items: stretch; /* IMPORTANT */
}

  .footer-inner > * {
  padding-top: 10px;
  padding-bottom: 10px;

}

.footer-brand h2 {
  font-family: 'Allura';
  font-size: 30px;
  margin: 0;
}

.footer-brand .pink {
  color: var(--pink);
}

.socials {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.socials a {
  color: var(--pink);
  font-size: 18px;
  text-decoration: none;
}

.footer-section h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.footer-section p {
  color: #c9a87a;
  max-width: 400px;
  line-height: 1.6;
  font-size: 13px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--pink);
  text-decoration: none;
  font-size: 13px;
}

.footer-section a:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
  text-align: center;
  background: var(--black);
}

.footer-bottom p {
  color: #c9a87a;
  font-size: 13px;
}



@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    border-left: none;
    padding-left: 0;
  }
}