/**
 * Theme Name:     SmartMag Child
 * Author:         ThemeSphere
 * Template:       smart-mag
 * Text Domain:	   smartmag-child
 * Description:    Designed by a href=https://theme-sphere.comThemeSphere/a
 */

/*Top header*/
:root,
.s-light {
    --c-main: #ff3030!important;
}
/*top header setting locations*/
.setLocation{
    display: flex;
    justify-content: space-between;
    width: 64px;
}
/*top menu fixed*/
#smart-head .smart-head-top{
    position: fixed;
    z-index: 50000;
    height: 50px;
}
.smart-head-bot.smart-head-sticky{
    top: 50px;
}
/*leaderboard*/
/*.mastHead-leaderBoard{*/
/*@media screen and (min-width: 940px){*/
    .smart-head-mid .items.items-center{
        display: flex;
        align-items: center;
        max-height: 400px;
        padding: 50px 0 0 0;
        overflow: hidden;
    }
/*}*/
@media screen and (max-width: 767px) {
    .smart-head-mid .items.items-center{
        padding: 0;
    }
}

 .navigation .menu ul li{
    min-width: 315px!important;
}
/* logo left */
.smart-head .logo-image{
    margin-left: -55px;
}
/*Follow us section*/

#social-media-icons ul.services{
    display: flex;
    justify-content: center;
}
#social-media-icons .spc-social-follow .label {
    display: none;
}
#social-media-icons .spc-social-follow-c .service-link{
    border-radius: 50%;
}

/*first post of the category to be large size*/
.category .main.ts-contain article.list-post:first-child{
    display: block;
}
.category .main.ts-contain article.list-post:first-child .media{
    width: 100%;
    max-width: 100%;
    padding-bottom: 25px;
}
.category .main.ts-contain article.list-post:first-child .excerpt{
    display: none;
}

.single-post .featured{
    display: none;
}
.breadcrumbs.is-full-width.breadcrumbs-a span {
    font-size: 16px;
}
.post-meta .post-cat{
    justify-content: flex-start!important;
}
.post-meta .meta-item, .post-meta .text-in{
    font-size: 12px;
}
#smartmag-block-codes-2.widget{
    margin-bottom: 0;
}
#mag-heading {
    margin-bottom: 0;
    font-size: 1.285em;
    font-weight: bold;
    color: #000;
    padding: 10px 0 0 0;
}
#block-12{
    margin-bottom: 0;
    text-align: center;
}
#block-11{
    /*background-color: #efefef;*/
    text-align: center;
}
#mag-para{
    font-size: 16px;
    color: #000;
    font-weight: 700;
    padding: 0 10px 10px;
}

.margin-bottom{
    margin-bottom: 0;
}
.the-post .subtitle{
    font-size: 24px;
    font-weight: 400;
    padding: 10px 0 0 20px;
}
.the-post article .post-content p:first-child::first-letter,
.the-post section .elementor-widget-container p:first-child::first-letter{
    font-size: 24px;
}
.the-post article .posted-by,.post-author{
    display: none;
}
.contact-us form input,
.contact-us form select,
.contact-us form textarea{
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;

    resize: none;

    border: 1px solid #e1e1e1;
}
.contact-us form textarea{
    height: 150px;
}
.contact-us form input[type=submit]{
    width: 30%;
    transition: 0.3s ease-in-out all;
    padding: 0;
}
.form-field label{
    font-weight: bold;
}

@media screen and (max-width: 950px) {
    .contact-us form input[type=submit]{
        width: 100%;

    }
}
.content .post-meta span.mata-item li{
  list-style-type: none;
}
/*.list-post .post-meta span.mata-item li a:not(:first-child):before{*/
/*    content: ' > ';*/

/*}*/
/*.list-post .post-meta span.mata-item li a{*/
/*    font-size: 14px;*/
/*    padding: 5px 15px;*/
/*    color: #111;*/
/*    transition: 0.3s ease-in-out color;*/
/*}*/

