* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #123b2f;
    color: #f5eee3;
}

header {
    padding: 20px 5%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #f5eee3;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.order-button {
    background-color: #e6b82f;
    color: #123b2f;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
}

.hero {
    min-height: 650px;
    padding: 80px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    overflow: hidden;
}

.hero-visual {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coffee-circle {
    width: 420px;
    height: 420px;
    background-color: #e6b82f;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-7deg);
}

.hero-coffee-image {
    width: 115%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    transform: rotate(7deg);
    filter: drop-shadow(0 30px 25px rgba(0, 0, 0, 0.3));
}

.hero-content {
    max-width: 900px;
}

.small-title {
    color: #e6b82f;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 110px;
    line-height: 0.85;
    letter-spacing: -7px;
    font-weight: 900;
}

.hero-description {
    margin-top: 30px;
    max-width: 420px;
    color: #cdd8d2;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.primary-button {
    background-color: #e6b82f;
    color: #123b2f;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: bold;
}

.secondary-button {
    background-color: transparent;
    color: #f5eee3;
    border: 2px solid #f5eee3;
    padding: 13px 25px;
    border-radius: 30px;
    font-weight: bold;
}

.coffee-strip {
    background-color: #e6b82f;
    color: #123b2f;
    padding: 18px 0;
    overflow: hidden;

    transform: rotate(-2deg) scale(1.03);
}

.coffee-strip-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;

    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
}

.coffee-strip-content span::after {
    content: " • ";
    margin-left: 70px;
}

.trending {
    background-color: #123b2f;
    padding: 100px 5%;
}

.trending-header {
    max-width: 1400px;
    margin: 0 auto 50px;

    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
}

.trending-header h2 {
    color: #f5eee3;
    font-size: 75px;
    line-height: 0.85;
    letter-spacing: -5px;
}

.trending-description {
    color: #cdd8d2;
    max-width: 300px;
    line-height: 1.6;
} 

.trending-products {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.trending-card {
    background-color: #f5eee3;
    color: #123b2f;
    padding: 12px;

    transition: transform 0.3s ease;
}

.trending-card:hover {
    transform: translateY(-8px);
}

.trending-image {
    height: 260px;
    background-color: #e8ddce;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.trending-image img {
    width: 90%;
    height: 90%;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.trending-card:hover .trending-image img {
    transform: scale(1.08);
}

.trending-card h3 {
    margin-top: 18px;

    font-size: 17px;
    font-weight: 900;
}

.trending-card p {
    margin-top: 8px;

    min-height: 42px;

    color: #666666;

    font-size: 13px;
    line-height: 1.5;
}

.trending-bottom {
    margin-top: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;
}

.trending-bottom span {
    font-size: 18px;
    font-weight: 900;
}

.add-cart-button {
    background-color: #e6b82f;
    color: #123b2f;

    border: none;

    padding: 10px 12px;

    font-size: 11px;
    font-weight: 900;

    cursor: pointer;

    transition: 0.3s;
}

.add-cart-button:hover {
    background-color: #123b2f;
    color: #f5eee3;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-button {
    position: relative;

    background-color: transparent;
    color: #f5eee3;

    border: 2px solid #f5eee3;

    padding: 11px 18px;

    border-radius: 30px;

    font-weight: bold;

    cursor: pointer;
}

#cartCount {
    position: absolute;

    top: -8px;
    right: -8px;

    width: 22px;
    height: 22px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #e6b82f;
    color: #123b2f;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 900;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 999;
}


.cart-drawer {
    position: fixed;

    top: 0;
    right: -450px;

    width: 420px;
    max-width: 100%;
    height: 100vh;

    background-color: #f5eee3;
    color: #123b2f;

    z-index: 1000;

    display: flex;
    flex-direction: column;

    transition: right 0.3s ease;
}

.cart-header {
    background-color: #123b2f;
    color: #f5eee3;

    padding: 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 28px;
}

.close-cart {
    background: none;
    border: none;

    color: #f5eee3;

    font-size: 35px;

    cursor: pointer;
}

.cart-items {
    flex: 1;

    padding: 25px;

    overflow-y: auto;
}

.empty-cart {
    color: #666666;
    text-align: center;

    margin-top: 50px;
}

.cart-footer {
    background-color: white;

    padding: 25px;

    border-top: 2px solid #123b2f;
}

.cart-total {
    display: flex;
    justify-content: space-between;

    margin-bottom: 20px;

    font-size: 20px;
    font-weight: 900;
}

.checkout-button {
    width: 100%;

    background-color: #e6b82f;
    color: #123b2f;

    border: none;

    padding: 16px;

    font-weight: 900;

    cursor: pointer;
}

.cart-drawer.open {
    right: 0;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 18px 0;

    border-bottom: 1px solid #d6cec2;
}

.cart-item strong {
    color: #123b2f;
}

.cart-item p {
    margin-top: 5px;

    color: #666666;

    font-size: 13px;
}

.cart-item-info {
    flex: 1;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 12px;
}

.quantity-controls button {
    width: 30px;
    height: 30px;

    background-color: #123b2f;
    color: #f5eee3;

    border: none;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
}

.quantity-controls span {
    min-width: 20px;

    text-align: center;

    font-weight: 900;
}

.remove-button {
    margin-top: 12px;

    background: none;
    color: #a33a2b;

    border: none;

    font-size: 11px;
    font-weight: 900;

    cursor: pointer;
}

.checkout-page {
    min-height: 100vh;
    padding: 70px 5%;
    background-color: #123b2f;
}

.checkout-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;
}

.checkout-left h1 {
    font-size: 75px;
    line-height: 0.85;
    letter-spacing: -5px;

    margin-bottom: 40px;
}

.checkout-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.checkout-form label {
    display: flex;
    flex-direction: column;

    gap: 8px;

    font-size: 12px;
    font-weight: 900;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;

    background-color: #f5eee3;
    color: #123b2f;

    border: none;

    padding: 15px;

    font-family: inherit;
    font-size: 16px;
}

.checkout-form textarea {
    min-height: 100px;
    resize: vertical;
}

.payment-box {
    padding: 20px;

    border: 2px solid #e6b82f;
}

.payment-box p {
    color: #e6b82f;

    margin-top: 8px;

    font-size: 20px;
    font-weight: 900;
}

.place-order-button {
    background-color: #e6b82f;
    color: #123b2f;

    border: none;

    padding: 17px;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;
}

.checkout-right {
    background-color: #f5eee3;
    color: #123b2f;

    padding: 35px;
}

.checkout-right h2 {
    font-size: 30px;

    margin-bottom: 30px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px solid #d4cabd;
}

.checkout-item p {
    color: #666666;

    margin-top: 6px;

    font-size: 13px;
}

.checkout-total {
    display: flex;
    justify-content: space-between;

    margin-top: 30px;
    padding-top: 20px;

    border-top: 3px solid #123b2f;

    font-size: 22px;
}

.empty-checkout {
    color: #666666;
}

@media (max-width: 800px) {

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-left h1 {
        font-size: 55px;
    }

}