/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --red-orange-color-wheel: hsl(12, 78%, 45%);
  --middle-blue-green: hsl(178, 34%, 58%);
  --smokey-black: hsl(0, 0%, 7%);
  --spanish-gray: hsl(0, 0%, 60%);
  --granite-gray: hsl(0, 0%, 40%);
  --tan-crayola: hsl(32, 42%, 48%);
  --light-gray: hsl(0, 0%, 80%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_25: hsla(0, 0%, 0%, 0.25);
  --black_50: hsla(0, 0%, 0%, 0.4);
  --black_70: hsla(0, 0%, 0%, 0.7);
  --cultured: hsl(220, 16%, 96%);
  --manatee: hsl(218, 11%, 65%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);

  /**
   * typography
   */

  --ff-roboto: 'Roboto', sans-serif;
  --ff-mr_de_haviland: 'Mr De Haviland', cursive;

  --fs-1: 6rem;
  --fs-2: 3rem;
  --fs-3: 2rem;
  --fs-4: 1.8rem;
  --fs-5: 1.4rem;
  --fs-6: 1.2rem;

  --fw-700: 700;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 50px;

  /**
   * shadow
   */

  --shadow: 0 0 2px hsla(0, 0%, 0%, 0.2);

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
span,
input,
button { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

.icon-svg { pointer-events: none; }

.icon-svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-btn .icon-svg {
  fill: currentColor;
  stroke-width: 1.25;
}

address { font-style: normal; }

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: hsl(216, 36%, 5%);
  color: hsl(220, 8%, 76%);
  font-size: 1.6rem;
  line-height: 1.7;
}

body.active,
body.cart-open { overflow: hidden; }

:focus-visible { outline-offset: 4px; }

::placeholder { color: var(--manatee); }

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(216, 30%, 7%); }

