* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    background: #2a1810;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(0,0,0,0.1) 3px,
            rgba(0,0,0,0.1) 6px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(0,0,0,0.05) 3px,
            rgba(0,0,0,0.05) 6px
        ),
        linear-gradient(180deg, #3d2817 0%, #2a1810 100%);
    min-height: 100vh;
    color: #f4e8d8;
}

a.link {
    text-decoration: none;
    transition: all 0.3s ease;
    filter: sepia(0.3);
}

a.link:hover {
    filter: sepia(0.6) brightness(1.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: 
        linear-gradient(135deg, rgba(101,67,33,0.9) 0%, rgba(139,90,43,0.9) 100%),
        repeating-linear-gradient(
            90deg,
            #654321,
            #654321 40px,
            #5a3a1f 40px,
            #5a3a1f 80px
        );
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.1),
        inset 0 -2px 4px rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    border-top: 3px solid #d4a574;
    border-bottom: 3px solid #4a2f1a;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.1) 2px,
        rgba(0,0,0,0.1) 4px
    );
    pointer-events: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    color: #f4d9a8;
    font-size: 2em;
    text-shadow: 
        2px 2px 0 rgba(0,0,0,0.5),
        0 0 20px rgba(212,165,116,0.3);
    font-weight: normal;
    letter-spacing: 3px;
    font-style: italic;
    font-family: 'Georgia', serif;
}

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, rgba(139,90,43,0.95) 0%, rgba(101,67,33,0.95) 100%),
        repeating-linear-gradient(
            45deg,
            #8b5a2b,
            #8b5a2b 10px,
            #7a4d24 10px,
            #7a4d24 20px
        );
    color: #f4e8d8;
    padding: 12px 25px;
    border: 2px solid #d4a574;
    box-shadow: 
        inset 1px 1px 2px rgba(255,255,255,0.2),
        inset -1px -1px 2px rgba(0,0,0,0.3),
        2px 2px 8px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: normal;
    font-size: 1em;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

.cart-icon:hover {
    background: 
        linear-gradient(135deg, rgba(159,110,63,0.95) 0%, rgba(121,87,53,0.95) 100%);
    box-shadow: 
        inset 1px 1px 3px rgba(255,255,255,0.3),
        inset -1px -1px 3px rgba(0,0,0,0.4),
        2px 2px 12px rgba(0,0,0,0.5);
}

.cart-icon:active {
    box-shadow: 
        inset 2px 2px 4px rgba(0,0,0,0.4),
        inset -1px -1px 2px rgba(255,255,255,0.1);
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.product-card {
    background: 
        linear-gradient(135deg, rgba(101,67,33,0.8) 0%, rgba(80,53,26,0.8) 100%),
        repeating-linear-gradient(
            0deg,
            #654321,
            #654321 60px,
            #5a3a1f 60px,
            #5a3a1f 120px
        );
    border: 3px solid #8b5a2b; border-radius: 15px;
    box-shadow: 
        inset 2px 2px 4px rgba(255,255,255,0.1),
        inset -2px -2px 4px rgba(0,0,0,0.3),
        4px 4px 12px rgba(0,0,0,0.6);
    padding: 25px;
    transition: all 0.3s;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(212,165,116,0.2);
    pointer-events: none;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    --xbackground: repeating-linear-gradient( 90deg, transparent, transparent 2px, rgba(0,0,0, 0.05) 2px, rgba(0,0,0, 0.05) 4px );
    pointer-events: none;
		 
}



.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        inset 2px 2px 5px rgba(255,255,255,0.15),
        inset -2px -2px 5px rgba(0,0,0,0.4),
        6px 6px 16px rgba(0,0,0,0.7);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient( 135deg, #2a1810 0%, #1a0f08 100% );
    border: 4px solid #8b5a2b;
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.8),
        inset 2px 2px 4px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(139,90,43,0.3);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     
}

.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: #d4a574;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: normal;
    font-style: italic;
    font-family: 'Georgia', serif;
}

.product-description {
    color: #c4b5a0;
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 0.95em;
}

