* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    background: #f7f1a9;
    color: #222;
    font-size: 16px;
}

header {
    background: #171f27;
    color: #fff;
    padding: 20px 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-image {
    max-height: 60px;
    width: auto;
}

.website-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #f3e73e;
    margin-right: 10px;
}

.nav-left nav ul,
header nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-left nav ul li a,
header nav ul li a {
    color: hsl(198, 82%, 72%);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-left nav ul li a:hover,
.nav-left nav ul li a.active {
    background: #2b4157;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.nav-right a img {
    width: 24px;
    height: 24px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

#search-form {
    display: flex;
    align-items: center;
    border: 1px solid #fefefe;
    border-radius: 6px;
    overflow: hidden;
    height: 34px;
    width: 200px;
}

#search-form input[type="search"] {
    border: none;
    padding: 8px;
    font-size: 0.9rem;
    height: 100%;
    width: 160px;
    outline: none;
}

#search-form button {
    background: #0077cc;
    color: white;
    border: none;
    padding: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-form button:hover {
    background: #3181b9;
}

.banner {
    position: relative;
    background: linear-gradient(145deg, #f1f3f5, #ffffff);
    padding: 100px 20px;
    text-align: center;
    margin: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    color: white;
    background-size: cover;
    background-position: center;
    background-image: url('../images/banner.png');
}

.banner h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: #fffdfd;
}

.banner-text {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
    color: #ffffff;
}

main {
    padding: 0 20px 60px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #111;
}

.product-category {
    margin-bottom: 80px;
    padding: 0 20px;
}

.product-category h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    max-height: 350px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.size-select {
    margin: 0 18px 18px;
    padding: 10px 14px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: calc(100% - 36px);
    max-width: 280px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

label {
    display: block;
    padding: 0 18px 6px;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.product h3,
.product ul,
.product button {
    padding: 18px;
}

.product h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.product ul {
    list-style-position: inside;
    margin: 0;
    padding: 0 18px 18px;
    font-size: 0.95rem;
}

.product button {
    background: #007acc;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
}

.nav-right .nav-link {
    color: hsl(198, 82%, 72%);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 6px;
    transition: background 0.3s;
    font-weight: 500;
}

.nav-right .nav-link:hover {
    background-color: #2c3e50;
}

footer {
    background: #101820;
    color: hsl(198, 82%, 72%);
    text-align: center;
    padding: 30px;
    font-size: 0.95rem;
    margin-top: 60px;
    border-top: 1px solid #333;
}

footer .footer-links {
    margin-bottom: 12px;
}

footer .footer-links a {
    color: hsl(198, 82%, 72%);
    text-decoration: none;
    margin: 0 12px;
    font-weight: 500;
    transition: color 0.3s;
}

footer .footer-links a:hover {
    color: #fff;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    max-width: 600px;
    padding: 14px 18px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    background: #fff;
    line-height: 1.5;
    box-sizing: border-box;
}

button[type="submit"],
input[type="submit"] {
    background: #007acc;
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.3s ease;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
    background: #005fa3;
}

.nav-link {
    font-size: 14px;
}

section h1 {
  font-size: 2rem;
}