/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}







/* Home Page*/

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #222;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 2em;
}

.logo img {
  height: 40px;
  width: auto;
}

.search-bar {
  flex: 1;
  margin: 0 2em;
  padding: 0.5em;
  border-radius: 4px;
  border: none;
  max-width: 400px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 1em;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

.ad-banner {
  background: #ffefc5;
  text-align: center;
  padding: 2em;
  margin: 1em;
  border-radius: 8px;
}

.shop-grid {
  padding: 2em;
  text-align: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3 , auto);
  grid-template-rows: repeat(2, auto);
  gap: 2em;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
  border: 2px solid #ccc;  
  border-radius: 12px;     
  background-color: #fff;   
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.grid-item {
  width: 100%;
  text-align: center;
}

.grid-item img {
  width: 100%;
  height: auto;
  max-width: 150px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.grid-item p {
  margin-top: 0.5em;
  font-weight: bold;
}

.site-footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 1.5em;
  margin-top: 2em;
  font-size: 0.9em;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 0.5em;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

h1  {
  font-weight: bold;
  font-size: 300%;
}




/* About page */

.page-header {
  text-align: center;
  padding: 2em 0 1em;
}

.about-image {
  text-align: center;
  margin-bottom: 2em;
}

.about-image img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-description {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2em 2em;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  text-align: center;
}





/* Cart Page */

.cart-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2em;
  gap: 2em;
}

.cart-box {
  flex: 2;
  max-width: 66%;
}

.cart-scroll {
  max-height: 400px;
  overflow-y: auto;
  padding: 1em;
  border: 2px solid #ccc;
  border-radius: 12px;
  background-color: #f9f9f9;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1em;
}

.item-details {
  flex: 1;
}

.item-actions {
  display: flex;
  gap: 0.5em;
}

.item-actions button {
  padding: 0.4em 0.8em;
  border: none;
  background-color: #222;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.item-actions button:hover {
  background-color: #444;
}

.cart-ads {
  flex: 1;
  max-width: 30%;
}

.sketchy-ad {
  background: linear-gradient(135deg, #ff4d4d, #ffcc00);
  color: #000;
  padding: 2em;
  border: 4px dashed #000;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  font-family: 'Comic Sans MS', cursive, sans-serif;
  margin-bottom: 2em;
}

.sketchy-ad h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  animation: blink 1s infinite;
}

.sketchy-ad p {
  font-size: 1em;
  margin-bottom: 1em;
}

.download-btn {
  background-color: #007bff;
  color: white;
  padding: 0.8em 1.5em;
  font-size: 1.1em;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #0056b3;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.top-ad {
  margin: 2em auto;
  max-width: 800px;
}

.bottom-ad {
  margin: 2em auto;
  max-width: 800px;
}



/* Footer */

.footer-social {
  margin-top: 1em;
}

.footer-social a {
  margin: 0 0.5em;
  color: #ccc;
  text-decoration: none;
  font-size: 1.1em;
}

.footer-social a:hover {
  color: #fff;
  text-decoration: underline;
}
