/** Shopify CDN: Minification failed

Line 17:0 All "@import" rules must come first
Line 18:0 All "@import" rules must come first

**/
/**
 * Product Card Base CSS - Shared styles for all card versions
 * Used by V3 and future versions
 */

/* === Utility Classes === */
.bf-2025--hidden {
    display: none !important;
}

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* === CSS Variables === */
:root {
    --border: 1px solid #d3d3d3;
    --barlow: 'Barlow', sans-serif;
    --urbane-rounded-bold: 'Urbane', sans-serif;
    --urbane-rounded-medium: 'Urbane Medium', sans-serif;
    --inter: "Inter", sans-serif;
    --poppins: "Poppins", sans-serif;
    --natpat-color: #1F4FC9;
    --natpat-green: #2C7E3F;
    --section-bg-color: #F7F8FD;
}

/* === Card Container Base === */
.product-card-v3 {
    position: relative;
    overflow: hidden;
    margin: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-v3.active {
    max-width: 100%;
}

/* === Media Card (Image Container) === */
.product-card-v3 .media-card {
    position: relative;
    border: var(--border);
    overflow: hidden;
    height: 312px;
}

/* === Badges === */
.product-card-v3 .percent-off-free-gift {
    display: flex;
    position: absolute;
    align-items: center;
    left: 0px;
    top: 0px;
    z-index: 2;
    gap: 10px;
}

.product-card-v3 .percent-off-free-gift .percent-off {
    position: relative;
    padding: 2.5px 8px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--barlow);
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 0;
    background: url('//www.natpat.com/cdn/shop/files/red-sticker.png?v=4786352759627201132');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.product-card-v3 .percent-off-free-gift .free-gift {
    text-transform: uppercase;
    font-family: var(--barlow);
    height: max-content;
    position: relative;
    font-weight: 700;
    padding: 2.5px 4px;
    font-size: 11px;
    color: #fff;
    margin-bottom: 0;
    background: url('//www.natpat.com/cdn/shop/files/orange-sticker.png?v=7976730670274337471');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.product-card-v3 .best-seller-price-off {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 5px;
    left: 4.5px;
    bottom: 6.5px;
    z-index: 2;
}

.product-card-v3 .best-seller-price-off img {
    width: unset;
}

.product-card-v3 .best-seller-price-off p {
    color: #fff;
    font-family: var(--barlow);
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    padding: 3.5px 6px;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.product-card-v3 .best-seller-price-off .best-seller {
    background: var(--natpat-green);
}

.product-card-v3 .best-seller-price-off .price-off {
    background: #ff3b24;
}

/* === Product Cover Images === */
.product-card-v3 .product-cover {
    display: block;
    height: 100%;
    cursor: pointer;
    width: 100%;
    opacity: 1;
    z-index: 1;
    transition: .3s opacity ease-in-out;
    object-fit: contain;
}

.product-card-v3 .product-cover-alt {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 1;
    transition: .3s opacity ease-in-out;
    z-index: 1;
}

.product-card-v3 .product-cover-alt.bf-2025--hidden,
.product-card-v3 .product-cover.bf-2025--hidden {
    opacity: 0;
    transition: .3s opacity ease-in-out;
    z-index: -1;
}

/* === Product Info === */
.product-card-v3 .product-name {
    font-size: 19px;
    font-family: "D-DIN";
    font-weight: 700;
    margin: 8px 0 2px 0;
}

.product-card-v3 .product-sub-title {
    font-family: "D-DIN";
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-v3 .star-ratings {
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    font-size: 13px;
    font-family: "D-DIN", sans-serif;
    font-weight: 400;
}

.product-card-v3 .star-ratings .jdgm-widget.jdgm-widget {
    margin: 10px 0;
    border: var(--border);
    border-radius: 5px;
}

.product-card-v3 .star-ratings .jdgm-widget {
    padding: 10px 6px;
}

.product-card-v3 .star-ratings p {
    margin-bottom: 0;
}

.product-card-v3 .star-ratings .star {
    display: flex;
    gap: 0px;
    align-items: center;
}

/* === Price Details === */
.product-card-v3 .price-details p {
    font-size: 19px;
    font-family: "D-DIN", sans-serif;
    margin-bottom: 0;
}

.product-card-v3 .original-price {
    text-decoration: line-through;
}

.product-card-v3 .discounted-price {
    font-weight: 700;
}

.product-card-v3 .price-details .percent-off {
    font-size: 11px;
    vertical-align: middle;
    background: transparent;
    padding: 2.5px 8px;
    border-radius: 2px;
    position: relative;
    color: var(--natpat-green);
    font-weight: 700;
}

.product-card-v3 .price-details .percent-off::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #EEEEEE;
    display: block;
    height: 80%;
    width: 80%;
    z-index: -1;
    border-radius: 2px;
}

/* === Choose Options Button === */
.product-card-v3 .choose-options-btn-pricing {
    margin-top: auto;
    border-radius: 10px;
}

.product-card-v3 .choose-options-btn {
    margin-top: 10px;
}

.product-card-v3 .choose-options-btn button {
    width: 100%;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    background: var(--natpat-green);
    color: #fff;
    font-size: 18px;
    font-family: var(--barlow);
    cursor: pointer;
    font-weight: 700;
}

/* === Product Card Box (Initial View) === */
.product-card-v3 .product-card-box {
    display: flex;
    flex-direction: column;
    min-height: 490px;
    height: 100%;
    flex: 1;
}

.product-card-v3 .product-card-box.bf-2025--hidden {
    height: 0;
    overflow: hidden;
    min-height: 0px;
    max-height: 0px;
}

/* === Options Panel === */
.product-card-v3 .product-card-options {
    width: 100%;
    margin-inline: auto;
    position: unset;
    top: 0;
    left: 0;
    background: #fff;
    transform: translateY(0);
    opacity: 1;
    transition: transform .3s ease-in-out, opacity .3s ease-in-out;
    z-index: 9;
}

.product-card-v3 .product-card-options.bf-2025--hidden {
    position: absolute;
    opacity: 0;
    transform: translateY(-100%);
}

/* === Close Options Button === */
.product-card-v3 .close-options-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border: var(--border);
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: "D-DIN", sans-serif;
    font-size: 16px;
    font-weight: 700;
    max-width: 100%;
    cursor: pointer;
}

.product-card-v3 .close-options-btn img {
    width: unset;
}

/* === Product Details (in options panel) === */
.product-card-v3 .product-details {
    display: flex;
    gap: 15px;
}

.product-card-v3 .product-details .product-name {
    font-size: 16px;
    font-family: "D-DIN";
    font-weight: 700;
    line-height: normal;
}

.product-card-v3 .product-details .price-details p {
    font-size: 16px;
    font-family: "D-DIN";
}

.product-card-v3 .product-details .price-details .original-price {
    color: #EF302E;
}

.product-card-v3 .product-details p {
    margin-bottom: 8px;
}

.product-card-v3 .product-details-cover {
    padding: 2px;
    border-radius: 10px;
    object-fit: cover;
    width: 100px;
    height: 100px;
}

.product-card-v3 .view-details-btn {
    padding: 5px 12px;
    border: var(--border);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    font-family: "D-DIN", sans-serif;
    background: none;
}

/* === Subscription Frequency Dropdown === */
.product-card-v3 .subscription-frequency-wrapper {
    margin-top: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.product-card-v3 .subscription-frequency-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-family: "D-DIN", sans-serif;
}

.product-card-v3 .subscription-frequency-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: "D-DIN", sans-serif;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.product-card-v3 .subscription-frequency-select:focus {
    outline: none;
    border-color: var(--natpat-color);
    box-shadow: 0 0 0 2px rgba(31, 79, 201, 0.1);
}

/* === Added to Cart Message === */
.product-card-v3 .added-to-cart-message {
    margin-top: 10px;
    display: block;
}

.product-card-v3 .added-to-cart-message.bf-2025--hidden {
    display: none;
}

.product-card-v3 .added-to-cart-text {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px 10px;
    gap: 5px;
    background: #E8F6EA;
}

.product-card-v3 .added-to-cart-text img {
    max-width: max-content;
}

.product-card-v3 .added-to-cart-text p {
    font-family: "D-DIN", sans-serif !important;
    font-size: 16px !important;
    color: var(--natpat-green);
    font-weight: 700;
    margin-bottom: 0;
}

.product-card-v3 .added-to-cart-text p a {
    font-size: 14px;
    color: var(--natpat-green);
    display: block;
    font-weight: 400;
    padding: 0;
    text-decoration: underline;
}

/* === Quick View Button === */
.product-card-v3 .quick-view {
    border: none;
    color: #fff;
    font-family: var(--barlow);
    margin-bottom: 0;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 5px;
    text-decoration: underline;
    background: var(--natpat-color);
    z-index: 1;
    position: absolute;
    bottom: unset;
    top: 0;
    right: 0;
    border-radius: 0;
    padding: 4px 6px 6px;
}

/* === Ratings + Percent Off Row === */
.product-card-v3 .ratings-percent-off {
    display: flex;
    align-items: center;
}

.product-card-v3 .ratings-percent-off .star-ratings {
    margin-right: 6px;
}

.product-card-v3 .ratings-percent-off .percent-off {
    font-size: 11px;
    vertical-align: middle;
    background: transparent;
    padding: 2.5px;
    border-radius: 2px;
    position: relative;
    color: var(--natpat-green);
    font-weight: 700;
}

/* === Button Base === */
.product-card-v3 button {
    opacity: 1;
    transition: .3s opacity ease-in-out;
}

.product-card-v3 button:hover {
    opacity: .7;
    transition: .3s opacity ease-in-out;
}

/* === Judge.me Stars === */
.product-card-v3 .jdgm-preview-badge .jdgm-star.jdgm-star {
    color: #FFC107;
}

/* === Grid Layout Support === */
#product-grid.product-grid .grid__item .product-card-v3 {
    height: 100%;
}

/* === Quick View Modal Styles === */
.modal-backdrop.show {
    display: block;
}

/* Hide image grid on product cards, show only in modal */
.image-grid-product {
    display: none;
}

/* Show image grid as proper grid layout in modal */
#imagesModal .image-grid-product {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: static;
    padding: 0;
    margin: 0;
    list-style: none;
}

