* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

h1,
h2,
h3,
h4,
h5,
h6,
input,
button,
textarea,
select,
p,
blockquote,
th,
td,
pre,
address,
li,
dt,
dd {
    font-size: 160%;
    -webkit-text-size-adjust: none;
    font-weight: 400;
}

input::placeholder {
    font-size: 16px;
}

a {
    transition: all ease 0.3s;
    text-decoration: none;
    color: var(--txt);
}

a[href^="tel:"] {
    word-break: keep-all;
}

.top-bar {
    background: #fff;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    text-align: center;
}

header {
    background: #fff;
    padding: 15px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-section {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    width: 60px;
    height: 60px;
    background: #d32f2f;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.logo::after {
    content: "🎁";
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h1 {
    color: #d32f2f;
    font-size: 24px;
    margin: 10px 0 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.tagline {
    color: #666;
    font-size: 16px;
}

nav {
    background: #d32f2f;
    padding: 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    flex: 1;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 12px 8px;
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    transition: background 0.3s;
    font-weight: 600;
}

.nav-links a:hover {
    background: #b71c1c;
}

.search-box {
    display: flex;
    padding: 8px 15px;
}

.search-box input {
    padding: 6px 10px;
    border: none;
    width: 250px;
    border-radius: 3px 0 0 3px;
}

.search-box button {
    padding: 6px 15px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
}

.container {
    max-width: 1320px;
    margin: 20px auto;
    padding: 0 15px;
    gap: 20px;
}

.sidebar {
    width: 250px;
    background: white;
    padding: 15px 8px;
    height: fit-content;
}

.sidebar h3 {
    color: #333;
    font-size: 15px;
    text-transform: uppercase;
    margin: 0 -15px 25px;
    padding: 0 12px;
}

.sidebar ul {
    list-style: none;
    height: 360px;
    overflow-y: auto;
    margin: 0 -15px;
    padding: 0 15px;
}

.sidebar li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.sidebar a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
}

.sidebar a:hover {
    color: #d32f2f;
}

.main-content {
    flex: 1;
}

.banner {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.banner-cnt {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.banner-main {
    flex: 2;
    background: linear-gradient(135deg, #c62828 0%, #8b0000 100%);
    padding: 30px;
    border-radius: 8px;
    color: white;
    text-align: center;
    position: relative;
    min-height: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-main h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-main p {
    font-size: 16px;
}

.banner-side {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner-small {
    background: #333;
    height: 145px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d32f2f;
    text-transform: uppercase;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    background: #fafafa;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d32f2f;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 1;
}

.product-img {
    width: calc(100% + 20px);
    height: 250px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: -10px -10px 20px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    min-height: 36px;
}

.product-btn {
    background: #2196f3;
    color: white;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
    transition: background 0.3s;
}

.product-btn:hover {
    background: #1976d2;
}

.info-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
}

.info-section p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
}

footer {
    background: #333;
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #d32f2f;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-section p,
.footer-section li {
    line-height: 1.8;
    color: #ccc;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
    }

    .nav-content {
        flex-direction: column;
        gap: 0;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 12px;
    }

    .search-box {
        width: 100%;
        justify-content: center;
        padding: 10px 15px;
    }

    .banner {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar ul {
        height: auto;
        max-height: 250px;
    }

    .products {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* Tablet Small - 768px */
@media (max-width: 768px) {
    .top-bar {
        padding: 6px 10px;
        line-height: 1.4;
    }

    h1 {
        font-size: 20px;
    }

    .tagline {
        font-size: 14px;
    }

    .logo {
        width: 55px;
        height: 55px;
    }

    .logo::after {
        font-size: 28px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 10px 10px;
    }

    .search-box {
        padding: 8px 10px;
    }

    .search-box input {
        width: 200px;
        font-size: 14px;
    }

    .search-box button {
        font-size: 14px;
    }

    .banner-cnt {
        flex-direction: column;
    }

    .banner-main {
        width: 100%;
        min-height: 200px;
    }

    .banner-main h2 {
        font-size: 26px;
    }

    .banner-main p {
        font-size: 14px;
    }

    .banner-side {
        flex-direction: row;
    }

    .banner-small {
        height: 100px;
        flex: 1;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-img {
        height: 200px;
    }

    .product-name {
        font-size: 15px;
        min-height: 40px;
    }

    .product-btn {
        font-size: 16px;
        padding: 7px 18px;
    }

    .section-title {
        font-size: 18px;
        padding-bottom: 8px;
    }

    .info-section p {
        font-size: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section li {
        font-size: 16px;
    }
}

/* Mobile Large - 480px */
@media (max-width: 480px) {
    .top-bar {
        padding: 5px 8px;
    }

    .header-content {
        padding: 0 10px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .logo::after {
        font-size: 24px;
    }

    h1 {
        font-size: 18px;
        margin: 8px 0 4px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 8px 8px;
    }

    .search-box {
        flex-direction: column;
        width: 100%;
        gap: 6px;
        padding: 10px;
    }

    .search-box input {
        width: 100%;
        border-radius: 3px;
        padding: 8px 10px;
        font-size: 14px;
    }

    .search-box button {
        width: 100%;
        border-radius: 3px;
        padding: 8px;
        font-size: 14px;
    }

    .container {
        margin: 15px auto;
    }

    .banner {
        padding: 12px;
        gap: 12px;
    }

    .banner-main {
        padding: 20px 15px;
        min-height: 160px;
    }

    .banner-main h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .banner-main p {
        font-size: 16px;
    }

    .banner-small {
        height: 80px;
    }

    .sidebar {
        padding: 12px;
    }

    .sidebar h3 {
        font-size: 14px;
        margin: 0 -12px 15px;
        padding: 0 12px;
    }

    .sidebar ul {
        margin: 0 -12px;
        padding: 0 12px;
        max-height: 200px;
    }

    .section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .products {
        gap: 10px;
    }

    .product {
        padding: 8px;
    }

    .product-img {
        height: 160px;
        margin: -8px -8px 15px;
    }

    .product-name {
        font-size: 14px;
        min-height: 38px;
        margin-bottom: 8px;
    }

    .product-btn {
        font-size: 16px;
        padding: 7px 16px;
    }

    .product-badge {
        font-size: 10px;
        padding: 3px 6px;
        top: 8px;
        right: 8px;
    }

    .info-section {
        padding: 15px;
    }

    .info-section p {
        font-size: 14px;
        line-height: 1.7;
    }

    footer {
        padding: 25px 0;
    }

    .footer-content {
        padding: 0 10px;
        gap: 20px;
    }

    .footer-section p,
    .footer-section li {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Mobile Medium - 375px */
@media (max-width: 375px) {
    .logo {
        width: 45px;
        height: 45px;
    }

    .logo::after {
        font-size: 22px;
    }

    h1 {
        font-size: 17px;
        margin: 6px 0 3px;
    }

    .container {
        margin: 12px auto;
    }

    .banner {
        padding: 10px;
        gap: 10px;
    }

    .banner-main {
        padding: 18px 12px;
        min-height: 140px;
    }

    .banner-main h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .banner-main p {
        font-size: 14px;
    }

    .banner-small {
        height: 70px;
    }

    .sidebar {
        padding: 10px;
    }

    .sidebar h3 {
        font-size: 16px;
        margin: 0 -10px 12px;
        padding: 0 10px;
    }

    .sidebar ul {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .sidebar a {
        font-size: 14px;
    }

    .section {
        padding: 12px;
        margin-bottom: 12px;
    }

    .products {
        gap: 8px;
    }

    .product {
        padding: 6px;
    }

    .product-img {
        height: 140px;
        margin: -6px -6px 12px;
    }

    .product-name {
        font-size: 16px;
        min-height: 36px;
        margin-bottom: 8px;
    }

    .product-btn {
        font-size: 14px;
        padding: 6px 14px;
    }

    .product-badge {
        font-size: 9px;
        padding: 2px 5px;
    }

    .info-section {
        padding: 12px;
    }

    .info-section p {
        font-size: 16px;
    }

    footer {
        padding: 20px 0;
    }

    .footer-content {
        padding: 0 8px;
    }

    .footer-section p,
    .footer-section li {
        font-size: 14px;
    }
}

/* Mobile Small - 320px */
@media (max-width: 320px) {
    .logo {
        width: 42px;
        height: 42px;
    }

    .logo::after {
        font-size: 20px;
    }

    h1 {
        font-size: 16px;
    }

    .nav-links {
        gap: 0;
    }

    .search-box {
        padding: 8px;
    }

    .search-box input {
        padding: 7px 8px;
        font-size: 16px;
    }

    .search-box button {
        padding: 7px;
        font-size: 16px;
    }

    .banner {
        padding: 8px;
    }

    .banner-main {
        padding: 15px 10px;
        min-height: 120px;
    }

    .banner-main h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .banner-small {
        height: 60px;
    }

    .sidebar h3 {
        font-size: 14px;
    }
    .section {
        padding: 10px;
    }

    .products {
        gap: 6px;
    }

    .product {
        padding: 5px;
    }

    .product-img {
        width: calc(100% + 10px);
        height: 120px;
        margin: -5px -5px 10px;
        font-size: 40px;
    }

    .product-name {
        font-size: 14px;
        min-height: 34px;
        margin-bottom: 6px;
    }

    .product-btn {
        padding: 5px 12px;
    }

    .product-badge {
        font-size: 8px;
        padding: 2px 4px;
        top: 5px;
        right: 5px;
    }

    .info-section {
        padding: 10px;
    }

    .info-section p {
        font-size: 14px;
        line-height: 1.6;
    }

    footer {
        padding: 18px 0;
    }

    .footer-section p,
    .footer-section li {
        line-height: 1.5;
    }
}

/* Category page */
.ucontent {
    margin: 50px auto;
    padding: 0 15px;
    display: flex;
    gap: 20px;
}

.ucontent .main-content {
    background-color: #fff;
}
.category-header {
    background: #d32f2f;
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.intro-section {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.intro-section h1 {
    color: #d32f2f;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.intro-section p {
    color: #666;
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.8;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.author-info span {
    color: #999;
    font-size: 12px;
}

.contact-form {
    background: #f9f9f9;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}

.contact-form textarea {
    height: 80px;
    resize: vertical;
}

.contact-form button {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.contact-form button:hover {
    background: #b71c1c;
}

.products-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-card {
    border: 1px solid #e0e0e0;
    background: #fafafa;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 180px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 12px;
    text-align: center;
}

.product-name {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-actions {
    display: flex;
    gap: 5px;
}

.btn {
    flex: 1;
    padding: 6px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-detail {
    background: #2196f3;
    color: white;
}

.btn-detail:hover {
    background: #1976d2;
}

.btn-contact {
    background: #4caf50;
    color: white;
}

.btn-contact:hover {
    background: #388e3c;
}

.blog-section {
    padding: 20px;
    border-top: 2px solid #e0e0e0;
}

.blog-section h2 {
    color: #d32f2f;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d32f2f;
}

.blog-list {
    display: grid;
    gap: 15px;
}

.blog-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-image {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: bold;
}

.blog-content h3:hover {
    color: #d32f2f;
    cursor: pointer;
}

.blog-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.widget {
    background: white;
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-title {
    background: #d32f2f;
    color: white;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.widget-content {
    padding: 15px;
}

.banner-widget img {
    width: 100%;
    height: auto;
    display: block;
}

.category-list {
    list-style: none;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #333;
    text-decoration: none;
    flex: 1;
}

.category-list a:hover {
    color: #d32f2f;
}

.category-count {
    color: #999;
    font-size: 12px;
}

.recent-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-product-item {
    display: flex;
    gap: 10px;
}

.recent-product-image {
    width: 60px;
    height: 60px;
    background: #e0e0e0;
    flex-shrink: 0;
    overflow: hidden;
}

.recent-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-product-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: normal;
}

.recent-product-info h4:hover {
    color: #d32f2f;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ucontent {
        flex-direction: column;
        padding: 0;
    }

    .sidebar {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ucontent .banner-widget {
        max-width: 300px;
        margin: 0 auto 20px;
    }
    .widget-title {
        font-size: 16px;
    }
    .category-header {
        font-size: 18px;
    }
    .category-list a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        padding: 15px;
    }

    .product-image {
        height: 150px;
    }

    .blog-item {
        flex-direction: column;
    }

    .blog-image {
        width: 100%;
        height: 150px;
    }
}

/* Product Detail Header */
.product-detail-header {
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.product-detail-header h1 {
    color: #d32f2f;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 16px;
    flex-wrap: wrap;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Featured Image Section */
.featured-image-section {
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.featured-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Content */
.product-content {
    padding: 25px;
}

.product-content h2 {
    color: #d32f2f;
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: bold;
}

.product-content h2:first-child {
    margin-top: 0;
}

.product-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.product-content ul,
.product-content ol {
    margin: 15px 0 15px 25px;
    color: #333;
}

.product-content li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.product-content strong {
    color: #d32f2f;
    font-weight: 600;
}

/* Content Images */
.content-image {
    margin: 20px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.content-image figcaption {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Info Box */
.info-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 0;
    color: #856404;
}

/* Contact CTA Section */
.contact-cta-section {
    background: #f8f9fa;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #d32f2f;
    border-radius: 8px;
    text-align: center;
}

.contact-cta-section h3 {
    color: #d32f2f;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.contact-cta-section p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.contact-btn.primary {
    background: #d32f2f;
    color: white;
}

.contact-btn.primary:hover {
    background: #b71c1c;
}

.contact-btn.secondary {
    background: #4caf50;
    color: white;
}

.contact-btn.secondary:hover {
    background: #388e3c;
}

/* Related Products Section */
.related-products-section {
    padding: 25px;
    border-top: 2px solid #e0e0e0;
}

.related-products-section h2 {
    color: #d32f2f;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #d32f2f;
    font-weight: bold;
    text-transform: uppercase;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.related-product-card {
    border: 1px solid #e0e0e0;
    background: #fafafa;
    overflow: hidden;
    transition: all 0.3s;
    border-radius: 4px;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #d32f2f;
}

.related-product-image {
    width: 100%;
    height: 150px;
    background: #f5f5f5;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-info {
    padding: 12px;
    text-align: center;
}

.related-product-name {
    color: #333;
    font-size: 16px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    line-height: 1.3;
}

.related-product-name:hover {
    color: #d32f2f;
    cursor: pointer;
}

/* Sidebar (same structure as category page) */
.sidebar {
    width: 320px;
    flex-shrink: 0;
}

.widget {
    background: white;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.widget-title {
    background: #d32f2f;
    color: white;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.widget-content {
    padding: 15px;
}

.banner-widget {
    padding: 0;
}

.banner-widget img {
    width: 100%;
    height: auto;
    display: block;
}

/* Category List */
.category-list {
    list-style: none;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    flex: 1;
    transition: all 0.3s;
}

.category-list a:hover {
    color: #d32f2f;
    padding-left: 5px;
}

.category-count {
    color: #999;
    font-size: 12px;
}

/* Recent Products */
.recent-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-product-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-product-image {
    width: 70px;
    height: 70px;
    background: #f0f0f0;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.recent-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-product-info h4 {
    color: #333;
    margin-top: 5px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s;
}

.recent-product-info h4:hover {
    color: #d32f2f;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sidebar {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 15px 10px;
    }

    .sidebar {
        width: 100%;
    }

    .product-detail-header h1 {
        font-size: 20px;
    }

    .product-content h2 {
        font-size: 18px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-detail-header {
        padding: 15px;
    }

    .product-detail-header h1 {
        font-size: 18px;
    }

    .featured-image-section {
        padding: 15px;
    }

    .product-content {
        padding: 15px;
    }

    .contact-cta-section {
        padding: 20px 15px;
    }

    .contact-cta-section h3 {
        font-size: 18px;
    }

    .contact-btn {
        padding: 10px 20px;
    }

    .related-products-section {
        padding: 15px;
    }

    .related-product-image {
        height: 130px;
    }

    .related-product-name {
        min-height: 36px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 10px 8px;
    }

    .product-detail-header {
        padding: 12px;
    }

    .product-detail-header h1 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .product-meta {
        font-size: 12px;
        gap: 10px;
    }

    .featured-image-section {
        padding: 12px;
    }

    .product-content {
        padding: 12px;
    }

    .product-content h2 {
        font-size: 15px;
        margin-top: 18px;
        margin-bottom: 12px;
    }

    .product-content ul,
    .product-content ol {
        margin: 12px 0 12px 20px;
    }

    .info-box {
        padding: 12px 15px;
        margin: 15px 0;
    }

    .info-box p {
        font-size: 13px;
    }

    .contact-cta-section {
        padding: 15px 12px;
        margin: 20px 0;
    }

    .contact-cta-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .contact-cta-section p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .contact-btn {
        padding: 9px 18px;
        font-size: 13px;
    }

    .related-products-section {
        padding: 12px;
    }

    .related-products-section h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .related-product-image {
        height: 180px;
    }

    .related-product-info {
        padding: 10px;
    }

    .related-product-name {
        font-size: 13px;
        min-height: 38px;
    }

    .widget-title {
        font-size: 13px;
        padding: 10px 12px;
    }

    .widget-content {
        padding: 12px;
    }

    .category-list a {
        font-size: 12px;
    }

    .category-count {
        font-size: 11px;
    }

    .recent-product-image {
        width: 60px;
        height: 60px;
    }

    .recent-product-info h4 {
        font-size: 12px;
    }

    .content-image {
        margin: 15px 0;
    }
}