.product-price {
    font-size: 1.8em;
    color: #f4d9a8;
    font-weight: normal;
    margin-bottom: 18px;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    background: 
        linear-gradient(135deg, rgba(139,90,43,0.95) 0%, rgba(101,67,33,0.95) 100%),
        repeating-linear-gradient(
            45deg,
            #8b5a2b,
            #8b5a2b 10px,
            #7a4d24 10px,
            #7a4d24 20px
        );
    color: #f4e8d8;
    border: 2px solid #d4a574;
    font-size: 1em;
    cursor: pointer;
    font-weight: normal;
    letter-spacing: 2px;
    box-shadow: 
        inset 1px 1px 2px rgba(255,255,255,0.2),
        inset -1px -1px 2px rgba(0,0,0,0.3),
        2px 2px 8px rgba(0,0,0,0.4);
    transition: all 0.3s;
    font-family: 'Georgia', serif;
}

.add-to-cart-btn:hover {
    background: 
        linear-gradient(135deg, rgba(159,110,63,0.95) 0%, rgba(121,87,53,0.95) 100%);
    box-shadow: 
        inset 1px 1px 3px rgba(255,255,255,0.3),
        inset -1px -1px 3px rgba(0,0,0,0.4),
        2px 2px 12px rgba(0,0,0,0.5);
}

.add-to-cart-btn:active {
    box-shadow: 
        inset 2px 2px 4px rgba(0,0,0,0.4),
        inset -1px -1px 2px rgba(255,255,255,0.1);
}

.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: 
        linear-gradient(180deg, rgba(101,67,33,0.98) 0%, rgba(80,53,26,0.98) 100%),
        repeating-linear-gradient(
            0deg,
            #654321,
            #654321 80px,
            #5a3a1f 80px,
            #5a3a1f 160px
        );
    border-left: 4px solid #8b5a2b;
    box-shadow: 
        inset 2px 0 4px rgba(255,255,255,0.1),
        -4px 0 20px rgba(0,0,0,0.7);
    transition: right 0.4s ease-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 4px,
        rgba(0,0,0,0.05) 4px,
        rgba(0,0,0,0.05) 8px
    );
    pointer-events: none;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 25px;
    background: 
        linear-gradient(135deg, rgba(139,90,43,0.95) 0%, rgba(101,67,33,0.95) 100%);
    color: #f4e8d8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #d4a574;
    box-shadow: 
        inset 0 1px 2px rgba(255,255,255,0.2),
        0 2px 8px rgba(0,0,0,0.4);
}

.cart-header h2 {
    letter-spacing: 3px;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.5);
    font-weight: normal;
    font-style: italic;
    font-family: 'Georgia', serif;
}

.close-btn {
    background: 
        linear-gradient(135deg, #d4a574 0%, #b8906a 100%);
    border: 2px solid #8b5a2b;
    color: #2a1810;
    font-size: 1.3em;
    cursor: pointer;
    width: 38px;
    height: 38px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 
        inset 1px 1px 2px rgba(255,255,255,0.3),
        2px 2px 4px rgba(0,0,0,0.4);
    font-family: Arial, sans-serif;
}

.close-btn:hover {
    background: 
        linear-gradient(135deg, #e4b584 0%, #c8a07a 100%);
    transform: scale(1.05);
}

#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: rgba(42,24,16,0.3);
}

#cart-items::-webkit-scrollbar {
    width: 10px;
}

#cart-items::-webkit-scrollbar-track {
    background: rgba(42,24,16,0.5);
}

#cart-items::-webkit-scrollbar-thumb {
    background: #8b5a2b;
    border: 1px solid #d4a574;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border: 2px solid #8b5a2b;
    background: 
        linear-gradient(135deg, rgba(80,53,26,0.6) 0%, rgba(60,40,20,0.6) 100%);
    margin-bottom: 15px;
    box-shadow: 
        inset 1px 1px 2px rgba(255,255,255,0.1),
        2px 2px 6px rgba(0,0,0,0.4);
    transition: all 0.3s;
}

