/*
 Theme Name: MyTicket Child Theme
 Theme URI: http://myticket.kenzap.com
 Author: Kenzap
 Author URI: http://kenzap.com
 Description: MyTicket - Healthy Food Delivery WordPress Theme
 Version: 1.1.8

 Template: myticket
 */

/*************** ADD CUSTOM CSS HERE.   ***************/

.section-upcoming-events {
    padding: 0!important;
}

.page-content, #primary, .payment-container{
    flex: 1 0 auto;
}
.main-header {
    background-color: white;
}
#site-navigation .nav li a{
    color: #365771;
}
#um_field_18_phone {
    display: none;
}
.hero-2 .hero-purchase-ticket a:hover {
    background-color: white!important;
    color: #365771;
}
.wpcf7 input[type="tel"]{
	padding: 12px;
}

.woocommerce-input-wrapper-checkbox{
    display: flex;
    align-items: center;
    gap: 20px;
}
.form-checkbox input {
    width: 13px!important;
}
.form-checkbox label {
    text-align: left;
}
.woocommerce-NoticeGroup{
    display: none;
}
.woocommerce-additional-fields{
    padding: 1px 25px 15px 25px;
    background-color: aliceblue;
}

.widget input[type="submit"] {
	background: #365771;
	color: white;
	padding: 10px 25px;
	border-radius: 25px;
	text-transform: uppercase;
	box-shadow: 0px 5px 25px 0px rgb(0 0 0 / 28%);
	border: 0;
	font-size: 15px;
	transition: all 0.3s ease-in-out;
}
.widget input[type="submit"]:hover {
	background: white;
	color: #365771;
}

div#pg-3998-0.panel-grid{
	margin-top: 30px!important;
}

select.wpcf7-form-control.wpcf7-select{
	min-width: 385px;
}

.navbar-offcanvas{
    background: white;
}

.navbar-offcanvas .logout {
    display: none;
}

@media only screen and ( min-width: 992px ) {
    .main-header .row {
        display: flex;
        align-items: center;
    }
}

@media only screen and ( max-width: 991px ) {
    .navbar-offcanvas {
        flex-direction: column-reverse;
        padding-top: 60px;
        gap: 25px;
    }

    .navbar-offcanvas .logout {
        margin-left: auto;
    }

    .navbar-right {
        width: 100%;
    }

    .navbar-offcanvas .logout a {
        color: white;
        padding: 10px;
        background-color: #365771;
        display: block;
    }

    .menu-profile {
        width: 100%;
        justify-content: space-around;
        padding: 10px;
        background-color: #80808016;
        border-radius: 6px;
    }
    .closecanvas {
        position: absolute;
        top: -7px;
        left: 10px;
        font-size: 14px;
        color: #365771;
    }
}

span.woocommerce-input-wrapper {
    width: 100%!important;
    text-align: right;
}

input.input-text {
    width: 100%;
    max-width: 300px;
}

.form-row label{
    min-width: 150px;
}

@media only screen and (max-width: 1200px) {
    .hero-2 .hero-content .hero-title {
        font-size: 45px;
    }
}

@media only screen and (max-width: 500px){
	.widget input[type="text"], .widget input[type="tel"], .widget input[type="email"] {
		max-width: 100%;
		padding: 7px!important;
	}
	
	.widget input[type="submit"]{
		display: block;
		margin: 0 auto;
	}

    .hero-2 .hero-content .hero-title{
        font-size: 35px;
        line-height: 45px;
    }
}

section.section-stadium-description {
    font-size: 14px;
    line-height: 1.4em;
    margin-bottom: 15px;
    text-indent: 30px;
}

.widget_myticket_events_categories_widget li img {
    width: 100%!important;
}

#tribune-name-side-left {
	fill: #242424;
}
#tribune-name-side-right {
	fill: #242424;
}

.warning-message {
    /* color: red; */
}
.stadium-message p{
    margin-bottom: 15px;
}

section.section-stadium-description {
    font-family: "Montserrat-Light";
}

