/* Tablet Optimization for Steel Products Page */

.container{
  margin: 0 auto;
  padding: 0;
}

/* Base tablet styles (1024px - 1199px) */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .cutNBend {
      padding: 24px 32px 32px 32px;
      width: 100%;
      max-width: 100%;
  }

  .cutNBend__header {
      margin-bottom: 32px;
  }

  .cutNBend__title {
      font-size: 2.25rem;
      letter-spacing: -0.5px;
  }

  .cutNBend__divider {
      width: 240px;
      margin: 0 0 1.25rem 0;
  }

  .cutNBend__subtitle {
      font-size: 0.95rem;
  }

  .cutNBend__list {
      gap: 24px;
  }

  .cutNBend__card {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 32px;
      padding: 24px;
      min-height: 300px;
      box-shadow: none;
  }

  .cutNBend__image {
      width: 360px;
      height: 260px;
      flex-shrink: 0;
      box-shadow: none;
  }

  .cutNBend__content {
      flex: 1;
      padding: 0;
  }

  .cutNBend__card-title {
      font-size: 1.375rem;
      margin-bottom: 20px;
  }

  .cutNBend__desc {
      font-size: 0.9rem;
      line-height: 1.5;
      margin-bottom: 24px;
  }

  .cutNBend__btn {
      font-size: 0.95rem;
      padding: 12px 24px;
      box-shadow: none;
  }
}

/* Small tablet styles (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .cutNBend {
      padding: 20px 24px 28px 24px;
      width: 100%;
      max-width: 100%;
  }

  .cutNBend__header {
      margin-bottom: 28px;
  }

  .cutNBend__title {
      font-size: 2rem;
      letter-spacing: -0.5px;
  }

  .cutNBend__divider {
      width: 200px;
      margin: 0 0 1.25rem 0;
  }

  .cutNBend__subtitle {
      font-size: 0.9rem;
  }

  .cutNBend__list {
      gap: 20px;
  }

  .cutNBend__card {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 24px;
      padding: 20px;
      min-height: 280px;
      box-shadow: none;
  }

  .cutNBend__image {
      width: 300px;
      height: 220px;
      flex-shrink: 0;
      box-shadow: none;
  }

  .cutNBend__content {
      flex: 1;
      padding: 0;
      height: 220px;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }

  .cutNBend__card-title {
      font-size: 1.25rem;
      margin-bottom: 12px;
  }

  .cutNBend__desc {
      font-size: 0.85rem;
      line-height: 1.5;
      margin-bottom: 16px;
      max-height: 100px;
      overflow-y: auto;
  }

  .cutNBend__btn {
      font-size: 0.9rem;
      padding: 10px 20px;
      margin-top: auto;
      box-shadow: none;
  }
}

/* Landscape tablet styles (1024px - 1199px) */
@media screen and (min-width: 1024px) and (max-width: 1199px) and (orientation: landscape) {
  .cutNBend {
      padding: 20px 32px 28px 32px;
  }

  .cutNBend__title {
      font-size: 2.5rem;
  }

  .cutNBend__divider {
      width: 280px;
  }

  .cutNBend__card {
      min-height: 280px;
      box-shadow: none;
  }

  .cutNBend__image {
      height: 240px;
      box-shadow: none;
  }
}

/* Portrait tablet styles (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .cutNBend {
      padding: 16px 24px 24px 24px;
  }

  .cutNBend__title {
      font-size: 2.125rem;
  }

  .cutNBend__divider {
      width: 220px;
  }

  .cutNBend__card {
      min-height: 260px;
      box-shadow: none;
  }

  .cutNBend__image {
      width: 280px;
      height: 200px;
      box-shadow: none;
  }

  .cutNBend__content {
      height: 200px;
  }
}

/* Tablet hover effects */
@media (hover: hover) and (min-width: 768px) and (max-width: 1199px) {
  .cutNBend__card {
      transition: transform 0.3s ease;
  }

  .cutNBend__card:hover {
      transform: translateY(-2px);
  }

  .cutNBend__btn:hover {
      background: var(--color-secondary);
  }

  .cutNBend__btn:hover .cutNBend__btn-arrow {
      transform: translateX(4px);
  }
}
