@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Noto+Sans+TC:wght@100;200;400;600;800&family=Poppins:wght@300;400;600&display=swap");

:root {
    /*  colors */
    --primary: #ed1b23;
    --primary-bg: rgba(237, 27, 35, 0.2); /* 0.3 is 30% opacity */
    --red-orange-color-wheel: hsl(17, 96%, 48%);
    --pink: hsl(315, 96%, 44%);
    --blue: hsl(221, 96%, 48%);
    --middle-blue-green: hsl(167, 45%, 72%);
    --smokey-black: hsl(0, 0%, 7%);
    --spanish-gray: hsl(0, 0%, 60%);
    --granite-gray: hsl(0, 0%, 40%); 
    
    --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: 'Poppins', 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;
    --fs-7: 1rem;
    --fs-8: 0.5rem;
  
    --fw-700: 700;
    --fw-500: 500;
  
    /* spacing */
    --section-padding: 88px;
  
    /* 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
  \*-----------------------------------*/

  * {
    font-family: "Dancing Script", cursive;
    font-family: "Noto Sans TC", sans-serif;
    font-family: "Poppins", sans-serif;
  }
  
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  li { list-style: none; }
  
  a,
  img,
  span,
  input,
  button,
  ion-icon { 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; }
  
  ion-icon { pointer-events: none; }
  
  address { font-style: normal; }
  
  .space_2rem {
    width: 100%;
    height: 2rem;
  }
  
  html {
    font-family: var(--ff-roboto);
    font-size: 10px;
    scroll-behavior: smooth;
  }
  
  body {
    background-color: var(--white);
    color: var(--black);
    font-size: 1.6rem;
    line-height: 1.7;
  }
  
  body.active { overflow: hidden; }
  
  :focus-visible { outline-offset: 4px; }
  
  ::placeholder { color: var(--manatee); }
  
  ::-webkit-scrollbar { width: 10px; }
  
  ::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }
  
  ::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }
  
  ::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }
  
  .fl-right { text-align: right;}
  .fl-center { text-align: center;}
  .fl-left { text-align: left;}

  .width-10rem { width: 10rem;}
  .width-20rem { width: 20rem;}
  .width-30rem { width: 30rem;}
  .width-50 { width: 50%;}
  .width-100 { width: 100%;}

  .grid-row {
    margin: 1rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    /* grid-auto-flow: column; */
    gap: 2rem;  
  }
  .flex-row {
    display: flex;
    gap: .5rem; 
  }

  .require{
    font-size: 0.75rem;
    color: var(--red);
  }

.sub_title {
  text-align: center;
  font-size: 2rem;
  font-weight: 200;
  line-height: 2;
}
  /*-----------------------------------*\
    #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(--primary); }
  
  .section { padding-block: var(--section-padding); }
  
  .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: var(--smokey-black);
    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;
  }
  
  .has-before {
    position: relative;
    z-index: 1;
  }
  
  .has-before::before {
    content: "";
    position: absolute;
  }

  /*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/
  
  .header .input-wrapper { display: none; }

  .header .mobi-hide { display: none; }
  
  .header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding-block: 1rem;
    z-index: 4;
  }
  
  .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: 1rem;
  }
  
  .logo-center {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .logo-center img {
    height: 100%;
  }

  .logo img {
    width: 100%;
    max-width: 10rem;
  }

  .clogo {
    width: 100%;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .clogo img {
    width: 10rem;
  }
  
  .header-action {
    display: flex;
    gap: 10px;
  }
  
  .header-action-btn {
    position: relative;
    font-size: 22px;
    transition: var(--transition-1);
    cursor: pointer;
  }
  
  .header-action-btn:is(:hover, :focus) { color: var(--primary); }
  
  .header-action-btn .btn-badge {
    background-color: var(--primary);
    color: var(--white);
    font-size: var(--fs-6);
    font-weight: var(--fw-500);
    position: absolute;
    top: -8px;
    right: -12px;
    padding-inline: 6px;
    border-radius: 50%;
  }
  
  
  
  
  
  /*-----------------------------------*\
    #SIDEBAR
  \*-----------------------------------*/
  
  .sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    max-width: 420px;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    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; }
  .nav-close-btn:is(:hover, :focus) { color: var(--primary); }
  
  .sidebar .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-block: 40px 75px;
  }
  
  .sidebar-list-title,
  .contact-list-title,
  .social-list-title {
    color: var(--smokey-black);
    font-weight: var(--fw-500);
  }
  
  .sidebar-list-title { margin-block-end: 15px; }
  
  .sidebar-link {
    color: var(--spanish-gray);
    margin-block-start: 6px;
    transition: var(--transition-1);
  }
  
  .sidebar-link:is(:hover, :focus) { color: var(--primary); }
  
  .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: var(--granite-gray); }
  
  .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;
  }

  /*--- top card START ---*/
  .topcart-box {
    position: fixed;
    top: 50%;
    right: -100%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: .5rem;
    border-top: 10px solid var(--primary);
    /* border-bottom: 10px solid var(--primary); */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 80%;
    padding: 1rem;
    transition: right .4s ease-in-out;
    z-index: 1000;
}