#imagesModal .image-grid-product li {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    cursor: default;
}

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

.modal-dialog {
    max-width: 800px !important;
    --bs-modal-width: 800px;
}

.modal-content {
    padding: 30px;
}

/* === Product Name Link === */
.product-card-v3 .product-name a {
    color: inherit;
    text-decoration: none;
}

.product-card-v3 .product-name a:hover {
    text-decoration: underline;
}

/* === Flavor + Qty Selector (Sniff N Sip pattern) === */
.product-card-v3 .flavor-qty-selector {
    margin-bottom: 15px;
}

/* Selector Label */
.product-card-v3 .selector-label {
    font-family: "D-DIN", sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* === Flavor Selector (Custom Dropdown) === */
.product-card-v3 .flavor-selector {
    margin-bottom: 15px;
}

.product-card-v3 .flavor-dropdown {
    position: relative;
}

.product-card-v3 .flavor-dropdown-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease;
}

.product-card-v3 .flavor-dropdown-selected:hover {
    border-color: var(--natpat-green);
}

.product-card-v3 .flavor-dropdown.open .flavor-dropdown-selected {
    border-color: var(--natpat-green);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.product-card-v3 .flavor-dropdown-selected img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.product-card-v3 .flavor-dropdown-selected .selected-flavor-name {
    font-family: "D-DIN", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.product-card-v3 .flavor-dropdown-arrow {
    font-size: 10px;
    color: #666;
    transition: transform 0.2s ease;
}

.product-card-v3 .flavor-dropdown.open .flavor-dropdown-arrow {
    transform: rotate(180deg);
}

.product-card-v3 .flavor-dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid var(--natpat-green);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
}

.product-card-v3 .flavor-dropdown.open .flavor-dropdown-options {
    display: block;
}

.product-card-v3 .flavor-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #eee;
}

