.comments-area a,
.page-content a {
  text-decoration: underline;
}
.alignright {
  float: right;
  margin-left: 1rem;
}
.alignleft {
  float: left;
  margin-right: 1rem;
}
.aligncenter {
  clear: both;
  display: block;
  margin-inline: auto;
}
.alignwide {
  margin-inline: -80px;
}
.alignfull {
  margin-inline: calc(50% - 50vw);
  max-width: 100vw;
}
.alignfull,
.alignfull img {
  width: 100vw;
}
.wp-caption {
  margin-block-end: 1.25rem;
  max-width: 100%;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  display: block;
  margin-inline: auto;
}
.wp-caption-text {
  margin: 0;
}
.gallery-caption {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  padding: 0.75rem;
}
.pagination {
  display: flex;
  justify-content: space-between;
  margin: 20px auto;
}
.sticky {
  display: block;
  position: relative;
}
.bypostauthor {
  font-size: inherit;
}
.hide {
  display: none !important;
}
.post-password-form {
  margin: 50px auto;
  max-width: 500px;
}
.post-password-form p {
  align-items: flex-end;
  display: flex;
  width: 100%;
}
.post-password-form [type="submit"] {
  margin-inline-start: 3px;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #333;
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 12px 24px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
.post .entry-title a {
  text-decoration: none;
}
.post .wp-post-image {
  max-height: 500px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 991px) {
  .post .wp-post-image {
    max-height: 400px;
  }
}
@media (max-width: 575px) {
  .post .wp-post-image {
    max-height: 300px;
  }
}
#comments .comment-list {
  font-size: 0.9em;
  list-style: none;
  margin: 0;
  padding: 0;
}
#comments .comment,
#comments .pingback {
  position: relative;
}
#comments .comment .comment-body,
#comments .pingback .comment-body {
  border-block-end: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  padding-block-end: 30px;
  padding-block-start: 30px;
  padding-inline-end: 0;
  padding-inline-start: 60px;
}
#comments .comment .avatar,
#comments .pingback .avatar {
  border-radius: 50%;
  left: 0;
  margin-inline-end: 10px;
  position: absolute;
}
body.rtl #comments .comment .avatar,
body.rtl #comments .pingback .avatar,
html[dir="rtl"] #comments .comment .avatar,
html[dir="rtl"] #comments .pingback .avatar {
  left: auto;
  right: 0;
}
#comments .comment-meta {
  display: flex;
  justify-content: space-between;
  margin-block-end: 0.9rem;
}
#comments .comment-metadata,
#comments .reply {
  font-size: 11px;
  line-height: 1;
}
#comments .children {
  list-style: none;
  margin: 0;
  padding-inline-start: 30px;
  position: relative;
}
#comments .children li:last-child {
  padding-block-end: 0;
}
#comments ol.comment-list .children:before {
  content: "↪";
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  left: 0;
  line-height: 100%;
  position: absolute;
  top: 45px;
  width: auto;
}
body.rtl #comments ol.comment-list .children:before,
html[dir="rtl"] #comments ol.comment-list .children:before {
  content: "↩";
  left: auto;
  right: 0;
}
@media (min-width: 768px) {
  #comments .comment-author,
  #comments .comment-metadata {
    line-height: 1;
  }
}
@media (max-width: 767px) {
  #comments .comment .comment-body {
    padding: 30px 0;
  }
  #comments .children {
    padding-inline-start: 20px;
  }
  #comments .comment .avatar {
    float: left;
    position: inherit;
  }
  body.rtl #comments .comment .avatar,
  html[dir="rtl"] #comments .comment .avatar {
    float: right;
  }
}
.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*="elementor-page-"]) .site-main {
  margin-inline-end: auto;
  margin-inline-start: auto;
  width: 100%;
}
@media (max-width: 575px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    padding-inline-end: 10px;
    padding-inline-start: 10px;
  }
}
@media (min-width: 576px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 500px;
  }
  .site-footer.footer-full-width .footer-inner,
  .site-header.header-full-width .header-inner {
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 600px;
  }
  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 800px;
  }
  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%;
  }
}
@media (min-width: 1200px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 1140px;
  }
  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%;
  }
}
.site-header + .elementor {
  min-height: calc(100vh - 320px);
}
.table-type-product-list-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
form.table-type-product-list-cart input.quantity {
    width: 60px;
}
button.button.ajax_add_to_cart.add_to_cart_button {
    display: flex;
    align-items: center;
}
a.added_to_cart {
    display: none;
}

