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


.error-message {
  color: red;
  font-size: 14px;
  margin-top: 8px;
}

.header {
  background-color: #0b0909; 
  color: white;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 64px;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 150px;
}

.logo img {
  vertical-align: middle;
  height: 24px;
}

.header ul {
  list-style: none;
  display: flex;
  gap: 16px;
} 

.site-navigasi {
  flex-grow: 1;
  margin-left: 50px;
}

.header nav img {
  width: 20px;
  height: auto;
}

.Cta {
  display: flex;
  align-items: center;
  padding-right: 150px;
}

.header a{
  text-decoration: none;
  color: whitesmoke;
}

/* login */

.container-login {
  display: flex;
  height: 100vh;
  width: 100%;
}

.coffee-image {
  flex: 1;
}

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


.registration-form {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.main-logo {
  width: 45px;
}

.secondary-logo {
  width: 120px;
}

.registration-form h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 5px;
}

.registration-form span {
  color: #777;
  margin-bottom: 25px;
}

.input-container {
  margin-bottom: 18px;
}

.input-container label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
  font-weight: 600;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

.input-wrapper input:focus {
  border-color: #c27b3a;
}

.password-recovery {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-password {
  font-size: 14px;
  color:#FF8906;
}

button {
  background-color: #c27b3a;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 15px;
}

button:hover {
  background-color: #a8652f;
}

.login-ref {
  font-size: 14px;
  margin-bottom: 25px;
  text-align: center;
  color: #FF8906;
}

.social-media {
  display: flex;
  gap: 15px;
}

.social-button {
  flex: 1;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;              
  justify-content: center;   
  align-items: center;  
}


.btn-grup img {
  width: 20px;       
  height: 20px;
}

.social-button:hover {
  background-color: #f5f5f5;
}


/* home */
.hero-section {
    display: flex;
    height: 600px;
}

.hero-left {
    background-color: #0B0909;
    color: #FFFFFF;
    flex: 1;
    padding: 80px 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-left h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 16px;
    color: #A0A0A0;
    margin-bottom: 30px;
    max-width: 400px;
}

.get-started-btn {
    display: inline-block;
    background-color: #FF8906;
    color: black;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: bold;
    width: fit-content;
    margin-bottom: 48px;
    text-decoration: none;
}


.stats-container {
    display: flex;
    gap: 48px;
}

.stat-item span {
    font-size: 32px;
    font-weight: bold;
    color: #FF8906;
}

.stat-item p {
    font-size: 14px;
    color: #FFFFFF;
    margin-top: 5px;
}


/* Section 2: Features Section */
.features-section {
    display: flex;
}


.features-left {
    background-color: red;
    padding: 80px 150px;
}

.features-left h2 {
  color: #0b132a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 48px;
}

.features-left h2 span {
    color: #8e6447;
}

.features-left p {
    font-family: "Plus Jakarta Sans", sans-serif;
    margin-bottom: 30px;
    max-width: 450px;
}

.feature-list {
    list-style-type: none;
}

.features-right > img{
  height: 100%;
}


/*--container favorite--*/

section.container-favorite, .visit-store {
  text-align: center;
  width: 100%;
  padding-top: 64px;
  clear: both;
}

.container-favorite,
.visit-store,
.features-left > h2{
  color: #0b132a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 48px;
}

.container-favorite,
.visit-store, span {
  color: #8e6447;
}

.favorite-line,.visit-store > div{
  width: 68px;
  height: 7px;
  background-color: #ff8906;
  text-align: center;
  margin: 25px auto;
}

.container-favorite > p {
  font-weight: 400;
  font-size: 16px;
  color: #4f5665;
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-bottom: 60px;
}

article.menu {
  display: inline-block;
  margin-right: 20px;
}

header.header-menu {
  display: inline-block;
  position: relative;
}

div.title-menu {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  margin-left: 9px;
  width: 262px;
  padding: 10px 10px 25px 10px;
  background-color: #ffffff;
}


span.menu-price {
  font-weight: 500;
  font-size: 22px;
  color: #ff8906;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.menu-footer {
  margin-top: 12px;
  display: flex;
}

button.menu-button {
  padding: 7.5px 70.5px;
  border-radius: 6px;
  background-color: #ff8906;
  border: none;
  margin-right: 7px;
  cursor: pointer;
}

.menu-footer a {
  text-decoration: none;

}

.menu-button {
  background-color: aliceblue;
}


.icon-cart-shopping img {
  vertical-align: middle;
}

.testimoni {
  background-color: #0B0909;
  display: flex;
  justify-content: center;
  gap: 50px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: white;
  padding: 50px;
}

.article-testimoni {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-testimoni span {
  display: block;
  color: #f59e0b;
}

.article-testimoni p {
  font-size: 20px;
  line-height: 1.7;
  max-width: 520px;
}






/* detail product */

.detail{
  margin-top: 100px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.main-img {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  object-fit: cover;
}

.thumb-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.thumb-row img {
  width:100%;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}


/* Checkout */
.main-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 24px; 
}

h1 {
    font-family: Plus Jakarta Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;

    margin-bottom: 20px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.left-column {
    flex: 2; 
}

.right-column {
    flex: 1;
}


.your-order-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 1.1em;
    font-weight: bold;
}

.add-menu-btn {
    background: #ff8a00;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex-grow: 1;
}

.badge {
    background: #ff3b3b;
    color: white;
    padding: 3px 6px;
    font-size: 0.7em;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 4px;
}

.item-details h3 {
    font-size: 1em;
    font-weight: normal;
}

.item-details p {
    font-size: 0.8em;
    color: #777;
    margin-top: 4px;
}

.price-original {
    font-size: 0.8em;
    color: #999;
    text-decoration: line-through;
    margin-top: 4px;
}

.price-sale {
    font-size: 1em;
    color: #ff8a00;
    font-weight: bold;
}

.remove-item-btn {
    background: none;
    border: 1px solid #ccc;
    color: #aaa;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
}


.delivery-info-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.delivery-info-section h2 {
     font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9em;
    color: #555;
}

input[type="email"], input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
}

.delivery-options {
    display: flex;
    gap: 10px;
}

.delivery-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.delivery-btn.active {
    border-color: #ff8a00;
    color: #ff8a00;
    background-color: #fffaf5;
}


.total-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.total-summary h2 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.sub-total-row {
    font-weight: bold;
    font-size: 1em;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    background: #ff8a00;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
}

.payment-methods {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.payment-methods p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-icons img {
    height: 25px;
    object-fit: contain;
}

.discount-text {
    font-size: 0.75em;
    color: #ff3b3b;
    margin-top: 10px;
}

/* histori order */


.main-content-container {
  padding: 40px 150px;
  background: #f9f9f9;
  min-height: calc(100vh - 64px);
}


.history-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.history-header h1 {
  font-size: 28px;
  font-weight: 600;
}

.badge {
  background: #eee;
  color: #333;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 6px;
}

.layout-grid-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.order-list {
  flex: 1;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.filter-btn {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.filter-btn.active {
  background: #ff9800;
  color: #fff;
  border-color: #ff9800;
}

.date-filter {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fff;
}


.order-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 14px;
  gap: 16px;
}

.order-item img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
}


.order-details {
  display: flex;
  gap: 40px;
  flex: 1;
}

.order-details p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.order-status {
  text-align: right;
  min-width: 120px;
}

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 6px;
}

.status-progress {
  background: #ffe5b4;
  color: #ff9800;
}

.order-status a {
  font-size: 13px;
  color: #ff9800;
  text-decoration: none;
}