#events-section .content .post-meta span.mata-item li a{
    font-size: 11px;
    padding: 2px 10px;
    color: #000;
    transition: 0.3s ease-in-out color;
}
#events-section .content .post-meta span.mata-item li a:hover{
    color: #ff3030;
}
.content .mata-item.post-meta.cat-labels .category{
    border: 1px solid #ddd;
    transition: 0.5s ease-in-out all;
}
.content .mata-item.post-meta.cat-labels .category:hover{
   color: #ff3030;
}
#social-section .content .post-meta span.mata-item li a{
    /*font-size: 12px;*/
    padding: 4px 10px;
    color: #000;
    transition: 0.3s ease-in-out color;
}
#social-section .content .post-meta span.mata-item li a:hover{
    color: #111;
}
#review-section, #review-text{
    margin: auto;
}
#subscribe-inlineform{
    display: flex;
    justify-content: center;
}
#subscribe-inlineform p.email{
    width: 80%;
}
.spc-newsletter .fields-style input{
    height: 40px;
}
#newsletter .tnp.tnp-subscription{
    margin: 0;
}
#newsletter .tnp-field{
    padding-bottom: 10px;
}
#newsletter input, #newsletter select{
    border: 1px solid #e1e1e1;
    background-color: #fff;
}
#newsletter .tnp-field label{
    font-weight: bold;
    font-size: 14px;
}
#newsletter input[type=submit]{
    background-color: #ff3030;
    width: 30%;
    transition: 0.5s ease-in-out all;
}
#newsletter input[type=submit]:hover{
  background-color: #111;
}
.block-newsletter input.tnp-email{
    border: 1px solid #999;
}
.block-newsletter input.tnp-submit,
#newsletter-inline .inner  form input.tnp-submit{
    background-color: #ff3030;
    transition: 0.5s ease-in-out background-color;
}
.block-newsletter input.tnp-submit:hover,
#newsletter-inline .inner  form input.tnp-submit:hover{
    background-color: #333;
}
#newsletter-inline .inner  form{
    display: flex;
    justify-content: center;
}
#newsletter-inline .inner  form .tnp-field-email{
    width: 100%;
}
#newsletter-inline .inner  form .tnp-field-submit{
    width: 20%;
}
@media screen and (max-width: 1024px) {
    #newsletter-inline .inner  form{
      display: block;
    }
}
@media screen and (max-width: 1024px) and  (min-width: 941px){
    .elementor-column.elementor-col-66.main-content{
        width: 66.66%;
    }
    .elementor-column.elementor-col-33.main-sidebar.ts-sticky-col{
        width: 33.33%;
    }
}
input[type=search]{
    cursor: pointer;
}
.upper-footer .block-head .heading{
    font-size: 18px;
}
.leaderBoardFeaturedTiles{
    margin-top: 70px;
}
.leaderBoardFeaturedTiles .wrapper{
    --col-gutter: calc(var(--grid-gutter) / 2);
    --grid-gutter-h: var(--col-gutter);
    max-width: var(--width, var(--main-width));
    margin: 0 auto;
    --width: calc(var(--main-width) + var(--col-gutter) * 2);
    --width-md: calc(var(--max-width-md) + var(--col-gutter) * 2);
}
.leaderBoardFeaturedTiles .featuredTiles{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.leaderBoardFeaturedTiles .featuredTiles .column {
    width: 25%;
}
.leaderBoardFeaturedTiles .leaderboards.items{
    width: 728px;
    height: 90px;
    overflow: hidden;
    position: relative;
    margin: auto;
}
@media screen and (max-width: 767px) {
    .leaderBoardFeaturedTiles .leaderboards.items{
        width: 320px;
        height: 50px;
    }
    .leaderBoardFeaturedTiles .featuredTiles .column {
        width: 50%;
        margin-bottom: 30px;
    }
}



/**********************************************************************************************************************/
/*Product gallery popup slider */
/* General Layout */
.ex-custom-product-listing {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}
.ex-custom-product-listing h1{
    font-size: 2.5em;
}

.ex-custom-product-category {
    margin: 20px 0;
    font-size: 25px;
}

.ex-product-table-header {
    display: flex;
    background-color: #F0F0EE;
    gap: 5px;
}

@media screen and (max-width: 1024px) {
    .ex-product-table-header {
        display: none;
    }
}

.ex-product-table-item {
    flex: 1 1 0;
    text-align: left;
    padding: 10px;
}

.ex-product-table-header-item {
    font-weight: bold;
}

.ex-product {
    display: flex;
    width: 100%;
    gap: 5px;
    border-bottom: 1px solid #ddd;
    align-items: center;
}

.ex-product-normal-price,
.ex-product-clique-price {
    font-size: 20px;
    font-weight: bold;
}

.ex-product .ex-product-table-item {
    margin: 0;

}

.ex-product-table-item-product {
    flex: 0 0 350px;
    display: flex;
    gap: 8px;
}

.ex-product-table-item-product p a {
    color: var(--c-main);
}


.ex-product img {
    border-radius: 5%;
    max-width: 100px;
}

/* Purchase Button */
.ex-purchase-button {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 10px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    border-radius: 5px;
}

.mb-label {
    display: none;
}

@media screen and (max-width: 1024px) {
    .ex-custom-product-listing h1 {
        margin-bottom: 20px;
    }

    .ex-product-table-header {
        display: none;
    }

    .ex-product {
        flex-direction: column;
        align-items: start;
        padding: 20px 0;
    }

    .ex-product-table-item {
        flex: 1 !important;
        padding: 5px 0;
    }

    .ex-product-table-item-product {
        display: block;
    }

    .ex-product:first-child {
        border-top: 1px solid #ddd;
    }

    .ex-product img {
        display: block;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .ex-product-table-item-product p {
        margin-bottom: 10px;
    }

    .ex-product-table-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .mb-label {
        display: inline;
        font-size: 15px;
    }
}


/* Custom Registration Page Styles */
.custom-registration-form {
    max-width: 800px;
    margin: 20px auto 60px;
    padding: 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-registration-form h1 {
    margin-bottom: 25px;
    text-align: center;
    color: #222;
    font-size: 28px;
}

.custom-registration-form .form-row {
    margin-bottom: 20px;
}

.custom-registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.custom-registration-form label .required {
    color: #ff3030;
}

.custom-registration-form input[type="text"],
.custom-registration-form input[type="email"],
.custom-registration-form input[type="password"],
.custom-registration-form input[type="tel"],
.custom-registration-form select {
    height: 46px;
    box-sizing: border-box;
    padding: 12px;
    line-height: 22px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.custom-registration-form input[type="text"]:focus,
.custom-registration-form input[type="email"]:focus,
.custom-registration-form input[type="password"]:focus,
.custom-registration-form input[type="tel"]:focus,
.custom-registration-form select:focus {
    border-color: var(--c-main);
    box-shadow: 0 0 0 2px rgba(255, 48, 48, 0.2);
    outline: none;
}

.custom-registration-form .phone-input-container {
    display: flex;
    gap: 10px;
}

.custom-registration-form .phone-input-container select {
    width: 30%;
    flex-shrink: 0;
}

.custom-registration-form .phone-input-container input {
    width: 70%;
}

.custom-registration-form .phone-input-container select {
    padding-right: 30px; /* Allow space for the dropdown arrow */
}

.custom-registration-form .submit-row {
    margin-top: 30px;
    text-align: center;
}

.custom-registration-form .button-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--c-main);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.custom-registration-form .button-primary:hover {
    background-color: #e52020;
}

.custom-registration-form .field-error {
    color: #ff3030;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

.custom-registration-form .general-error {
    background-color: #fff2f2;
    border-left: 4px solid #ff3030;
    padding: 12px 15px;
    margin-bottom: 20px;
    color: #d32f2f;
}

.custom-registration-form .registration-success {
    background-color: #eeffee;
    border-left: 4px solid #4caf50;
    padding: 18px 20px;
    margin-bottom: 20px;
    color: #2e7d32;
    font-size: 16px;
    text-align: center;
}

.custom-registration-form .login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.custom-registration-form .login-link a {
    color: var(--c-main);
    text-decoration: none;
    font-weight: 600;
}

.custom-registration-form .login-link a:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 767px) {
    .custom-registration-form {
        padding: 20px 15px;
        margin: 10px auto 40px;
    }

    .custom-registration-form .phone-input-container {
        flex-direction: column;
        gap: 15px;
    }

    .custom-registration-form .phone-input-container select,
    .custom-registration-form .phone-input-container input {
        width: 100%;
    }

    .custom-registration-form .button-primary {
        width: 100%;
        padding: 12px 20px;
    }
}

/* reCAPTCHA Styles */
.custom-registration-form .recaptcha-row {
    margin-bottom: 25px;
}

.custom-registration-form .recaptcha-row .g-recaptcha {
    transform-origin: left center;
    -webkit-transform-origin: left center;
}

/* Responsive styles for reCAPTCHA */
@media (max-width: 320px) {
    .custom-registration-form .recaptcha-row .g-recaptcha {
        transform: scale(0.85);
        -webkit-transform: scale(0.85);
        margin-left: -20px;
    }
}


/*Subscribe*/
:root {
    --color-red: #ff3030;
}

#subscribe-content .wp-block-columns {
    gap: 0;
    border-top: 5px solid #ff3030;
    border-bottom: 5px solid #ff3030;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

#subscribe-content .wp-block-columns .wp-block-column {
    padding: 20px 10px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#subscribe-content .subscribe-subtitle {
    height: 15%;
}

#subscribe-content .wp-block-columns .wp-block-column:after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    content: "";
    width: 1px;
    height: 90%;
    background-color: #e1e1e1;
}

@media screen  and (max-width: 1024px) {
    #subscribe-content .wp-block-columns .wp-block-column:after {
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: 1px;
    }

}

