/* Device Spec Page Content Wrapper */
#device-spec-content #device-spec-wrapper { width: 100%; background:#fff;}

.wrapper { overflow: hidden; }

/* Make the article head layout horizontally aligned: title + actions */
.article-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* allow wrapping on very narrow screens */
}
.article-head .article-title {
    margin: 0; /* ensure title doesn't add extra spacing */
    display: inline-block;
    font-size: 1.5em; /* keep existing scale */
}
.article-head .spec-actions {
    display: flex;
    align-items: center;
    margin-left: auto; /* push to right */
}

@media (max-width: 480px) {
    .article-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
#device-spec-content #device-spec-wrapper.page .article-title { font-family: "Lato", "Open Sans", Helvetica, Arial, sans-serif; font-size: 1.5em; font-weight: 700; padding: 12px 10px; line-height: 1; margin:0px; color:#000; background: -moz-linear-gradient(left, rgba(193,193,193,1) 0%, rgba(125,185,232,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(189,224,237,1)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(189,224,237,1) 0%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(189,224,237,1) 0%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(189,224,237,1) 0%,rgba(125,185,232,0) 100%); /* IE10+ */
background: linear-gradient(to right, rgb(189,224,237) 0%,rgba(125,185,232,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c1c1c1', endColorstr='#007db9e8',GradientType=1 ); /* IE6-9 */;}

/* Spec Table Loading States - Hide elements until table is loaded */
.inner-panel-wrapper,
.dyna-box-wrapper, 
.dyna-scroll-container {
    display: none !important;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Show elements when spec table is loaded */
.spec-table-loaded .inner-panel-wrapper,
.spec-table-loaded .dyna-box-wrapper,
.spec-table-loaded .dyna-scroll-container {
    display: block !important;
    opacity: 1;
}

/* Ensure Material Icons load properly in spec tables */
		.material-icons {
			font-family: 'Material Icons' !important;
			font-weight: normal !important;
			font-style: normal !important;
			font-size: 18px !important;
			line-height: 1 !important;
			letter-spacing: normal !important;
			text-transform: none !important;
			display: inline-block !important;
			white-space: nowrap !important;
			word-wrap: normal !important;
			direction: ltr !important;
			-webkit-font-feature-settings: 'liga' !important;
            font-feature-settings: 'liga' !important;
			-webkit-font-smoothing: antialiased !important;
			vertical-align: middle !important;
		}
		
		/* Specific fix for table title rows */
		#table-spec .material-icons {
			font-family: 'Material Icons' !important;
			vertical-align: middle !important;
			margin-left: 8px !important;
            margin-right: 8px !important;
		}

.spec-wrapper {
	float: left;                               /* <-- key */
    margin: 5px;
    padding: 2px 2px 2px 0;
    width: calc(100% - 165px - 20px);          /* 165 sidebar + ~20px margins */
    max-width: 100%;
    box-sizing: border-box;                     /* include padding/border in width */
    overflow-x: auto;                           /* nicer than always-on scrollbars */
    overflow-y: hidden;
}
.spec-wrapper table#table-spec {
    border-spacing: 0;
	width: 100%;
	height:100%;
	margin:0px;padding:0px;
}

.spec-wrapper tr:nth-child(even) { background-color:#f2f2f2;  }
.spec-wrapper tr:nth-child(even):hover { background-color:#82d5f3; }
.spec-wrapper tr:nth-child(odd) { background-color:#ffffff; }
.spec-wrapper tr:nth-child(odd):hover { background-color:#82d5f3; }

.spec-wrapper thead tr { border-left:#00FF00 solid 5px !important; }

/* Placeholder for old section header styles */

.spec-wrapper tr:hover td{
	background-color:#f8f8f8;
}

.spec-wrapper td{
	border:0px;
	border-width:0px 1px 1px 0px;
	text-align:left;
	vertical-align:top;
	padding:5px 5px 5px 3px;
	font-size:13px;
	font-family:Lato, "Open Sans", Helvetica, Arial, sans-serif;
	font-weight:normal;
	color:#000000;
	word-wrap: break-word;
}

.spec-wrapper td:nth-child(1){
	width: 160px;
}

.spec-wrapper td:nth-child(2){
	width: 320px;
}

.spec-wrapper tr:last-child td {
	border-width:0px 0px 0px 0px;
}
.spec-wrapper tr td:last-child {
	border-width:0px 0px 0px 0px;
}
.spec-wrapper tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
}

.spec-wrapper tr:first-child td h6 span{
	font-size:14px;
	font-family:Arial;
	font-weight:bold;
	color:#fff;

}

.spec-wrapper a {
	color: #000;
	text-decoration:none;
}

.section-header-cell {
    background-color:#bde0ed !important; padding-top: 0.5em; padding: 0.5em 0 2px 3px; font-size: 1.05em !important; font-weight: 700 !important; vertical-align: bottom !important;
    border-left: #00FF00 solid 5px !important;
}

.section-header-header {
     color: #000; 
}

#table-hasil table thead {
  position: sticky;
  top: 120;
  background: #fff; /* or your preferred background */
  z-index: 2;
}
#table-hasil th {
  background: #fff; /* ensures header stays visible */
}

.dyna-content p { 
	font-size: 12px; 
	overflow: hidden; 
	text-overflow: ellipsis; 
	margin: 0 auto; 
	/*line-height: 1.3em; */
	background-color: #fff; 
	transition: all 0.3s ease-out; 
	word-wrap: break-word;
}

.disclaimer {
	clear:left;
	border: 1px solid #ddd;
	padding: 3px 5px 1px 5px; 
	width: auto;
	height: auto;
	margin: 0 5px 5px 5px;
	font-size: 10px;
}

.disclaimer p {
	margin-bottom: 5px; font-style: italic;
}

.inner-panel-wrapper {
	float: right; 
	width: 165px;
	height: auto;
	margin: 6px 5px 5px 5px;
}

.inner-panel-content {
	border: 1px solid #ddd;
	padding: 3px 3px 3px 5px;
	font-size: 12px;
}

.inner-panel-tool {
	padding: 1px; transition: all .2s ease-out; 
}phone_android

.inner-panel-content .inner-panel-tool {color: #ababab; }
.inner-panel-content a .inner-panel-tool {color: #4b4b4b; }

.inner-panel-content a .inner-panel-tool:hover {color: #3baeda; }

.inner-panel-title {
	padding: 5px 1px 3px 3px;
}

.inner-panel-title i {
	float:left; font-size: 16px; margin-left: 2px; margin-right: 5px; padding-top: 2px;
}

.inner-panel-title-div2 {
	margin-top: 20px;
}

.inner-panel-tool:hover {
	background-color: #f8f8f8;
}

.dyna-panel-wrapper {
    float: left; 
    max-width: 100%;
}

.dyna-box-wrapper {
	padding: 5px;
	margin: 5px 5px 0 5px;
}

.dyna-more-brand {
	font-size:12px;
	float:right;
	padding:0px 8px;
	border: 1px solid #ccc;
	transition: all .3s ease-out;
}

.dyna-more-brand a {
	color:#333 !important;
}

.dyna-more-brand:hover {
	border: 1px solid #fff;
	background-color:#fff;
	color:#888 !important;
}

.dyna-more-perf {
	font-size:12px;
	float:right;
	padding:0px 8px;
	border: 1px solid #ccc;
	transition: all .3s ease-out;
}

.dyna-more-perf a {
	color:#333 !important;
}

.dyna-more-perf:hover {
	border: 1px solid #fff;
	background-color:#fff;
	color:#888 !important;

}

.dyna-inner-box {
	margin: 0 5px 5px 5px;
	padding: 5px;
    width: 100%;
	border: 1px solid #ddd;
	overflow-x:scroll; overflow-y:hidden; 
}

.dyna-content {
	float:left; 
	padding: 3px 3px 3px 5px;
	font-size: 12px;
	width:1064px;
}

.dyna-item {
	float:left; 
	overflow: hidden;
	width: 115px; height: 160px;
	border: 1px solid #aaa;
    border-radius: 6px;
    background: linear-gradient(135deg, #f8fff8 0%, #eaffea 100%);
    margin: 10px 8px;
    padding: 0;
    box-shadow: none;
    transition: box-shadow 0.3s, background 0.3s, border-color 0.3s;
    text-align: center;
    /* Glassy effect */
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    background: linear-gradient(135deg, rgba(248,255,248,0.85) 0%, rgba(234,255,234,0.85) 100%);
    border: 1px solid rgba(170,170,170,0.35);
}

.dyna-item a, .dyna-item2 a  {color: #4b4b4b; /*line-height: 1.1;*/}

.dyna-item:hover {
	box-shadow: 0 12px 32px rgba(0, 255, 0, 0.12), 0 3px 12px #00FF00;
    background: linear-gradient(135deg, rgba(234,255,234,0.95) 0%, rgba(248,255,248,0.95) 100%);
    border-color: #00FF00;
}

.dyna-item2 {
	float:left; 
	overflow: hidden;
	width: 115px; height: 160px;
	border: 1px solid #aaa;
    border-radius: 6px;
    background: linear-gradient(135deg, #f8fff8 0%, #eaffea 100%);
    margin: 10px 8px;
    padding: 0;
    box-shadow: none;
    transition: box-shadow 0.3s, background 0.3s, border-color 0.3s;
    text-align: center;
    /* Glassy effect */
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    background: linear-gradient(135deg, rgba(248,255,248,0.85) 0%, rgba(234,255,234,0.85) 100%);
    border: 1px solid rgba(170,170,170,0.35);
	
}

.dyna-item2:hover {
	box-shadow: 0 12px 32px rgba(0, 255, 0, 0.12), 0 3px 12px #00FF00;
    background: linear-gradient(135deg, rgba(234,255,234,0.95) 0%, rgba(248,255,248,0.95) 100%);
    border-color: #00FF00;
}

/* Selected car styling - blue glow effect */
.dyna-item.selected-car {
    box-shadow: 0 12px 32px rgba(82, 168, 236, 0.25), 0 3px 12px rgba(82, 168, 236, 0.4);
    background: linear-gradient(135deg, rgba(232, 245, 255, 0.95) 0%, rgba(248, 252, 255, 0.95) 100%);
    border-color: rgba(82, 168, 236, 0.6);
    transform: translateY(-2px);
}

.dyna-item2.selected-car {
    box-shadow: 0 12px 32px rgba(82, 168, 236, 0.25), 0 3px 12px rgba(82, 168, 236, 0.4);
    background: linear-gradient(135deg, rgba(232, 245, 255, 0.95) 0%, rgba(248, 252, 255, 0.95) 100%);
    border-color: rgba(82, 168, 236, 0.6);
    transform: translateY(-2px);
}

/* Ensure selected styling overrides hover styling */
.dyna-item.selected-car:hover {
    box-shadow: 0 16px 40px rgba(82, 168, 236, 0.3), 0 4px 16px rgba(82, 168, 236, 0.5);
    background: linear-gradient(135deg, rgba(225, 242, 255, 0.98) 0%, rgba(240, 248, 255, 0.98) 100%);
    border-color: rgba(82, 168, 236, 0.8);
}

.dyna-item2.selected-car:hover {
    box-shadow: 0 16px 40px rgba(82, 168, 236, 0.3), 0 4px 16px rgba(82, 168, 236, 0.5);
    background: linear-gradient(135deg, rgba(225, 242, 255, 0.98) 0%, rgba(240, 248, 255, 0.98) 100%);
    border-color: rgba(82, 168, 236, 0.8);
}

.img-container {
	max-height: 85px; width: 100%;
	overflow: hidden;
	margin-bottom: 8px;
	
}

/* banding-transit box style*/
input[type="checkbox"].pilah-check {
	float:right; visibility: hidden; margin-top: -5px; position: absolute; top: 8px; right: 4px; z-index: 10;
}
input[type="checkbox"].pilah-check2 {
	float:right; visibility: hidden; margin-top: -5px; position: absolute; top: 8px; right: 4px; z-index: 10;
}
div .dyna-item:hover input[type="checkbox"].pilah-check{
	visibility: visible; box-shadow:0 0 5px #00FF00;
}
div .dyna-item2:hover input[type="checkbox"].pilah-check2{
	visibility: visible; box-shadow:0 0 5px #00FF00;
}
input[type="checkbox"].pilah-check:active{
	visibility: visible; box-shadow:0 0 5px #00FF00;
}
input[type="checkbox"].pilah-check:checked {
	float:right; visibility: visible; box-shadow:0 0 5px #00FF00;
}
input[type="checkbox"].pilah-check2:active{
	visibility: visible; box-shadow:0 0 5px #00FF00;
}
input[type="checkbox"].pilah-check2:checked {
	float:right; visibility: visible; box-shadow:0 0 5px #00FF00;
}

/* banding-transit box style*/
/* banding-transit box style - Updated for seamless integration */
.banding-transbox {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 6px 0;
    transition: transform 0.3s ease-out;
    font-family: "Lato", "Open Sans", Helvetica, Arial, sans-serif;
}

.banding-inner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

#bandingkan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.banding-header {
    flex: 0 0 auto;
}

.banding-header h6 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

.banding-slots {
    display: flex;
    flex: 1;
    gap: 10px;
    justify-content: center;
}

.phone-banding-div {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    flex: 1;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    position: relative;
    max-width: 200px;
}

/* Override sumpet to show placeholders */
.banding-slots .phone-banding-div.sumpet, 
.banding-slots .phone-banding-div-stick.sumpet {
    display: flex !important;
    background: #eee;
    border: 1px dashed #ccc;
    color: #999;
    justify-content: center;
}

.banding-slots .phone-banding-div.sumpet::after, 
.banding-slots .phone-banding-div-stick.sumpet::after {
    content: "Kosong";
    font-style: italic;
}

.banding-slots .phone-banding-div.sumpet .closer,
.banding-slots .phone-banding-div-stick.sumpet .closer {
    display: none;
}

.banding-action {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

.banding-transbox input[type="submit"] {
    height: 40px;
    padding: 0 20px;
    background: linear-gradient(135deg, #00FF00 0%, #00cc00 100%);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(0,255,0,0.3);
    margin: 0;
}

.banding-transbox input[type="submit"]:hover {
    background: linear-gradient(135deg, #00cc00 0%, #00aa00 100%);
    box-shadow: 0 4px 12px rgba(0,255,0,0.4);
    transform: translateY(-1px);
}

/* Mobile Layout */
@media (max-width: 768px) {
    .banding-header {
        display: none;
    }
    
    #bandingkan {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 40px 40px;
        gap: 5px;
    }
    
    .banding-slots {
        display: contents;
    }
    
    .phone-banding-div, .phone-banding-div-stick {
        max-width: 95%;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0 5px;
    }
    
    #phone-1-div { grid-row: 1; grid-column: 1; }
    #phone-2-div { grid-row: 1; grid-column: 2; }
    #phone-3-div { grid-row: 2; grid-column: 1; }
    #phone-4-div { grid-row: 2; grid-column: 2; }
    
    .banding-action {
        grid-row: 3;
        grid-column: 1 / span 2;
        display: flex;
        flex-direction: row;
        gap: 5px;
        width: 100%;
    }
    
    .banding-transbox input[type="submit"] {
        flex: 4;
        height: 40px;
        padding: 0;
        margin: 0;
    }
    
    .banding-clear-btn {
        flex: 1;
        height: 40px;
        padding: 0;
        font-size: 13px;
        margin: 0;
    }
    
    span.closer {
        visibility: visible;
        font-size: 2.2em;
        top: 50%;
        transform: translateY(-50%);
        right: 5px;
    }
    
    span.info-box {
        font-size: 0.9em;
        max-width: 120px;
    }
}

.banding-transbox-title h6 {
    margin: 0;
    color: #2c5f2d;
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0.3px;
}

span.info-box {
    font-size: 1em;
    padding: 0 4px 0 0;
    transition: all 0.3s ease-out;
    cursor: default;
    color: #333;
    font-weight: 800;
    line-height: 1.1;
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

span.closer {
    position: absolute; /* Change from float to absolute */
    top: 0px;
    right: 2px;
    font-size: 2.2em;
    color: #666;
    visibility: hidden;
    opacity: 0.7;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease-out;
    background: transparent;
    margin: 0; /* Remove margin-top */
    z-index: 10;
}

span.closer:hover {
    opacity: 1;
    font-size: 2.7em;
    color: #ff4444;
}

.phone-banding-div:hover span.closer {
    visibility: visible;
    opacity: 0.85;
}

.phone-banding-div {
    position: relative; /* Add this line */
    transition: all 0.3s ease-out;
    background: rgba(255,255,255,0.3);
    margin: 0 4px;
    border-radius: 8px;
    padding: 8px 12px;
    backdrop-filter: blur(4px);
}

.phone-banding-div:hover {
    background: rgba(255,255,255,0.5);
    box-shadow: 0 2px 8px rgba(0,255,0,0.1);
}

/* Styling for the sticky first car in banding box */
.phone-banding-div-stick {
    position: relative;
    transition: all 0.3s ease-out;
    background: linear-gradient(135deg, rgba(255,248,225,0.9) 0%, rgba(255,236,179,0.9) 100%);
    border-right: 1px solid rgba(240,173,78,0.3);
    border-left: 2px solid rgba(240,173,78,0.6);
    margin: 0 4px;
    border-radius: 8px;
    padding: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(240,173,78,0.15);
}

.phone-banding-div-stick:hover {
    background: linear-gradient(135deg, rgba(255,243,205,0.95) 0%, rgba(253,246,227,0.95) 100%);
    box-shadow: 0 4px 12px rgba(240,173,78,0.25);
    border-top-color: rgba(240,173,78,0.8);
}

.phone-banding-div-stick .info-box {
    font-weight: 900;
    color: #2d5016;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.phone-banding-div-stick .closer {
    color: #856404;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

.phone-banding-div-stick .closer:hover {
    color: #dc3545;
    background: rgba(220,53,69,0.1);
    transform: scale(1.1);
}

.phone-banding-div-stick:hover span.closer {
    visibility: visible;
    opacity: 0.85;
}

.banding-transbox {
    transition: visibility 0.3s, opacity 0.3s ease-out, transform 0.3s ease-out;
}

.kasat {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
}

.sumpet {
    display: none;
}

#pesan {
    clear: left;
    font-size: 0.8em;
    color: #d32f2f;
    background: rgba(255,235,59,0.9);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 8px 12px;
    margin: 0 4px 8px 4px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,193,7,0.3);
    font-weight: 500;
}

/* Mobile responsive adjustments */
@media only screen and (max-width: 767px) {
    /* Styles moved to main block or removed for new layout */
    
    span.info-box {
        font-size: 1em;
    }
    
    #pesan {
        font-size: 0.75em;
        padding: 6px 8px;
        margin: 0 2px 6px 2px;
    }

    span.closer {
        visibility: visible;
        top: 15px;
    }
}

/* Additional refinements for better integration */
.banding-transbox * {
    box-sizing: border-box;
}

/* Ensure consistent spacing */
.phone-banding-div input[type="hidden"] {
    display: none;
}

/* Smooth animation for showing/hiding divs */
.phone-banding-div {
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, margin 0.3s ease-out;
}

.phone-banding-div:not(.sumpet) {
    max-height: 40px;
}

/* Cross-brand styling for banding box items */
.phone-banding-div.cross-brand {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-left: 4px solid #f0ad4e;
    position: relative;
}

.phone-banding-div.cross-brand:hover {
    background: linear-gradient(135deg, #fcf8e3 0%, #fdf6e3 100%);
    cursor: pointer;
}

.phone-banding-div.cross-brand::before {
    content: "🔗";
    position: absolute;
    top: 2px;
    right: 25px;
    font-size: 12px;
    opacity: 0.7;
}

.phone-banding-div.cross-brand::after {
    content: "From other brand";
    position: absolute;
    bottom: 2px;
    left: 5px;
    font-size: 9px;
    color: #856404;
    opacity: 0.8;
}

.phone-banding-div.cross-brand:hover::after {
    content: "Click to remove";
    color: #d32f2f;
    opacity: 1;
}

.dyna-box i {
	float:left; font-size: 18px; margin-left: 2px; margin-right: 5px; padding-top: 1px;
}

.spec-wrapper i {
	float:left; font-size: 16px; margin-left: 2px; margin-right: 5px; padding-top: 2px; color:#000
}

.spec-wrapper tr:nth-child(1) i {
	float:left; font-size: 18px; margin-left: 2px; margin-right: 5px; padding-top: 2px; color:#fff
}

/* Horizontal scroll area for main Images */

.image-scroll-wrapper {
	position: relative;
	width: 320px;
	max-width: 100vw;
	margin: 0 auto;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-scroll-area {
    display: flex;
    transition: scroll-behavior 0.3s;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 320px;
    max-width: 100vw;
    /* Hide scrollbar for a cleaner look */
    scrollbar-width: none;
}
.image-scroll-area::-webkit-scrollbar {
    display: none;
}

.image-item {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.image-item img {
    max-width: 100%;
    max-height: 200px;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* Floating share button (moved from inline styles in header-spec-car.php) */
.spec-share-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 8px 10px;
    border-radius: 6px;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* Hover and focus feedback for inline share button */
.spec-share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.spec-share-btn:focus {
    outline: 3px solid rgba(21,101,192,0.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.spec-floating-share {
    position: fixed;
    right: 14px;
    bottom: 160px;
    z-index: 999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 10px 12px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.spec-floating-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.spec-floating-share:focus {
    outline: 3px solid rgba(21,101,192,0.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.spec-floating-share .material-icons {
    vertical-align: middle;
    font-size: 24px !important;
}

@media (max-width: 480px) {
    .spec-floating-share {
        right: 10px;
        bottom: 12px;
        padding: 8px;
        border-radius: 36px;
    }
}

.scroll-btn {
    background: none;
    border: none;
    box-shadow: none;
    color: #222; /* or any color you want for the arrow */
    font-size: 2em;
    cursor: pointer;
    padding: 0 10px;
    height: 220px;
    align-items: center;
    display: flex;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.scroll-btn:hover {
    background: none !important;
    color: #0078d7; /* highlight color on hover, optional */
}

/* Horizontal scroll buttons for dyna-content */
.dyna-scroll-container {
    position: relative;
    display: inline-block;
    width: 99.2%;
}

.dyna-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(248,255,248,0.9) 0%, rgba(234,255,234,0.9) 100%);
    border: 1.5px solid rgba(59,174,218,0.25);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
    z-index: 10;
    font-size: 24px;
    font-weight: 900;
    color: #1565c0;
    user-select: none;
    box-shadow: 0 2px 8px rgba(59,174,218,0.08);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
}

.dyna-scroll-container:hover .dyna-scroll-btn {
    opacity: 1;
    visibility: visible;
}

.dyna-scroll-btn:hover {
    background: linear-gradient(135deg, rgba(234,255,234,0.95) 0%, rgba(248,255,248,0.95) 100%);
    color: #00FF00;
    border-color: #00FF00;
    box-shadow: 0 4px 16px rgba(0, 255, 0, 0.15), 0 2px 8px rgba(59,174,218,0.12);
    transform: translateY(-50%) scale(1.05);
}

.dyna-scroll-btn.left {
    left: -30px;
}

.dyna-scroll-btn.right {
    right: -30px;
}

.dyna-scroll-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(248,255,248,0.5) 0%, rgba(234,255,234,0.5) 100%);
    color: #aaa;
    border-color: rgba(170,170,170,0.2);
}

@media (max-width: 400px) {
    .image-scroll-wrapper {
        width: 100%;
    }
    .image-scroll-area {
        width: 100%;
    }
    .image-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
	.image-scroll-wrapper {
	position: relative;
	width: 180px;
	overflow: hidden;
	margin: 0 auto;
	}
	
    .image-scroll-wrapper {
        max-width: 100vw;
    }
    .image-scroll-area {
        width: 100vw;
        max-width: 100vw;
        padding: 0;
    }
    .image-scroll-area img {
        padding: 10px 30px 10px 30px !important; /* or even 5px for tighter spacing */
        margin-right: 4px;
    }
    .scroll-btn {
        display: none; /* Hide scroll buttons on mobile */
    }
}

@media only screen and (max-width: 768px) {
	.spec-wrapper {
		margin: 0; padding: 6px 0; max-width: 100%; width: 100%;
	}
	.page table, #table-spec {
		border: 0; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; 
	}
	#table-spec td {padding: 3px 4px;}
	#device-spec-content #device-spec-wrapper {
		width: 100%; 
	}
	div.inner-panel-wrapper {
		float: none; width: 96%; text-align: center;
	}
	div.dyna-inner-box {
		width: 96%; margin: 0 auto;
	}
	div.dyna-box-wrapper {
		width: 96%; margin: 0 auto; margin-top: 16px; overflow-y: hidden;
	}
	.spec-wrapper i {margin-right: 3px;}
	.disclaimer {
		margin-top: 16px;
	}
	.banding-transbox {
		width: 100%; right: 28%; bottom: 0px; 
	}
	input.pilah-check[type="checkbox"], input.pilah-check2[type="checkbox"] {
		display: inline; visibility: visible; 
	}
    .dyna-item2:first-child input[type="checkbox"].pilah-check2 {
    visibility: hidden; box-shadow: none;
    }
    .dyna-item:first-child input[type="checkbox"].pilah-check {
        visibility: hidden; box-shadow: none;
    }

    .article-head .spec-actions {
        display: none;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    #device-spec-content #device-spec-wrapper {
        width: 100% !important;
        /* min-width: 0 !important; */
        float: none;
        border-right: none;
        border-left: none;
    }
}

/* Trunk Space Overlay Styles */
.trunkspace-overlay-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
}
.overlay-point {
    background: rgba(255,255,255,0.85);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 14px;
    min-width: 120px;
}
.overlay-label {
    font-weight: bold;
    display: block;
}
.overlay-value {
    color: #00796b;
}


.car-card-box {
    width: 198px;
    height: 280px;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid #aaa;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fff8 0%, #eaffea 100%);
    margin: 20px 12px;
    padding: 0;
    box-shadow: none;
    transition: box-shadow 0.3s, background 0.3s, border-color 0.3s;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    position: relative;
    /* Glassy effect */
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    background: linear-gradient(135deg, rgba(248,255,248,0.85) 0%, rgba(234,255,234,0.85) 100%);
    border: 1px solid rgba(170,170,170,0.35);
}

.car-card-box:hover {
    box-shadow: 0 12px 32px rgba(0, 255, 0, 0.12), 0 3px 12px #00FF00;
    background: linear-gradient(135deg, rgba(234,255,234,0.95) 0%, rgba(248,255,248,0.95) 100%);
    border-color: #00FF00;
}

.car-card-box img { 
	padding: 0; margin:10px auto 10px auto; 
}

.car-card-box p { 
	font-size: 12px; overflow: hidden; text-overflow: ellipsis; margin: 0 auto; line-height: 1.3em; background-color: #F1F1F1; transition: all 0.3s ease-out;
}

div .car-card-box:hover {
	-webkit-box-shadow:0 0 3px #0F0; 
	-moz-box-shadow: 0 0 3px #0F0; 
	box-shadow:0 0 3px #00FF00; border: 1px solid #e6e6e6; background-color:#fff;
	
}


.car-result {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    box-sizing: border-box;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    text-align: center;
}


.car-model-name {
    height: 60%;
    min-height: 60%;
    max-height: 60%;
    display: flex;
    flex-direction: column; /* <-- Add this line */
    align-items: center;
    justify-content: center;
    font-size: 1em;
    font-weight: bold;
    color: #222;
    margin-bottom: 0;
    letter-spacing: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
    padding: 0 8px;
    transition: all 0.3s;
}

.car-model-name:hover {
    white-space: normal;
    overflow: visible;
    background: transparent;
    z-index: 2;
}

.car-model-name span {
    height: 90%;
    align-self: center;
}


/* Year info styling - no box, just text */
.car-year-info {
    height: 10%;
    min-height: 10%;
    max-height: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em; /* 2pts smaller than car-details-box (1em) */
    color: #888;
    font-weight: 400;
    padding: 0 8px;
    transition: all 0.3s;
	background: transparent;
}

.car-year-info.car-ended {
    color: #c77;
}

.car-row {
    display: flex;
    width: 100%;
    box-sizing: border-box;
	background: #f4faff;
    border-top: 1px solid #e0eaf6;
	transition: all 0.3s;
}

.car-meta-row {
    height: 15%;
    min-height: 15%;
    max-height: 15%;

}

.car-meta-row .car-details-box {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: normal;
    justify-content: center;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: normal;
    border-radius: 0; /* Remove border radius */
    margin: 0;        /* Remove margin so boxes touch */
    border-right: none; /* Remove right border for first box */
    /*border-left: none;   Remove left border for second box */
    transition: all 0.3s;
}


.car-engine-row {
	font-size: 1.0em;
    height: 15%;
    min-height: 15%;
    max-height: 15%;
    width: 100%;
    align-items: center;
    justify-content: center;
	
}

.car-engine-row .car-details-box {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-content: center;
    transition: all 0.3s;
	
}



.car-power-row {
    height: 12.5%;
    min-height: 12.5%;
    max-height: 12.5%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.car-power-row .car-details-box {
    width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-content: center;
    transition: all 0.3s;
}



/* General details box style */
.car-details-box {
    border-radius: 0;
    padding: 0px 2px;
    font-size: 0.9em;
    color: #333;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(59,174,218,0.07);
    margin: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.car-engine-row .car-details-box,
.car-power-row .car-details-box {
    border-radius: 0; /* Remove border radius */
    margin: 0;        /* Remove margin so boxes touch outer border */
    box-shadow: none; /* Remove shadow for merged look */
    
    border-right: none;
	overflow: hidden;
    text-overflow: ellipsis;
}

/* For car-power-row, make sure both boxes touch each other and the outer border */
.car-power-row .car-details-box {
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    
    border-right: none;
    width: 50%;
}

.car-power-row .car-details-box {
	height: 100%;
}

.car-power-row .car-details-box:first-child {
    border-right: 1px solid #e0eaf6;
}

.car-meta-row .car-details-box:first-child {
    border-right: 1px solid #e0eaf6;
}


/* Optional: Remove border-radius from all .car-details-box for consistency */
.car-details-box {
    border-radius: 0;
}

.car-details-box.car-ended {
    background: #ffeaea;
    
}

.car-details-box.platform-suv {
    background: #e3f0ff;
    color: #1565c0;
}

.car-details-box.platform-mpv {
    background: #f7ecd9;
    color: #8d6e63;
}

.car-details-box.platform-sedan {
    background: #fffde7;
    color: #bfa600;
}

/* Styling for drivetrain box */
.car-details-box.car-drivetrain {
    background: #f0f8ff;
    color: #2e5b9e;
}

/* Specific icon color and size overrides for car cards - Seamless Design */
.car-main-icon {
    font-size: 1.3em !important;
    color: #4a7c59; /* Harmonious green tone */
    margin-bottom: 2px;
    opacity: 0.9;
}
.car-year-icon {
    color: #5a7c8a; /* Muted blue-gray */
    font-size: 1.30em !important;
    margin-right: 4px;
    opacity: 0.8;
}
.car-platform-icon {
    color: #6b7d6b; /* Subtle green-gray */
    font-size: 1.30em !important;
    margin-right: 4px;
    opacity: 0.8;
}
.car-drivetrain-icon {
    color: #7a8a9a; /* Balanced blue-gray */
    font-size: 1.30em !important;
    margin-right: 4px;
    opacity: 0.8;
}
.car-engine-icon {
    color: #8a7a6b; /* Warm neutral tone */
    font-size: 1.30em !important;
    margin-right: 4px;
    opacity: 0.8;
}
.car-power-icon {
    color: #9a8a5a; /* Muted gold-brown */
    font-size: 1.30em !important;
    margin-right: 4px;
    opacity: 0.8;
}
.car-torque-icon {
    color: #8a7d7a; /* Soft brown-gray */
    font-size: 1.30em !important;
    margin-right: 4px;
    opacity: 0.8;
}

.selected-car {
    border: 2px solid #2196f3 !important;
    box-shadow: 0 0 12px 2px #2196f3;
    transition: box-shadow 0.2s, border-color 0.2s;
}

/* Top left car icon for car-card-box */
.car-main-icon.car-main-icon-topleft {
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 1.2em !important;
    z-index: 3;
    opacity: 0.95;
    color: #4a7c59;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 1px 4px rgba(59,174,218,0.07);
}

/* Car Comparison Selection Styling */
.dyna-item, .dyna-item2 {
    /* Default border for layout stability */
    border: 0px solid transparent;
    border-radius: 8px;
    padding: 0px;
    margin: 2px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.dyna-item.selected-car, .dyna-item2.selected-car {
    /* Blue glow effect for selected cars */
    border: 2px solid #4a9eff;
    background-color: rgba(74, 158, 255, 0.1);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.4);
}

/* Cross-brand indicator */
.cross-brand {
    color: #888;
    font-style: italic;
}

/* Clear Button Styles */
.banding-clear-btn {
    height: 40px;
    padding: 0 15px;
    background: #f44336;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-transform: uppercase;
}

.banding-clear-btn:hover {
    background: #d32f2f;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
    transform: translateY(-1px);
}

/* Car checkbox styling */
.dyna-item input[type="checkbox"], .dyna-item2 input[type="checkbox"] {
    margin-right: 8px;
}

/* Ensure proper spacing in dyna containers */
.dyna-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dyna-item:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    backdrop-filter: blur(10px);
}

.dyna-item2:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    backdrop-filter: blur(10px);
}

.dyna-item2:first-child:hover {
    box-shadow: none; border-color: transparent;
}
.dyna-item:first-child:hover {
    box-shadow: none; border-color: transparent;
}
.dyna-item2:first-child:hover input[type="checkbox"].pilah-check2 {
    visibility: hidden; box-shadow: none;
}
.dyna-item:first-child:hover input[type="checkbox"].pilah-check {
    visibility: hidden; box-shadow: none;
}

/* SSR Intro Text - Contextual SEO Description */
.ssr-intro-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e0e0e0;
    border-left: 4px solid #3498db;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.ssr-intro-text:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ssr-intro-text p {
    margin: 0;
    line-height: 1.65;
    color: #2c3e50;
    font-size: 0.85rem;
    text-align: justify;
    font-weight: 400;
}

.ssr-intro-text p::first-letter {
    font-size: 1.3em;
    font-weight: 600;
    color: #000;
}

/* SSR Spec Summary - Card Style */
.ssr-spec-summary {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 16px 16px;
    margin-bottom: 25px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ssr-spec-summary h2, .ssr-spec-summary h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.15rem;
    color: #2c3e50;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 2px;
    font-weight: 600;
}

.ssr-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
}

.ssr-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 80px;
}

.ssr-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    background: #fff;
    border-color: #ddd;
}

.ssr-card.full-width {
    grid-column: 1 / -1;
    background: #eef7fb;
    border-color: #b8daff;
}

.ssr-head {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.ssr-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: #3498db;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ssr-card.full-width .ssr-icon {
   color: #0056b3;
}

.ssr-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ssr-label {
    font-size: 0.72rem;
    color: #7f8c8d;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ssr-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    padding-left: 2px;
    max-height: 88px;
    min-height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;    
}

.ssr-value small {
    font-weight: 400;
    color: #7f8c8d;
    font-size: 0.75em;
    margin-top: 2px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 1px 3px;
}

.ssr-value small.active {
    background-color: #00ff00;
    border-color: #00FF00;
    color: #000;
}

.ssr-value small.discontinue {
    background-color: #fdecea;
    border-color: #f5c6cb;
    color: #7f8c8d;
}

.ssr-value.price {
    color: #e67e22;
    font-size: 1.1rem;
}

.ssr-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 0;
    font-style: italic;
    text-align: right;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .ssr-spec-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .ssr-card {
        padding: 10px;
        min-height: auto;
    }
    
    .ssr-value {
        font-size: 0.85rem;
    }
    
    .ssr-icon {
        width: 26px;
        height: 26px;
    }
    
    .ssr-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .ssr-label {
        font-size: 0.68rem;
    }
    
    .ssr-spec-summary h3 {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .ssr-spec-grid {
        grid-template-columns: 1fr;
    }
}

/* Car Image Gallery Carousel Styles */
.car-image-gallery-row {
    background: #f8f9fa;
}

.car-image-gallery {
    margin: 16px 0;
    width: 100%;
}

.car-image-gallery .gallery-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.car-image-gallery .gallery-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.car-image-gallery .gallery-track:active {
    cursor: grabbing;
}

.car-image-gallery .gallery-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    aspect-ratio: 16 / 9;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
}

.car-image-gallery .gallery-slide.active {
    opacity: 1;
}

.car-image-gallery .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Navigation Buttons */
.car-image-gallery .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.car-image-gallery .gallery-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.car-image-gallery .gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.car-image-gallery .gallery-prev {
    left: 12px;
}

.car-image-gallery .gallery-next {
    right: 12px;
}

.car-image-gallery .gallery-nav svg {
    width: 24px;
    height: 24px;
    stroke: #333;
}

/* Indicators (Dots) */
.car-image-gallery .gallery-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.car-image-gallery .gallery-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.car-image-gallery .gallery-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.car-image-gallery .gallery-indicator.active {
    background: rgba(255, 255, 255, 1);
    width: 24px;
    border-radius: 5px;
}

/* Counter */
.car-image-gallery .gallery-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(4px);
}

/* Image Title Overlay */
.car-image-gallery .gallery-image-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    z-index: 5;
    backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .car-image-gallery .gallery-container {
        border-radius: 0;
        max-width: 100%;
    }

    .car-image-gallery .gallery-slide {
        aspect-ratio: 4 / 3;
    }

    .car-image-gallery .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .car-image-gallery .gallery-nav svg {
        width: 20px;
        height: 20px;
    }

    .car-image-gallery .gallery-prev {
        left: 8px;
    }

    .car-image-gallery .gallery-next {
        right: 8px;
    }

    .car-image-gallery .gallery-indicators {
        bottom: 12px;
        gap: 6px;
    }

    .car-image-gallery .gallery-indicator {
        width: 8px;
        height: 8px;
    }

    .car-image-gallery .gallery-indicator.active {
        width: 20px;
    }

    .car-image-gallery .gallery-counter {
        font-size: 11px;
        padding: 4px 10px;
    }

    .car-image-gallery .gallery-image-title {
        font-size: 12px;
        padding: 10px 12px;
        letter-spacing: 0.2px;
    }
}

