body.post-type-archive-bb_product #main-content,
body.single-bb_product #main-content,
body.tax-bb_product_brand #main-content,
body.tax-bb_product_cat #main-content {
    max-width: 100% !important;
}

body.single-bb_product #main-content {
    padding: 0 !important;
}

.bb-shop {
    padding: 0;
    background: #ede6de;
}

.bb-shop__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 0;
}

.bb-shop__hero {
    text-align: center;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    padding: 48px 20px 56px;
}

.bb-shop__hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.bb-shop__title {
    margin: 0 0 28px;
    font-size: 48px;
    color: #fff;
    font-weight: 400;
}

.bb-shop__section-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4c3735;
    margin: 0 0 28px;
}

.bb-shop__section-title--hero {
    color: #fff;
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    .bb-shop__hero {
        padding: 36px 16px 40px;
    }

    .bb-shop__title {
        font-size: 32px;
        margin-bottom: 20px;
    }
}

.bb-shop-brands {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
}

@media (max-width: 1024px) {
    .bb-shop-brands {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .bb-shop-brands {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.bb-shop-brand {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bb-shop-brand:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.bb-shop-brand a {
    display: block;
    text-decoration: none;
    padding: 28px 18px 20px;
    text-align: center;
}

.bb-shop-brand__img {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.bb-shop-brand__img img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

.bb-shop-brand__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #4c3735;
    text-align: center;
}

.bb-shop-brand__btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: #a88f7f;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
}

.bb-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .bb-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .bb-shop-grid {
        grid-template-columns: 1fr;
    }
}

.bb-shop-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bb-shop-card__media {
    display: block;
    background: #f7f3ef;
    aspect-ratio: 1;
    overflow: hidden;
}

.bb-shop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-shop-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.bb-shop-card__brand {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a77556;
    font-weight: 700;
}

.bb-shop-card__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    color: #4c3735;
    font-weight: 400;
}

.bb-shop-card__title a {
    color: inherit;
    text-decoration: none;
}

.bb-shop-card__title a:hover {
    color: #a77556;
}

.bb-shop-card__price {
    margin-top: auto;
    padding-top: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #4c3735;
}

.bb-shop-card__link {
    margin-top: 12px;
    display: inline-block;
    color: #a77556;
    font-weight: 700;
    text-decoration: none;
}

.bb-shop-card__link:hover {
    text-decoration: underline;
}

/* Single product */
.bb-product {
    padding: 0;
    background: #fff;
}

.bb-product__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 800px) {
    .bb-product__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.bb-product__media {
    background: #f7f3ef;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.bb-product__brand {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a77556;
    font-weight: 700;
    margin-bottom: 8px;
}

.bb-product__title {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.2;
    color: #4c3735;
    font-weight: 400;
}

.bb-product__price {
    font-size: 28px;
    font-weight: 700;
    color: #4c3735;
    margin-bottom: 16px;
}

.bb-product__short {
    font-size: 17px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.bb-product__desc {
    border-top: 1px solid #aa8b7a;
    border-bottom: 1px solid #aa8b7a;
    padding: 20px 0;
    margin: 24px 0;
}

.bb-product__desc-label {
    font-size: 20px;
    font-weight: 700;
    color: #4c3735;
    margin-bottom: 10px;
}

.bb-product__desc-body {
    color: #444;
    line-height: 1.7;
}

.bb-product__share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 24px;
}

.bb-product__share-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.bb-product__share .wd-social-icons {
    display: inline-flex;
    align-items: center;
    margin: 0;
    text-align: left;
}

.bb-shop-buy__prompt {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6b5a52;
}

.bb-shop-buy .bb-pkg__locations {
    margin-bottom: 16px;
}

.bb-shop-buy__btn {
    appearance: none;
    border: none;
    background: #aa8b7a;
    color: #fff;
    padding: 14px 36px;
    border-radius: 35px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.bb-shop-buy__btn:hover {
    background: #8f7a6b;
    transform: translateY(-1px);
}

.bb-product-related {
    background: #ede5dd;
    padding: 56px 20px;
    margin-top: 56px;
}

/* theme.css gift-card band uses margin-top:80px — shows as white gap on product page */
body.single-bb_product .bb-giftcard-section {
    margin-top: 0;
}

.bb-product-related__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.bb-product-related h2 {
    text-align: center;
    font-size: 32px;
    margin: 0 0 32px;
    color: #4c3735;
    font-weight: 400;
}

.bb-shop-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Location pills (shared with specials classes) */
.bb-pkg__locations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bb-pkg__loc {
    appearance: none;
    border: 1px solid #291d19;
    background: #fff;
    color: #291d19;
    padding: 8px 16px;
    border-radius: 35px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease;
}

.bb-pkg__loc:hover {
    background: #f5f0eb;
}

.bb-pkg__loc.is-active {
    background: #291d19;
    color: #fff;
}
