/* Основний контейнер товару */
.product-container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(26,77,46,0.06);
    padding: 28px 20px;
    border: none;
}
.image-section { position: relative; }
.image-container {
    background: #f8fafc;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(26,77,46,0.06);
}
.image-container img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 14px;
    background: #e0e7ff;
    transition: box-shadow 0.18s, transform 0.18s;
}
.image-container img:hover {
    box-shadow: 0 8px 32px rgba(26,77,46,0.18);
    transform: scale(1.03);
}
.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1.5px solid #d1fae5;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 2px 8px rgba(26,77,46,0.08);
    font-size: 1.3rem;
    color: #1a4d2e;
    z-index: 2;
    transition: border 0.18s, color 0.18s;
}
.image-nav:hover {
    border-color: #1a4d2e;
    color: #0f3020;
}
.image-nav.prev { left: 10px; }
.image-nav.next { right: 10px; }
.thumbnails-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 12px;
}
.thumbnail {
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    background: #f1f5f9;
    transition: border 0.18s;
}
.thumbnail.active, .thumbnail:hover { border-color: #1a4d2e; }
.thumbnail img {
    width: 60px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #f1f5f9;
}
.image-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 10px;
}
.image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: background 0.18s;
}
.image-dot.active { background: #1a4d2e; }
.product-info-card {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 22px 22px 14px 22px;
    box-shadow: 0 2px 8px rgba(26,77,46,0.03);
    border: none;
}
.product-info-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}
.product-info-body { }
.prices-title {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}
.product-meta {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 12px;
}
.product-meta-item { margin-bottom: 6px; }
.meta-label {
    color: #64748b;
    font-weight: 500;
}
.article-badge {
    background: #f0f7f3;
    color: #1a4d2e;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 1em;
    margin-left: 8px;
    font-weight: 600;
    border: 1px solid #d1fae5;
}
.price-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(26,77,46,0.05);
    padding: 10px 14px;
    margin-bottom: 10px;
    border: 1.5px solid #d1fae5;
}
.price-card:hover {
    box-shadow: 0 4px 16px rgba(26,77,46,0.1);
    border-color: #1a4d2e;
}
.price-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}
.price-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 130px;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.price-main {
    margin-bottom: 2px;
    order: 2;
}
.price-secondary {
    order: 1;
    opacity: 1;
}
.price-value-main {
    font-weight: 500;
    color: #64748b;
    font-size: 0.9rem;
    white-space: nowrap;
}
.price-label-vat {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
}
.price-secondary {
    opacity: 0.85;
}
.price-value-secondary {
    font-weight: 700;
    color: #1a4d2e;
    font-size: 1.45rem;
    white-space: nowrap;
}
.price-label-novat {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 500;
}
.price-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: right;
}
.price-value {
    font-weight: 700;
    color: #1a4d2e;
    font-size: 1rem;
    white-space: nowrap;
}
.availability-column {
    font-size: 0.9rem;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.availability-label {
    color: #64748b;
    font-size: 0.8rem;
}
.availability-value {
    font-weight: 600;
    white-space: nowrap;
}
.quantity-column {
    display: flex;
    align-items: center;
    gap: 6px;
}
.quantity-label {
    color: #64748b;
    font-size: 0.85rem;
}
.quantity-input {
    width: 55px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 4px 6px;
    text-align: center;
}
.button-column { margin-left: auto; }
.price-card .btn-add-to-cart {
    background: linear-gradient(135deg, #1a4d2e 0%, #0f3020 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    transition: background 0.2s, box-shadow 0.18s !important;
    box-shadow: 0 2px 8px rgba(26,77,46,0.18) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 44px;
    min-height: 38px;
}
.price-card .btn-add-to-cart i {
    font-size: 1.1rem;
    margin: 0;
}
.price-card .btn-add-to-cart:hover {
    background: linear-gradient(135deg, #0f3020 0%, #1a4d2e 100%) !important;
    color: #fff !important;
    transform: scale(1.04);
}
.btn-add-to-cart, .btn-outline {
    transition: background 0.2s, box-shadow 0.18s, transform 0.18s;
}
.btn-add-to-cart:hover, .btn-outline:hover {
    transform: scale(1.04);
}
.btn-outline {
    background: none;
    border: 1.5px solid #1a4d2e;
    color: #1a4d2e;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background 0.18s, color 0.18s;
}
.btn-outline:hover, .btn-outline:focus {
    background: #1a4d2e;
    color: #fff;
}
.description-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(26,77,46,0.05);
    margin-bottom: 1.5rem;
    border: 1.5px solid #d1fae5;
}
.description-header {
    border-bottom: 2px solid #c9a961;
    padding: 18px 24px;
    background: #f0f7f3;
    border-radius: 10px 10px 0 0;
}
.description-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #1a4d2e;
}
.description-body { padding: 22px; color: #334155; }
.no-description-alert {
    background-color: #f0f7f3;
    border-left: 5px solid #1a4d2e;
    padding: 20px;
    border-radius: 6px;
    color: #475569;
}
.part-benefits {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}
.part-benefits li { padding: 5px 0; }
.call-to-action { margin-top: 22px; }
.stock-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    margin-left: 8px;
}
.in-stock {
    background: #e0fce0;
    color: #22c55e;
    border: 1px solid #22c55e;
}
.out-stock {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #ef4444;
}
.out-of-stock-msg {
    color: #b45309;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 4px 8px;
    display: inline-block;
    background: #fef3c7;
    border-radius: 6px;
    border: 1px solid #fcd34d;
    max-width: 180px;
    line-height: 1.3;
}
.price-info.out-of-stock-layout {
    flex-wrap: wrap;
}
.price-info.out-of-stock-layout .out-of-stock-msg {
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 8px;
}

@media (max-width: 991px) {
    .product-container { padding: 10px 6px; }
    .image-container img { max-height: 220px; }
    .product-info-card { padding: 10px 10px 8px 10px; }
    .description-section { padding: 0; }
}

@media (max-width: 767px) {
    .product-details-shell {
        max-width: none;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .row {
        display: flex;
        flex-direction: column;
    }

    .mobile-first { order: 1; }
    .mobile-second { order: 2; margin-top: 0.75rem; }
    .mobile-last { order: 3; }

    .breadcrumb-nav {
        display: none;
    }

    .product-container {
        padding: 0.75rem 0.75rem calc(0.85rem + 56px + env(safe-area-inset-bottom, 0px));
        border-radius: 0;
        box-shadow: none;
        background: #fff;
    }

    .product-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .product-buy-panel {
        order: 1;
    }

    .product-media {
        order: 2;
    }

    .product-info-card {
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .product-info-header {
        background: transparent;
        border-radius: 0;
        padding: 0 0 0.65rem;
        margin-bottom: 0.7rem;
        border-bottom: 1px solid #e2e8f0;
    }

    .product-info-header h1 {
        color: #0f172a;
        font-size: 1.05rem;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .product-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem 0.7rem;
        margin-bottom: 0.65rem;
        font-size: 0.84rem;
    }

    .product-meta-item {
        margin-bottom: 0;
        font-size: 0.84rem;
    }

    .prices-title {
        font-size: 0.88rem;
        margin: 0 0 0.45rem;
    }

    .article-badge {
        padding: 2px 6px;
        font-size: 0.82rem;
        margin-left: 4px;
    }

    .price-card {
        padding: 0.7rem 0.8rem;
        margin-bottom: 0.45rem;
        border: none;
        box-shadow: none;
        background: #f8fafc;
        border-radius: 10px;
    }

    .price-card:hover {
        border: none;
        box-shadow: none;
    }

    .price-info {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.45rem;
        align-items: start;
    }

    .price-column {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .price-value-main {
        font-size: 0.82rem;
    }

    .price-value-secondary {
        font-size: 1.2rem;
    }

    .availability-column {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 0.35rem;
        font-size: 0.78rem;
    }

    .availability-label {
        display: inline;
    }

    .cart-form,
    .product-buy-panel .cart-form {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr);
        align-items: center;
        gap: 0.45rem;
        border-top: none;
        margin-top: 0.35rem;
        padding-top: 0.35rem;
    }

    .quantity-column,
    .product-buy-panel .quantity-column {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex: 0 0 auto;
    }

    .quantity-label,
    .product-buy-panel .quantity-label {
        display: none;
    }

    .quantity-input,
    .product-buy-panel .quantity-input {
        width: 100%;
        max-width: 52px;
        height: 38px;
        padding: 4px;
        font-size: 0.9rem;
    }

    .button-column,
    .product-buy-panel .button-column {
        margin-left: 0;
        flex: 1 1 auto;
    }

    .price-card .btn-add-to-cart,
    .product-buy-panel .price-card .btn-add-to-cart {
        width: 100% !important;
        padding: 0.65rem 0.75rem !important;
        font-size: 0.95rem !important;
        min-width: 0;
        min-height: 38px;
        justify-content: center;
    }

    .product-buy-panel .price-card .btn-add-to-cart-label {
        display: inline;
        font-size: 0.82rem;
        line-height: 1;
    }

    .out-of-stock-msg {
        font-size: 0.74rem;
        padding: 0.35rem 0.5rem;
        max-width: 100%;
        border: none;
    }

    .price-info.out-of-stock-layout .out-of-stock-msg {
        grid-column: 1 / -1;
        grid-row: auto;
        margin-top: 0.2rem;
    }

    .mt-4 .btn-outline {
        font-size: 0.85rem;
        padding: 8px 12px;
        width: 100%;
    }

    .image-container {
        box-shadow: none;
        border-radius: 10px;
    }

    .image-container img {
        max-height: 190px;
        border-radius: 10px;
        background: #f8fafc;
    }

    .image-nav {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .thumbnail img {
        width: 50px;
        height: 38px;
    }

    .description-section {
        margin-top: 0.75rem;
        margin-bottom: 0;
        border: none;
        border-top: 1px solid #e2e8f0;
        border-radius: 0;
        box-shadow: none;
        background: #fff;
    }

    .description-header {
        padding: 0.75rem 0 0.45rem;
        background: transparent;
        border-radius: 0;
        border-bottom: none;
    }

    .description-header h2 {
        font-size: 0.98rem;
        color: #0f172a;
    }

    .description-body {
        padding: 0 0 0.75rem;
        font-size: 0.9rem;
    }

    .no-description-alert {
        padding: 0.75rem;
        border: none;
        border-radius: 10px;
        background: #f8fafc;
    }

    .no-description-alert h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .part-benefits {
        margin: 8px 0;
    }

    .part-benefits li {
        padding: 3px 0;
        font-size: 0.82rem;
    }

    .call-to-action .btn {
        font-size: 0.84rem;
        padding: 8px 12px;
    }

    .call-to-action .btn.ms-2 {
        margin-left: 6px !important;
        margin-top: 0;
    }

    .related-searches {
        padding: 0.75rem 0 0;
        margin-top: 0.75rem;
        border-top: 1px solid #e2e8f0;
    }

    .related-searches h5 {
        font-size: 0.88rem;
    }

    .related-search-tags a {
        font-size: 0.74rem;
        padding: 4px 8px;
    }

    .sticky-buy-btn {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 -2px 12px rgba(37,99,235,0.12);
        padding: 8px 12px 12px;
        z-index: 1000;
    }
}

@media (max-width: 400px) {
    .product-info-header h1 {
        font-size: 0.95rem;
    }
    
    .price-value-main {
        font-size: 1.05rem;
    }
    
    .image-container img {
        max-height: 150px;
    }
}

/* No photo placeholder styling */
.no-photo-placeholder {
    opacity: 0.85;
    padding: 40px;
    min-height: 300px;
}

.image-container .no-photo-placeholder:hover {
    transform: none;
    box-shadow: none;
}

/* ===== ULTRA MODERN PRODUCT DETAILS OVERRIDES ===== */
.breadcrumb-nav {
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.product-container {
    border-radius: 22px;
    border: none;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    padding: 1.4rem;
}

.image-container {
    border-radius: 18px;
    border: 1px solid #dbe5f2;
    background: radial-gradient(circle at 50% 5%, #ffffff 0%, #e2e8f0 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    border-radius: 14px;
    background: transparent;
    max-height: 380px;
}

.image-nav {
    border: none;
    width: 42px;
    height: 42px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}

.image-nav:hover {
    background: rgba(26, 77, 46, 0.9);
    color: #fff;
}

.thumbnails-container {
    gap: 10px;
    margin-top: 14px;
}

.thumbnail {
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    background: #fff;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: #2d6a4f;
    box-shadow: 0 8px 16px rgba(45, 106, 79, 0.18);
}

.product-info-card {
    border-radius: 18px;
    border: none;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 1.15rem;
    min-width: 0;
    height: 100%;
}

.product-info-header h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    line-height: 1.3;
}

.mobile-pdp-title {
    display: none;
}

.mobile-pdp-title h1 {
    margin: 0;
    color: #0f172a;
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 700;
}

.desktop-pdp-title {
    margin: 0;
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0;
}

.meta-label {
    color: #475569;
}

.meta-value {
    color: #0f172a;
    font-weight: 600;
}

.article-badge {
    margin-left: 0;
    border-radius: 999px;
    background: #e8f5ef;
    color: #2d6a4f;
    font-size: 0.8rem;
}

.prices-title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
}

.price-card {
    border-radius: 14px;
    border: 1px solid #dbe5f2;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
}

.price-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "prices availability"
        "cart cart";
    gap: 0.55rem 1rem;
    align-items: start;
}

.price-column {
    grid-area: prices;
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
    min-width: 0;
}

.price-row {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0;
    white-space: nowrap;
}

.price-main,
.price-secondary {
    margin: 0;
}

.price-main {
    order: 2;
}

.price-secondary {
    order: 1;
    opacity: 1;
}

.price-value-main {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-value-secondary {
    color: #1a4d2e;
    font-size: 1.45rem;
    font-weight: 700;
}

.price-label-vat,
.price-label-novat {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
}

.availability-label {
    color: #64748b;
}

.availability-column {
    grid-area: availability;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.2rem;
}

.availability-value {
    font-size: 0.86rem;
}

.cart-form {
    grid-area: cart;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    justify-content: initial;
    align-items: center;
    gap: 0.6rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
}

.quantity-input {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    height: 36px;
}

.price-card .btn-add-to-cart {
    border-radius: 10px !important;
    padding: 8px 16px !important;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    box-shadow: 0 10px 18px rgba(34, 197, 94, 0.2) !important;
    width: 100% !important;
    min-height: 40px;
    justify-content: center;
}

.price-card .btn-add-to-cart:hover {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%) !important;
}

.out-of-stock-msg {
    background: #fff7ed;
    border-color: #fdba74;
    color: #9a3412;
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
}

.description-section {
    border-radius: 18px;
    border: 1px solid #dbe5f2;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.description-header {
    background: #2d6a4f;
    border-bottom: none;
}

.description-header h2 {
    color: #fff;
    font-weight: 700;
}

.description-body {
    background: #ffffff;
    color: #334155;
    padding: 1.4rem 1.5rem;
    line-height: 1.65;
}

.no-description-alert {
    border-left: none;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.related-searches {
    margin-top: 1rem;
    padding: 0.95rem;
    border-radius: 14px;
    border: 1px solid #dbe5f2;
    background: #fff;
}

.related-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.55rem;
}

.related-search-tags a {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2d6a4f;
    background: #f0f7f3;
    border: 1px solid #c6e6d4;
    transition: all .2s ease;
}

.related-search-tags a:hover {
    color: #fff;
    background: #2d6a4f;
    border-color: #2d6a4f;
}

.product-categories {
    border-radius: 14px;
    border: 1px solid #dbe5f2;
    padding: 0.85rem;
    background: #fff;
}

.category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.category-badge {
    text-decoration: none;
    background: #f0f7f3;
    color: #2d6a4f;
    border: 1px solid #c6e6d4;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.76rem;
    font-weight: 600;
}

.category-badge:hover {
    background: #2d6a4f;
    color: #fff;
}

@media (max-width: 991px) {
    .product-container {
        border-radius: 14px;
        padding: 0.8rem;
    }

    .image-container {
        min-height: 260px;
    }

    .price-info {
        grid-template-columns: 1fr;
    }

    .availability-column {
        align-items: flex-start;
        text-align: left;
    }

    .cart-form {
        grid-template-columns: 1fr auto;
    }
}

@media (max-width: 575px) {
    .product-info-card,
    .description-section,
    .price-card {
        border-radius: 12px;
    }

    .image-container {
        min-height: 210px;
    }

    .price-value-main {
        font-size: 0.85rem;
    }
}

/* New layout grid for product hero */
.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.product-media {
    min-width: 0;
    width: 100%;
}

.product-buy-panel {
    position: sticky;
    top: 1rem;
    min-width: 0;
    width: 100%;
    align-self: stretch;
}

.product-info-header {
    background: linear-gradient(135deg, #2d6a4f 0%, #1a4d2e 100%);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.product-info-header h1 {
    color: #ffffff;
}

.btn-outline.btn-outline-primary {
    border-radius: 12px;
    padding: 0.55rem 1rem;
    border-color: #2d6a4f;
    color: #2d6a4f;
}

.btn-outline.btn-outline-primary:hover {
    background: #2d6a4f;
    color: #ffffff;
}

@media (max-width: 991px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
    }

    .product-buy-panel {
        position: static;
    }
}

/* Mobile commerce UX refinement */
.price-card .btn-add-to-cart-label {
    display: none;
}

@media (max-width: 767px) {
    .mobile-pdp-title {
        display: block !important;
        margin: 0 0 0.4rem;
        padding: 0 2px;
    }

    .mobile-pdp-title-text {
        display: block;
        font-size: 0.98rem;
        line-height: 1.25;
        font-weight: 700;
        color: #0f172a;
    }

    .desktop-pdp-title {
        display: none;
    }

    .product-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .product-buy-panel {
        order: 2;
    }

    .product-media {
        order: 1;
    }

    .product-container {
        padding: 6px;
        border-radius: 8px;
    }

    .product-info-header {
        display: none;
    }

    .product-buy-panel .product-info-card {
        padding: 0.5rem 0.55rem;
    }

    .product-buy-panel .product-info-body {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .product-buy-panel .prices-title {
        order: 1;
        margin: 0 0 0.1rem;
        font-size: 0.83rem;
    }

    .product-buy-panel .price-card {
        order: 2;
        padding: 0.65rem 0.7rem;
        margin-bottom: 0.35rem;
        border: 1px solid #dbe5f2;
        border-radius: 10px;
        box-shadow: none;
        background: #ffffff;
    }

    .product-buy-panel .price-info {
        grid-template-columns: 1fr;
        grid-template-areas:
            "prices"
            "availability"
            "cart";
        gap: 0.3rem;
        align-items: start;
    }

    .product-buy-panel .price-column {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.45rem;
        min-width: 0;
    }

    .product-buy-panel .price-row {
        display: inline-flex;
        align-items: baseline;
        gap: 0.2rem;
        white-space: nowrap;
        margin: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
    }

    .product-buy-panel .price-main,
    .product-buy-panel .price-secondary {
        margin: 0;
    }

    .product-buy-panel .price-value-main {
        font-size: 0.78rem;
    }

    .product-buy-panel .price-value-secondary {
        font-size: 1.15rem;
    }

    .product-buy-panel .price-label-vat,
    .product-buy-panel .price-label-novat {
        font-size: 0.66rem;
    }

    .product-buy-panel .availability-column {
        align-items: flex-start;
        text-align: left;
        gap: 0.15rem;
        font-size: 0.8rem;
    }

    .product-buy-panel .cart-form {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 0.35rem;
        align-items: center;
        margin-top: 0.2rem;
        padding-top: 0.3rem;
        border-top: 1px solid #e2e8f0;
    }

    .product-buy-panel .quantity-column {
        gap: 0.35rem;
    }

    .product-buy-panel .quantity-label {
        display: none;
    }

    .product-buy-panel .quantity-input {
        width: 100%;
        max-width: 52px;
        height: 34px;
        font-size: 0.88rem;
    }

    .product-buy-panel .button-column {
        margin-left: 0;
    }

    .product-buy-panel .price-card .btn-add-to-cart {
        width: 100% !important;
        min-height: 34px;
        justify-content: center;
        padding: 0.44rem 0.65rem !important;
        font-size: 0.86rem !important;
    }

    .product-buy-panel .price-card .btn-add-to-cart-label {
        display: inline;
        font-size: 0.76rem;
        line-height: 1;
    }

    .product-buy-panel .product-meta {
        order: 3;
        margin: 0.28rem 0 0.15rem;
        gap: 0.25rem;
    }

    .product-buy-panel .product-meta-item {
        padding: 0.28rem 0.45rem;
        border-radius: 8px;
    }

    .product-buy-panel .meta-label,
    .product-buy-panel .meta-value {
        font-size: 0.72rem;
    }

    .product-buy-panel .article-badge {
        font-size: 0.72rem;
        padding: 2px 5px;
    }

    /* Відступ знизу для bottom-nav бару */
    .product-container {
        padding-bottom: calc(0.7rem + 56px + env(safe-area-inset-bottom, 0px));
    }

    .product-buy-panel .cart-form {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        align-items: center;
        justify-content: initial;
        gap: 0.35rem;
    }

    .product-buy-panel .quantity-column {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .product-buy-panel .button-column {
        flex: 1 1 auto;
    }

    .product-buy-panel .mt-4 {
        order: 4;
        margin-top: 0.35rem !important;
    }

    .product-media .thumbnails-container,
    .product-media .image-dots {
        display: none;
    }

    .description-body {
        padding: 0 0 0.95rem;
        line-height: 1.6;
    }
}