/*--Responsive CSS--*/

@media screen and (max-width: 780px) {
.ninscontainer {
	padding: 100px 0 48px 0;
	z-index: 999;
}
.body-wrapper.d-flex {
    flex-direction: column;
    align-items: center;
	width:100%
}

.countdown-container {
    width: 100%;
    height: auto;
    padding: 20px;
}

.card.sneaker-card {
    width: 100%;
    height: auto;
}

.sotw-sneaker-img {
    width: 100%;
}
.sidebar-card {
	width: 100%;
}
#logoin {
	display: flex;
	align-items: center;
}
.logowrap {
	align-items: start;
}
.mobilemenu {
    display: block;
}
.desktopmenu {
    display: none !important;
}

.logowrap .logo {
	width: 100% !important;
}

.logowrap {
	flex-direction: column;
}
.mobilemenu .menu li {
	list-style: none;
}
#menu-mobile-menu {
	display: flex;
	font-size: 14px;
	justify-content: space-between;
	padding: 0 30px;
}
.mob-loginsignup{
    display: block;
}
.ninscontainer {
	margin: 120px 32px;
}
.dojo-title {
  font-size: 28px;
}
.mob-loginsignup ul {
	list-style: none;
	padding: 0;
    width: 70px;
	margin: 0;
}
.text-neon-purple {
  font-size: 15px;
}
.mob-loginsignup ul li a {
	color: #b2ff2b;
}


.pageheading {
  font-size: 22px;
}

.form-control {
	padding: 12px 12px 12px 41px;
}
.forminputwrap .fa {
	position: absolute;
	top: 18px;
	left: 18px;
	font-size: 12px;
	color: grey;
}
.forminputwrap_email .fa-solid {
	position: relative;
	top: 35px;
	left: 18px;
	font-size: 12px;
	color: grey;
}
.forminputwrap_pass .fa-solid {
	position: relative;
	top: 34px;
	left: 18px;
	font-size: 12px;
	color: grey;
}
.loginsignup_inner {
	width: auto;
}
.product_tab {
	padding: 10px;
}
.product_tab.active {
	padding: 10px;
}
.productdetail {
	width: 433px;
}
.prodimag img {
	vertical-align: middle;
}
.xp-wrapper {
	flex-direction: column;
}
.xp-grid {
        grid-template-columns: 1fr 1fr;
}
.sidebar-wrapper {
	width: 100%;
	float: left;
}
.footer_top .container .row {
	flex-direction: column;
	float: left;
	width: 100%;
	text-align: center;
}
.loyalty_wrap {
	padding: 0;
	margin-top: 45px;
}
.yourpro h2 {
	font-size: 22px;
}
.yourpro .fa.fa-bolt {
	font-size: 20px;
	padding-top: 0;
}
.currank h3 {
	font-size: 22px;
}
.curxp p {
	font-size: 22px;
}
.curxp h4 {
	font-size: 18px;
}
.xptonxt h4 {
	font-size: 18px;
}
.xptonxt p {
	font-family: orbitron;
	font-size: 22px;
}
.intelroomwrap {
	flex-direction: column;
}
.sidebar {
    max-width: 100%;
}
.dojo-intelroom.text-center {
	margin: 90px 0 45px 0;
}
.dojo-xpzone.text-center {
	margin: 90px 0 45px 0;
}
.release-badge {
	padding: 10px 30px;
	height: 37px;
}
.header {
	height: auto;
	padding: 0px 0;
}
.header .col-12 {
	padding: 0;
}
.logowrap .logo img {
	height: 75px;
	padding: 0 20px;
}
.menuarea {
	width: 100%;
	background-color: #1a1a1acc;
}
.menu {
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#menu-mobile-menu {
	justify-content: space-between;
	font-size: 14px;
	gap: 0;
}
.menu li {
	text-align: center;
	font-size: 16px;
}
.menu li a {
  text-decoration: none;
  color: #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s;
}
.menu li a:hover {
  color: #96FF00;
}
.menu li i {
  font-size: 18px;
  margin-bottom: 4px;
}