.topcart-box.active {
    right: 8%;
    transition: right .4s ease-in-out;
}

.topcart-box .card {
    position: relative;
}

.top-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1;
}

.top-overlay.active {
    display: block;
}

.cart-btn {
  display: grid;
  place-items: center;
  padding: .75rem;
  background: var(--granite-gray);
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  text-transform: capitalize;
  transition: 0.2s linear;
}
.cart-btn:is(:hover, :focus) { background: var(--primary); } 

.close-bar{
width: 100%;
display: flex;
justify-content: flex-end;
}
.close-btn{
cursor: pointer;
padding: 0.5rem;
border-radius: 50%;
}
.close-btn:is(:hover, :focus) { background: var(--primary); } 
  /*--- top card END ---*/  
  
  /*-----------------------------------*\
    #HERO
  \*-----------------------------------*/
  
  .hero { padding-block-start: calc(var(--section-padding) + 2px); }
  
  .hero-list {
    display: grid;
    gap: 15px;
  }
  
  .hero-card { position: relative; }
  
  .hero-card .img-cover { transition: var(--transition-2); }
  
  .hero-card:is(:hover, :focus) .img-cover { transform: scale(1.1); }
  
  .hero-card .card-content {
    /* background-color: white;
    opacity: .4;
    padding: 1rem; */
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;    
  }
  
  .hero-card :is(.card-title, .card-text) { 
    font-weight: var(--fw-500); 
    text-shadow: 1px 1px #ffffff;
    text-align: center;
  }
  
  .hero-card .card-title {
    text-align: center;
    font-size: var(--fs-3);
    transition: var(--transition-1);
  }
  
  .hero-card .card-title:is(:hover, :focus) { color: var(--primary); }
  

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

  .section_title {
    color: var(--white);
    background: var(--black);
    /* border-radius: 8px; */
    text-align: center;
    font-size: 2.4rem;
    font-weight: 200;
    padding: 1.2rem;
  }

  .section_title_red {
    color: var(--white);
    background: var(--primary);
    text-align: center;
    font-size: 2.4rem;
    font-weight: 200;
    padding: 1.2rem;
  }
  
  .about { text-align: center; }
  
  .about .section-title {
    font-family: var(--ff-mr_de_haviland);
    font-size: var(--fs-1);
    font-weight: var(--fw-500);
  }
  
  .about .section-text { margin-block: 12px 45px; }
  
  .about-card { position: relative; }
  
  .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); }

/*-----------------------------------*\
    #faq
  \*-----------------------------------*/
  
  .faq { text-align: left; }

  .faq .main-title {
    font-weight: var(--fw-500);
    color: var(--primary);
  }
  
  .faq .section-title {
    font-weight: var(--fw-500);
  }
  
  .faq .section-text { 
    margin-block: 12px 45px; 
    margin-bottom: 2rem;}