#subscribe-content .wp-block-buttons,
#subscribe-content .wp-block-buttons .wp-block-button,
#subscribe-content .wp-block-buttons .wp-block-button a {
    display: block;
    background: none;
}

/* Related Products Title Fix */
.related.products .section-heading {
    clear: both;
    width: 100%;
    margin-bottom: 20px;
}

/* Related Products Fix */
.related.products {
    clear: both;
    float: none;
    width: 100%;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related.products .section-heading {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.related.products .products {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.related.products .product {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .related.products .product {
        width: 33.333%;
    }
}

@media (max-width: 767px) {
    .related.products .product {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .related.products .product {
        width: 100%;
    }
}

/* Clear floats after the related products */
.woocommerce-tabs,
.upsells.products,
#reviews,
.woocommerce-Reviews-title,
.woocommerce-Reviews {
    clear: both;
    float: none;
    width: 100%;
}

#subscribe-content .wp-block-buttons .wp-block-button a {
    background: #ff3030;
    border-radius: 5px;
}

#subscribe-content .wp-block-buttons .wp-block-button a:hover {
    background: #e52020;
}


#subscribe-content .wp-block-columns .wp-block-column:last-child:after {
    display: none;
}

#subscribe-content .wp-block-columns .wp-block-column p,
#subscribe-content .wp-block-columns .wp-block-column li {
    line-height: 140%;
}

