*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 80px;
    line-height: 1.6;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    color: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
a:hover {
    color: #e63946;
    border-color: #e63946;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 600;
    color: #111;
    margin: 1.5rem 0 0.75rem;
    line-height: 1.25;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.25rem; }

ul, ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
    list-style: none;
}
li { margin-bottom: 0.5rem; }

blockquote {
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid #e63946;
    color: #555;
    font-style: italic;
}

img, svg, video, canvas, audio, iframe {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}
th, td {
    border: 1px solid #eee;
    padding: 0.75rem;
    text-align: left;
    font-weight: normal;
}

button, input, select, textarea {
    font: inherit;
    margin: 0;
    border-radius: 4px;
    outline: none;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    background: #fff;
    transition: background 0.3s ease, border 0.3s ease;
}
button, input[type=submit], input[type=button] {
    cursor: pointer;
    background: #e63946;
    color: #fff;
    font-weight: 600;
    border: none;
}
button:hover, input[type=submit]:hover, input[type=button]:hover {
    background: #c72530;
    color: #fff;
}

textarea { resize: vertical; }

.wp-caption {
    max-width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
.wp-caption img { margin-bottom: 0.5rem; }
.wp-caption-text { font-style: italic; }

.widget { margin-bottom: 2rem; }
.widget-title { margin-bottom: 0.75rem; font-weight: 600; }

.notice, .updated, .error {
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    font-size: 0.95rem;
}
.notice { background: #eef6fb; border-left: 4px solid #2f86c0; }
.updated { background: #f0f9f4; border-left: 4px solid #2e8b57; }
.error { background: #fdf2f2; border-left: 4px solid #e63946; color: #b91c1c; }

.alignleft { float: left; margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.gallery {
    display: grid;
    gap: 1rem;
}
.gallery img { border-radius: 4px; }

.site-title a { font-size: 2rem; font-weight: 700; color: #111; }

.header-content { margin-top: 1rem; }
.header-image img { max-width: 100%; height: auto; border-radius: 6px; }

.navbar {
    padding: 0.75rem 1rem;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}
.navbar-brand img { max-height: 50px; height: auto; width: auto; }
.navbar-brand span { font-size: 1.25rem; font-weight: 700; color: #111; }

.navbar-nav { gap: 1rem; }
.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease, transform 0.2s ease;
}
.navbar-nav .nav-link:hover { color: #e63946 !important; transform: translateY(-2px); }

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

.navbar .open-cart {
    color: #333 !important;
    display: flex;
    align-items: center;
    margin-left: 1rem;
    transition: transform 0.2s ease;
}
.navbar .open-cart:hover { color: #e63946 !important; transform: scale(1.1); }

.post { padding-bottom: 2rem; border-bottom: 1px solid #eee; }
.post-title a { font-size: 1.5rem; font-weight: bold; color: #111; }

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    border: 1px solid #eee;
    padding: 1rem;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.woocommerce div.product .product_title { font-size: 1.8rem; margin-bottom: 1rem; }
.woocommerce div.product .price { font-size: 1.2rem; color: #e63946; font-weight: bold; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    display: inline-block;
    background: #e63946;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #c72530;
    color: #fff;
}

.modal-content {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 1rem;
    color: #222;
}
.modal-body img { display: block; margin: auto; border-radius: 6px; }

.navbar .search-form {
    display: flex;
    align-items: center;
}
.navbar .search-form .search-field {
    border-radius: 0.25rem 0 0 0.25rem;
    border: 1px solid #ccc;
    padding: 0.35rem 0.5rem;
    width: 180px;
    transition: width 0.3s ease;
    border-right: none;
}
.navbar .search-form .search-submit {
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0.35rem 0.8rem;
    margin-left: 0;
    background-color: #e63946;
    color: #fff;
    border: 1px solid #e63946;
    border-left: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.navbar .search-form .search-submit:hover { background-color: #c72530; }

@media (max-width: 992px) {
    .navbar .search-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .navbar .search-form .search-field {
        width: 100%;
        margin-bottom: 0.3rem;
        border-radius: 0.25rem;
        border-right: 1px solid #ccc;
    }
    .navbar .search-form .search-submit {
        width: 100%;
        border-radius: 0.25rem;
        border-left: 1px solid #e63946;
    }
}