/* Device Spec Page Content Wrapper */
:root {
    --font-stack: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}


#device-spec-content #device-spec-wrapper { width: 100%; background:#fff;}

.wrapper { overflow: hidden; }

#device-spec-content #device-spec-wrapper.page .article-title { font-family: var(--font-stack); 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;
			-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;
}

/* 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;
    display: inline-block;
}
.article-head .spec-actions {
    display: flex;
    align-items: center;
    margin-left: auto; /* push to right */
}

/* Inline share button inside article head */
.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-share-btn .material-icons { font-size: 18px; vertical-align: middle; }
.spec-share-label { display: inline-block; }

/* Floating share button (similar to car/motor styles) */
.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) {
    .article-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .spec-floating-share { right: 10px; bottom: 160px; padding: 8px; border-radius: 36px; }
}
.spec-wrapper table#table-spec {
    border-spacing: 0;
	width: 100%;
	height:100%;
	margin:0px;padding:0px;
}

/* 
.spec-wrapper tr:nth-child(1) { background-color:#000 !important; font-weight:700; color:#fff; }
.spec-wrapper tr:nth-child(1) td { border-color:#000; padding-top: 0.5em; padding: 0.5em 0.5em 0.5em 0.5em; }
.spec-wrapper tr:nth-child(1):hover td{ background-color:#000;} */

.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; }

/* 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: var(--font-stack);
	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;
}

/* Collapsible band row */
.spec-collapse-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 2px 7px;
    cursor: pointer;
    font-size: 12px;
    color: #1a6fa0;
    line-height: 1.4;
}
.spec-collapse-toggle:hover {
    background-color: #e6f4fb;
    border-color: #1a6fa0;
}
.spec-collapse-toggle .spec-collapse-icon {
    font-size: 16px !important;
    transition: transform 0.2s;
}
.spec-collapse-toggle[aria-expanded="true"] .spec-collapse-icon {
    transform: rotate(180deg);
}
.spec-collapse-label {
    margin-right: 16px;
}

.spec-collapse-content {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.7;
    color: #333;
}

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

.disclaimer {
	clear:left;
	border: 1px solid #ddd;
	padding: 3px 5px 1px 5px; 
	width: auto;
	height: auto;
	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;
	font-family: var(--font-stack);
	font-size: 13px;
}

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

#copy-spec-btn {
    border: 1px solid #ccc; border-radius: 4px; background-color: #f0f0f0; color:#000; font-size: 13px; padding: 6px 10px; margin-top: 5px; width: 100%; box-sizing: border-box; text-align: center;
}

.inner-panel-content-tip {
    font-size: 11px; color: #555; margin: 2px 0; padding: 0px 6px 2px 6px; border-radius: 4px; background-color: #ffeedd; border: 1px solid #ffeedd;
}

.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; }

#banding-link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#banding-link-list > a {
    display: block;
    text-decoration: none;
}

.compare-suggestion-tool {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    border: 1px solid #d7dde3;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    min-height: 48px;
}

.compare-suggestion-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    border-radius: 999px;
    background: #edf2f7;
    color: #425466;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.compare-suggestion-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    line-height: 1.25;
    font-size: 12px;
    font-weight: 600;
    color: #243447;
    word-break: break-word;
}

.inner-panel-content a .compare-suggestion-tool:hover {
    border-color: #9bc7dd;
    background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
    box-shadow: 0 4px 12px rgba(59, 174, 218, 0.12);
    color: inherit;
}

.inner-panel-content a .compare-suggestion-tool:hover .compare-suggestion-badge {
    background: #d8eef8;
    color: #2d6f8a;
}

/* make copy buttons look disabled when class is applied */
#copy-spec-btn.disabled {
    color: #ababab !important;
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none !important;
}


.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;
	border: 1px solid #ddd;
	overflow-x:scroll; overflow-y:hidden; white-space:nowrap;
}

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

.dyna-item, .dyna-item2 {
	float:left; 
	overflow: hidden;
    position: relative;
	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:hover {
	border:solid 1px transparent; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05) inset, 0px 0px 8px rgba(82, 168, 236, 0.6);
}

