@import url("https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap");

:root {
  /* Font Size */
  --h1-: 2rem;
  --h2: 1.75rem;
  --h3: 1.5rem;
  --h4: 1.25rem;
  --h5: 1rem;
  --h6: 0.938rem;
  --normal: 0.75rem;
  ---small: 0.5rem;
  --font: "Oxygen", sans-serif;

  /* Weight */
  --w-500: 500;
  --w-600: 600;
  --w-700: 700;
  --w-400: 400;

  --border: 0.1rem solid rgba(0, 0, 0, 0.1);
  --border-hover: 0.1rem solid var(--color-background-secondary);
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);

  /* Primary Colors */
  --color-primary-dark: #2c3e50; /* Deep Navy */
  --color-primary-light: #f5f5dc; /* Soft Cream */

  /* Accent Colors */
  --color-accent-primary: #f39c12; /* Golden Mustard */
  --color-accent-secondary: #2c5f2d; /* Forest Green */

  /* Text Colors */
  --color-text-dark: #333333; /* Charcoal Gray */
  --color-text-light: #fafafa; /* Soft White */

  /* Background Colors */
  --color-background-primary: #f8f4e3; /* Light Sand */
  --color-background-secondary: #ecf0f1; /* Pale Gray */

  /* Additional Elements */
  --color-muted-accent: #e67e22; /* Muted Coral */
  --color-heading: #5d6d7e; /* Slate Blue */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
  transition: width none;
}

@media screen and (max-width: 991px) {
  html {
    font-size: 55%;
  }
  .header .header-1 {
    padding: 2rem;
  }
  section {
    padding: 1rem 2rem;
  }
}

/* 768px */
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 0;
  }
  body {
    padding-bottom: 6rem;
  }
  .header .header-2 {
    display: none;
  }
  .header .header-1 {
    box-shadow: var(--box-shadow);
  }
  .header .header-1 .search-form {
    position: absolute;
    top: -115%;
    right: 2rem;
    width: 90%;
    box-shadow: var(--box-shadow);
  }
  .header .header-1 .search-form.active {
    top: 10%;
    transition: all 0.3s;
  }
  #search-btn {
    display: inline-block;
  }
  .bottom-navbar {
    display: block;
  }
  .newsletter {
    background-position: right;
  }
  .newsletter form {
    margin-left: 0;
    max-width: 100%;
  }
}

/* 450px */

@media screen and (max-width: 450px) {
  html {
    font-size: 55%;
  }
  .header .header-1 {
    padding: 2rem;
  }
  .home .row-line .content {
    text-align: center;
  }
  .home .row-line .content h3 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .grid-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .item1 {
    grid-column: span 2;
    grid-row: span 1;
  }
  .item2 {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .grid-gallery {
    grid-template-columns: 1fr;
  }
  .item1,
  .item2,
  .item3,
  .item4 {
    grid-column: span 1;
    grid-row: span 1;
  }
}





/* Header */

@media (max-width: 768px) {
  .header .header-1 {
    padding: 1rem 5%;
    justify-content: space-between;
  }

  .header .header-1 .search-form {
    width: 100%;
    margin: 1rem 0;
  }

  .header .header-1 .icons {
   text-align: end;
    width: 100%;
  }

  .header .header-2 {
    display: none; 
  }
  .header-2.active {
    display: block!important;
  }
  .bottom-navbar {
    display: block; 
  }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
  .header .header-1 {
    padding: 1rem 7%;
  }

  .header .header-1 .search-form {
    width: 70%;
  }

  .bottom-navbar {
    display: none;
  }
}
@media (max-width: 768px) {
  .form__group {
      grid-template-columns: 1fr;
  }

  .reviews__container {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 2rem;
  }

  .contact-info, .contact-form {
    padding: 1.5rem;
  }

  .map-responsive {
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  .cart-page-total {
      margin-top: 20px;
  }

  .coupon input {
      width: calc(100% - 110px);
  }

  .coupon2 {
      text-align: center;
  }

  .coupon2 .btn, .coupon .button, .continue-btn {
      width: 100%;
      margin-top: 10px;
  }
}


@media (max-width: 768px) {
  .checkout-details-wrapper {
    padding: 10px;
  }

  .col-lg-6,
  .col-md-6 {
    width: 100%;
    padding: 10px 0;
  }

  h3 {
    font-size: 18px;
  }

  .order-button-payment input {
    width: 100%;
    font-size: 16px;
  }

  .your-order-table table {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .coupon-accordion h3 {
    font-size: 16px;
  }

  .coupon-input input {
    font-size: 12px;
  }

  .button-login,
  .button-apply-coupon {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .coupon-area {
    padding: 15px;
  }
}