::-webkit-scrollbar-thumb { background-color: hsl(34, 54%, 42%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(39, 87%, 60%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.social-wrapper {
  display: flex;
  align-items: center;
}

.social-list {
  display: flex;
  gap: 30px;
}

.social-link { transition: var(--transition-1); }

.social-link:is(:hover, :focus) { color: var(--tan-crayola); }

.static { cursor: default; }

.section {
  padding-block: calc(var(--section-padding) + 35px);
  background:
    radial-gradient(circle at 10% 0%, hsla(39, 82%, 45%, 0.1), transparent 28%),
    hsl(216, 36%, 5%);
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h2,
.h3 {
  color: hsl(42, 20%, 94%);
  font-weight: var(--fw-500);
  line-height: 1.4;
}

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-3); }

.grid-list {
  display: grid;
  gap: 35px;
}

.section-title {
  color: hsl(42, 20%, 94%);
  margin-bottom: 12px;
}

.section-text {
  max-width: 72ch;
}

.has-before {
  position: relative;
  z-index: 1;
}

.has-before::before {
  content: "";
  position: absolute;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .input-wrapper { display: none; }

.header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background-color: hsl(216, 30%, 7%);
  color: var(--white);
  padding-block: 24px;
  z-index: 4;
  border-block-end: 1px solid hsla(0, 0%, 100%, 0.08);
}

.header.active {
  position: fixed;
  transform: translateY(-100%);
  box-shadow: var(--shadow);
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: hsl(216, 28%, 10%);
  color: var(--white);
  z-index: 8;
  transform: translateX(100%);
  transition: transform var(--transition-2);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-inline-start: 1px solid hsla(0, 0%, 100%, 0.08);
}

.cart-drawer.active { transform: translateX(0); }

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 7;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.cart-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-header,
.cart-drawer-footer {
  position: relative;
  padding: 22px;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
}

.cart-drawer-footer {
  border-top: 1px solid hsla(0, 0%, 100%, 0.08);
  border-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cart-kicker {
  color: hsl(39, 80%, 62%);
  font-size: 1.2rem;
  font-weight: var(--fw-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-title {
  color: var(--white);
  font-size: 2.4rem;
}

.cart-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--white);
  font-size: 2.8rem;
}

.cart-drawer-body {
  padding: 22px;
  overflow-y: auto;
}

.cart-empty {
  color: hsl(218, 15%, 75%);
  font-size: 1.5rem;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: start;
  background: hsla(0, 0%, 100%, 0.04);
  border: 1px solid hsla(0, 0%, 100%, 0.06);
  border-radius: 18px;
  padding: 12px;
}

.cart-item-image {
  width: 84px;
  height: 104px;
  object-fit: cover;
  border-radius: 12px;
}

.cart-item-content strong {
  color: var(--white);
  font-size: 1.6rem;
}

.cart-item-content span {
  color: hsl(218, 15%, 70%);
  margin-top: 4px;
}

.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.cart-item-actions button,
.primary-cart-btn,
.secondary-cart-btn,
.showroom-btn {
  border-radius: 999px;
  transition: var(--transition-1);
}

.cart-item-actions button {
  padding: 7px 12px;
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  color: var(--white);
}

.primary-cart-btn,
.secondary-cart-btn {
  min-height: 48px;
  font-weight: var(--fw-700);
}

.primary-cart-btn {
  background: hsl(39, 82%, 52%);
  color: hsl(216, 36%, 7%);
}

.secondary-cart-btn {
  border: 1px solid hsla(0, 0%, 100%, 0.16);
  color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 2.4rem;
  font-weight: var(--fw-700);
  letter-spacing: 0;
  min-width: max-content;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid hsla(39, 84%, 60%, 0.5);
  background: linear-gradient(145deg, hsl(38, 82%, 60%), hsl(32, 75%, 48%));
  color: hsl(216, 30%, 7%);
  font-size: 2.2rem;
  border-radius: 6px;
}

.logo-image-link {
  min-width: 0;
}

.site-logo-image {
  width: clamp(150px, 17vw, 220px);
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px hsla(0, 0%, 0%, 0.35));
}

.footer-logo-image {
  width: 190px;
}

.desktop-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 45px;
  color: hsl(220, 8%, 72%);
  font-weight: var(--fw-700);
}

.desktop-nav a {
  transition: var(--transition-1);
}

.desktop-nav a:is(:hover, :focus) {
  color: hsl(39, 84%, 60%);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-link {
  display: none;
  border: 1px solid hsla(0, 0%, 100%, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  color: hsl(220, 8%, 75%);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.admin-link:is(:hover, :focus) {
  border-color: var(--tan-crayola);
  color: var(--tan-crayola);
}

.header-action-btn {
  position: relative;
  font-size: 24px;
  transition: var(--transition-1);
  border: 1px solid hsla(0, 0%, 100%, 0.14);
  border-radius: 50%;
  padding: 10px;
}

.header-action-btn:is(:hover, :focus) { color: var(--tan-crayola); }

.header-action-btn .btn-badge {
  background-color: var(--tan-crayola);
  color: var(--white);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  position: absolute;
  bottom: -10px;
  right: -10px;
  padding-inline: 6px;
  border-radius: 50%;
}





/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  max-width: 420px;
  width: 100%;
  height: 100%;
  background-color: hsl(216, 30%, 7%);
  color: hsl(220, 8%, 76%);
  padding: 40px;
  padding-block-end: 100px;
  overflow-y: auto;
  z-index: 5;
  visibility: hidden;
  transition: 0.25s var(--cubic-in);
}

.sidebar.active {
  transform: translateX(-420px);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.nav-close-btn { font-size: 30px; }

.sidebar .wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-block: 40px 75px;
}

.sidebar-list-title,
.contact-list-title,
.social-list-title {
  color: hsl(42, 20%, 94%);
  font-weight: var(--fw-500);
}

.sidebar-list-title { margin-block-end: 15px; }

.sidebar-link {
  color: hsl(220, 8%, 72%);
  margin-block-start: 6px;
  transition: var(--transition-1);
}

.sidebar-link:is(:hover, :focus) { color: var(--tan-crayola); }

.navbar { margin-block-end: 60px; }

.navbar-item:not(:last-child) { margin-block-end: 15px; }

.navbar-link {
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus),
.sidebar :is(.address, .contact-item) { color: hsl(220, 8%, 76%); }

.sidebar .address { margin-block-start: 20px; }

.sidebar .social-wrapper {
  justify-content: space-between;
  margin-block-start: 50px;
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black_70);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 98px);
  display: grid;
  align-items: center;
  padding-block: 90px 70px;
  background-image:
    linear-gradient(90deg, hsla(216, 36%, 5%, 0.95) 0%, hsla(216, 36%, 5%, 0.82) 43%, hsla(216, 36%, 5%, 0.52) 70%, hsla(35, 70%, 28%, 0.35) 100%),
    linear-gradient(0deg, hsla(216, 36%, 5%, 0.92), hsla(216, 36%, 5%, 0.12) 45%, hsla(216, 36%, 5%, 0.88)),
    url("../images/office-luxury-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero .container {
  width: 100%;
}

.hero-content {
  max-width: 780px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 34px;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: 999px;
  background: hsla(216, 25%, 9%, 0.78);
  color: hsl(40, 87%, 63%);
  padding: 10px 18px;
  font-size: 1.2rem;
  font-weight: var(--fw-700);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 11ch;
  color: hsl(42, 20%, 94%);
  font-size: clamp(5rem, 8.5vw, 10.4rem);
  font-weight: var(--fw-700);
  line-height: 0.95;
}

.hero-title span {
  display: inline;
  color: hsl(39, 87%, 60%);
  font-style: italic;
}

.hero-text {
  max-width: 56ch;
  margin-block: 28px 44px;
  color: hsl(220, 8%, 76%);
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  font-weight: var(--fw-500);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 999px;
  padding-inline: 30px;
  font-weight: var(--fw-700);
  transition: var(--transition-1);
}

.hero-btn.primary {
  background: linear-gradient(135deg, hsl(41, 90%, 64%), hsl(35, 82%, 50%));
  color: hsl(216, 36%, 5%);
}

.hero-btn.secondary {
  border: 1px solid hsla(0, 0%, 100%, 0.22);
  color: var(--white);
}

.hero-btn:is(:hover, :focus) {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin-block-start: 64px;
  border-block-start: 1px solid hsla(0, 0%, 100%, 0.14);
}

.hero-stats li {
  padding-block-start: 26px;
}

.hero-stats li:not(:last-child) {
  border-inline-end: 1px solid hsla(0, 0%, 100%, 0.12);
}

.hero-stats strong {
  color: hsl(39, 87%, 60%);
  font-size: clamp(2.6rem, 3vw, 3.8rem);
  line-height: 1;
}

.hero-stats span {
  margin-block-start: 6px;
  color: hsl(220, 8%, 74%);
  font-size: 1.3rem;
}

@media (max-width: 767px) {
  .header {
    padding-block: 16px;
  }

  .logo {
    font-size: 2rem;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .site-logo-image {
    width: 132px;
    max-height: 54px;
  }

  .hero {
    min-height: auto;
    padding-block: 76px 54px;
    background-position: 58% center;
  }

  .hero-kicker {
    margin-block-end: 24px;
    letter-spacing: 0.16em;
  }

  .hero-title {
    max-width: 9ch;
  }

  .hero-actions,
  .hero-btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-block-start: 44px;
  }

  .hero-stats li {
    border-inline-end: 0;
    padding-block-start: 0;
  }

  .hero-stats li:not(:last-child) {
    border-inline-end: 0;
  }
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  text-align: center;
  border-block-start: 1px solid hsla(0, 0%, 100%, 0.08);
}

.about .section-title {
  max-width: 780px;
  margin-inline: auto;
  color: hsl(42, 20%, 94%);
  font-family: var(--ff-roboto);
  font-size: clamp(3.8rem, 6vw, 7.2rem);
  font-weight: var(--fw-700);
  line-height: 1;
}

.about .section-text {
  max-width: 760px;
  margin: 22px auto 55px;
  color: hsl(220, 8%, 72%);
  font-size: 1.8rem;
}

.about-card {
  position: relative;
  overflow: hidden;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: 18px;
  background: hsl(216, 28%, 9%);
  box-shadow: 0 30px 80px hsla(0, 0%, 0%, 0.32);
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, hsla(216, 36%, 5%, 0.72), transparent 55%, hsla(38, 80%, 38%, 0.16));
  pointer-events: none;
}

.about-card .img-cover { transition: var(--transition-2); }

.about-card:is(:hover, :focus) .img-cover { transform: scale(1.1); }

.about-card .play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: var(--white);
  font-size: 80px;
  transition: var(--transition-2);
}