.product-card-v3 .flavor-option:last-child {
    border-bottom: none;
}

.product-card-v3 .flavor-option:hover {
    background: #f5f5f5;
}

.product-card-v3 .flavor-option.active {
    background: #E8F6EA;
}

.product-card-v3 .flavor-option img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
}

.product-card-v3 .flavor-option .flavor-name {
    font-family: "D-DIN", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.product-card-v3 .flavor-option.sold-out {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-card-v3 .flavor-option .sold-out-label {
    font-family: "D-DIN", sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
}

/* === Qty Selector === */
.product-card-v3 .qty-selector {
    margin-bottom: 15px;
}

.product-card-v3 .qty-options {
    display: flex;
    gap: 8px;
}

.product-card-v3 .qty-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.product-card-v3 .qty-option:hover {
    border-color: var(--natpat-green);
}

.product-card-v3 .qty-option.active {
    border-color: var(--natpat-green);
    background: #E8F6EA;
}

.product-card-v3 .qty-option .qty-number {
    font-family: "D-DIN", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.product-card-v3 .qty-option .qty-label {
    font-family: "D-DIN", sans-serif;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

.product-card-v3 .qty-option .qty-price {
    font-family: "D-DIN", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--natpat-green);
    margin-top: 4px;
}

.product-card-v3 .qty-option .qty-price-each {
    font-family: "D-DIN", sans-serif;
    font-size: 11px;
    color: #666;
}

.product-card-v3 .qty-option .best-value-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--natpat-green);
    color: #fff;
    font-family: var(--barlow);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Responsive adjustments for flavor mode */
@media (max-width: 480px) {
    .product-card-v3 .qty-options {
        flex-wrap: wrap;
    }

    .product-card-v3 .qty-option {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
    }
}