.top-header.top-header-bg .top-left ul li a i {
    color: #fff;
}
.top-header .top-right ul li:first-child a {
    color: #fff!important;
}
.um-account {
    margin-top: 40px;
}
.um-account-meta-img.uimob800-hide a {
    display: inline-block;
}

.section-upcoming-events .section-content ul {
    display: flex;
    flex-wrap: wrap;
}

.section-upcoming-events .section-content ul li {
    flex: 0 0 32%;
}
.section-upcoming-events .section-content .date-end {
    right: 0;
    left: unset;
    background-color: rgb(255 0 0 / 60%)
}
.section-upcoming-events .section-content .date-start {
    background-color: rgb(70 125 4 / 80%)
}

/* Profile */
.menu-profile {
    display: flex;
    gap: 15px;
    align-items: center;
}

.menu-profile .um-avatar-gravatar {
    width: 50px;
    border-radius: 50%;
}

@media only screen and ( min-width: 530px ) {
    .um-ticket-order-legacy {
    margin-top: 30px;
}
}


.um-ticket-order-legacy__table {
    display: grid;
    grid-template-columns: 46px 1fr 1fr 1fr 1fr 1fr 0.5fr 96px;
    grid-template-rows: 40px;
    gap: 7px;
}

.um-ticket-order-legacy__body {
    overflow: auto;
}

.um-ticket-order-legacy__body h5 {
    margin-top: 30px;
}

.um-ticket-order-legacy__table div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    text-align: center;
}

table.um-ticket-order-legacy__table tr:nth-child(even) {
    background-color: #8080800a;
}

.um-ticket-order-legacy__button {
    display: block;
    width: 100%;
    padding: 7px 5px;
    color: white;
    background-color: #365771;
    border-radius: 3px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #365771;
    box-sizing: border-box;

}

.um-ticket-order-legacy__button:hover, .um-ticket-order-legacy__button:focus{
    color: #365771;
    background-color: white;
    border: 1px solid #365771;
}

/* popup window for ticket information */

.um-ticket-order-legacy__popup {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #8080808c;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
}

.order-popup-legacy__window {
    position: absolute;
    max-width: 500px;
    width: 90%;
    min-height: 200px;
    top: 50%;
    left: 50%;
    background-color: white;
    transform: translateX(-50%) translateY(-50%);
    padding: 50px 20px 20px 20px;
    border: 1px solid #365771;
    box-sizing: border-box;
    max-height: 90vh;
    overflow: auto;
}

.order-popup-legacy__button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #365771;
    color: white;
    border: 1px solid gray!important;
    line-height: 0;
    transition: all 0.3s ease;
}

.order-popup-legacy__button:hover, .order-popup-legacy__button:focus {
    background-color: white;
}

.um-account-main a {
    border-bottom: 1px solid gray!important;
}

.order-popup-legacy__item {
    display: none;
}

.um-ticket-order-legacy__item.head {
    text-transform: uppercase;
    background-color: #80808029;
}



.menu-profile__buttons {
    width: 100%;
    display: none;
    gap: 5px;
}


.menu-profile__buttons li {
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #365771;
}

.menu-profile__buttons li a {
    color: #fff;
}

.um-account-meta img {
    margin: 0 auto!important;
}

.um-ticket-order-legacy__item-button {
    gap: 5px;
}

/* Shopping cart */
.ticketing__shopping-cart {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: flex;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #365771;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border: 2px solid #365771;
    transition: all 0.3s ease;
}

.ticketing__shopping-cart span {
    display: block;
    position: absolute;
    background-color: #9f9f9f;
    width: 17px;
    border-radius: 5px;
    padding: 2px 0;
    text-align: center;
    color: white;
    top: -5px;
    left: -5px;
}