/* Cart / Badge */
.menu li .badge {
  background: #96FF00;
  color: #000;
  border-radius: 50%;
  font-size: 10px;
  padding: 2px 5px;
  margin-left: 4px;
  font-weight: bold;
}
.dojo-welcome {
	padding: 70px 0 20px 0;
}
.filter-panel {
	width: 100%;
	right: -100%;
}
.cartiteminfowrp {
	flex-direction: column;
	width: 100%;
	text-align: center;
}
.woocommerce-cart .cartpage table.cart img {
	width: 100% !important;
}
.cartitemdet {
	margin-top: 20px;
	padding: 0 !important;
}
.cartitembrand {
	font-size: 18px;
	font-family: orbitron;
	color: #6100E6;
	font-weight: 800;
}
.cartitemvar {
	font-family: orbitron;
	font-weight: 700;
}
.cartitemprice {
	font-size: 18px;
	font-family: orbitron;
}
.search-icon {
  top: 91%;
}


}
@media screen and (max-width: 480px) {

.menu li a {
	padding: 15px 0;
}
.menu li {
	font-size: 14px;
}
.countdown-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.alert-button {
  font-size: 12px;
  padding: 10px;
  height: auto;
}

.card.sneaker-card {
  flex-direction: column;
  text-align: center;
}

.ms-3.sotwfulld {
    margin: 20px;
    width: 100%;
}

.reward-time {
    margin-top: 6px;
    align-self: flex-end;
}
.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.container.rroom-body {
	width: 100%;
}
.raffle-card.card.p-4 {
	width: 100%;
}
.raffle-card.card.pb-2.p-4 {
	padding: 0 !important;
}
.dojo-logo img {
  height: 135px;
  width: auto;
}
.dojo-title {
    font-size: 22px;
}

.section-title {
    font-size: 18px;
    letter-spacing: 0;
    width: 320px;
    padding-left: 10px;
}

  .price-wrap {
    flex-direction: column;
    gap: 4px;
  }
.countdown-container .title {
  font-size: 18px;
  margin-top: 6px;
}
.header-desktop {
    display: none;
}

.header .menu-main-menu-container {
width: 100%;
}
.menuarea {
	padding: 0;
	z-index: 99;
}
.grid-item.pre-loved-sneakers {
border-radius: 10px;
max-width: 355px;
}
.prodimag .attachment-medium.size-medium.wp-post-image {
	width: 355px;
}
.dojo-raffle h2 {
  font-size: 26px;
}

.raffle-wrapper {
  flex-direction: column;
}

.raffle-wrapper .col-9,
.raffle-wrapper .col-3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.rroom-product img {
  max-width: 240px;
}
.row.rroom-product.d-flex {
  flex-direction: column;
}
.text-neon-green.fw-bold {
  font-size: 24px;
  line-height: 32px;
}
.mt-3.fw-bold.text-white {
  font-size: 20px;
}
.rroom-timer {
  width: 100%;
}

.footer-container {
	flex-direction: column;
}
.grid_tabs {
	font-size: 14px;
}
.xp-wrapper {
	flex-direction: column;
}
.xp-grid {
        grid-template-columns:1fr;
}
.dojo-welcome {
	padding: 60px 0 20px 0;
	border-radius: 10px;
	color: #fff;
	position: relative;
	float: left;
	width: 100%;
}
.menu .menu-item i {
	margin-right: 5px;
}
.sneaker-card .card-body .d-flex.align-items-center.mt-3 {
	flex-direction: column;
}



}
/* Responsive */
@media (max-width: 768px) {
    .filter-panel {
        width: 100%;
        right: -100%;
    }

    /* Account Page Profile - Tablet */
    .usericon {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .user-profile-info {
        width: 100%;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Account Page Profile - Mobile */
@media screen and (max-width: 480px) {
    .usericon {
        padding: 15px;
        min-height: auto;
    }

    .userphoto {
        margin-bottom: 15px;
    }

    .user-profile-info .user-name {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .profile-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-item i {
        font-size: 20px;
    }

    .stat-value {
        font-size: 18px;
    }
}

/* ============================================
   SIDEBAR COMPONENTS - RESPONSIVE STYLES
   ============================================ */

/* Quick Actions Section */
@media screen and (max-width: 768px) {
    .quick-actions-section {
        padding: 15px;
    }

    .quick-actions-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .quick-action-btn {
        font-size: 16px;
        padding: 12px 10px;
    }
}

@media screen and (max-width: 480px) {
    .quick-action-btn {
        font-size: 14px;
        padding: 10px 8px;
    }
}

/* Intel Alerts Card */
@media screen and (max-width: 768px) {
    .intel-alerts-card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .alerts-title {
        font-size: 16px;
    }

    .alerts-desc {
        font-size: 13px;
    }

    .alert-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Referral Stats Card */
@media screen and (max-width: 768px) {
    .referral-stats-card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .referral-title {
        font-size: 16px;
        margin: 10px 0 15px 0;
    }

    .referral-count {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
    }

    .count-circle {
        width: 70px;
        height: 70px;
        margin-bottom: 8px;
    }

    .count-number {
        font-size: 16px;
    }

    .count-label {
        font-size: 13px;
    }

    .referral-link-input {
        font-size: 11px;
        padding: 8px 10px;
    }

    .copy-referral-btn {
        font-size: 11px;
        padding: 8px 10px;
    }
}

@media screen and (max-width: 480px) {
    .referral-link-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .copy-referral-btn {
        width: 100%;
    }
}

/* ============================================
   ACCOUNT PAGE - RESPONSIVE STYLES
   ============================================ */

/* Tab Navigation */
@media screen and (max-width: 768px) {
    .categoysearsh {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .category_term {
        font-size: 13px;
        padding: 10px 12px;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .categoysearsh {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .category_term {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* Size Preferences Grid */
@media screen and (max-width: 768px) {
    .size-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .size-btn {
        padding: 10px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .size-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .size-btn {
        padding: 8px;
        font-size: 13px;
    }

    .saved-size-info {
        font-size: 14px;
    }
}

/* Orders and Raffle Tables */
@media screen and (max-width: 768px) {
    .orders-table-wrapper,
    .raffle-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .orders-table,
    .raffle-table {
        min-width: 600px;
    }

    .orders-table th,
    .orders-table td,
    .raffle-table th,
    .raffle-table td {
        font-size: 13px;
        padding: 10px 8px;
    }
}

@media screen and (max-width: 480px) {
    .orders-table,
    .raffle-table {
        min-width: 500px;
    }

    .orders-table th,
    .orders-table td,
    .raffle-table th,
    .raffle-table td {
        font-size: 12px;
        padding: 8px 6px;
    }

    .view-order-btn {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Settings Forms */
@media screen and (max-width: 768px) {
    .settings-section {
        padding: 15px;
    }

    .section-title {
        font-size: 18px;
    }

    .form-control {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* ============================================
   LOYALTY PAGE - RESPONSIVE STYLES
   ============================================ */

/* Double XP Card in Sidebar */
@media screen and (max-width: 768px) {
    .sidebar-card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .event-title {
        font-size: 16px;
    }

    .event-description {
        font-size: 13px;
    }

    .countdown-display {
        font-size: 20px;
    }

    .countdown-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Ninja Tiers List */
@media screen and (max-width: 768px) {
    .list-sbloyalty {
        padding: 12px;
        margin-bottom: 15px;
    }

    .sidebar-title-bn {
        font-size: 16px;
    }

    .xp_points {
        font-size: 13px;
    }
}

/* XP Progress Section */
@media screen and (max-width: 768px) {
    .wrapxp {
        padding: 15px;
    }

    .yxpwrap {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .curxp p,
    .currank h3,
    .xptonxt p {
        font-size: 20px;
    }

    .curxp h4,
    .currank h4,
    .xptonxt h4 {
        font-size: 16px;
    }

    .boostxp {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media screen and (max-width: 480px) {
    .yxpwrap {
        gap: 10px;
    }

    .curxp p,
    .currank h3,
    .xptonxt p {
        font-size: 18px;
    }

    .boostxp {
        font-size: 13px;
        width: 100%;
    }
}

/* ============================================
   GENERAL MOBILE IMPROVEMENTS
   ============================================ */

/* Ensure touch-friendly button sizes */
@media screen and (max-width: 768px) {
    button,
    .btn,
    a.button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Content wrapper on mobile */
@media screen and (max-width: 768px) {
    .contentsidewrap {
        flex-direction: column;
    }

    .categoysearshwrapper {
        width: 100%;
    }

    .sidebar-wrapper {
        width: 100%;
        margin-top: 20px;
    }
}

/* Empty states */
@media screen and (max-width: 480px) {
    .empty-state {
        padding: 30px 15px;
    }

    .empty-state i {
        font-size: 40px;
    }

    .empty-state p {
        font-size: 14px;
    }
}

/* Modal adjustments for mobile */
@media screen and (max-width: 480px) {
    .modal-dialog {
        margin: 10px;
    }

    .modal-content {
        border-radius: 8px;
    }

    .modal-header,
    .modal-body {
        padding: 15px;
    }

    .avatar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* Card spacing on mobile */
@media screen and (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }
}

/* Typography adjustments */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
    }
}

/* ========================================
   BLOG SINGLE PAGE - RESPONSIVE STYLES
   ======================================== */

/* Tablet - 768px */
@media screen and (max-width: 768px) {
	/* Blog Sidebar becomes full width */
	.blog-content-wrapper .row {
		flex-direction: column-reverse;
 		padding: 140px 0 40px 0;
	}

	.blog-sidebar {
		position: relative;
		top: 0;
		margin-bottom: 30px;
	}

	/* Blog Post Content */
	.blog-post-content {
		padding: 25px;
	}

	.post-title {
		font-size: 32px;
	}

	/* Post Meta - Stack on smaller screens */
	.post-meta {
		gap: 15px;
	}

	/* Social Share Section */
	.social-share-section {
		flex-direction: column;
		align-items: flex-start;
		padding: 15px;
	}

	.share-buttons {
		width: 100%;
		justify-content: flex-start;
	}

	/* Author Bio */
	.author-bio-card {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.author-avatar-large img {
		margin-bottom: 15px;
	}

	/* Post Navigation */
	.nav-posts-wrapper {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.nav-post.next-post {
		text-align: left;
	}

	/* Related Posts Grid */
	.related-posts-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.related-post-image {
		height: 200px;
	}

	/* Sidebar Widgets */
	.sidebar-widget {
		padding: 20px;
	}

	.widget-title {
		font-size: 18px;
	}
}

/* Mobile - 480px */
@media screen and (max-width: 480px) {
	/* Breadcrumb Navigation */
	.breadcrumb-section {
		padding: 10px 0;
	}

	.breadcrumb-nav {
		font-size: 12px;
		gap: 5px;
	}

	.breadcrumb-nav .current {
		max-width: 150px;
	}

	/* Hero Section */
	.blog-hero-section {
		height: 250px;
	}

	/* Blog Content */
	.blog-content-wrapper {
		padding: 20px 0;
	}

	.blog-post-content {
		padding: 20px 15px;
		border-radius: 6px;
	}

	/* Post Header */
	.post-title {
		font-size: 24px;
		margin-bottom: 15px;
	}

	/* Post Meta - Mobile Stack */
	.post-meta {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}

	.author-avatar {
		width: 30px;
		height: 30px;
	}

	/* Social Share */
	.social-share-section {
		padding: 12px;
		margin-bottom: 20px;
	}

	.share-label {
		font-size: 13px;
		width: 100%;
		margin-bottom: 10px;
	}

	.share-buttons {
		width: 100%;
		justify-content: space-between;
	}

	.share-btn {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	/* Post Content Body */
	.post-content-body {
		font-size: 16px;
		line-height: 1.7;
		margin-bottom: 30px;
	}

	.post-content-body h2 {
		font-size: 24px;
		margin: 25px 0 12px 0;
	}

	.post-content-body h3 {
		font-size: 20px;
		margin: 20px 0 10px 0;
	}

	.post-content-body h4 {
		font-size: 18px;
	}

	.post-content-body ul,
	.post-content-body ol {
		padding-left: 20px;
	}

	.post-content-body blockquote {
		padding: 15px;
		margin: 20px 0;
		font-size: 15px;
	}

	/* Post Tags */
	.post-tags-section {
		padding: 15px;
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 20px;
	}

	.tags-label {
		margin-bottom: 10px;
	}

	.tags-list {
		gap: 8px;
	}

	.tag-item {
		padding: 5px 12px;
		font-size: 12px;
	}

	/* Author Bio */
	.author-bio-section {
		margin: 30px 0;
	}

	.author-bio-card {
		padding: 20px 15px;
	}

	.author-avatar-large img {
		width: 60px;
		height: 60px;
	}

	.author-name-large {
		font-size: 20px;
		flex-direction: column;
		gap: 5px;
		text-align: center;
	}

	.author-description {
		font-size: 14px;
		text-align: center;
	}

	.author-stats {
		justify-content: center;
		font-size: 13px;
	}

	/* Post Navigation */
	.post-navigation-section {
		margin: 30px 0;
	}

	.nav-post {
		padding: 15px;
	}

	.nav-label {
		font-size: 11px;
	}

	.nav-post-title {
		font-size: 14px;
	}

	/* Related Posts */
	.related-posts-section {
		margin: 30px 0;
	}

	.section-title {
		font-size: 22px;
		margin-bottom: 20px;
	}

	.related-post-card {
		margin-bottom: 15px;
	}

	.related-post-image {
		height: 180px;
	}

	.related-post-content {
		padding: 15px;
	}

	.related-post-title a {
		font-size: 15px;
	}

	.related-post-meta {
		font-size: 12px;
	}

	/* Sidebar */
	.blog-sidebar {
		margin-bottom: 20px;
	}

	.sidebar-widget {
		padding: 15px;
		margin-bottom: 20px;
		border-radius: 6px;
	}

	.widget-title {
		font-size: 16px;
		margin-bottom: 15px;
	}

	/* Search Widget */
	.search-input-group {
		flex-direction: column;
		gap: 8px;
	}

	.search-field,
	.search-submit {
		width: 100%;
		padding: 10px 12px;
		font-size: 13px;
	}

	/* Categories */
	.category-link {
		padding: 10px 12px;
		font-size: 14px;
	}

	.category-count {
		font-size: 11px;
		padding: 2px 8px;
	}

	/* Recent & Popular Posts */
	.recent-post-item,
	.popular-post-item {
		margin-bottom: 15px;
		padding-bottom: 15px;
	}

	.recent-post-thumb img {
		width: 60px;
		height: 60px;
	}

	.recent-post-title a,
	.popular-post-title a {
		font-size: 13px;
	}

	.recent-post-date,
	.popular-post-meta {
		font-size: 11px;
	}

	.post-rank {
		width: 30px;
		height: 30px;
		font-size: 14px;
	}

	/* Tags Cloud */
	.tags-cloud {
		gap: 6px;
	}

	.tag-cloud-item {
		padding: 5px 10px;
		font-size: 12px;
		border-radius: 12px;
	}

	/* Newsletter Widget */
	.newsletter-card {
		padding: 20px 15px;
	}

	.newsletter-icon {
		font-size: 35px;
		margin-bottom: 12px;
	}

	.newsletter-title {
		font-size: 18px;
	}

	.newsletter-text {
		font-size: 13px;
		margin-bottom: 15px;
	}

	.newsletter-input,
	.newsletter-btn {
		padding: 10px 12px;
		font-size: 13px;
	}

	/* Social Follow */
	.social-follow-buttons {
		gap: 10px;
	}

	.social-follow-btn {
		padding: 10px 15px;
		font-size: 14px;
	}
}

/* Extra Small Mobile - 360px */
@media screen and (max-width: 360px) {
	.post-title {
		font-size: 20px;
	}

	.post-content-body {
		font-size: 15px;
	}

	.post-content-body h2 {
		font-size: 20px;
	}

	.post-content-body h3 {
		font-size: 18px;
	}

	.share-btn {
		width: 35px;
		height: 35px;
		font-size: 13px;
	}

	.author-name-large {
		font-size: 18px;
	}

	.section-title {
		font-size: 20px;
	}
}

/* Print Styles for Blog Posts */
@media print {
	/* Hide elements not needed in print */
	.breadcrumb-section,
	.social-share-section,
	.blog-sidebar,
	.post-navigation-section,
	.related-posts-section,
	.header,
	.footer {
		display: none !important;
	}

	/* Make content readable */
	.blog-single-page,
	.blog-post-content {
		background: #fff !important;
		color: #000 !important;
		border: none !important;
	}

	.post-title,
	.post-content-body h2,
	.post-content-body h3,
	.post-content-body h4 {
		color: #000 !important;
	}

	.post-content-body {
		font-size: 12pt !important;
		line-height: 1.6 !important;
	}

	/* Show URLs after links */
	.post-content-body a[href]:after {
		content: " (" attr(href) ")";
		font-size: 10pt;
		color: #666;
	}

	/* Page breaks */
	.author-bio-section,
	.post-tags-section {
		page-break-before: avoid;
		page-break-after: avoid;
	}

	.post-content-body img {
		max-width: 100% !important;
		page-break-inside: avoid;
	}
}

/* ============================================
   SINGLE PRODUCT PAGE - RESPONSIVE STYLES
   ============================================ */

/* Tablet and below - Switch to single column */
@media (max-width: 968px) {
    .dojo-product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dojo-column-2 {
        padding-left: 0;
    }

    .dojo-product-name h1 {
        font-size: 32px;
    }

    .gallery-thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Make images responsive */
    .dojo-product-images .woocommerce-product-gallery__wrapper {
        max-width: 100% !important;
    }

    .dojo-product-images .woocommerce-product-gallery__image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .dojo-single-product-container {
        padding: 30px 20px;
    }

    .dojo-product-layout {
        gap: 30px;
    }

    .dojo-column-1 {
        gap: 25px;
    }

    .dojo-column-2 {
        gap: 25px;
    }

    .dojo-product-name h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .dojo-product-price .price {
        font-size: 26px;
    }

    /* Size buttons - better touch targets */
    .size-btn {
        min-width: 50px;
        min-height: 45px;
        font-size: 14px;
        padding: 10px 15px;
    }

    .size-options {
        gap: 10px;
        justify-content: flex-start;
    }

    /* Action buttons */
    .button-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .buy-now-btn,
    .single_add_to_cart_button {
        min-height: 50px;
        font-size: 16px;
    }

    /* Gallery thumbnails */
    .gallery-thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .dojo-single-product-container {
        padding: 20px 15px;
    }

    .dojo-product-layout {
        gap: 25px;
    }

    .dojo-column-1,
    .dojo-column-2 {
        gap: 20px;
    }

    .dojo-product-name h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .dojo-product-price .price {
        font-size: 22px;
    }

    /* Product images */
    .dojo-product-images {
        padding: 15px;
        border-radius: 8px;
    }

    /* Size buttons - stack better on small screens */
    .size-btn {
        min-width: 45px;
        min-height: 42px;
        font-size: 13px;
        padding: 8px 12px;
    }

    .size-options {
        gap: 8px;
    }

    /* Action buttons */
    .buy-now-btn,
    .single_add_to_cart_button {
        min-height: 48px;
        font-size: 15px;
        padding: 12px 20px;
    }

    .button-row {
        gap: 12px;
    }

    /* Gallery thumbnails */
    .gallery-thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-thumb img {
        height: 60px;
    }

    /* Product details */
    .dojo-product-details {
        padding: 15px;
    }

    /* Product meta text */
    .product-meta {
        font-size: 13px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .dojo-single-product-container {
        padding: 15px 10px;
    }

    .dojo-product-name h1 {
        font-size: 20px;
    }

    .dojo-product-price .price {
        font-size: 20px;
    }

    /* Size buttons - even smaller */
    .size-btn {
        min-width: 40px;
        min-height: 38px;
        font-size: 12px;
        padding: 6px 10px;
    }

    .size-options {
        gap: 6px;
    }

    /* Action buttons */
    .buy-now-btn,
    .single_add_to_cart_button {
        min-height: 45px;
        font-size: 14px;
        padding: 10px 15px;
    }

    /* Gallery */
    .gallery-thumb img {
        height: 50px;
    }
}