.about-card:is(:hover, :focus) .play-btn { background-color: var(--black_50); }





/*-----------------------------------*\
  #PRODUCT
\*-----------------------------------*/

.product {
  background:
    linear-gradient(180deg, hsl(216, 36%, 5%), hsl(216, 30%, 7%));
}

.product .section-title {
  text-align: center;
  color: hsl(42, 20%, 94%);
  font-size: clamp(3.4rem, 5vw, 5.6rem);
  font-weight: var(--fw-700);
}

.filter-btn-list {
  margin-block: 20px 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
}

.filter-btn-item {
  position: relative;
  display: flex;
}

.filter-btn-item:not(:last-child)::after {
  content: "";
  width: 1px;
  min-height: 18px;
  background-color: hsla(0, 0%, 100%, 0.16);
  margin-inline: 15px;
}

.filter-btn {
  color: hsl(220, 8%, 72%);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.filter-btn.active { color: hsl(39, 87%, 60%); }

.product-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, hsl(216, 25%, 10%), hsl(216, 28%, 8%));
  text-align: center;
  box-shadow: 0 24px 50px hsla(0, 0%, 0%, 0.22);
}

.product-card .card-content {
  padding: 0 20px 24px;
}

.product-card .card-banner::before {
  inset: 0;
  background: linear-gradient(0deg, hsla(216, 36%, 5%, 0.62), hsla(216, 36%, 5%, 0.08));
  opacity: 0;
  transition: var(--transition-1);
}

