/* Item Grid */
.item-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}
@media (max-width: 900px) {
    .item-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
}
.item-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 24px;
    position: relative;
    display: flex;
    gap: 24px;
}
.item-box img {
    width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #fff;
    display: block;
}
.card-content {
    width: 100%;
}
.item-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}
.card-horizontal {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 24px;
    align-items: flex-start;
    position: relative;
    min-height: 220px;
}
.card-horizontal-img {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 32px;
}
.card-horizontal-img img {
    width: 320px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    display: block;
}
.card-horizontal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.item-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.item-price {
    font-size: 2rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 12px;
}
.item-features {
    margin: 0 0 8px 0;
    padding-left: 18px;
    font-size: 1.1rem;
    text-align: left;
}
.item-pack-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #d32f2f;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 8px 16px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.back-btn {
    display: inline-block;
    margin-bottom: 24px;
    color: #0074d9;
    font-size: 1.1rem;
    text-decoration: none;
}
@media (max-width: 900px) {
    .card-horizontal {
        flex-direction: column;
        align-items: center;
        padding: 16px;
    }
    .card-horizontal-img {
        margin-right: 0;
        margin-bottom: 18px;
    }
    .card-horizontal-img img {
        width: 100%;
        height: 160px;
    }
    .item-pack-badge {
        top: 8px;
        left: 8px;
        font-size: 1rem;
        padding: 6px 12px;
    }
}
@media (max-width: 600px) {
    .item-grid {
        gap: 18px;
    }
    .card-horizontal {
        padding: 8px;
    }
    .card-horizontal-img img {
        height: 120px;
    }
    .item-name {
        font-size: 1.1rem;
    }
    .item-price {
        font-size: 1.3rem;
    }
    .item-features {
        font-size: 1rem;
    }
}

/* Navbar logo default */
.navbar-logo {
    max-height: 50px;
}

.navbar-search {
    flex: 1;
    margin: 0 20px;
    position: relative;
    max-width: 350px;
}
.navbar-search input {
    width: 100%;
    padding: 8px 32px 8px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.search-input {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23777" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat right 8px center/20px 20px;
}
.navbar-info {
    display: flex;
    align-items: center;
    gap: 20px;
}
.navbar-info button, .navbar-info span {
    background: none;
    border: none;
    color: #0074d9;
    font-size: 16px;
    cursor: pointer;
}

/* Make navbar stacking explicit to avoid overlap issues */
.site-navbar {
    position: relative;
    z-index: 1030;
}

/* Category Bar (new) */
#categoryBar {
    background: #0074d9;
    color: #fff;
}

/* Dropdown helpers (if any custom styles needed) */
.dropdown-menu {
    min-width: 150px;
}

/* Main Image */
.main-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

/* Description */
.shop-description {
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    font-size: 18px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}
.item-box {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    text-align: center;
    min-height: 320px;
}
.footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* more like a square with rounded edges */
    min-width: 44px;
    height: 36px;
    padding: 0 8px;
    margin: 0 8px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 8px; /* rounded corners, not fully circular */
    text-decoration: none;
    transition: background .18s ease, transform .12s ease, box-shadow .12s ease, color .18s ease;
}
.footer .social-link i {
    font-size: 17px;
    line-height: 1;
}
.footer .social-link:hover,
.footer .social-link:focus {
    background: #fff;
    color: #0074d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Fallback styles for any other footer links */
.footer a:not(.social-link) {
    color: #1da1f2;
    margin: 0 10px;
    text-decoration: none;
    font-size: 20px;
}
.footer a:not(.social-link):hover {
    color: #fff;
}

/* Featured product thumbnail tweaks to complement Bootstrap grid */
.featured-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}