#subscribe-content .wp-block-columns .wp-block-column li {
    padding: 5px 0;
    position: relative;
    list-style-type: circle;
}


#subscribe-content .wp-block-columns .wp-block-column p.subscribe-title {
    font-size: 20px;
    height: 10%;
}

#subscribe-content .wp-block-columns .wp-block-column p a {
    color: #ff3030;
}

#subscribe-content .subscribe-price strong {
    font-size: 40px;
}

.pmpro_form_submit input[type=submit],
.login-submit input[type=submit] {
    height: auto;
    background: var(--color-red) !important;
    border: 0 !important;
}

.wc-block-components-quantity-selector {
    align-items: center;
}

.wc-block-cart__submit-button {
    background: var(--color-red) !important;
    color: #ffffff;
    font-family: var(--ui-font);
    font-size: var(--btn-f-size, 12px);
    font-weight: var(--btn-f-weight, 600);
    line-height: var(--btn-l-height, var(--btn-height));
    text-transform: var(--btn-f-transform, uppercase);
    padding: 10px;
}
.wc-block-cart__submit-button:hover {
    background: #161616 !important;
    color: #ffffff;
}

#subscribe-content .wp-block-button__width-75.is-style-fill{
    margin: auto;
}

/* WooCommerce Dashboard Custom Page Styles */
.woocommerce-dashboard-wrapper {
    padding: 40px 0;
}