/*-----------------------------------*\
    #term
  \*-----------------------------------*/
  
  .term { text-align: left; }

  .term .main-title {
    font-weight: var(--fw-500);
    color: var(--primary);
  }
  
  .term .section-title {
    font-weight: var(--fw-500);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .term .section-text { 
    }

/*--- CONTENT BOX START ---*/
.content-box{
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2rem;
}
.content-box .left-box, .contact-box .right-box {
  padding: 2rem;
} 
.content-box .left-box img {
  max-width: 98%;
}
/*--- CONTENT BOX END ---*/
/*--- MENU BOX START ---*/
.menu-bg {
  background: #222;
}
.content-box .menu-box{
  padding: 0rem;
} 
.content-box .menu-box img {
  max-width: 100%;
}
/*--- MENU BOX END ---*/
/*--- CONTACT START ---*/
.contact-box{
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1rem;
}
.contact-box .left-box, .contact-box .right-box{
  padding: 0 2rem;
}
.contact-box .left-box h2{
  font-weight: var(--fw-500);
  color: var(--primary);
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  display: flex;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.form-group textarea {
  resize: vertical;
}
.text-danger {
  color: red;
}
.btn {
  background-color: var(--primary);
  width: 100%;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.btn:hover {
  background-color: #222;
}
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}
.alert-success {
  background-color: #d4edda;
  color: #155724;
}
/*--- CONTACT END ---*/

  

/*--- top cart START ---*/
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-block: 1rem;
  z-index: 4;
}

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

#navbar-cart, #navbar-logout{
width: 4rem;
height: 4rem;
display: grid;
place-items: center;
padding: 0.5rem;
background: var(--primary);
border-radius: 50%;
}

#navbar-logout i {
font-size: 2rem;
line-height: 2rem;
}
#navbar-cart i {
margin-top: 0.5rem;
font-size: 2rem;
line-height: 2rem;
}
#navbar-cart .badge {
position: relative;
top: -3rem;
right: -2rem;
width: 2rem;
height: 2rem;
display: grid;
place-items: center;
background: #f00;
color: var(--white);
border-radius: 50%;
}

.cart-row {
width: 100%;
display: grid;
grid-template-columns: 1fr 4fr 1fr 1fr 1fr 1fr;
gap: 1rem;
margin-top: 0.5rem;
margin-bottom: 1rem;
border-bottom: 1px solid var(--grey-b0);
}
.cart-img {
  width: 5rem;
}
.order-row {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
gap: 1rem;
margin-top: 0.5rem;
border-bottom: 1px solid var(--grey-b0);
}
.row-title {
background: var(--light-bg);
font-weight: 800;
padding: 0 0.25rem 0.25rem 0.25rem;
}
.row-txt {
background: var(--light-bg);
padding: 0 0.25rem 0.25rem 0.25rem;
}
.row-btn {
cursor: pointer;
}
.row-btn i:hover{
color: var(--primary);
}

.total-area {
padding: 0.5rem;
background: var(--primary);
display: grid;
align-items: center;
}
.total-txt {
font-style: 2rem;
font-weight: 800;
text-align: center;
}
.total-area .total-no {
font-size: 2.5rem;
font-weight: 800;
text-align: center;
}
.empty{
width: 100%;
text-align: center;
color: var(--red);
padding: 1rem;
}

