.auction-coming-soon {
    width: 80% ;
    margin: 0 auto ;
}

.auction-coming-soon .gform_title {
    text-align: center;
    margin-bottom: 30px;
}


.iyg-auction-coming-soon {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
}

.main-bidding .wsawl-link {
    display: none;
}

@media only screen and ( max-width: 981px ) {
    .author-avatar {
        display: none;
    }
}

.iyg-auction-current-bidder {
    font-size: 14px;
}
.iyg-auction-register-link, .iyg-auction-login-link {
    font-size: 14px;
}

/* Featured slider arrows */
.iyg-featured-slider-wrapper {
    position: relative; }

.iyg-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease; }

.iyg-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.75); }

.iyg-slider-prev {
    left: 16px; }

.iyg-slider-next {
    right: 16px; }

@media screen and (max-width: 480px) {
    .iyg-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px; }

    .iyg-slider-prev {
        left: 8px; }

    .iyg-slider-next {
        right: 8px; } }

.main {
  flex-grow: 1; }
  
.main.grid {
	display: flex;
	flex-flow: row wrap;
	margin-top: 1em;
	margin-bottom: 1em; }


.main.grid .auction {
	flex: 0 1 25%;
	padding: 20px 10px;
	margin: 0 auto; }
	
	@media screen and (max-width: 990px) {
		.main.grid .auction {
			flex: 0 0 33%; }	}
			
	@media screen and (max-width: 780px) {
		.main.grid .auction {
			flex: 0 0 50%; }	}
			
	@media screen and (max-width: 640px) {
		.main.grid .auction {
			max-width: 500px;
			flex: 0 0 100%; }	}

.main.grid .auction img {
	border-radius: 5px; }

/* No Reserve Badge */
.iyg-no-reserve-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 6px 12px;
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	z-index: 10;
	pointer-events: none;
}

.main.grid .auction .iyg-auction-image-wrapper {
	position: relative;
	display: block;
}

/* Grid carousel */
.iyg-grid-carousel {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

.iyg-grid-carousel-track {
	display: flex;
	transition: none;
}

.iyg-grid-carousel-slide {
	min-width: 100%;
	display: none;
}

.iyg-grid-carousel-slide.active {
	display: block;
}

/* 16:9 aspect ratio image box */
.iyg-grid-image-ratio {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 ratio */
	overflow: hidden;
	background: #111;
}

.iyg-grid-image-ratio img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Carousel arrows */
.iyg-grid-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 11;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
	padding: 0;
	line-height: 1;
}

.iyg-grid-arrow:hover {
	background: rgba(0, 0, 0, 0.75);
}

.iyg-grid-arrow-prev {
	left: 8px;
}

.iyg-grid-arrow-next {
	right: 8px;
}

/* Dot indicators — removed */

/* View more photos slide */
.iyg-grid-carousel-view-more {
	display: none;
}

.iyg-grid-carousel-view-more .iyg-grid-image-ratio {
	cursor: pointer;
}

.iyg-grid-carousel-view-more .iyg-grid-image-ratio img {
	filter: brightness(0.4);
}

.iyg-grid-view-more-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	white-space: nowrap;
	pointer-events: none;
}

.iyg-grid-view-more-link {
	text-decoration: none;
}

.iyg-grid-carousel.show-more .iyg-grid-carousel-view-more {
	display: block;
}

.main.grid .auction > a {
	position: relative;
	display: inline-block;
	z-index: 1;
}

.main.grid .auction .iyg-auction-pill-wrapper {
	position: relative;
	z-index: 2;
}

/* Watchlist Button */
.grid .auction .iyg-watchlist-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}
.quick-actions-container .iyg-watchlist-btn {
	background-color: var(--accent);
	color: var(--e-global-color-secondary, #1C1C1C);
}

.iyg-watchlist-btn {
    text-decoration: none !important;
}

.iyg-watchlist-btn:hover {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.1);
}

.iyg-watchlist-btn i {
	color: var(--accent);
	font-size: 18px;
}

.iyg-watchlist-btn.active i {
	color: #c0392b;
}

