* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #1a1a2e;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px),
        linear-gradient(180deg, #0f3460 0%, #16213e 100%);
    min-height: 100vh;
    color: #eee;
}

a.link {
    text-decoration: none;
    transition: all 0.3s ease;
}

a.link:hover {
    text-shadow: 0 0 10px #ff6b6b, 0 0 20px #ff6b6b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    box-shadow: 0 4px 0 #ff6b6b, 0 8px 20px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    border-bottom: 3px solid #4ecca3;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        #ff6b6b 0px,
        #ff6b6b 10px,
        #4ecca3 10px,
        #4ecca3 20px,
        #feca57 20px,
        #feca57 30px
    );
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    color: #feca57;
    font-size: 2em;
    text-shadow: 
        3px 3px 0 #ff6b6b,
        6px 6px 0 #4ecca3,
        2px 2px 10px rgba(0,0,0,0.8);
    font-weight: bold;
    letter-spacing: 2px;
}

h1.title
{
  display: flex;
  align-items: center;      /* vertically center image and text */
  gap: 3rem;                /* space between the image and text */
  font-size: 1.8em;         /* adjust as you like */
}

h1.title > a.link 
{
  display: flex;
  align-items: center;
	text-decoration: none;
}

h1.title img 
{
  vertical-align: middle;   /* optional, extra safety */
  border-radius: 50%;       /* optional, if you want a round avatar */
	height: 64px;
}

.cart-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 12px 25px;
    border: 3px solid #feca57;
    box-shadow: 
        0 4px 0 #c0392b,
        0 8px 15px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-icon:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 #c0392b,
        0 10px 20px rgba(0,0,0,0.5);
}

.cart-icon:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #c0392b,
        0 4px 10px rgba(0,0,0,0.4);
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border: 4px solid #4ecca3;
    box-shadow: 
        0 0 0 4px #16213e,
        8px 8px 0 #ff6b6b,
        8px 8px 20px rgba(0,0,0,0.6);
    padding: 20px;
    transition: all 0.3s;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecca3, #feca57, #ff6b6b);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    opacity: 0.3;
}

.product-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 
        0 0 0 4px #16213e,
        12px 12px 0 #ff6b6b,
        12px 12px 25px rgba(0,0,0,0.7);
}

.product-image {
    width: 100%;
    height: 250px;
    background: #0f0f1e;
    border: 3px solid #feca57;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
}
 

.product-card:nth-child(1) img { filter: sepia(0.2) contrast(1.1) hue-rotate(0deg); } 
.product-card:nth-child(2) img { filter: sepia(0.2) contrast(1.1) hue-rotate(5deg); transform: scaleX(-1); } 
.product-card:nth-child(3) img { filter: sepia(0.2) contrast(1.1) hue-rotate(355deg); }
.product-card:nth-child(4) img { filter: sepia(0.2) contrast(1.1) hue-rotate(10deg); transform: scaleX(-1); }
.product-card:nth-child(5) img { filter: sepia(0.2) contrast(1.1) hue-rotate(350deg); }
.product-card:nth-child(6) img { filter: sepia(0.2) contrast(1.1) hue-rotate(360deg); transform: scaleX(-1); }

.product-name {
    font-size: 1.4em;
    color: #feca57;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.product-description {
    color: #4ecca3;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95em;
}

.product-price {
    font-size: 1.8em;
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4ecca3 0%, #3ba583 100%);
    color: #0f0f1e;
    border: 3px solid #feca57;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 0 #2d7a5f, 0 6px 15px rgba(0,0,0,0.4);
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2d7a5f, 0 8px 20px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #5fde9f 0%, #4ecca3 100%);
}

.add-to-cart-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2d7a5f, 0 4px 10px rgba(0,0,0,0.3);
}

.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: linear-gradient(180deg, #16213e 0%, #0f3460 100%);
    border-left: 5px solid #4ecca3;
    box-shadow: -8px 0 0 #ff6b6b, -16px 0 30px rgba(0,0,0,0.7);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 25px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #feca57;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cart-header h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.close-btn {
    background: #feca57;
    border: 2px solid #fff;
    color: #16213e;
    font-size: 1.5em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.close-btn:hover {
    transform: rotate(90deg);
    background: #fff;
    color: #ff6b6b;
}

#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 40px,
        rgba(78, 204, 163, 0.05) 40px,
        rgba(78, 204, 163, 0.05) 80px
    );
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border: 3px solid #4ecca3;
    background: rgba(15, 15, 30, 0.6);
    margin-bottom: 15px;
    box-shadow: 4px 4px 0 rgba(255, 107, 107, 0.3);
    transition: all 0.2s;
}

.cart-item:hover {
    transform: translateX(-3px);
    box-shadow: 6px 6px 0 rgba(255, 107, 107, 0.5);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    margin-bottom: 8px;
    color: #feca57;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95em;
}

.cart-item-price {
    color: #4ecca3;
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #4ecca3;
    color: #0f0f1e;
    border: 2px solid #feca57;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #feca57;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.cart-item-controls span {
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background: #ff6b6b;
    color: #fff;
    border: 2px solid #feca57;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
}

.remove-btn:hover {
    background: #ee5a6f;
    transform: scale(1.05);
}

.cart-footer {
    padding: 25px;
    border-top: 4px solid #4ecca3;
    background: rgba(15, 15, 30, 0.8);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #feca57;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #feca57 0%, #f39c12 100%);
    color: #16213e;
    border: 4px solid #4ecca3;
    font-size: 1.2em;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 0 #d68910, 0 6px 15px rgba(0,0,0,0.4);
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #d68910, 0 8px 20px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #f8d866 0%, #feca57 100%);
}

.checkout-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d68910, 0 4px 10px rgba(0,0,0,0.3);
}

.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #4ecca3 0%, #3ba583 100%);
    color: #0f0f1e;
    border: 4px solid #feca57;
    box-shadow: 
        0 0 0 4px #16213e,
        8px 8px 0 #ff6b6b,
        8px 8px 25px rgba(0,0,0,0.6);
    transform: translateX(600px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1em;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 768px) 
{
	  h1.title
		{
			gap: 1rem;
		}
		
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
}