.ticketing__shopping-cart i {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.ticketing__shopping-cart:hover {
    background-color: white;
}

.ticketing__shopping-cart:hover i {
    color: #365771;
}

.products {
    display: flex;
}

@media only screen and ( max-width: 480px ) {
    /* basic styling: has nothing to do with tooltips: */
    h1.hero-title {
        padding-left: 0;
    }
    .menu-profile__buttons {
        display: flex;
    }
    .navbar-offcanvas .logout {
        display: block;
    }
}

@media screen and (max-width: 48em) {
    .section-upcoming-events .section-content ul li {
        flex: 0 0 100%;
    }
}

.section-event-category .section-content ul li.category-1 a {
    background: linear-gradient(to right, #dc0f19d9 0%,#1111116b 100%)!important;
}
.section-event-category .section-content ul li.category-1 a:hover {
    background: linear-gradient(to right, #dc0f19d9 0%,#1111116b 70%)!important;
}
.section-event-category .section-content ul li.category-2 a {
    background: linear-gradient(to right, #540682db 0%,#949494b3 100%)!important;
}
.section-event-category .section-content ul li.category-2 a:hover {
    background: linear-gradient(to right, #540682db 0%,#949494b3 70%)!important;
}
.section-event-category .section-content ul li.category-3 a {
    background: linear-gradient(to bottom, #0675c4 0%,#337ab72e 100%)!important;
}
.section-event-category .section-content ul li.category-3 a:hover {
    background: linear-gradient(to bottom, #0675c4 0%,#337ab72e 70%)!important;
}
.section-event-category .section-content ul li.category-4 a {
    background: linear-gradient(to bottom, #0675c45c 0%,rgb(211 84 0) 80%)!important;
}
.section-event-category .section-content ul li.category-4 a:hover {
    background: linear-gradient(to bottom, #0675c45c 0%,rgb(211 84 0) 100%)!important;
}

div.nsl-container[data-align="left"] {
    text-align: center!important;
}

.subscribe-button {
    padding: 5px 15px;
    color: white;
    border-radius: 20px;
    transition: all 0.3s  ease;
}

.subscribe-button:hover {
    border: 2px solid #365771;
}

.subscribe-button.active {
    background-color: #757575;
}
.woocommerce-input-wrapper select{
    max-width: 300px;
    width: 100%;
    padding: 10px!important;
    border-color: #f1f1f1!important;
    border-width: 1px;
}
.renew-subscription-title {
	font-size: 16px;
	margin: 15px 0;
}
.stadium-tribune__park::after {
    display: block;
    width: 50px;
    height: 50px;
    content: url('https://biletesmart.ro/wp-content/uploads/2024/09/park-icon.png');
}
.sms-body {
    flex: 1 1 auto;
}
.event-details {
   margin-top: 25px;
}
.sms-body__content h1 {
    font-size: 32px;
    margin-top: 25px;
}
.sms-body__content {
	margin-bottom: 25px;
}
.event-details p {
    font-size: 14px;
    color: #1f5679;
    white-space: pre-wrap;
    line-height: 1;
    margin-bottom: 16px;
}
/* From Uiverse.io by Yaya12085 */ 
.radio-inputs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border-radius: 0.5rem;
  background-color: #EEE;
  box-sizing: border-box;
  box-shadow: 0 0 0px 1px #365771;
  padding: 0.25rem;
  width: 180px;
  font-size: 14px;
}

.radio-inputs .radio-input {
  flex: 1 1 auto;
  text-align: center;
}

.radio-inputs .radio-input input {
  display: none;
}

.radio-inputs .radio-input .confirm {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: none;
  padding: 10px;
  color: #365771;
  transition: all .15s ease-in-out;
}

.radio-inputs .radio-input input:checked + .confirm {
  background-color: #fff;
  font-weight: 600;
}
.sms-body__content ul>li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.uppercase {
    text-transform: uppercase;
}
.confidential-box {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}
ul.sms-body__seats {
	margin-bottom: 20px;
}
/* setup tooltips */
.tooltip {
  position: relative;
}
.tooltip::before,
.tooltip::after {
  display: block;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.tooltip::after {
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0,0,0,.75); 
  border-left: 6px solid transparent;
  content: '';
  height: 0;
    top: 20px;
    left: 20px;
  width: 0;
}
.tooltip::before {
  background: rgba(0,0,0,.75);
  border-radius: 2px;
  color: #fff;
  content: attr(data-title);
  font-size: 14px;
  padding: 6px 10px;
    top: 26px;
  white-space: nowrap;
}

/* the animations */
/* fade */
.tooltip.fade::after,
.tooltip.fade::before {
  transform: translate3d(0,-10px,0);
  transition: all .15s ease-in-out;
}
.tooltip.fade:hover:after,
.tooltip.fade:hover:before {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* expand */
.tooltip.expand::before {
  transform: scale3d(.2,.2,1);
  transition: all .2s ease-in-out;
}
.tooltip.expand::after {
  transform: translate3d(0,6px,0);
  transition: all .1s ease-in-out;
}
.tooltip.expand:hover::before,
.tooltip.expand:hover::after {
  opacity: 1;
  transform: scale3d(1,1,1);
}
.tooltip.expand:hover:after {
  transition: all .2s .1s ease-in-out;
}

/* swing */
.tooltip.swing::before,
.tooltip.swing::after {
  transform: translate3d(0,30px,0) rotate3d(0,0,1,60deg);
  transform-origin: 0 0;
  transition: transform .15s ease-in-out, opacity .2s;
}
.tooltip.swing::after {
  transform: translate3d(0,60px,0);
  transition: transform .15s ease-in-out, opacity .2s;
}
.tooltip.swing:hover::before,
.tooltip.swing:hover::after {
  opacity: 1;
  transform: translate3d(0,0,0) rotate3d(1,1,1,0deg);
}

ul {
  margin-bottom: 40px;
}
li {
  cursor: pointer; 
/*   display: inline-block;  */
  padding: 0 10px;
}
.tooltip-wrapper {
    position: relative;
}
.tooltip-wrapper img {
    width: 20px!important;
}
.loading.tooltip-wrapper {
    border: 2px solid #757575;
    border-top: 2px solid white;
    border-radius: 50%;
    width: 20px;
    /* padding: 2px; */
    background-color: #757575;
    height: 20px;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
    outline: 2px solid;
}

#toast-container {
	margin-top: 15px;
}

.toast-message {
    font-size: 18px;
}

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

#toast-container.toast-bottom-full-width>div, #toast-container.toast-top-full-width>div {
	max-width: 600px;
}

/* Location Custom Post Type Styles - WooCommerce Compatible */
.site-content.content-wrapper.page-content.latest-post.product-category {
    padding: 2rem 0;
}

.location-page .title.text-center.touppercase h4 {
    font-size: 2.5rem;
    margin: 0 0 2rem 0;
    color: #333;
    text-transform: uppercase;
    border-bottom: 1px #eeeeee solid;
    padding: 10px 0;
}

.stadium-message.warning-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
}

.stadium-message.warning-message p {
    margin-bottom: 0.5rem;
    color: #856404;
}

.stadium-message.warning-message p:last-child {
    margin-bottom: 0;
}

.section-upcoming-events,
.section-locations {
    margin-bottom: 3rem;
}

.section-upcoming-events h2,
.section-locations h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.location-page .section-content ul.clearfix {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 2rem;
}

.location-page .section-content ul.clearfix li {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-page .section-content ul.clearfix li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.location-page .section-content ul.clearfix li a {
    display: block;
    text-decoration: none;
}

.location-page .section-content ul.clearfix li img {
    width: 100%;
    height: auto;
    display: block;
}

.location-page .section-content ul.clearfix li .info {
    padding: 1.5rem;
}

.location-page .section-content ul.clearfix li .info p {
    margin-bottom: 1rem;
}

.location-page .section-content ul.clearfix li .info p a {
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.location-page .section-content ul.clearfix li .info p a:hover {
    color: #007cba;
}

.location-page .section-content ul.clearfix li .date {
    background: #007cba;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.location-page .section-content ul.clearfix li .date .day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.location-page .section-content ul.clearfix li .date .month {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.location-page .section-content ul.clearfix li .date .year {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
}

.location-page .section-content ul.clearfix li .date.date-start {
    background: #28a745;
}

.location-page .section-content ul.clearfix li .date.date-end {
    background: #dc3545;
}

.location-page .section-content ul.clearfix li .get-ticket {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-page .section-content ul.clearfix li .get-ticket:hover {
    background: #005a87;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.location-page .section-content ul.clearfix li .sold-out {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: not-allowed;
}

.location-meta-preview {
    margin-bottom: 1rem;
}

.location-meta-preview .meta-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.location-meta-preview .meta-item strong {
    color: #007cba;
    margin-right: 0.5rem;
}

.section-products {
    margin-bottom: 3rem;
}

.section-products h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.section-stadium-description {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #365771;
}

.section-stadium-description h3 {
    color: #007cba;
    margin-bottom: 1rem;
}

.section-stadium-description p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-stadium-description p:last-child {
    margin-bottom: 0;
}

/* Pagination Styles */
.navigation.pagination {
    margin-top: 3rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0 0.25rem;
}

.nav-links a,
.nav-links span {
    display: block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #007cba;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.nav-links a:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.nav-links .current {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 3rem 0;
}

.no-posts h2 {
    color: #6c757d;
    margin-bottom: 1rem;
}

.no-posts p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-content ul.clearfix {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .title.text-center.touppercase h4 {
        font-size: 2rem;
    }
    
    .section-upcoming-events h2,
    .section-locations h2,
    .section-products h2 {
        font-size: 1.5rem;
    }
    
    .section-content ul.clearfix li .info {
        padding: 1rem;
    }
    
    .section-content ul.clearfix li .date .day {
        font-size: 1.5rem;
    }
}

/* Modern Layouts - Replacing clearfix with Flexbox and Grid */

/* Events Grid Layout */
.events-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .events-grid:has(.event-card:only-child) .event-card {
        max-width: 400px;
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Single element on tablet - align left, don't fill full width */
    .events-grid:has(.event-card:only-child) {
        grid-template-columns: 400px 1fr;
        justify-items: start;
    }
    
    .events-grid:has(.event-card:only-child) .event-card {
        max-width: 400px;
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    /* Single element on mobile - can use full width */
    .events-grid:has(.event-card:only-child) .event-card {
        max-width: 100%;
    }
}



/* Fallback for browsers that don't support :has() */
.events-grid .event-card:only-child {
    max-width: 400px;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.event-card .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007cba, #005a8b);
    color: white;
    padding: 1rem;
    text-align: center;
    min-height: 80px;
}

.event-card .date .day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.event-card .date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 0.25rem 0;
}

.event-card .date .year {
    font-size: 0.8rem;
    opacity: 0.9;
}

.event-card img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover img {
    transform: scale(1.05);
}

.event-card .info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card .info p {
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.event-card .info p a:hover {
    color: #365771;
}

.event-card .get-ticket,
.event-card .sold-out {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.event-card .get-ticket {
    background: #007cba;
    color: white;
    border: 2px solid #007cba;
}

.event-card .get-ticket:hover {
    background: #005a8b;
    border-color: #005a8b;
    transform: translateY(-2px);
}

.event-card .sold-out {
    background: #6c757d;
    color: white;
    border: 2px solid #6c757d;
    cursor: not-allowed;
}

/* Subscriptions Grid Layout */
.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.subscriptions-grid:has(.subscription-card:only-child) .subscription-card,
.events-grid:has(.event-card:only-child) .event-card {
    max-width: 400px;
}

/* Fallback for browsers that don't support :has() */
.subscriptions-grid .subscription-card:only-child,
.events-grid .event-card:only-child {
    max-width: 400px;
}

.subscription-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.subscription-card .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    text-align: center;
    min-height: 60px;
}

.subscription-card .date-start {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.subscription-card .date-end {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.subscription-card .date .day {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.subscription-card .date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin: 0.25rem 0;
}

.subscription-card .date .year {
    font-size: 0.7rem;
    opacity: 0.9;
}

.subscription-card img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subscription-card:hover img {
    transform: scale(1.05);
}

.subscription-card .info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subscription-card .info p {
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.subscription-card .info p a,
.event-card .info p a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.subscription-card .get-ticket,
.subscription-card .sold-out {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.subscription-card .get-ticket {
    background: #007cba;
    color: white;
    border: 2px solid #007cba;
}

.subscription-card .get-ticket:hover {
    background: #005a8b;
    border-color: #005a8b;
    transform: translateY(-2px);
}

.subscription-card .sold-out {
    background: #6c757d;
    color: white;
    border: 2px solid #6c757d;
    cursor: not-allowed;
}

.subscription-card, .event-card {
    position: relative;
}

/* Products Grid Layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Center single element in grid */
.products-grid:has(.product-card:only-child) {
    justify-items: center;
}

.products-grid:has(.product-card:only-child) .product-card {
    max-width: 300px;
}

/* Fallback for browsers that don't support :has() */
.products-grid .product-card:only-child {
    margin: 0 auto;
    max-width: 300px;
}

/* Responsive adjustments for modern layouts */
@media (max-width: 768px) {
    .events-grid,
    .subscriptions-grid,
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .event-card .info,
    .subscription-card .info {
        padding: 1rem;
    }
    
    .event-card .date .day {
        font-size: 1.5rem;
    }
    
    .subscription-card .date .day {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .events-grid,
    .subscriptions-grid,
    .products-grid {
        gap: 1rem;
    }
    
    .event-card .info,
    .subscription-card .info {
        padding: 0.75rem;
    }
    
    .event-card .get-ticket,
    .event-card .sold-out,
    .subscription-card .get-ticket,
    .subscription-card .sold-out {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Custom Notice Styles - WordPress Notice Design */
.custom-notice {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 2em;
    position: relative;
    background-color: #f7f6f7;
    color: #515151;
    border-top: 3px solid #a46497;
    list-style: none outside;
    width: fit-content;
    word-wrap: break-word;
    font-size: 14px;
}

.custom-notice--info {
    border-color: #365771;
    background-color: #f0f6ff;
    color: #365771;
}

.custom-notice--info::before {
    content: "ℹ";
    margin-right: 8px;
    font-weight: bold;
    color: #365771;
}

.custom-notice--no-events {
    border-color: #365771;
    background-color: #f9f9f9;
    color: #365771;
}

.custom-notice--no-events::before {
    content: "ℹ";
    margin-right: 8px;
    font-weight: bold;
    color: #365771;
}

.custom-notice--no-subscriptions {
    border-color: #365771;
    background-color: #f9f9f9;
    color: #365771;
}

.custom-notice--no-subscriptions::before {
    content: "ℹ";
    margin-right: 8px;
    font-weight: bold;
    color: #365771;
}

.custom-notice--success {
    border-color: #46b450;
    background-color: #ecf7ed;
    color: #46b450;
}

.custom-notice--success::before {
    content: "✓";
    margin-right: 8px;
    font-weight: bold;
    color: #46b450;
}

.custom-notice--error {
    border-color: #dc3232;
    background-color: #fbeaea;
    color: #dc3232;
}

.custom-notice--error::before {
    content: "✗";
    margin-right: 8px;
    font-weight: bold;
    color: #dc3232;
}

.custom-notice--warning {
    border-color: #ffb900;
    background-color: #fff8e5;
    color: #b32d2e;
}

.custom-notice--warning::before {
    content: "⚠";
    margin-right: 8px;
    font-weight: bold;
    font-size: 18px;
    color: #ffb900;
}

/* WordPress-style hover effects */
.custom-notice:hover {
    border-color: #365771;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for notices */
@media (max-width: 768px) {
    .custom-notice {
        padding: 10px 12px;
        margin: 12px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .custom-notice {
        padding: 8px 10px;
        margin: 10px 0;
        font-size: 12px;
    }
}

.menu-profile__username {
    text-transform: uppercase;
    font-weight: 700;
}

.um-form input[type=submit].um-button {
    border: 1px solid #375671!important;
}

.um-form input[type=submit].um-button:hover {
    background-color: white!important;
    color: #375671!important;
}

.um-account-profile-link {
    display: none !important;
}

.sf-menu ul li:hover {
    background-color: #375671;
}

.sf-menu ul li:hover a{
    color: white!important;
}

.sf-menu ul li a {
    transition: none;
}

.navbar-toggle {
    padding: 9px 0;
}

/* Rezolvă coloanele din secțiunea de contact */
@media (max-width: 768px) {
    .contact-responsive-columns {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .contact-responsive-columns > .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
        margin-bottom: 20px;
    }
}