.deli-bar {
}
.deli-bar input {
  border-bottom: 1px solid var(--black_50);
  padding: 0.5rem;
}
.deli-bar select {
  border-bottom: 1px solid var(--black_50);
  padding: 1rem;
}
.deli-txt {
  font-size: 1.4rem;
  text-align: center;
  color: var(--white);
}
.space-5rem {
  width: 100%;
  height: 5rem;
}
.check-btn {
  margin: 0 auto;
  position: relative;
  top: 0rem;
  color: var(--white);
  padding: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: var(--primary);
  border: 1rem solid var(--white);
}
/*--- top cart END ---*/
  
  
  /*-----------------------------------*\
    #PRODUCT START
  \*-----------------------------------*/
  .prod-section{
    min-height: 100vh;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    padding: 1px 2rem;
    overflow: hidden;
  }
  .prod-area{
    margin-top: 3rem;
  }
  .prod-area .page-title{
    text-align: center;
    font-size: var(--fs-2);
  }
  .prod-area .page-title:is(:hover, :focus) { color: var(--primary); }

  .prod-area .sort-bar{
    padding: 1rem 1rem;
    background: var(--black_10);
    display: grid;
  }

  .prod-area .sort-bar form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
  }
  .prod-area .sort-bar form select{
    color: var(--primary);
    height: 100%;
    padding: 0.5rem;
    border: none;
    border-bottom: 1px var(--black_50) solid;
  }
  .prod-area .sort-bar form select:focus{
    border: 1px solid var(--primary);
  }

  .prod-area .sort-bar form select option{
    height: 30px;
    color: var(--smokey-black);
    padding: 0.5rem;    
  }

  .prod-area .sort-bar form .sbtn {
    color: var(--white);
    width: 8rem;
    height: 100%;
    background: var(--primary);
    border-radius: .5rem;
  }

  .prod-area .sort-bar form .sbtn:is(:hover, :focus) { background: var(--smokey-black); }

  .prod-area .sort-bar .az-bar{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
  }
  .prod-area .sort-bar .az-txt{
    display: flex;
    gap: .25rem;
    justify-content: center;
    align-items: center;
  }
  .prod-area .sort-bar .az-txt:is(:hover, :focus) { color: var(--primary); }

  .prod-card { 
    margin-top: 8rem;
    position: relative; }
  
  .prod-card .img-cover { transition: var(--transition-2); }
  
  .prod-card:is(:hover, :focus) .img-cover { transform: scale(1.1); }

  .product .section-title { text-align: center; }

  .product .flex-txt {
    color: var(--black_50);
    display: flex;
    gap: 0.25rem;
    align-items: center;
  }

  .product .flex-txt:is(:hover, :focus) { color: var(--primary); }

  .prod-box {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: .5rem;  
}

  .product-card { text-align: center; }
  
  .product-card .card-banner::before {
    inset: 0;
    background-color: var(--black_10);
    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: var(--white);
    font-size: 22px;
    padding: 12px;
    border-radius: 50%;
    transition: var(--transition-1);
  }
  
  .product-card .card-action-btn:is(:hover, :focus) { color: var(--primary); }
  
  .product-card .badge-list {
    position: absolute;
    top: 15px;
    left: 15px;
  }
  
  .product-card .badge {
    color: var(--white);
    font-size: 0.85rem;
    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(--blue); }
  .product-card .badge.pink { background-color: var(--pink); }
  
  .product-card .card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--black);
    color: var(--white);
    font-weight: var(--fw-500);
    padding-inline: 15px;
  }
  
  .product-card .h3 { font-size: unset; }
  
  .product-card .card-title {
    color: var(--smokey-black);
    font-weight: var(--fw-500);
    margin-block: .5rem .25rem;
    transition: var(--transition-1);
  }
  
  .product-card .card-title{
    font-size: var(--fs-5);
  }
  .product-card .card-title:is(:hover, :focus) { color: var(--primary); }
  
  .product-card .card-price {
    color: var(--granite-gray);
    font-size: var(--fs-5);
    margin-bottom: var(--fs-7);
    display: flex;
    justify-content: center;
    gap: 15px;
    
  }
  
  .product-card .card-price .del { color: var(--spanish-gray); }

  .product-card .prod-img {
    width: 100%;
}
  
  /*-----------------------------------*\
    #BLOG
  \*-----------------------------------*/
  
  .blog .title-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 50px;
    margin-block-end: 50px;
  }
  
  .blog .btn-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: var(--fw-500);
    transition: var(--transition-1);
  }
  
  .blog .btn-link:is(:hover, :focus) { color: var(--primary); }

  .blog-card {
    background-color: white;
    border: 1px solid #808080;
    padding: 1rem;
  }
  
  .blog-card .card-banner { position: relative; }
  
  .blog-card .card-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--white);
    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 {
    margin-block: 20px 10px;
    transition: var(--transition-1);
  }
  
  .blog-card .card-title:is(:hover, :focus) { color: var(--primary); }
  
  .blog-card .card-meta-list {
    display: flex;
    align-items: center;
  }
  
  .card-meta-item {
    position: relative;
    color: var(--granite-gray);
    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: var(--black);
    transition: var(--transition-1);
  }
  
  a.card-meta-text:is(:hover, :focus) { color: var(--primary); }
  
  
  
  
  
  /*-----------------------------------*\
    #NEWSLATTER
  \*-----------------------------------*/
  
  .newsletter {
    --section-padding: 20px;
    background-color: var(--cultured);
  }
  
  .newsletter-card { padding-inline: 15px; }
  
  .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 {
    background-color: var(--white);
    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: var(--black_25); }
  
  .newsletter-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding-inline: 20px;
  }
  
  
  
  
  
  /*-----------------------------------*\
    #FOOTER
  \*-----------------------------------*/
  
  .footer-top {
    display: grid;
    gap: 30px;
    padding-block-end: 40px;
  }
  
  .footer-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-list-item .footer_icon {
    width: 2rem;
  }
  
  .footer-link {
    padding-block: 4px;
    transition: var(--transition-1);
  }
  
  .footer-link:is(:hover, :focus) { color: var(--primary); }
  
  .footer-brand .social-list { margin-block-start: 30px; }

  .footer-brand .footer-logo { width: 6rem; }
  
  .footer-list-title {
    color: var(--smokey-black);
    font-size: var(--fs-4);
    font-weight: var(--fw-500);
    margin-block-end: 15px;
  }
  
  .footer-form { position: relative; }
  
  .footer .email-field {
    padding-block: 10px;
    padding-inline-end: 35px;
    border-block-end: 1px solid var(--black_25);
    outline: none;
  }
  
  .footer .email-field:focus { border-color: var(--primary); }
  
  .footer-form-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    font-size: 20px;
    color: var(--granite-gray);
  }
  
  .footer-list .wrapper {
    display: flex;
    gap: 20px;
    margin-block-start: 20px;
  }
  
  .copyright {
    text-align: center;
    padding-block: 20px;
  }
  
  .copyright-link { display: inline-block; }
  
  
  
  
  
  /*-----------------------------------*\
    #BACK TO TOP
  \*-----------------------------------*/
  
  .back-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    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);
  }
  
  
  
  
  
  /*-----------------------------------*\
    #MEDIA QUERIES
  \*-----------------------------------*/
  @media (max-width: 575px) {
    .mobile-hide {
      display: none;
    }
  }
  
  /*--- responsive for large than 575px screen ---*/
  
  @media (min-width: 575px) {
    .mobile-hide {
      display: block;
    }
    /*--- 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: block;
      position: relative;
    }
  
    .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(--primary); }
  
    .header .input-wrapper form {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .header .input-wrapper form .circle-btn{
      color: var(--white);
      background: var(--black_25);
      padding: 0.5rem;
      display: grid;
      place-items: center;     
      border-radius: 30%; 
    } 

    .header .input-wrapper form .circle-btn:is(:hover, :focus) { background: var(--primary); }
  
    /* .header-action { gap: 1.5rem; } */

    /*--- PRODUCT START ---*/
    .prod-area .sort-bar{
      display: flex;
      justify-content: space-between;
    }
    /*--- PRODUCT END ---*/
    /*--- NEWSLETTER ---*/
  
    .newsletter { background: none; }
  
    .newsletter-card {
      background-color: var(--cultured);
      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: 24px; }
  
    .header .input-wrapper { width: 200px; }

    .header .mobi-hide { display: block; }
  
  
  
    /**
     * HERO
     */
  
    .hero-list {
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
  
    .hero-list .colspan-2 { grid-column: span 2; }
  
  
  
    /**
     * ABOUT
     */
  
    .about .section-text { margin-block-end: 75px; }
  
    /*--- PRODUCT START---*/
  
    .product .title-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      /* margin-block-end: 2rem; */
    }

    /*--- PRODUCT END---*/
  
    /**
     * 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); }
  
  
  
    /**
     * HERO
     */
  
    .hero-card .card-title { --fs-3: 2.2rem; }
  
  
  
    /**
     * 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; }
  
  
  
    /**
     * 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); }
  
  }