:root {
    --bg: #F8F2EE;
    --pink: #F6C6EA;
    --lavender: #DBD5DC;
    --green: #727b6e;
    --text: #2b2b2b;
    --white: #FFFDFC;
    --border: #D9D0D2;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg);
    color: var(--green);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.navbar {
    width: 100%;
    padding-top: 1%;
    padding-left: 3%;
    padding-right: 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--green);
}
.logo img {
    width: 50px;
    height: 50px;
}
.nav-links {
    display: flex;
    gap: 35px;
}
.nav-links a,
.cart {
    color: var(--green);
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.2s ease;
}
.nav-links a:hover,
.cart:hover {
    opacity: 0.6;
}
.nav-links .active {
    border-bottom: solid 1px var(--green);
}
.nav-icons {
    font-size: 1rem;
    float: right;
}
.nav-icons a {
    color: var(--green);
    padding: 10px;
    float: right;
    text-decoration: none;
}
#cart-count {
    position: absolute;
    top: 22px;
    right: 40px;
    background: #d8a9c4;
    color: white;
    font-size: 10px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-page {
    flex: 1;
    padding: 70px 6% 100px;
}
.shop-intro {
    max-width: 1000px;
    margin: 0 auto 70px;
}
.shop-intro h1 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 18px;
}
.shop-intro p {
    max-width: 500px;
    font-size: 16px;
    line-height: 1.7;
}
.collection-divider {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-left: 15%;
}
@media (max-width: 768px) {
    .collection-divider {
        align-items: center;
        margin-left: 0;
    }
}
.collection-divider img {
    width: 150px;
    height: auto;
    margin-top: 0;
}
.featured-product {
    max-width: 1000px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}
.featured-image {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
}
.featured-image img {
    width: 100%;
    display: block;
}
.featured-info {
    padding-right: 20px;
}
.featured-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9B9397;
}
.featured-info h2 {
    font-size: 34px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 8px;
}
.product-theme {
    font-size: 15px;
    margin-bottom: 25px;
}
.product-description {
    font-size: 15px;
    line-height: 1.7;
    max-width: 360px;
    margin-bottom: 25px;
}
.price {
    font-size: 18px;
    margin-bottom: 20px;
}
.product-pair {
    max-width: 1000px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.product {
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: 10px;
    overflow: hidden;
}
.product-image {
    overflow: hidden;
}
.product-image img {
    width: 100%;
    display: block;
}
.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.product-info h2 {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 6px;
}
.product-info p {
    font-size: 14px;
}
.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-bottom span {
    font-size: 16px;
}
.add-to-cart {
    width: 150px;
    height: 35px;
    border: solid 1px var(--green);
    background-color: var(--green);
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.add-to-cart:hover {
    background-color: transparent;
    color: var(--green);
    transition: 0.4s;
}
.shop-divider {
    text-align: center;
    margin: 20px 0 80px;
}
.shop-divider img {
    width: 150px;
}
.what-we-offer {
    max-width: 1000px;
    margin: 0 auto 100px;
}
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 12px;
}
.section-heading p {
    max-width: 550px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.offer {
    text-align: center;
}
.offer img {
    width: 100%;
    max-width: 200px;
    height: 190px;
    object-fit: contain;
    margin-bottom: 15px;
}
.offer h3 {
    font-size: 15px;
    font-weight: 500;
}
.second-pair {
    margin-bottom: 100px;
}
.shop-ending {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 50px 20px;
}
.shop-ending img {
    width: 55px;
    margin-bottom: 20px;
}
.shop-ending h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
}
.shop-ending p {
    font-size: 15px;
    line-height: 1.7;
}
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 1500;
    padding: 25px;
    box-sizing: border-box;
    transition: right 0.3s ease;
    overflow-y: auto;
    color: var(--green);
}
.cart-panel.open {
    right: 0;
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}
#close-cart {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--green);
}
.cart-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.cart-item p {
    margin: 5px 0;
    font-size: 14px;
}
.cart-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}
.cart-controls button {
    border: 1px solid var(--green);
    background: transparent;
    color: var(--green);
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.empty-cart {
    text-align: center;
    margin-top: 40px;
}
.cart-footer {
    margin-top: 25px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}
.checkout-btn {
    width: 100%;
    padding: 12px;
    border: solid 1px var(--green);
    background-color: var(--green);
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.checkout-btn:hover {
    background-color: transparent;
    color: var(--green);
    transition: 0.4s;
}
.checkout-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.checkout-modal.open {
    display: flex;
}
.checkout-box {
    background: white;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    color: var(--green);
}
.close-checkout {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--green);
}
#checkout-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#checkout-form label {
    margin-top: 12px;
}
#checkout-form input,
#checkout-form textarea,
#checkout-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
    color: var(--green);
    background: white;
}
#checkout-form textarea {
    min-height: 80px;
    resize: vertical;
}
.submit-order {
    margin-top: 20px;
    width: 100%;
    padding: 13px;
    border: solid 1px var(--green);
    background-color: var(--green);
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.submit-order:hover {
    background-color: transparent;
    color: var(--green);
    transition: 0.4s;
}
#footer {
    background-color: var(--lavender);
    color: var(--green);
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-image img {
    width: 200px;
    height: auto;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a,
#socials a {
    color: var(--green);
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}
#socials {
    display: flex;
    gap: 20px;
}
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.copyright {
    margin: 0;
    font-size: 13px;
}
.footer-email {
    color: var(--green);
    text-decoration: none;
    font-size: 14px;
}
.footer-email:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    #cart-count {
        top: 28px;
        right: 23px;
    }
    .navbar {
        padding: 20px 6%;
        flex-wrap: wrap;
        gap: 20px;
    }
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 25px;
    }
    .shop-page {
        padding: 50px 6% 70px;
    }
    .shop-intro h1 {
        font-size: 38px;
    }
    .featured-product {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 70px;
    }
    .featured-info {
        padding-right: 0;
    }
    .featured-info h2 {
        font-size: 30px;
    }
    .product-pair {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 70px;
    }
    .offer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }
    .offer img {
        height: 150px;
    }
    .section-heading h2 {
        font-size: 27px;
    }
    .shop-ending {
        padding: 30px 10px;
    }
    #footer {
        flex-direction: column;
        gap: 25px;
    }
    .footer-links {
        font-size: 13px;
        flex-direction: row;
        gap: 15px;
    }
    #socials {
        flex-direction: row;
        gap: 20px;
    }
    .footer-image img {
        width: 170px;
    }
}
@media (max-width: 500px) {
    .nav-links {
        gap: 18px;
    }
    .nav-links a {
        font-size: 14px;
    }
    .cart-panel {
        width: 100%;
        right: -100%;
    }
    .checkout-box {
        padding: 25px 20px;
    }
    .product-info {
        padding: 20px;
    }
    .product-bottom {
        align-items: flex-end;
        gap: 15px;
    }
    .product-bottom .add-to-cart {
        width: 130px;
    }
}