/* Selected phone styling - blue glow effect */
.dyna-item.selected-phone {
    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-phone {
    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-phone: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-phone: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);
}

/* Sticky positioning for first items */
.dyna-item:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}

.dyna-item2:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}

.dyna-item:first-child:hover,
.dyna-item2:first-child:hover {
    box-shadow: none;
    border-color: transparent;
}

.dyna-item:first-child .dyna-check-hitbox,
.dyna-item2:first-child .dyna-check-hitbox,
.dyna-item:first-child:hover input[type="checkbox"].pilah-check,
.dyna-item2:first-child:hover input[type="checkbox"].pilah-check2 {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
}

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

/* Phone card box styling - mirrored from car version */
.phone-card-box {
    width: 180px;
    height: 240px;
    min-height: 240px;
    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);
}

.phone-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;
}

/* Selected phone card styling - blue glow effect */
.phone-card-box.selected-phone {
    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);
}

.phone-card-box.selected-phone: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);
}

/* Phone result styling - mirrored from car version */
.phone-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;
}

.phone-result:hover {
    white-space: normal;
    overflow: visible;
    background: transparent;
    z-index: 2;
}

.phone-model-name {
    height: 50%;
    min-height: 50%;
    max-height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    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;
}

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

.phone-year-info {
    height: 10%;
    min-height: 10%;
    max-height: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    color: #888;
    font-weight: 400;
    padding: 0 8px;
    transition: all 0.3s;
    background: transparent;
}

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

.phone-spec-row {
    height: 20%;
    min-height: 20%;
    max-height: 20%;
}

.phone-spec-row-single {
    height: 20%;
    min-height: 20%;
    max-height: 20%;
}

.phone-spec-row-single .phone-details-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    border-radius: 0;
    margin: 0;
    border-right: none;
    border-left: none;
}


.phone-spec-row .phone-details-box {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: normal;
    border-radius: 0;
    margin: 0;
    border-right: none;
    border-left: none;
}

.phone-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;
}

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

/* Phone exact match styling */
.phone-result-exact {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    backdrop-filter: blur(10px);
}

/* Phone sticky positioning for first items */
.dyna-item:first-child .phone-result {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    backdrop-filter: blur(10px);
}

.dyna-item2:first-child .phone-result {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    backdrop-filter: blur(10px);
}

.dyna-item:first-child:hover .phone-result,
.dyna-item2:first-child:hover .phone-result {
    box-shadow: none;
    border-color: transparent;
}

label.dyna-check-hitbox {
    position: absolute;
    top: 8px;
    right: 4px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    box-sizing: border-box;
    z-index: 11;
    overflow: hidden;
}

/* banding-transit box style*/
input[type="checkbox"].pilah-check {
    float:none; visibility: hidden; margin: 0; position: static;
	z-index: 10;
}
input[type="checkbox"].pilah-check2 {
    float:none; visibility: hidden; margin: 0; position: static;
	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 - 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: var(--font-stack);
}

.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;
}

.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 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:hover span.closer {
    visibility: visible;
    opacity: 0.85;
}

/* 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);
}

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: 162px;
    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;
}

/* 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: none;
        width: 100%;
        height: 100%;
        margin: 0;
    }
    
    #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: 4;
        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: 15px;
        transform: translateY(-50%);
        right: 5px;
    }
    
    span.info-box {
        font-size: 1em;
    }

    .banding-inner-content {
        padding: 0 4px;
    }
}

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

.kasat {
    transform: translateY(100%);
}

.sumpet {
    /* display: none; - Removed to allow flex layout */
}

#pesan {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px 4px 0 0;
    font-size: 12px;
    display: none; /* Hidden by default */
}