.product-card .card-banner:is(:hover, :focus-within)::before { opacity: 1; }

.product-card .card-action-list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 100%);
  display: flex;
  gap: 15px;
  opacity: 0;
  transition: var(--transition-2);
}

.product-card .card-banner:is(:hover, :focus-within) .card-action-list {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.product-card .card-action-btn {
  background-color: hsl(42, 20%, 94%);
  color: hsl(216, 36%, 5%);
  font-size: 22px;
  padding: 12px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.product-card .card-action-btn:is(:hover, :focus) { color: var(--tan-crayola); }

.product-card .badge-list {
  position: absolute;
  top: 15px;
  left: 15px;
}

.product-card .badge {
  color: var(--white);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  line-height: 45px;
  margin-block-end: 10px;
}

.product-card .badge.orange { background-color: var(--red-orange-color-wheel); }

.product-card .badge.cyan { background-color: var(--middle-blue-green); }

.product-card .card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: hsl(216, 36%, 5%);
  color: var(--white);
  font-weight: var(--fw-500);
  padding-inline: 15px;
}

.product-card .h3 { font-size: unset; }

.product-card .card-title {
  color: hsl(42, 20%, 94%);
  font-weight: var(--fw-500);
  margin-block: 18px 5px;
  transition: var(--transition-1);
  min-height: 4.8rem;
}

.product-card .card-title:is(:hover, :focus) { color: var(--tan-crayola); }

.product-card .card-price {
  display: flex;
  justify-content: center;
  gap: 15px;
  color: hsl(39, 87%, 60%);
  font-size: var(--fs-4);
}

.product-card .card-price .del { color: hsl(220, 8%, 48%); }

.product-list > * {
  display: block;
  animation: fadeUp 0.45s ease forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog .title-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 50px;
  margin-block-end: 50px;
}

.blog {
  background:
    radial-gradient(circle at 85% 10%, hsla(39, 82%, 45%, 0.12), transparent 30%),
    hsl(216, 36%, 5%);
}

.blog .section-title {
  color: hsl(42, 20%, 94%);
  font-size: clamp(3.4rem, 5vw, 5.6rem);
  font-weight: var(--fw-700);
}

.blog .btn-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-500);
  color: hsl(39, 87%, 60%);
  transition: var(--transition-1);
}

.blog .btn-link:is(:hover, :focus) { color: var(--tan-crayola); }

.blog-card {
  overflow: hidden;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, hsl(216, 25%, 10%), hsl(216, 28%, 8%));
  box-shadow: 0 24px 50px hsla(0, 0%, 0%, 0.22);
}

.blog-card .card-banner { position: relative; }

.blog-card .card-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: hsl(39, 87%, 60%);
  color: hsl(216, 36%, 5%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 15px;
  transform: translateX(100%);
  transition: var(--transition-2);
}

.blog-card:is(:hover, :focus) .card-btn { transform: translateX(0); }

