@import url( "https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" );


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

body 
{
    font-family: "Open Sans";
    background: #0a1014;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(18, 140, 126, 0.03) 0px,
            rgba(18, 140, 126, 0.03) 1px,
            transparent 1px,
            transparent 60px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(18, 140, 126, 0.03) 0px,
            rgba(18, 140, 126, 0.03) 1px,
            transparent 1px,
            transparent 60px
        );
    min-height: 100vh;
    color: #e9edef;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: #128c7e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

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

h1 {
    color: #ffffff;
    font-size: 2em;
}

h1.title {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 1.8em;
}

h1.title > a.link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

h1.title img 
{
	  --color-border-green: #25d366;
    --color-border-black: #333333;
    --color-border-trans: transparent;
    vertical-align: middle;
    border-radius: 50%;
    height: 64px;
    border: 3px solid var( --color-border-trans );
}

.cart-icon {
    background: #25d366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.cart-icon:hover {
    transform: scale(1.05);
    background: #20bd5c;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-card {
    background: #1f2c34;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2a3942;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    border-color: #128c7e;
}

.product-image {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    margin-bottom: 15px;
    background: #0d1418;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2) brightness(0.95);
}

.product-card:nth-child(1) img { filter: sepia(0.2) contrast(1.1) hue-rotate(0deg) brightness(0.95); } 
.product-card:nth-child(2) img { filter: sepia(0.2) contrast(1.1) hue-rotate(5deg) brightness(0.95); transform: scaleX(-1); } 
.product-card:nth-child(3) img { filter: sepia(0.2) contrast(1.1) hue-rotate(355deg) brightness(0.95); }
.product-card:nth-child(4) img { filter: sepia(0.2) contrast(1.1) hue-rotate(10deg) brightness(0.95); transform: scaleX(-1); }
.product-card:nth-child(5) img { filter: sepia(0.2) contrast(1.1) hue-rotate(350deg) brightness(0.95); }
.product-card:nth-child(6) img { filter: sepia(0.2) contrast(1.1) hue-rotate(360deg) brightness(0.95); transform: scaleX(-1); }

.product-name {
    font-size: 1.3em;
    color: #25d366;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    color: #8696a0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5em;
    color: #e9edef;
    font-weight: bold;
    margin-bottom: 15px;
		text-align: right;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.add-to-cart-btn:hover {
    background: #128c7e;
}

.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: #1f2c34;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    transition: right 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: #128c7e;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.1);
}

#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #0d1418;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #2a3942;
    background: #1f2c34;
    margin-bottom: 10px;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #e9edef;
}

.cart-item-price {
    color: #25d366;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #25d366;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #128c7e;
}

.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background 0.3s;
}

.remove-btn:hover {
    background: #c0392b;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #2a3942;
    background: #1f2c34;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #e9edef;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.checkout-btn:hover {
    background: #20bd5c;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: #128c7e;
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transform: translateX(500px);
    transition: transform 0.3s;
    z-index: 2000;
    border-left: 4px solid #25d366;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 768px) 
{
	  h1.title
		{
			gap: 1rem;
		}
		
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
}