.dashboard-navigation {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.dashboard-navigation h3 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.dashboard-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-navigation li {
    margin-bottom: 10px;
}

.dashboard-navigation li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.dashboard-navigation li a:hover {
    background-color: #eaeaea;
    color: var(--c-main);
}

.dashboard-section {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dashboard-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

@media (max-width: 767px) {
    .dashboard-navigation {
        margin-bottom: 20px;
    }

    .col-md-3, .col-md-9 {
        width: 100%;
    }
}

.button-not-allowed {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #ccc;
}

@media (min-width: 768px) {
    .post-13367 .pmpro_login_wrap {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
    }
}
.mega-menu {
    max-width: 800px;
    padding: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-row {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.menu-row:hover {
    background: #f1f5f9;
    cursor: pointer;
}

.menu-row.continent-row {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 8px;
}

.menu-row.country-row {
    border-bottom: 1px solid #edf2f7;
}

.menu-cell {
    flex: 1;
    padding: 6px 12px;
    font-size: 14px;
    color: #1a202c;
    display: flex;
    align-items: center;
    position: relative;
}

.menu-cell.continent {
    font-weight: 700;
    flex: 0 0 20%;
    padding-left: 8px;
}

.menu-cell.country {
    font-weight: 500;
    flex: 0 0 25%;
    padding-left: 24px;
    position: relative;
}

.menu-cell.city {
    font-weight: 500;
    flex: 0 0 55%;
    padding-left: 24px;
}

.menu-cell.country:not(:empty)::before {
    content: '↳';
    position: absolute;
    left: 8px;
    color: #718096;
    font-size: 12px;
}

.menu-cell a {
    text-decoration: none;
    color: #3182ce;
    transition: color 0.2s ease;
}

.menu-cell a:hover {
    color: #2b6cb0;
}

.menu-cell a.coming-soon {
    color: #a0aec0;
    font-style: italic;
}

.menu-cell a.coming-soon:hover {
    color: #718096;
}

@media (max-width: 600px) {
    .mega-menu {
        padding: 6px;
        max-width: 100%;
    }
    .menu-cell {
        font-size: 12px;
        padding: 4px 8px;
    }
    .menu-cell.continent {
        padding-left: 6px;
    }
    .menu-cell.country {
        padding-left: 18px;
    }
    .menu-cell.city {
        padding-left: 18px;
    }
    .menu-cell.country:not(:empty)::before {
        left: 6px;
        font-size: 10px;
    }
    .menu-row.continent-row {
        margin-bottom: 6px;
    }
}
/*popup modal for purchase action if not subscribe*/
#popup-content-9274 {
    text-align: center;
    padding: 30px;
    max-width: 400px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

#popup-title-9274 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

#popup-message-9274 {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.5;
}

#popup-subscribe-btn-9274 {
    display: inline-block;
    padding: 12px 25px;
    background: #ffcc00;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

#popup-subscribe-btn-9274:hover {
    background: #e6b800;
}

/*hide the nav menu for woocommerce */
#post-13191 .woocommerce-MyAccount-navigation{
    display:none;
}

#post-13191 .woocommerce-MyAccount-content{
    width: 100%;
}

.menu-item-tablet-mobile {
    display: none;
}
@media only screen and (max-width: 1024px) {
    .menu-item-tablet-mobile {
        display: block;
    }
}
@media only screen and (max-width: 1024px){
    .gtranslate_wrapper a span {
        display: none;
    }
}
.text-red{
    color: red;
}