.blog-card .card-title {
  color: hsl(42, 20%, 94%);
  margin-block: 0 12px;
  transition: var(--transition-1);
}

.blog-card .card-content {
  padding: 24px;
}

.blog-card .card-title:is(:hover, :focus) { color: var(--tan-crayola); }

.blog-card .card-meta-list {
  display: flex;
  align-items: center;
}

.card-meta-item {
  position: relative;
  color: hsl(220, 8%, 58%);
  font-size: var(--fs-5);
}

.card-meta-item:not(:last-child)::after {
  content: "/";
  margin-inline: 8px;
  color: var(--spanish-gray);
}

.card-meta-text {
  display: inline-block;
  color: hsl(220, 8%, 76%);
  transition: var(--transition-1);
}

a.card-meta-text:is(:hover, :focus) { color: var(--tan-crayola); }





/*-----------------------------------*\
  #NEWSLATTER
\*-----------------------------------*/

.newsletter {
  --section-padding: 50px;
  background:
    linear-gradient(135deg, hsla(39, 82%, 45%, 0.22), transparent 38%),
    hsl(216, 30%, 7%);
}

.newsletter-card {
  overflow: hidden;
  border: 1px solid hsla(39, 84%, 60%, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(135deg, hsla(39, 84%, 60%, 0.16), hsla(216, 25%, 10%, 0.96) 38%),
    hsl(216, 25%, 10%);
  padding: 28px;
  box-shadow: 0 30px 80px hsla(0, 0%, 0%, 0.28);
}

.newsletter-card .card-content { margin-block-end: 40px; }

.newsletter .section-title { margin-block-end: 8px; }

.newsletter-card .h2 { --fs-2: 2.6rem; }

.newsletter .card-form { position: relative; }

.newsletter-card .email-field {
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  border-radius: 999px;
  background-color: hsla(216, 36%, 5%, 0.82);
  color: hsl(42, 20%, 94%);
  padding-block: 14px;
  padding-inline: 20px 50px;
  outline: 3px solid transparent;
  outline-offset: 0;
  transition: var(--transition-1);
}

.newsletter-card .email-field:focus { outline-color: hsla(39, 87%, 60%, 0.28); }

.newsletter-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding-inline: 20px;
  color: hsl(39, 87%, 60%);
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: hsl(216, 30%, 7%);
  color: hsl(220, 8%, 72%);
  border-block-start: 1px solid hsla(0, 0%, 100%, 0.08);
}

.footer-top {
  display: grid;
  gap: 30px;
  padding-block-end: 40px;
}

.footer-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link {
  padding-block: 4px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus) { color: var(--tan-crayola); }

.footer-brand .social-list { margin-block-start: 30px; }

.footer-list-title {
  color: hsl(42, 20%, 94%);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  margin-block-end: 15px;
}

.footer-form { position: relative; }

.footer .email-field {
  color: hsl(42, 20%, 94%);
  background-color: transparent;
  padding-block: 10px;
  padding-inline-end: 35px;
  border-block-end: 1px solid hsla(0, 0%, 100%, 0.2);
  outline: none;
}

.footer .email-field:focus { border-color: var(--tan-crayola); }

.footer-form-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  font-size: 20px;
  color: hsl(39, 87%, 60%);
}

.footer-list .wrapper {
  display: flex;
  gap: 20px;
  margin-block-start: 20px;
}

.contact-links {
  display: grid;
  gap: 8px;
}

.copyright {
  color: hsl(220, 8%, 58%);
  text-align: center;
  padding-block: 20px;
  border-block-start: 1px solid hsla(0, 0%, 100%, 0.08);
}

.copyright-link { display: inline-block; }





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--tan-crayola);
  color: var(--white);
  font-size: 24px;
  padding: 18px;
  border-radius: 50%;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