/* 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;
}

/* 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);
}

.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;
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-stack);
}

.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.spec-table th {
  background: #f7f7f7;
  font-weight: 600;
  color: #333;
}

.spec-table tr:nth-child(even) {
  background: #fafbfc;
}

.spec-table tr:hover {
  background: #e6f7ff;
  transition: background 0.2s;
}

.spec-table td {
  color: #444;
}

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

@media (max-width: 600px) {
  .spec-table, .spec-table thead, .spec-table tbody, .spec-table th, .spec-table td, .spec-table tr {
    display: block;
  }
  .spec-table th {
    display: none;
  }
  .spec-table td {
    position: relative;
    padding-left: 50%;
    border: none;
    border-bottom: 1px solid #eee;
  }
  .spec-table td:before {
    position: absolute;
    left: 16px;
    top: 14px;
    white-space: nowrap;
    font-weight: bold;
    color: #888;
    content: attr(data-label);
  }
}

@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% !important;
		min-width: 0 !important;
		float: none;
		border-right: none;
		border-left: none;
	}
	div.inner-panel-wrapper {
		float: none; width: 100%; text-align: center;
	}
	div.dyna-inner-box {
		width: 100%; margin: 0 auto;
	}
	div.dyna-box-wrapper {
		width: 100%; 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; 
	}
    label.dyna-check-hitbox {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
	.spec-wrapper td:nth-child(1),
    .spec-wrapper td:nth-child(2) {
        max-width: none !important;
    }

    .spec-wrapper table {
        width: 100% !important;
        min-width: 0 !important;
    }
    .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;
    }
}

@media (hover: none) and (pointer: coarse) {
    label.dyna-check-hitbox {
        top: 2px;
        right: 2px;
        width: 34px;
        height: 34px;
        padding: 0;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
        overflow: visible;
    }

    label.dyna-check-hitbox:active {
        box-shadow: none;
    }

    label.dyna-check-hitbox input[type="checkbox"].pilah-check,
    label.dyna-check-hitbox input[type="checkbox"].pilah-check2 {
        display: block;
        visibility: visible;
        margin: 0;
        position: absolute;
        top: 5px;
        right: 5px;
        transform: scale(1.05);
        transform-origin: top right;
        accent-color: #2f8fba;
        filter: drop-shadow(0 0 3px rgba(59, 174, 218, 0.28));
        box-shadow: none;
    }

    .dyna-item:first-child .dyna-check-hitbox,
    .dyna-item2:first-child .dyna-check-hitbox {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        box-shadow: none;
    }
}

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

.dyna-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    z-index: 10;
    transition: all 0.3s ease;
    display: none;
}

.dyna-scroll-container:hover .dyna-scroll-btn {
    display: block;
}

.dyna-scroll-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

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

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

.dyna-scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.dyna-scroll-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%);
}

.image-scroll-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.image-scroll-area {
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
	padding: 0 10px 0 10px; /* Adjust padding as needed */
    width: 100%;
    max-width: 100vw;
    margin: 0 10px;
    -webkit-overflow-scrolling: touch; /* for smooth iOS scrolling */
}

.image-scroll-area img {
    display: inline-block;
    height: auto;
    max-height: 200px;
	padding: 10px 70px 10px 70px;
    margin-right: 8px;
    border-radius: 4px;
    max-width: 90vw; /* prevent image from overflowing on small screens */
}

@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 */
    }
}

/* Fullscreen Image Viewer Overlay */
.image-viewer-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    transition: opacity 0.2s;
}
.image-viewer-overlay.active {
    display: flex;
}
.image-viewer-overlay img {
    max-width: 96vw;
    max-height: 96vh;
    box-shadow: 0 0 24px #000;
    border-radius: 8px;
    background: #fff;
    margin-top: 70px;
}

/* Image Viewer Overlay Header */
.image-viewer-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 24px 0 12px 0;
    text-align: center;
    z-index: 10001;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.image-viewer-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.image-viewer-info {
    font-size: 1em;
    opacity: 0.85;
    margin-bottom: 2px;
}

.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;
    }
   
}

.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;
}
/* 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);
}

/* 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: 10px;
    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;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ssr-value small {
    font-weight: 400;
    color: #7f8c8d;
    font-size: 0.85em;
}

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

.ssr-value span.variant {
    color: #2c3e50;
    font-size: 0.9rem;
}

.ssr-value span.pricing {
    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;
    }
}
