/* ===============================
   RESET INFLUENTA TEMA
================================ */
.sm-single-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* CONTAINER */
.sm-single-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

/* HEADER */
.sm-single-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.sm-single-header h1 {
  font-size: 28px;
  max-width: 70%;
}

.sm-single-title {
    font-size: 28px;
    font-weight: 700;
}

.sm-single-price {
    font-size: 26px;
    font-weight: 700;
    color: #ff4a17;
}

/* MAIN GRID */
.sm-single-main {
  display: flex !important;
  /*grid-template-columns: 2fr 1fr; 
  gap: 30px; */
}

.sm-single-main2{
    display: flex;
    gap: 40px;
    /* align-items: flex-start; */
    align-items: stretch;
}

.sm-gallery {
  flex: 2;
}

.sm-left{
  flex:2;
  display:flex;
}

.sm-right{
  flex:1;
  max-width:480px;
  display:flex;
}

.sm-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}

.sm-gallery-thumbs img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
}

.sm-gallery-thumbs img.active {
  opacity: 1;
  border-color: #ff3d00;
}

/* ===============================
   SIDEBAR
================================ */
.sm-single-sidebar {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 90px;
}

/* DETALII */
.sm-single-details {
  margin-top: 48px;
}


.sm-spec-section {
    margin-bottom: 32px;
}

.sm-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.sm-single-details h4 {
  margin-top: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}



.sm-single-details ul {
  list-style: none;
  padding-left: 0;
}

.sm-single-details li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

/* === GALERIE AUTOVIT STYLE === */



.sm-gallery-main {
  /* width: 100%;
  border-radius: 12px;
  overflow: hidden; */
  position: relative;
}

.sm-gallery-main img {
  width: 100%;
  height: 460px;
  display: block;
}

/* Thumbnails */
.sm-gallery-thumbs{
  display:flex;
  gap:12px;
  margin-top:16px;
  padding-bottom:0;
  justify-content:flex-start;
  overflow:hidden;
}

.sm-gallery-thumbs img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.2s;
}

.sm-gallery-thumbs img.active,
.sm-gallery-thumbs img:hover {
  opacity: 1;
  outline: 2px solid #ff3c00;
}


.sm-single-sidebar {
  background: #f7f7f7;
  padding: 24px;
  border-radius: 12px;
  position: sticky;
  top: 120px;
}

.sm-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    
}

.sm-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sm-price-section {
    margin-bottom: 15px;
}

.sm-price-main {
    font-size: 20px;
    font-weight: 700;
    color: #a9371b;
    
}

.sm-price-sub {
    font-size: 13px;
    color: #777;
    margin-top: 3px;
}

.sm-price-net {
    margin-top: 8px;
    font-size: 15px;
    color: #333;
}

.sm-price-net span {
    font-size: 12px;
    color: #777;
    margin-left: 6px;
}

.sm-divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}

.sm-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.sm-highlight {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 10px;
}

.sm-highlight span {
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.sm-highlight small {
    font-size: 12px;
    color: #777;
}

.sm-cta-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sm-btn-primary {
    background: #111;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.sm-btn-primary:hover{
    color:#fff;
    background-color: #a9371b;
}

.sm-btn-secondary {
    background: #f1f1f1;
    color: #111;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.sm-card{
  background:#f7f7f7;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 20px rgba(0,0,0,0.06);
  margin-bottom:20px;
}

.sm-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.6);
  color:#fff;
  border:none;
  width:40px;
  height:40px;
  border-radius:50%;
  cursor:pointer;
  font-size:20px;
}

.sm-prev{ left:10px; }
.sm-next{ right:10px; }

#sm-lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

#sm-lightbox img{
  max-width:90%;
  max-height:90%;
  border-radius:8px;
}

.sm-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,0.5);
  color:#fff;
  font-size:24px;
  cursor:pointer;
  transition:0.2s;
}

.sm-nav:hover{
  background:#ff3c00;
}

.sm-prev{ left:15px; }
.sm-next{ right:15px; }

.sm-gallery-main{
  position:relative;
}

.sm-specs-grid-full {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px 40px;
}

.sm-spec-row {
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid #eee;
  padding:6px 0;
}

.sm-equipment-group {
  margin-bottom:24px;
}

.sm-equipment-group ul {
  columns:2;
  list-style:none;
  padding:0;
}

