.bc-product-single {
    font-family: inherit;
    color: var(--bc-text, #1a1a1a);
}

/* Reset theme heading interference */
.bc-product-single h1,
.bc-product-single h2,
.bc-product-single h3 {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-family: inherit;
}

/* ===== Breadcrumb ===== */
.bc-product-single__breadcrumb {
    font-size: 0.85rem;
    color: var(--bc-text-mute, #6b6b6b);
    margin-bottom: 1.5rem;
}
.bc-product-single__breadcrumb a {
    color: inherit;
    text-decoration: none;
}
.bc-product-single__breadcrumb a:hover {
    color: var(--bc-teal-dark, #0f8d83);
}
.bc-product-single__breadcrumb-sep {
    opacity: 0.4;
    margin: 0 0.5rem;
}
.bc-product-single__breadcrumb-current {
    color: var(--bc-text, #1a1a1a);
    font-weight: 500;
}

/* ===== Layout ===== */
.bc-product-single__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* ===== Gallery ===== */
.bc-product-single__gallery {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #ececec;
}
.bc-product-single__sale-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 10;
    background: #f7d046;
    color: #1a1a1a;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    transform: rotate(-12deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Style WC's gallery markup */
.bc-product-single__gallery .woocommerce-product-gallery {
    margin: 0 !important;
}
.bc-product-single__gallery .woocommerce-product-gallery__image img {
    border-radius: 8px;
    background: #fafafa;
}
.bc-product-single__gallery .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 9 !important;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: var(--bc-text-mute, #6b6b6b);
    transition: all 0.15s ease;
    font-size: 0;
}
.bc-product-single__gallery .woocommerce-product-gallery__trigger:hover {
    background: var(--bc-teal-light, #e6f7f5);
    color: var(--bc-teal-dark, #0f8d83);
}
.bc-product-single__gallery .woocommerce-product-gallery__trigger::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.bc-product-single__gallery .flex-control-thumbs {
    display: flex !important;
    gap: 0.5rem;
    margin: 1rem 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.bc-product-single__gallery .flex-control-thumbs li {
    width: 70px !important;
    margin: 0 !important;
    list-style: none !important;
}
.bc-product-single__gallery .flex-control-thumbs img {
    border: 2px solid #ececec;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s ease;
    background: #fafafa;
    opacity: 1 !important;
}
.bc-product-single__gallery .flex-control-thumbs img:hover,
.bc-product-single__gallery .flex-control-thumbs img.flex-active {
    border-color: var(--bc-teal, #1ab5a8);
}

/* ===== Info column ===== */
.bc-product-single__info {
    background: var(--bc-teal-light, #e6f7f5);
    border-radius: 12px;
    padding: 2rem;
}

.bc-product-single__title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: var(--bc-text, #1a1a1a) !important;
    margin: 0 0 0.5rem !important;
    line-height: 1.3 !important;
}

.bc-product-single__sku {
    font-size: 0.85rem;
    color: var(--bc-text-mute, #6b6b6b);
    margin-bottom: 1.25rem;
}
.bc-product-single__sku-label {
    font-weight: 600;
}
.bc-product-single__sku-value {
    margin-left: 0.25rem;
}

.bc-product-single__description {
    font-size: 0.92rem;
    color: var(--bc-text, #1a1a1a);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.bc-product-single__description ul {
    margin: 0;
    padding-left: 1.25rem;
}
.bc-product-single__description ul li {
    margin-bottom: 0.3rem;
}
.bc-product-single__description p {
    margin: 0 0 0.6rem;
}

.bc-product-single__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bc-teal-dark, #0f8d83);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.bc-product-single__price del {
    color: var(--bc-text-mute, #6b6b6b);
    font-weight: 400;
    font-size: 1rem;
    text-decoration: line-through;
}
.bc-product-single__price ins {
    text-decoration: none;
    background: none;
    color: var(--bc-teal-dark, #0f8d83);
}
.bc-product-single__price .woocommerce-Price-amount { font-weight: 700; }

.bc-product-single__stock-line {
    font-size: 0.85rem;
    color: var(--bc-text-mute, #6b6b6b);
    margin-bottom: 1.5rem;
}
.bc-product-single__stock-line strong {
    color: var(--bc-teal-dark, #0f8d83);
    font-weight: 700;
}
.bc-product-single__stock-line--out {
    color: #e63946;
    font-weight: 500;
}

/* ===== Quantity + add to cart ===== */
.bc-product-single__form {
    margin: 0 0 1.5rem;
}
.bc-product-single__buy {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.bc-product-single__form .quantity {
    display: inline-flex !important;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin: 0 !important;
    height: 48px;
}
.bc-product-single__form .quantity input.qty {
    width: 60px !important;
    height: 48px !important;
    border: none !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--bc-text, #1a1a1a) !important;
    background: #fff !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    appearance: textfield;
    -moz-appearance: textfield;
}
.bc-product-single__form .quantity input.qty::-webkit-outer-spin-button,
.bc-product-single__form .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.bc-product-single__form .quantity input.qty:focus { outline: none !important; }

.bc-product-single__add-btn {
    flex: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;
    padding: 0 1.25rem !important;
    background: var(--bc-teal, #1ab5a8) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    line-height: 1 !important;
}
.bc-product-single__add-btn:hover {
    background: var(--bc-teal-dark, #0f8d83) !important;
    color: #fff !important;
}
.bc-product-single__add-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed;
}

/* ===== Información adicional card ===== */
.bc-product-single__additional {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}
.bc-product-single__additional-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--bc-text, #1a1a1a) !important;
    margin: 0 0 0.85rem !important;
    line-height: 1.3 !important;
}
.bc-product-single__feature {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--bc-text, #1a1a1a);
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s ease;
}
.bc-product-single__feature + .bc-product-single__feature {
    border-top: 1px solid #f0f0f0;
}
.bc-product-single__feature:hover {
    color: var(--bc-teal-dark, #0f8d83) !important;
}
.bc-product-single__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bc-teal-light, #e6f7f5);
    color: var(--bc-teal-dark, #0f8d83);
    flex-shrink: 0;
}
.bc-product-single__feature-label {
    flex: 1;
}
.bc-product-single__feature-arrow {
    color: var(--bc-text-mute, #6b6b6b);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.bc-product-single__feature:hover .bc-product-single__feature-arrow {
    opacity: 1;
    transform: translateX(2px);
}
.bc-product-single__feature--info {
    cursor: default;
}
.bc-product-single__feature--info:hover {
    color: var(--bc-text, #1a1a1a) !important;
}

/* ===== Related products ===== */
.bc-product-single__related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ececec;
}
.bc-product-single__related-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 0 0 1.25rem !important;
    color: var(--bc-text, #1a1a1a) !important;
}
.bc-product-single__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .bc-product-single__layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .bc-product-single__info { padding: 1.5rem; }
    .bc-product-single__title { font-size: 1.35rem !important; }
}

@media (max-width: 600px) {
    .bc-product-single__sale-badge {
        width: 52px;
        height: 52px;
        font-size: 0.72rem;
    }
    .bc-product-single__gallery { padding: 1rem; }
    .bc-product-single__info { padding: 1.25rem; }
    .bc-product-single__title { font-size: 1.2rem !important; }
    .bc-product-single__price { font-size: 1.2rem; }
    .bc-product-single__buy {
        flex-direction: column;
    }
    .bc-product-single__form .quantity {
        width: 100%;
    }
    .bc-product-single__form .quantity input.qty {
        width: 100% !important;
    }
    .bc-product-single__related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
}

/* Hide WooCommerce's default "Oferta" badge - we use our own */
.bc-product-single__gallery .onsale,
.bc-product-single__gallery .woocommerce-product-gallery .onsale {
    display: none !important;
}