.ajax_add_to_cart {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.ajax_add_to_cart.loading {
    color: transparent !important;
    pointer-events: none;
}

.ajax_add_to_cart.loading::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

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

.product-table-wrapper {
    margin-top: 30px;
     margin-bottom: 80px;
}
button#clearFilters {
    margin-top: 20px;
}

/* Add this CSS to your theme's style.css file */

/* Modern Filter Section */
.modern-product-filters {
    background: linear-gradient(135deg, #1b398a 0%, #000 100%);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 32px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    overflow: hidden;
    position: relative;
}

.modern-product-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-header {
    position: relative;
    z-index: 2;
    padding: 24px 32px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.025em;
}

.filter-icon {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.results-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    background: white;
    border-radius: 0 0 16px 16px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 24px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-group {
    position: relative;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.label-icon {
    width: 16px;
    height: 16px;
    stroke: #6b7280;
    stroke-width: 1.5;
}

/* Modern Search Input */
.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: #9ca3af;
    stroke-width: 1.5;
    z-index: 2;
}

.modern-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
}

.modern-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.modern-input:focus + .input-line {
    transform: scaleX(1);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1b398a;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 12px 12px;
}

/* Modern Select Styling */
.select-wrapper {
    position: relative;
}

.modern-select, input#gameNameSearchInput {
    width: 100%;
    padding: 16px 48px 16px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    background: #fafafa;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

/* .modern-select:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
} */

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: #6b7280;
    stroke-width: 1.5;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.modern-select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Modern Clear Button */
.clear-group {
    align-self: end;
}

.modern-clear-btn {
    height: 52px;
    padding: 0 24px;
    background: #1b398a;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.modern-clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    background: #1b398a;
}

.modern-clear-btn:active {
    transform: translateY(0);
}

.clear-icon {
    width: 16px;
    height: 16px;
    stroke: white;
    stroke-width: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .search-group {
        grid-column: 1 / -1;
    }
    
    .clear-group {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 768px) {
    .modern-product-filters {
        border-radius: 12px;
        margin-bottom: 24px;
    }
    
    .filter-header {
        padding: 20px 24px 12px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .filter-title {
        font-size: 18px;
    }
    
    .filter-content {
        padding: 24px;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modern-input,
    .modern-select,
    .modern-clear-btn {
        font-size: 15px;
    }
    
    .results-count {
        align-self: stretch;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filter-header {
        padding: 16px 20px 12px;
    }
    
    .filter-content {
        padding: 20px;
    }
    
    .filter-title {
        font-size: 16px;
    }
    
    .modern-clear-btn {
        padding: 0 20px;
        justify-content: center;
    }
}

/* Enhanced animations */
.filter-group {
    animation: fadeInUp 0.6s ease-out forwards;
}

.filter-group:nth-child(1) { animation-delay: 0.1s; }
.filter-group:nth-child(2) { animation-delay: 0.2s; }
.filter-group:nth-child(3) { animation-delay: 0.3s; }
.filter-group:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for accessibility */
/* .modern-input:focus,
.modern-select:focus,
.modern-clear-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
} */

/* Loading Overlay */
.filter-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.loading-content {
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    width: 90%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1b388a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loading-text {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

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



.col-image a img{
        width: auto;
    height: 100px;
    object-fit: contain;
}
.product-table-wrapper td {
    vertical-align: middle!important;
    text-align: center!important;
}
.product-table-wrapper td a {
    text-decoration: underline!important;
    color: #30498c;
}
strong {
    color: #30498c;
}