.cart-item:hover {
    background: 
        linear-gradient(135deg, rgba(90,63,36,0.7) 0%, rgba(70,50,30,0.7) 100%);
    box-shadow: 
        inset 1px 1px 3px rgba(255,255,255,0.15),
        2px 2px 8px rgba(0,0,0,0.5);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: normal;
    margin-bottom: 8px;
    color: #d4a574;
    letter-spacing: 1px;
    font-size: 1em;
    font-style: italic;
    font-family: 'Georgia', serif;
}

.cart-item-price {
    color: #c4b5a0;
    font-weight: normal;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: 
        linear-gradient(135deg, #8b5a2b 0%, #6d4722 100%);
    color: #f4e8d8;
    border: 2px solid #d4a574;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 
        inset 1px 1px 2px rgba(255,255,255,0.2),
        2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.2s;
}

.qty-btn:hover {
    background: 
        linear-gradient(135deg, #9b6a3b 0%, #7d5732 100%);
}

.qty-btn:active {
    box-shadow: 
        inset 2px 2px 3px rgba(0,0,0,0.4);
}

.cart-item-controls span {
    color: #f4e8d8;
    font-weight: normal;
    font-size: 1.2em;
    min-width: 30px;
    text-align: center;
    font-family: 'Georgia', serif;
}

.remove-btn {
    background: 
        linear-gradient(135deg, #6d4722 0%, #5a3a1f 100%);
    color: #f4e8d8;
    border: 2px solid #8b5a2b;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: normal;
    box-shadow: 
        inset 1px 1px 2px rgba(255,255,255,0.1),
        2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.2s;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

.remove-btn:hover {
    background: 
        linear-gradient(135deg, #7d5732 0%, #6a4a2f 100%);
}

.cart-footer {
    padding: 25px;
    border-top: 3px solid #8b5a2b;
    background: 
        linear-gradient(135deg, rgba(60,40,20,0.9) 0%, rgba(42,24,16,0.9) 100%);
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.05),
        0 -2px 10px rgba(0,0,0,0.5);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #d4a574;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-family: 'Georgia', serif;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: 
        linear-gradient(135deg, rgba(139,90,43,0.95) 0%, rgba(101,67,33,0.95) 100%),
        repeating-linear-gradient(
            45deg,
            #8b5a2b,
            #8b5a2b 10px,
            #7a4d24 10px,
            #7a4d24 20px
        );
    color: #f4e8d8;
    border: 3px solid #d4a574;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: normal;
    letter-spacing: 3px;
    box-shadow: 
        inset 1px 1px 2px rgba(255,255,255,0.2),
        inset -1px -1px 2px rgba(0,0,0,0.3),
        2px 2px 8px rgba(0,0,0,0.5);
    transition: all 0.3s;
    font-family: 'Georgia', serif;
}

.checkout-btn:hover {
    background: 
        linear-gradient(135deg, rgba(159,110,63,0.95) 0%, rgba(121,87,53,0.95) 100%);
    box-shadow: 
        inset 1px 1px 3px rgba(255,255,255,0.3),
        inset -1px -1px 3px rgba(0,0,0,0.4),
        3px 3px 12px rgba(0,0,0,0.6);
}

.checkout-btn:active {
    box-shadow: 
        inset 2px 2px 4px rgba(0,0,0,0.4),
        inset -1px -1px 2px rgba(255,255,255,0.1);
}

.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 20px 30px;
    background: 
        linear-gradient(135deg, rgba(139,90,43,0.98) 0%, rgba(101,67,33,0.98) 100%);
    color: #f4e8d8;
    border: 3px solid #d4a574;
    box-shadow: 
        inset 1px 1px 2px rgba(255,255,255,0.2),
        inset -1px -1px 2px rgba(0,0,0,0.3),
        4px 4px 16px rgba(0,0,0,0.7);
    transform: translateX(600px);
    transition: transform 0.4s ease-out;
    z-index: 2000;
    font-weight: normal;
    letter-spacing: 1px;
    font-size: 1em;
    font-family: 'Georgia', serif;
}

.notification::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(212,165,116,0.3);
    pointer-events: none;
}

.notification.show {
    transform: translateX(0);
}
 

@media (max-width: 768px) 
{
	  h1.title
		{
			gap: 1rem;
		}
		
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
}