.chat-btn {
  position: fixed;
  right: 28px;
  bottom: 96px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: hsl(145, 74%, 47%);
  color: var(--white);
  font-size: 24px;
  z-index: 4;
  box-shadow: 0 18px 40px hsla(145, 74%, 20%, 0.35);
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 575px;
    width: 100%;
    margin-inline: auto;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }

  .grid-list > li:last-child {
    grid-column: span 2;
    max-width: calc(50% - 12.5px);
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .header .container { gap: 35px; }

  .header .input-wrapper { display: none; }

  .header .input-field {
    padding-block: 10px;
    padding-inline-end: 30px;
    border-block-end: 1px solid var(--black_25);
    outline: none;
    transition: var(--transition-1);
  }

  .header .input-field::-webkit-search-cancel-button { display: none; }

  .header .input-field:focus { border-block-end-color: var(--tan-crayola); }

  .header .input-wrapper .icon-svg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 24px;
  }

  .header-action { gap: 25px; }



  /**
   * NEWSLETTER
   */

  .newsletter {
    background:
      linear-gradient(135deg, hsla(39, 82%, 45%, 0.22), transparent 38%),
      hsl(216, 30%, 7%);
  }

  .newsletter-card {
    background:
      linear-gradient(135deg, hsla(39, 84%, 60%, 0.16), hsla(216, 25%, 10%, 0.96) 38%),
      hsl(216, 25%, 10%);
    padding: 20px 30px;
  }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 768px; }



  /**
   * HEADER
   */

  .header-action { gap: 35px; }

  .header .input-wrapper { width: 200px; }



  /**
   * HERO
   */
  .hero { min-height: calc(100vh - 98px); }



  /**
   * ABOUT
   */

  .about .section-text { margin-block-end: 75px; }



  /**
   * PRODUCT
   */

  .product .title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block-end: 80px;
  }

  .filter-btn-list { margin: 0; }



  /**
   * NEWSLETTER
   */

  .newsletter-card { padding: 50px 70px; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 992px; }

  .grid-list > li:last-child { all: unset; }

  .grid-list { grid-template-columns: repeat(3, 1fr); }

  .desktop-nav { display: flex; }

  .admin-link { display: block; }



  /**
   * HERO
   */

.hero .container { max-width: 1360px; }

.product-section-text {
  margin-top: 10px;
}

.catalog-status {
  margin-top: 24px;
  color: hsl(218, 15%, 72%);
}

.showroom-card {
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.04), hsla(0, 0%, 100%, 0.02));
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  border-radius: 26px;
  overflow: hidden;
}

.showroom-card .card-content {
  padding: 18px;
}

.showroom-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: hsla(216, 35%, 7%, 0.78);
  color: var(--white);
  border: 1px solid hsla(39, 82%, 55%, 0.45);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 1.2rem;
  font-weight: var(--fw-700);
}

.showroom-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: hsl(218, 15%, 73%);
  font-size: 1.4rem;
}

.showroom-price {
  color: hsl(39, 84%, 64%);
  font-weight: var(--fw-700);
}

.showroom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.showroom-btn {
  min-height: 46px;
  padding-inline: 14px;
  font-weight: var(--fw-700);
}

.showroom-btn.primary {
  background: hsl(39, 82%, 52%);
  color: hsl(216, 36%, 7%);
}

.showroom-btn.secondary {
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  color: var(--white);
}

.showroom-feature-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.showroom-feature-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  background: linear-gradient(180deg, hsla(39, 82%, 55%, 0.08), hsla(0, 0%, 100%, 0.02));
}

.showroom-feature-card strong {
  color: hsl(39, 84%, 64%);
  font-size: 2.2rem;
}

.showroom-feature-card p {
  margin-top: 10px;
}

.footer-summary {
  margin: 18px 0;
  max-width: 34ch;
}

.footer-text {
  color: hsl(218, 15%, 72%);
}



  /**
   * ABOUT
   */

  .about .section-text {
    max-width: 85ch;
    margin-inline: auto;
  }



  /**
   * NEWSLETTER
   */

  .newsletter { --section-padding: 50px; }

  .newsletter-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  .newsletter-card .card-content { margin-block-end: 0; }

  .showroom-feature-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * FOOTER
   */

  .footer-top {
    grid-template-columns: 1fr 0.75fr 0.6fr 1fr;
    padding-block-end: 60px;
  }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 3.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }



  /**
   * PRODUCT
   */

  .product-list { grid-template-columns: repeat(4, 1fr); }

  .showroom-card .card-banner { min-height: 320px; }

}

@media (max-width: 767px) {
  .showroom-actions,
  .cart-drawer-footer {
    grid-template-columns: 1fr;
  }

  .showroom-meta {
    flex-direction: column;
  }
}

