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;
}
/* Style the navigation menu */
/* Top navigation pinned to the right side */
/* topnav — conventional full-width fixed top bar */
/* Top-right hamburger menu (popup) */
.topnav {
    position: fixed;
    top: 0;
    right: 0;
    height: 60px;
    background: transparent; /* keep page header styling for background */
    display: grid;
    align-items: center;
    justify-content: end;
    padding: 0 0.5rem;
    z-index: 1300;
}

/* The hamburger button (styled as anchor) */
.topnav a.icon {
    display: inline-block;
    background: blue;
    color: white;
    padding: 10px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 20px;
}

/* Popup menu that appears under the hamburger */
#myLinks {
    display: none; /* hidden by default */
    position: fixed;
    top: 60px;       /* below the header */
    right: 8px;      /* align with hamburger */
    min-width: 200px;
    background: blue;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1400;
    padding: 0.25rem 0;
    grid-auto-rows: auto;
}

#myLinks.show {
    display: grid;
}

/* cart badge in header */
.cart-badge{ position: absolute; right: 12px; top: 50%; transform: translateY(-50%); text-decoration: none; color: aliceblue; font-size: 20px; display: inline-flex; align-items: center; }
.cart-badge-count{ position: absolute; right: -6px; top: -6px; background: aliceblue; color: #6c492c; border-radius: 999px; padding: 0 6px; font-weight: 700; display: none; font-size: 12px; line-height: 20px; }
header{ position: fixed; }

.topnav #myLinks a {
    display: block;
    color: aliceblue;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 15px;
}

.topnav #myLinks a:hover {
    background: darkblue;
}

/* On very small screens keep the same behavior */
@media (max-width: 420px) {
    #myLinks { right: 4px; min-width: 160px; }
    .topnav a.icon { padding: 8px 10px; }
}

/* ensure main content clears the fixed header */
.two-col.with-fixed-aside, .two-col {
    padding-top: 80px; /* leaves room for the fixed header */
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: aliceblue;
  color: cornflowerblue;
}

/* Style the active link (or home/logo) */
.active {
  background-color: blue;
  color: white;
  font-size: 50px;
}

/* Cart styles (use site palette: darkblue / cornflowerblue / aliceblue) */
.cart-list {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}
.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr 110px 80px;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    color: aliceblue;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 6px 18px rgba(2,6,23,0.45);
    background-color: cornflowerblue;
}
.cart-thumb{
    width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: cornflowerblue; background: aliceblue; flex-shrink:0; font-size: 20px;
}
.cart-details{ display: flex; flex-direction: column; gap: 0.25rem; }
.cart-name{ font-weight: 700; color: aliceblue; }
.cart-price{ color: #dfefff; font-weight: 700; }
.cart-qty input{ width: 80px; padding: 6px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); color: aliceblue; }
.cart-summary{ padding: 1rem; margin: 1rem; border-radius: 12px; background: linear-gradient(180deg, rgba(100,149,237,0.06), rgba(0,0,0,0.02)); border: 1px solid rgba(255,255,255,0.03); }
.cart-subtotal{ display:flex; justify-content: space-between; align-items:center; font-weight:700; font-size:1.05rem; color: aliceblue; margin-bottom: 0.5rem; }
.cart-actions{ display:flex; gap:0.5rem; }
.cart-actions button{ background: linear-gradient(90deg,#2b67d9,#5aa3ff)    ; color: aliceblue; border: none; padding: 10px 14px; border-radius: 8px; cursor: pointer; font-weight:700; box-shadow: 0 6px 18px rgba(40,90,170,0.25);}
.cart-actions .checkout{ background: linear-gradient(90deg,#2b67d9,#5aa3ff); box-shadow: 0 6px 18px rgba(40,90,170,0.25); }
.cart-remove-btn{ background: transparent; color: #ffd6d6; border: 1px solid rgba(255,255,255,0.06); padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.cart-remove-btn:hover{ transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,40,40,0.08); }
.cart-empty{ padding: 1rem; font-size: 1rem; color: aliceblue; }

/* page background and default text colors to match sutures/shopping */
body{ background-color: darkblue; color: cornflowerblue; }

a{color: aliceblue;}
a:hover{ color: cornflowerblue; }



footer{
    display: block;
    background-color: cornflowerblue;
    bottom: 0;
    top: 100%;
    color: aliceblue;
    padding: 10px;
    z-index: 1000;
    text-align: center;
}