.cc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

.cc-modal-box {
    background: #fff;
    padding: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cc-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    opacity: 1;
    transition: color 0.3s ease;
    z-index: 10;
    padding: 0
}

.cc-modal-close:hover {
    color: black;
    opacity: 1;
    background: transparent;
}

.cc-modal-body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
}

.cc-modal-body ul,
.cc-modal-body ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.cc-modal-body h2 {
    margin-top: 0;
}

#product-conditions-body ul, #product-conditions-body ol{
    list-style-type: auto !important;
}

/* Filter container base style */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

/* Filter buttons (desktop default) */
.filter-btn {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    padding: 0 10px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    user-select: none;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: #e2e2e2;
    border-color: #999;
    color: #000;
}

.filter-btn.active {
    background-color: #d32f2f;
    border-color: #b71c1c;
    color: #fff;
    cursor: default;
}
#events-section {
  position: relative;
}

#events-section .content {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 60%;
  padding: 14px 20px;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  box-sizing: border-box;
}

#events-section .post-title,
#events-section .post-title a {
  margin: 0;
  text-align: center !important;
  line-height: 1.3;
  word-break: break-word;
}

@media (max-width: 768px) {
  #events-section .content {
    top: 12px;
    left: 12px;
    max-width: 70%;
    padding: 10px 14px;
  }

  #events-section .post-title,
  #events-section .post-title a {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  #events-section .content {
    top: 10px;
    left: 10px;
    max-width: 80%;
    padding: 8px 12px;
  }

  #events-section .post-title,
  #events-section .post-title a {
    font-size: 14px !important;
    line-height: 1.2;
  }
}

/* ============================= */
/* RESPONSIVE STYLES             */
/* ============================= */

/* For tablets and below: make filters scroll horizontally */
@media (max-width: 768px) {
    .category-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .category-filters::-webkit-scrollbar {
        height: 6px;
    }
    .category-filters::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
    }
    .category-filters::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .filter-btn {
        flex: 0 0 auto;
    }
}

/* For very small screens: stack buttons */
@media (max-width: 480px) {
    .category-filters {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .filter-btn {
        flex: 1 1 100%;
        text-align: center;
    }
}


.validity {
    font-size: 0.85rem;
    color: #dc2626;
    font-weight: 500;
    margin: 0;
    font-style: italic;
    background: #f8e1e1;
    padding: 4px 8px;
    border-radius: 4px;
}

.smart-head .smart-head-row-full:nth-child(3) .items-left .nav-wrap,
.smart-head .smart-head-row-full:nth-child(3) .items-left .nav-wrap .navigation{
    width: 100%;
}

.smart-head .smart-head-row-full:nth-child(3) .inner .items-left {
    width: calc(100% - 135px);
}

#menu-item-15923{
    margin-left: auto;
}

#pmpro_level-1 #pmpro_level_cost{
    display: none !important;
}

.cart-continue-shopping{
    background: var(--bg-color);
    border: 1px solid #ccc;
    color: var(--text-color);
    padding: 0 10px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    line-height: var(--btn-l-height, var(--btn-height));
    height: var(--btn-height);
    white-space: nowrap;
}


/* Container styling */
.membership-upgrade-content {
    text-align: center;
    padding: 1.5rem 1rem;
}

/* Headline */
.membership-upgrade-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #222;
}

/* Message text */
.membership-upgrade-content p {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Upgrade button */
.upgrade-btn {
    display: inline-block;
    background-color: #000; /* or your theme’s accent color */
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.upgrade-btn:hover {
    background-color: #222;
    transform: translateY(-1px);
}

/* Optional: outline variant */
.upgrade-btn.is-outline {
    background: transparent;
    border: 2px solid #000;
    color: #000;
}

.upgrade-btn.is-outline:hover {
    background: #000;
    color: #fff;
}
/* Registration error message */
.registration-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin: 20px auto;
    max-width: 800px;
}

.registration-error p {
    margin: 0;
    font-size: 16px;
}

.email-exists-error {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}