.sm-description {
  margin-top:50px;
}

.sm-description-box {
  position: relative;
  max-height: 180px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
  line-height: 1.6;
}

.sm-description-box.expanded {
  max-height: 2000px;
}

.sm-description-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(250,250,250,0), rgba(250,250,250,1));
}

.sm-description-box.expanded .sm-description-fade {
  display: none;
}

.sm-description-toggle {
  margin-top: 12px;
  background: none;
  border: none;
  color: #ff3c00;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.sm-description-text {
  line-height:1.6;
  background:#f8f8f8;
  padding:20px;
  border-radius:12px;
}

.sm-description-content {
  line-height: 1.7;
  font-size: 15px;
  color: #333;
}

.sm-description-content p {
  margin-bottom: 12px;
}

.sm-description-box {
  max-height: 180px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.sm-description-box.expanded {
  max-height: 2000px;
}

.sm-description-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.sm-description-box.expanded .sm-description-fade {
  display: none;
}

.sm-description-toggle {
  background: none;
  border: none;
  color: #a9371b;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.sm-specs-box,
.sm-equipment-grid {
    max-height: 350px;
    overflow: hidden;
    position: relative;
}

.sm-specs-box.expanded {
    max-height: none;
}

.sm-equipment-grid.expanded {
    max-height: 5000px;
}

.sm-specs-toggle {
    margin-top: 15px;
    background: none;
    border: none;
    color: #a9371b;
    font-weight: 600;
    cursor: pointer;
}

.sm-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 350px;
    overflow: hidden;
    transition: max-height .4s ease;
}

.sm-equipment-item {
    background:#f5f5f5;
    padding:8px 12px;
    border-radius:6px;
    font-size:14px;
}

.sm-specs-grid-full {
    max-height: 400px;
    overflow: hidden;
    transition: max-height .4s ease;
}

.sm-specs-grid-full.expanded {
    max-height: 5000px;
}

/* TITLURI PRINCIPALE */
.sm-description h3,
.sm-single-details h3,
.sm-equipment h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

/* SUBTITLURI */
.sm-spec-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 30px 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
}

.sm-single-details {
    margin-top: 50px;
}

.sm-spec-section {
    margin-bottom: 40px;
}

.sm-description {
    margin-top: 40px;
}

.sm-spec-row {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.sm-spec-label {
    color: #777;
    font-size: 14px;
}

.sm-spec-value {
    font-weight: 500;
    font-size: 14px;
}

.sm-equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.sm-equipment{
    margin-top: 50px;
}

.sm-equipment-item {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: 0.2s ease;
}

.sm-equipment-item:hover {
    background: #111;
    color: #fff;
}

.sm-single-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sm-price-box {
    margin: 15px 0 25px;
}

.sm-price-brut {
    font-size: 28px;
    font-weight: 700;
    color: #a9371b;
    line-height: 1.2;
}

.sm-price-brut span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #777;
    margin-top: 3px;
}

.sm-price-net {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.sm-price-net span {
    font-size: 13px;
    color: #777;
    margin-left: 5px;
    font-weight: 600;
}

/* DEALER BOX */
.sm-dealer-section {
    margin: 70px 0;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 40px;
}

.sm-dealer-brand {
    font-size: 30px;
    font-weight: 800;
    color: #b90909;
    
    font-family: 'Archivo Black', sans-serif;
}

.sm-dealer-sub {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}


.sm-benefit {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: #333;
    transition: all .25s ease;
    font-weight: 500;
    margin-left: 50px;
}

.sm-benefit::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ce4523;
    font-weight: bold;
}

.sm-benefit:hover {
    transform: translateX(6px);
    color: #000;
    font-weight: 600;
}

.sm-dealer-call {
    display: inline-block;
    padding: 16px 28px;
    background: #111;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all .25s ease;
}

.sm-dealer-call:hover {
    background: #a9371b;
    color: #fff;
    transform: translateY(-3px);
   
}

.sm-price-section {
    margin-bottom: 25px;
}

.sm-price-columns {
    display: flex;
    align-items: center;
}

.sm-price-col {
    flex: 1;
}

.sm-price-value {
    font-size: 18px;
    font-weight: 600;
    color: #a9371b;
}

.sm-price-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.sm-price-divider {
    width: 1px;
    height: 50px;
    background: #e2e2e2;
    margin: 0 25px;
}
