.cwpd-product-container {
    display: flex
;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    border-radius: 20px;
    -webkit-box-shadow: 0px 10px 50px -10px rgb(0 0 0 / 15%);
    -moz-box-shadow: 10px 10px 50px -10px rgb(0 0 0 / 15%);
    box-shadow: 0px 10px 50px -10px rgb(0 0 0 / 15%);
}

.cwpd-product-info {
    flex: 1;
    min-width: 300px;
    padding: 35px;
}

.cwpd-product-gallery {
    flex: 1;
    min-width: 300px;
}

h2.cwpd-product-title {
    font-family: "Kanit", Sans-serif;
    font-size: 38px;
    font-weight: 700;
        margin-bottom: 0px;
    text-transform: uppercase;
    font-style: normal;
    line-height: 43px;
    letter-spacing: -0.1px;
    color: #2A2D36;
}

.cwpd-product-price {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 15px;
}

.cwpd-product-description {
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 29px;
    color: #2A2D36;
}

.cwpd-cart-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

/* Egyedi mennyiségválasztó */
.cwpd-quantity {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 50px;
    overflow: hidden;
    width: 200px;
    height: 50px;
    position: relative;
}

.cwpd-quantity button {
    background: none !important;
    border: none !important;
    font-size: 22px !important;
    width: 50px !important;
    height: 50px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    color: #333 !important;
    font-weight: bold !important;
    transition: background-color 0.2s ease !important;
    line-height: 1 !important;
    z-index: 5 !important;
    position: relative !important;
}

.cwpd-quantity button:active {
    background-color: #e0e0e0 !important;
    transform: scale(0.95) !important;
}

.cwpd-quantity button:hover {
    background-color: #e5e5e5;
}

.cwpd-quantity input {
    border: none !important;
    background: none !important;
    width: 100px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: bold !important;
    padding: 0 !important;
    height: 50px !important;
    box-shadow: none !important;
    margin: 0 !important;
    min-height: auto !important;
}

.cwpd-quantity input::-webkit-inner-spin-button,
.cwpd-quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Kosárba gomb */
.cwpd-add-to-cart-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #1a1d33 !important;
    font-family: "Kanit", Sans-serif;
    color: #ffffff !important;
    border-radius: 50px !important;
    height: 50px !important;
    padding: 0 30px !important;
    font-size: 17px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.cwpd-add-to-cart-button:hover {
    background-color: #333 !important;
}

.cwpd-add-to-cart-button:before {
    content: "+ ";
    margin-right: 5px;
}

.cwpd-ajax-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: cwpd-spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes cwpd-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cwpd-ajax-message {
    flex: 100%;
    margin-top: 10px;
    font-weight: bold;
}

.cwpd-ajax-message.success {
    color: green;
}

.cwpd-ajax-message.error {
    color: red;
}

.cwpd-splide img {
    max-width: 100%;
    height: 545px !important;
    object-fit: cover !important;
    border-radius: 0px 20px 20px 0px !important;
}

/* SplideJS pontok stílusa */
.splide__pagination {
    margin-top: 10px;
}

.splide__pagination__page {
    background: #ccc;
    border: 0;
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    margin: 5px;
    width: 10px;
    padding: 0;
    transition: background .2s;
}

.splide__pagination__page.is-active {
    background: #000;
}
.custom-add-to-cart {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.custom-qty {
    width: 80px;
    height: 50px;
    border-radius: 50px;
    border: 2px solid #ccc;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    font-family: "Kanit", Sans-serif;
    color: #2A2D36;
    background-color: #f5f5f5;
    transition: border-color 0.3s ease;
}

.custom-qty:focus {
    outline: none;
    border-color: #1a1d33;
}

.custom-ajax-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #1a1d33 !important;
    font-family: "Kanit", Sans-serif;
    color: #ffffff !important;
    border-radius: 50px !important;
    height: 50px !important;
    padding: 0 30px !important;
    font-size: 17px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-decoration: none !important;
}

.custom-ajax-button:hover {
    background-color: #333 !important;
}

.cwpd-product-price {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.cwpd-product-price .regular-price {
    color: #888;
    text-decoration: line-through;
    margin-right: 10px;
    font-weight: normal;
}

.cwpd-product-price .sale-price {
    color: #ff0000;
    font-weight: 800;
    font-size: 25px;
    font-family: "Poppins", Sans-serif;
}

p.quick-buy-label {
    font-family: "Poppins", Sans-serif;
    font-size: 22px;
    font-weight: 400;
    display: none;
    line-height: 33px;
    color: #2A2D36;
    margin-bottom: 10px;
    border-bottom: 2px solid #e6e6e6;
    padding-bottom: 10px;
}

a.details-link {
    color: #1a1d33;
    font-family: Kanit, sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
}

.promo-box {
    display: flex;
    align-items: center;
    gap: 10px;
        font-family: "Poppins", Sans-serif;
    background-color: #e6f0fa;
    padding: 14px 15px;
    border-radius: 11px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    max-width: 100%;
    margin-bottom: 10px;
}

.promo-box strong {
    font-weight: 600;
}

.promo-tooltip-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    color: #444;
}

.promo-tooltip-icon svg {
    width: 16px;
    height: 16px;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
        font-family: "Poppins", Sans-serif;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1d33;
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    white-space: normal;
    font-size: 14px;
    line-height: 1.4;
    width: 220px;
    z-index: 10;
    transition: opacity 0.2s ease;
    text-align: center;
}

.promo-tooltip-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

a.promo-link {
    color: #1a1d33;
    font-weight: 700;
}


@media (max-width: 767px) {
 .cwpd-splide img {
    max-width: 100%;
    height: 350px !important;
    object-fit: cover !important;
    border-radius: 0px !important;
}

.cwpd-product-container {
    display: flex
;
    width: 230px;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    border-radius: 20px;
    -webkit-box-shadow: 0px;
    -moz-box-shadow: 0px;
    box-shadow: 0px;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    font-family: "Poppins", Sans-serif;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-112%);
    background-color: #1a1d33;
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    white-space: normal;
    font-size: 14px;
    line-height: 1.4;
    width: 220px;
    z-index: 10;
    transition: opacity 0.2s ease;
    text-align: center;
}

.cwpd-product-info {
    flex: 1;
    min-width: 100%;
    padding: 15px;
}

.cwpd-product-gallery {
    flex: 1;
    min-width: 100%;
}
}