.quick-actions-container .iyg-watchlist-btn i {
	color: var(--e-global-color-secondary, #1C1C1C);
}

.main.grid .auction ul.buttons {
	margin-top: -18px;
	justify-content: flex-end; }

.main.grid .auction p {
	font-size: .9rem;
	line-height: 1.2rem;
	margin: -.6em 0 0; }

/* List View Styles */
.main.list {
	width: 100%;
	margin-top: 1em;
	margin-bottom: 1em; }

.main.list .auction-list-item {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	align-items: flex-start; }

.main.list .auction-list-image {
	flex: 0 0 280px;
	position: relative; }

.main.list .auction-list-image img {
	width: 100%;
	height: auto;
	border-radius: 5px;
	display: block; }

.main.list .auction-list-image a {
	position: relative;
	display: block; }

.main.list .auction-list-content {
	flex: 1 1 auto;
	min-width: 0; }

.main.list .auction-list-content h2.tile-title {
	margin-top: 0;
	font-size: 2em; }

.main.list .auction-list-content p {
	font-size: .95rem;
	line-height: 1.4rem;
	margin: 1em 0; }

.main.list .auction-list-content .iyg-list-location {
	font-size: .9rem;
	color: #666;
	margin-top: 0.5em; }

.main.list .auction-list-content .iyg-list-location .fas {
	margin-right: 5px;
	color: #999; }

.main.list .auction-list-meta {
	flex: 0 0 200px;
	display: flex;
	flex-direction: column;
	gap: 15px; }

.main.list .auction-list-meta .iyg-auction-pill-wrapper {
	position: relative; }

.main.list .auction-list-meta ul.buttons {
	margin: 0;
	flex-direction: column;
	gap: 5px; }

.main.list .auction-list-meta ul.buttons li {
	width: 100%;
	margin: 0; }

.main.list .auction-list-meta ul.buttons li a {
	padding: 10px 12px;
	font-size: 0.9rem;
	text-align: center; }

.main.list .auction-list-meta .iyg-view-auction-btn {
	width: 100%;
	text-align: center;
	padding: 12px;
	box-sizing: border-box; }

.main.list .auction-list-separator {
	border: none;
	border-top: 1px solid #ddd;
	margin: 0; }

/* Responsive adjustments for list view */
@media screen and (max-width: 990px) {
	.main.list .auction-list-image {
		flex: 0 0 220px; }
	
	.main.list .auction-list-meta {
		flex: 0 0 180px; }
}

@media screen and (max-width: 780px) {
	.main.list .auction-list-item {
		flex-direction: column; }
	
	.main.list .auction-list-image {
		flex: 0 0 auto;
		width: 100%;
		max-width: 400px;
		margin: 0 auto; }
	
	.main.list .auction-list-content {
		order: 2; }
	
	.main.list .auction-list-meta {
		flex: 0 0 auto;
		width: 100%;
		order: 3;
		flex-direction: row;
		justify-content: space-between;
		align-items: center; }
	
	.main.list .auction-list-meta .iyg-auction-pill-wrapper {
		flex: 1 1 auto; }
	
	.main.list .auction-list-meta .iyg-view-auction-btn {
		flex: 0 0 auto;
		width: auto;
		padding: 12px 30px; }
}

@media screen and (max-width: 640px) {
	.main.list .auction-list-meta {
		flex-direction: column; }
	
	.main.list .auction-list-meta ul.buttons {
		flex-direction: row; }
	
	.main.list .auction-list-meta .iyg-view-auction-btn {
		width: 100%; }
}


.japanese ul.buttons li:first-of-type {
	background : linear-gradient(90deg, rgba(148, 0, 25, 1) 0%, rgba(101, 0, 17, 1) 100%); }
	
.japanese ul.buttons li:nth-child(2) {
  background: linear-gradient(90deg, rgba(176, 17, 44, 1) 0%, rgba(122, 12, 31, 1) 100%); }

.japanese ul.buttons li:nth-child(3) {
  background: #EA173A; }  


ul.buttons {
	display: flex;
	justify-content: center;
	font-size: 1.5em;
	line-height: 1.1em;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.21);
	list-style: none;
	margin: 20px 0 0;
	padding: 0; }
	
ul.buttons li {
	flex: 0 1 auto;
	padding: 0;
	margin: 0 -2px 0 0;
	border-radius: 2px;
	background-color: #111; }
	
	ul.buttons li:last-child {
		margin-right: 0;	}

ul.buttons li a:link,
ul.buttons li a:visited {
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
	padding: 8px 15px 10px;
	text-decoration: none; }
	
ul.buttons li a:hover {
	background: #222; }
	
@media screen and (max-width: 380px) {
    ul.buttons {
        flex-direction: column;
        margin: 30px auto 0;
        width: 60%; }
    ul.buttons li {
        margin: 0 0 -2px; }
}

h2.tile-title {
	/**font-family: "Pathway Extreme", sans-serif;**/
  font-optical-sizing: auto;
  font-size: 2.3em;
  line-height: 1.0em;
	font-weight: 660;
	font-variation-settings: "wdth" 75;
	margin: .6em 0 .5em;
	text-transform: uppercase; }
	
	h2 a {
		text-decoration: none;	}
		
	h2 a:hover {
		text-decoration: underline;	}

h2.tile-title a {
	color:#000;
}

/* @group IYG Auction Submit Forms - Stage 1 & Stage 2 */

/* Stage 1 & Stage 2 Form Styles */
.auction-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.auction-payment-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Main layout */
.auction-form-layout {
    width: 100%;
}

.auction-form-main {
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.form-description {
    color: #666;
    font-size: 16px;
}

.form-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.form-section h3 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FEEC02;
}

.form-field {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-field-half {
    flex: 1;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-field label.required::after {
    content: ' *';
    color: red;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #FEEC02;
    outline: none;
    box-shadow: 0 0 5px rgba(254, 236, 2, 0.3);
}

.form-help {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #FEEC02;
    background-color: rgba(254, 236, 2, 0.1);
}

.upload-instructions {
    margin-bottom: 20px;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.uploaded-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.uploaded-image {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: move;
}

.uploaded-image.featured {
    border-color: #FEEC02;
}

.uploaded-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.image-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.btn-set-featured,
.btn-delete-image {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-indicator {
    background: #FEEC02;
    color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.drag-handle {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.categories-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
}

/* Category tree styling */
.category-item {
    display: flex;
    align-items: center;
    margin: 2px 0;
    padding: 2px 0;
}

.category-toggle {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 2px 6px;
    margin-right: 5px;
    font-size: 12px;
    line-height: 1;
    border-radius: 3px;
    transition: all 0.2s;
    min-width: 20px;
    text-align: center;
}

.category-toggle:hover {
    background-color: #f0f0f0;
    color: #333;
}

.category-spacer {
    width: 20px;
    margin-right: 5px;
}

.category-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
    flex: 1;
}

.category-label input[type="checkbox"] {
    margin: 0 8px 0 0;
    vertical-align: middle;
}

.category-name {
    flex: 1;
}

.category-count {
    color: #666;
    font-size: 12px;
    margin-left: 5px;
}

.category-children {
    margin-left: 25px;
}

.category-children.expanded .category-toggle::before {
    content: '▼';
}

.category-item.category-depth-1 {
    margin-left: 0px;
}

.category-item.category-depth-2 {
    margin-left: 0px;
}

.category-item.category-depth-3 {
    margin-left: 0px;
}

.category-item.selected .category-name {
    font-weight: bold;
    color: #333;
}

.form-submit-section {
    text-align: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #333;
    color: white;
}

.btn-primary:hover {
    background-color: #555;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

.auction-form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.auction-form-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.auction-form-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Modal Styles */
.auction-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.auction-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.auction-modal-content {
    position: relative;
    background: #fff;
    max-width: 500px;
    margin: 100px auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auction-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.auction-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.auction-modal-body {
    padding: 25px;
}

.auction-modal-body p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.6;
}

.auction-modal-body p:last-child {
    margin-bottom: 0;
}

.auction-modal-body p strong {
    color: #333;
}

.auction-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.auction-modal-footer .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Stage 2 Specific Styles */

.auction-preview {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.auction-preview-image {
    flex: 0 0 200px;
}

.auction-preview-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.auction-preview-details {
    flex: 1;
}

.auction-preview-details h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.auction-meta {
    margin-top: 15px;
}

.auction-meta p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.premium-features-grid {
    display: grid;
    gap: 20px;
    margin-top: 15px;
}

.premium-feature {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.premium-feature:hover {
    border-color: #FEEC02;
}

.listing-fee-section {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
}

.listing-fee-info {
    margin-top: 15px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e1e5e9;
}

.fee-item.fee-waived {
    border-color: #28a745;
    background: #f0f9f4;
}

.fee-details strong {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.fee-description {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.fee-waived .fee-description {
    color: #28a745;
    font-weight: 600;
}

.fee-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: right;
}

.fee-waived .fee-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.original-fee {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.waived-fee {
    font-size: 28px;
    color: #28a745;
}

.listing-fee-amount {
    font-weight: 600;
}

.premium-feature-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}

.premium-feature-label input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.feature-name {
    flex: 1;
    font-size: 16px;
}

.feature-price {
    color: #27ae60;
    font-weight: bold;
}

.feature-savings {
    background: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}

.feature-description {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.section-description {
    color: #666;
    margin-bottom: 20px;
}

/* Photography Feature Styles */
.premium-feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.photography-icon {
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    color: white;
}

.feature-title h5 {
    margin: 0 0 5px 0;
    color: #212529;
    font-size: 16px;
    font-weight: 600;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    color: #495057;
    padding: 3px 0 3px 20px;
    position: relative;
    font-size: 14px;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

.premium-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: #495057;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.premium-checkbox-wrapper:hover {
    background: #e9ecef;
}

.premium-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.premium-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.premium-checkbox-wrapper input[type="checkbox"]:checked + .premium-checkmark {
    background: #28a745;
    border-color: #28a745;
}

.premium-checkbox-wrapper input[type="checkbox"]:checked + .premium-checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.photography-options {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.photography-options.show {
    display: block !important;
    animation: slideDown 0.3s ease;
}

.photography-duration-options {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.photography-duration-options .duration-option {
    flex: 1;
    min-width: 150px;
}

.duration-option input[type="radio"] {
    display: none;
}

.duration-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    text-align: center;
    margin: 0;
    font-weight: normal;
}

.duration-label:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.duration-option input[type="radio"]:checked + .duration-label {
    border-color: #007bff;
    background-color: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
}

.duration-text {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.duration-price {
    font-size: 14px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.duration-price.premium {
    background-color: #ffc107;
    color: #212529;
}

.photography-coverage-success {
    color: #28a745;
    font-weight: 500;
    padding: 8px 12px;
    background: #d4edda;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin-top: 10px;
}

.photography-coverage-error {
    color: #dc3545;
    font-weight: 500;
    padding: 8px 12px;
    background: #f8d7da;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin-top: 10px;
}

.photography-coverage-loading {
    color: #0c5460;
    font-weight: 500;
    padding: 8px 12px;
    background: #d1ecf1;
    border-radius: 4px;
    border: 1px solid #bee5eb;
    margin-top: 10px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

/* Responsive Styles for Forms */
@media (max-width: 768px) {
    .auction-form-container {
        padding: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .uploaded-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .form-section {
        padding: 20px;
    }

    .auction-preview {
        flex-direction: column;
    }
    
    .auction-preview-image {
        flex: none;
        align-self: center;
    }

    .premium-feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .photography-duration-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .photography-duration-options .duration-option {
        min-width: auto;
    }
    
    .duration-label {
        padding: 12px 8px;
    }
}


/* YouTube Comment Embed */
.iyg-comment-youtube {
    margin-top: 12px;
}
.iyg-comment-youtube iframe {
    max-width: 100%;
    border-radius: 4px;
}
.comment-form-youtube {
    margin-top: 10px;
}
.comment-form-youtube label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}
.comment-form-youtube .description {
    font-weight: normal;
    color: #666;
    font-size: 0.9em;
}

/* Pagination */
.iyg-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 30px 0 10px;
    width: 100%;
}

.iyg-pagination a,
.iyg-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.iyg-pagination a {
    background: #111;
    color: #fff;
}

.iyg-pagination a:hover {
    background: #333;
    color: #fff;
}

/* Current page */
.iyg-pagination span.current {
    background: #FEEC02;
    color: #111;
}

/* Prev / Next arrows */
.iyg-pagination .prev,
.iyg-pagination .next {
    background: #111;
    color: #fff;
    font-size: 1.1rem;
}

.iyg-pagination .prev:hover,
.iyg-pagination .next:hover {
    background: #333;
}

/* Dots ellipsis */
.iyg-pagination .dots {
    background: transparent;
    color: #999;
    min-width: auto;
    padding: 0 4px;
    cursor: default;
}

@media screen and (max-width: 480px) {
    .iyg-pagination a,
    .iyg-pagination span {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 0.85rem;
    }
}

/* WooCommerce login rememberme checkbox */
.woocommerce-form-login .woocommerce-form__input-checkbox,
input#rememberme {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* IYG Auction Bid Form Styles */
.iyh-auction-bid-form {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	font-family: "Pathway Extreme", sans-serif;
}

.iyh-current-bid {
	text-align: center;
	margin-bottom: 15px;
}

.iyh-current-bid-label {
	font-size: 12px;
	color: #6c757d;
	text-transform: uppercase;
	margin-bottom: 3px;
	font-weight: 600;
}

.iyh-current-bid-amount {
	font-size: 24px;
	font-weight: bold;
	color: #e74c3c;
	margin-bottom: 3px;
	font-optical-sizing: auto;
	font-variation-settings: "wdth" 700;
}

.iyh-bid-count {
	font-size: 12px;
	color: #6c757d;
	font-weight: 500;
}

.iyh-bid-form-container {
	margin-bottom: 15px;
}

.iyh-bid-input-group {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.iyh-bid-input-wrapper {
	flex: 1;
	position: relative;
}

.iyh-bid-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	background: #f8f9fa;
	transition: all 0.3s ease;
	font-family: "Pathway Extreme", sans-serif;
}

.iyh-bid-input:focus {
	outline: none;
	border-color: #e74c3c;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.iyh-bid-button-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.iyh-bid-button {
	flex: 0 0 120px;
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
	color: white;
	border: none;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	text-transform: uppercase;
	font-family: "Pathway Extreme", sans-serif;
	font-optical-sizing: auto;
	font-variation-settings: "wdth" 600;
	transition: all 0.3s ease;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
	white-space: nowrap;
}

.iyh-bid-button:hover {
	background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
	transform: translateY(-1px);
}

.iyh-bid-button:active {
	transform: translateY(0);
}

.iyh-bid-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.iyh-bid-info {
	margin-top: 12px;
	padding: 12px;
	background: #f8f9fa;
	border-radius: 6px;
	border-left: 3px solid #e9ecef;
}

.iyh-bid-info p {
	margin: 0;
	font-size: 13px;
	color: #495057;
	line-height: 1.4;
}

.iyh-bid-info strong {
	color: #2c3e50;
}

.iyh-user-max-bid {
	background: #f0f9f0;
	border-left-color: #28a745;
}

.iyh-sealed-auction-notice {
	background: #fffbf0;
	border-left-color: #ffc107;
	color: #856404;
}

.iyh-reverse-auction-notice {
	background: #fdf2f2;
	border-left-color: #dc3545;
	color: #721c24;
}

/* Bid status messages */
.iyh-bid-message {
	display: none;
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.iyh-bid-message.iyh-bid-message-success {
	background: #f0f9f0;
	border-left: 3px solid #28a745;
	color: #495057;
}

.iyh-bid-message.iyh-bid-message-error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

/* Highest bidder notice */
.iyh-highest-bidder-message {
	display: none;
	margin-top: 8px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	background: #f0f9f0;
	border-left: 3px solid #28a745;
	color: #495057;
}

/* Loading spinner */
.iyh-bid-loading {
	display: none;
	text-align: center;
	padding: 12px;
}

.iyh-bid-spinner {
	display: inline-block;
	width: 24px;
	height: 24px;
	border: 3px solid rgba(231, 76, 60, 0.2);
	border-top-color: #e74c3c;
	border-radius: 50%;
	animation: iyh-spin 0.7s linear infinite;
	vertical-align: middle;
	margin-right: 8px;
}

@keyframes iyh-spin {
	to { transform: rotate(360deg); }
}

/* Bid Confirmation Modal */
.iyh-bid-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
}

.iyh-bid-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 12px;
	padding: 30px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	font-family: "Pathway Extreme", sans-serif;
}

.iyh-bid-modal-header {
	text-align: center;
	margin-bottom: 25px;
}

.iyh-bid-modal-title {
	font-size: 22px;
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 8px;
	font-optical-sizing: auto;
	font-variation-settings: "wdth" 600;
}

.iyh-bid-modal-subtitle {
	font-size: 14px;
	color: #6c757d;
	margin: 0;
}

.iyh-bid-modal-body {
	margin-bottom: 25px;
}

.iyh-bid-amount-display {
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	margin-bottom: 20px;
}

.iyh-bid-amount-label {
	font-size: 12px;
	color: #6c757d;
	text-transform: uppercase;
	margin-bottom: 5px;
	font-weight: 600;
}

.iyh-bid-amount-value {
	font-size: 28px;
	font-weight: bold;
	color: #e74c3c;
	margin-bottom: 10px;
	font-optical-sizing: auto;
	font-variation-settings: "wdth" 700;
}

.iyh-commission-info {
	background: #fff8e1;
	border: 1px solid #ffc107;
	border-radius: 6px;
	padding: 15px;
}

.iyh-commission-title {
	font-size: 14px;
	font-weight: 600;
	color: #856404;
	margin-bottom: 8px;
}

.iyh-commission-details {
	font-size: 13px;
	color: #856404;
	line-height: 1.4;
	margin: 0;
}

.iyh-commission-amount {
	font-weight: 700;
	font-size: 16px;
	color: #e74c3c;
	margin-top: 8px;
}

.iyh-card-authorization {
	background: #f0f8ff;
	border: 1px solid #2196f3;
	border-radius: 6px;
	padding: 15px;
	margin-top: 15px;
}

.iyh-card-auth-title {
	font-size: 14px;
	font-weight: 600;
	color: #1565c0;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.iyh-card-auth-icon {
	font-size: 16px;
}

.iyh-card-auth-details {
	font-size: 13px;
	color: #1565c0;
	line-height: 1.4;
	margin: 0;
}

.iyh-bid-modal-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.iyh-modal-button {
	padding: 12px 24px;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: "Pathway Extreme", sans-serif;
	text-transform: uppercase;
	min-width: 120px;
	transition: all 0.3s ease;
}

.iyh-modal-button-confirm {
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
	color: white;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}

.iyh-modal-button-confirm:hover {
	background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
	transform: translateY(-1px);
}

.iyh-modal-button-confirm:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.iyh-modal-button-cancel {
	background: #6c757d;
	color: white;
}

.iyh-modal-button-cancel:hover {
	background: #5a6268;
	transform: translateY(-1px);
}

/* Modal loading overlay */
.iyh-modal-loading {
	display: none;
	text-align: center;
	padding: 10px 0 0;
}

/* Winning Bidder Congratulations Modal */
.iyh-winner-modal {
	display: none;
	position: fixed;
	z-index: 10001;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
}

.iyh-winner-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	border-radius: 16px;
	padding: 40px;
	max-width: 600px;
	width: 90%;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
	border: 3px solid #e74c3c;
	overflow: hidden;
}

.iyh-winner-modal-content::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: repeating-linear-gradient(
		45deg,
		transparent,
		transparent 10px,
		rgba(231, 76, 60, 0.03) 10px,
		rgba(231, 76, 60, 0.03) 20px
	);
	animation: iyh-graffiti-bg 20s linear infinite;
	pointer-events: none;
}

@keyframes iyh-graffiti-bg {
	0% { transform: translate(0, 0); }
	100% { transform: translate(50px, 50px); }
}

.iyh-winner-confetti {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 10002;
}

.iyh-confetti-piece {
	position: absolute;
	top: -20px;
	width: 10px;
	height: 10px;
	background: #e74c3c;
	opacity: 0;
}

/* Straight fall */
@keyframes iyh-confetti-fall {
	0%   { top: -20px; transform: rotate(0deg);    opacity: 1; }
	100% { top: 110%;  transform: rotate(720deg);   opacity: 0; }
}
/* Drift left */
@keyframes iyh-confetti-fall-l {
	0%   { top: -20px; transform: rotate(0deg) translateX(0);     opacity: 1; }
	100% { top: 110%;  transform: rotate(540deg) translateX(-80px); opacity: 0; }
}
/* Drift right */
@keyframes iyh-confetti-fall-r {
	0%   { top: -20px; transform: rotate(0deg) translateX(0);     opacity: 1; }
	100% { top: 110%;  transform: rotate(480deg) translateX(80px);  opacity: 0; }
}

.iyh-confetti-piece:nth-child(1)  { left:  3%; width:  8px; height:12px; background:#e74c3c; animation:iyh-confetti-fall-r 3.2s 0.0s  linear infinite; }
.iyh-confetti-piece:nth-child(2)  { left:  8%; width:12px; height: 8px; background:#f39c12; animation:iyh-confetti-fall   4.1s 0.3s  linear infinite; }
.iyh-confetti-piece:nth-child(3)  { left: 13%; width:10px; height:10px; background:#27ae60; animation:iyh-confetti-fall-l 2.8s 0.7s  linear infinite; border-radius:50%; }
.iyh-confetti-piece:nth-child(4)  { left: 18%; width: 7px; height:14px; background:#3498db; animation:iyh-confetti-fall-r 3.6s 1.1s  linear infinite; }
.iyh-confetti-piece:nth-child(5)  { left: 23%; width:14px; height: 7px; background:#9b59b6; animation:iyh-confetti-fall   4.5s 0.2s  linear infinite; }
.iyh-confetti-piece:nth-child(6)  { left: 28%; width: 9px; height:11px; background:#f1c40f; animation:iyh-confetti-fall-l 3.0s 1.5s  linear infinite; }
.iyh-confetti-piece:nth-child(7)  { left: 33%; width:11px; height: 9px; background:#1abc9c; animation:iyh-confetti-fall-r 5.0s 0.5s  linear infinite; }
.iyh-confetti-piece:nth-child(8)  { left: 38%; width: 8px; height: 8px; background:#e91e63; animation:iyh-confetti-fall   2.6s 1.9s  linear infinite; border-radius:50%; }
.iyh-confetti-piece:nth-child(9)  { left: 43%; width:13px; height:10px; background:#ff5722; animation:iyh-confetti-fall-l 4.3s 0.8s  linear infinite; }
.iyh-confetti-piece:nth-child(10) { left: 48%; width: 7px; height:13px; background:#00bcd4; animation:iyh-confetti-fall-r 3.8s 2.3s  linear infinite; }
.iyh-confetti-piece:nth-child(11) { left: 53%; width:10px; height: 8px; background:#e74c3c; animation:iyh-confetti-fall   3.1s 0.1s  linear infinite; }
.iyh-confetti-piece:nth-child(12) { left: 58%; width:12px; height:12px; background:#f39c12; animation:iyh-confetti-fall-l 4.7s 1.4s  linear infinite; border-radius:50%; }
.iyh-confetti-piece:nth-child(13) { left: 63%; width: 8px; height:10px; background:#27ae60; animation:iyh-confetti-fall-r 2.9s 2.6s  linear infinite; }
.iyh-confetti-piece:nth-child(14) { left: 68%; width:11px; height: 7px; background:#3498db; animation:iyh-confetti-fall   5.2s 0.6s  linear infinite; }
.iyh-confetti-piece:nth-child(15) { left: 73%; width: 9px; height:14px; background:#9b59b6; animation:iyh-confetti-fall-l 3.4s 1.8s  linear infinite; }
.iyh-confetti-piece:nth-child(16) { left: 78%; width:14px; height: 9px; background:#f1c40f; animation:iyh-confetti-fall-r 4.0s 2.9s  linear infinite; }
.iyh-confetti-piece:nth-child(17) { left: 83%; width: 7px; height:11px; background:#1abc9c; animation:iyh-confetti-fall   3.7s 0.4s  linear infinite; }
.iyh-confetti-piece:nth-child(18) { left: 88%; width:10px; height: 8px; background:#e91e63; animation:iyh-confetti-fall-l 5.5s 1.2s  linear infinite; border-radius:50%; }
.iyh-confetti-piece:nth-child(19) { left: 93%; width:12px; height:13px; background:#ff5722; animation:iyh-confetti-fall-r 2.7s 3.0s  linear infinite; }
.iyh-confetti-piece:nth-child(20) { left: 97%; width: 8px; height: 9px; background:#00bcd4; animation:iyh-confetti-fall   4.4s 0.9s  linear infinite; }
.iyh-confetti-piece:nth-child(21) { left:  5%; width:11px; height:11px; background:#e74c3c; animation:iyh-confetti-fall-l 3.5s 3.3s  linear infinite; }
.iyh-confetti-piece:nth-child(22) { left: 15%; width: 9px; height: 7px; background:#f39c12; animation:iyh-confetti-fall-r 4.8s 1.6s  linear infinite; }
.iyh-confetti-piece:nth-child(23) { left: 25%; width:13px; height:12px; background:#27ae60; animation:iyh-confetti-fall   3.3s 2.1s  linear infinite; border-radius:50%; }
.iyh-confetti-piece:nth-child(24) { left: 35%; width: 7px; height:10px; background:#3498db; animation:iyh-confetti-fall-l 5.1s 0.0s  linear infinite; }
.iyh-confetti-piece:nth-child(25) { left: 45%; width:10px; height:14px; background:#9b59b6; animation:iyh-confetti-fall-r 2.5s 2.7s  linear infinite; }
.iyh-confetti-piece:nth-child(26) { left: 55%; width:14px; height: 8px; background:#f1c40f; animation:iyh-confetti-fall   4.6s 1.0s  linear infinite; }
.iyh-confetti-piece:nth-child(27) { left: 65%; width: 8px; height:11px; background:#1abc9c; animation:iyh-confetti-fall-l 3.9s 3.5s  linear infinite; border-radius:50%; }
.iyh-confetti-piece:nth-child(28) { left: 75%; width:11px; height: 9px; background:#e91e63; animation:iyh-confetti-fall-r 2.6s 1.7s  linear infinite; }
.iyh-confetti-piece:nth-child(29) { left: 85%; width: 9px; height:12px; background:#ff5722; animation:iyh-confetti-fall   5.3s 0.5s  linear infinite; }
.iyh-confetti-piece:nth-child(30) { left: 91%; width:12px; height: 7px; background:#00bcd4; animation:iyh-confetti-fall-l 4.2s 2.4s  linear infinite; }

.iyh-winner-header {
	text-align: center;
	margin-bottom: 30px;
	position: relative;
	z-index: 1;
}

.iyh-winner-emoji {
	font-size: 60px;
	margin-bottom: 15px;
	display: block;
	animation: iyh-winner-bounce 1s ease-in-out infinite alternate;
}

@keyframes iyh-winner-bounce {
	0%   { transform: translateY(0); }
	100% { transform: translateY(-10px); }
}

.iyh-winner-title {
	font-size: 48px;
	font-weight: 900;
	margin-bottom: 10px;
	font-family: "Impact", "Arial Black", sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
	position: relative;
	display: inline-block;
	color: #fff;
	text-shadow:
		3px 3px 0 #e74c3c,
		6px 6px 0 #c0392b,
		9px 9px 0 #a93226,
		12px 12px 20px rgba(0, 0, 0, 0.5);
	transform: rotate(-2deg);
}

.iyh-winner-subtitle {
	font-size: 18px;
	color: #ecf0f1;
	margin: 0;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.iyh-winner-body {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 25px;
	position: relative;
	z-index: 1;
	border: 2px dashed rgba(255, 255, 255, 0.2);
}

.iyh-winner-message {
	font-size: 16px;
	color: #ecf0f1;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 20px;
}

.iyh-winner-details {
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
	border-radius: 8px;
	padding: 20px;
	color: white;
	text-align: center;
}

.iyh-winner-amount-label {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
	opacity: 0.9;
}

.iyh-winner-amount {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 15px;
	font-family: "Pathway Extreme", sans-serif;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.iyh-winner-next-steps {
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.95;
}

.iyh-winner-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.iyh-winner-button {
	padding: 14px 28px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	font-family: "Pathway Extreme", sans-serif;
	text-transform: uppercase;
	min-width: 140px;
	transition: all 0.3s ease;
	letter-spacing: 1px;
}

.iyh-winner-button-primary {
	background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
	color: white;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.iyh-winner-button-primary:hover {
	background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}

.iyh-winner-button-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: white;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.iyh-winner-button-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

/* Mobile responsive - Bid Form */
@media (max-width: 768px) {
	.iyh-auction-bid-form {
		padding: 15px;
		margin-bottom: 15px;
	}

	.iyh-current-bid-amount {
		font-size: 20px;
	}

	.iyh-bid-input-group {
		flex-direction: column;
		gap: 10px;
		margin-bottom: 10px;
	}

	.iyh-bid-input {
		font-size: 14px;
		padding: 10px 14px;
	}

	.iyh-bid-button-row {
		flex-direction: column;
		gap: 8px;
	}

	.iyh-bid-button {
		flex: 1;
		font-size: 14px;
		padding: 12px 16px;
	}

	.iyh-bid-modal-content {
		padding: 20px;
		max-width: 400px;
	}

	.iyh-bid-amount-value {
		font-size: 24px;
	}

	.iyh-bid-modal-actions {
		flex-direction: column;
	}

	.iyh-modal-button {
		width: 100%;
	}

	.iyh-winner-modal-content {
		padding: 25px;
		max-width: 95%;
	}

	.iyh-winner-title {
		font-size: 32px;
		text-shadow:
			2px 2px 0 #e74c3c,
			4px 4px 0 #c0392b,
			6px 6px 10px rgba(0, 0, 0, 0.5);
	}

	.iyh-winner-emoji {
		font-size: 48px;
	}

	.iyh-winner-amount {
		font-size: 28px;
	}

	.iyh-winner-actions {
		flex-direction: column;
	}

	.iyh-winner-button {
		width: 100%;
	}
}

/* Connection lost notice */
#iyg-connection-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #c0392b;
    padding: 14px 18px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    z-index: 99999;
    max-width: 300px;
    font-size: 13px;
    line-height: 1.5;
    transform: translateX(calc(100% + 24px));
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#iyg-connection-notice.iyg-notice-visible {
    transform: translateX(0);
}

#iyg-connection-notice p {
    margin: 0 0 10px;
    color: #333;
    font-weight: 600;
}

#iyg-connection-notice .iyg-notice-message {
    margin: 0 0 4px;
    color: #555;
    font-size: 12px;
    font-weight: normal;
}

#iyg-connection-notice .iyg-notice-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

#iyg-connection-notice .iyg-notice-actions span {
    color: #999;
    font-size: 11px;
}

#iyg-connection-notice a {
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

#iyg-connection-notice a:hover {
    color: #005177;
}

/* New comment notice */
#iyg-comment-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid var(--e-global-color-secondary, #1C1C1C);
    padding: 14px 18px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    z-index: 99999;
    max-width: 300px;
    font-size: 13px;
    line-height: 1.5;
    transform: translateX(calc(100% + 24px));
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#iyg-comment-notice.iyg-notice-visible {
    transform: translateX(0);
}

#iyg-comment-notice p {
    margin: 0 0 6px;
    color: #333;
    font-weight: 600;
}

#iyg-comment-notice .iyg-comment-notice-message {
    margin: 0 0 4px;
    color: #555;
    font-size: 14px;
    font-weight: normal;
}

#iyg-comment-notice .iyg-comment-notice-author {
    font-weight: 600;
    color: #333;
}

#iyg-comment-notice .iyg-comment-notice-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

#iyg-comment-notice a {
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

#iyg-comment-notice a:hover {
    color: #005177;
}

#iyg-comment-notice.iyg-bid-notice {
    border-left-color: var(--e-global-color-secondary, #1C1C1C);
}

/* =====================================================
   Bid Form / Comments Tabbed Container
   ===================================================== */

.iyg-bid-tabs-container {
    margin-top: 2rem;
	margin-bottom: 1rem;
    border: 1px solid #e0d5cc;
    border-radius: 8px;
    overflow: hidden;
}

/* Tab navigation bar */
.iyg-bid-tabs-nav {
    display: flex;
    background: #f9f6f4;
    border-bottom: 2px solid #e0d5cc;
}

.iyg-bid-tab-btn {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.iyg-bid-tab-btn:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.03);
}

.iyg-bid-tab-btn.active {
    color: #222;
    border-bottom-color: var(--accent, #FEEC02);
    background: #fff;
}

/* Tab panels */
.iyg-bid-tab-panel {
    display: none;
    padding: 24px;
}

.iyg-bid-tab-panel--active {
    display: block;
}

/* Hide the redundant bid form heading — the tab label replaces it */
.iyg-bid-tabs-container .iyg-auction-bid-form-wrapper .iyh-auction-bid-form-title {
    display: none;
}

/* Hide the default "Leave a Comment" h3 inside the tab — the tab label replaces it */
.iyg-bid-tab-panel--comments .comment-reply-title {
    display: none;
}

/* Notices wrapper sits at container level — no extra padding needed */
.iyg-bid-tabs-container .woocommerce-notices-wrapper {
    padding: 0 24px;
}

@media (max-width: 480px) {
    .iyg-bid-tab-btn {
        font-size: 1.3em;
        padding: 12px 10px;
        letter-spacing: 0;
    }

    .iyg-bid-tab-panel {
        padding: 16px;
    }
}

/* @end */