/* =====================================================
   WP OTL ELEMENTOR — Info do Produto Widget
   ===================================================== */

.wp-otl-ip-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* -------------------------------------------------
   Shared: Header
   ------------------------------------------------- */

.wp-otl-ip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.wp-otl-ip-title {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
}

.wp-otl-ip-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    margin-left: 12px;
}

/* -------------------------------------------------
   Shared: Chevron (presets 2 + 3)
   ------------------------------------------------- */

.wp-otl-ip-chevron {
    display: block;
    transition: transform 0.25s ease;
}

.wp-otl-ip-item.is-open .wp-otl-ip-chevron {
    transform: rotate(180deg);
}

/* -------------------------------------------------
   Shared: Content
   ------------------------------------------------- */

.wp-otl-ip-content {
    overflow: hidden;
}

.wp-otl-ip-content-inner {
    font-size: 14px;
    line-height: 1.7;
    color: #444444;
}

.wp-otl-ip-content-inner p:first-child { margin-top: 0; }
.wp-otl-ip-content-inner p:last-child  { margin-bottom: 0; }

/* -------------------------------------------------
   Attributes table
   ------------------------------------------------- */

.wp-otl-ip-attrs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.wp-otl-ip-attrs-table th,
.wp-otl-ip-attrs-table td {
    padding: 7px 10px;
    border: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}

.wp-otl-ip-attrs-table th {
    font-weight: 600;
    background-color: #f5f5f5;
    width: 35%;
    white-space: nowrap;
}

/* ==========================================================
   MODELO 1 — Minimalista
   Comportamento: todos fechados, múltiplos podem abrir
   Visual: linha divisória simples, sem fundo, ícone +/−
   ========================================================== */

.wp-otl-ip-preset-1 {
    gap: 0;
}

.wp-otl-ip-preset-1 .wp-otl-ip-item {
    border-bottom: 1px solid #e0e0e0;
}

.wp-otl-ip-preset-1 .wp-otl-ip-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.wp-otl-ip-preset-1 .wp-otl-ip-header {
    padding: 14px 2px;
    background: transparent;
    transition: opacity 0.15s;
}

.wp-otl-ip-preset-1 .wp-otl-ip-header:hover {
    opacity: 0.75;
}

.wp-otl-ip-preset-1 .wp-otl-ip-title {
    color: #1a1a1a;
}

.wp-otl-ip-preset-1 .wp-otl-ip-item.is-open .wp-otl-ip-title {
    color: #111111;
}

.wp-otl-ip-preset-1 .wp-otl-ip-icon {
    color: #555555;
    font-size: 20px;
    font-weight: 300;
}

.wp-otl-ip-preset-1 .wp-otl-ip-content-inner {
    padding: 4px 2px 16px;
}

/* ==========================================================
   MODELO 2 — Cards
   Comportamento: accordion (abrir um fecha os outros), 1º aberto
   Visual: card com borda e fundo, chevron rotativo
   ========================================================== */

.wp-otl-ip-preset-2 {
    gap: 8px;
}

.wp-otl-ip-preset-2 .wp-otl-ip-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.wp-otl-ip-preset-2 .wp-otl-ip-item.is-open {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.wp-otl-ip-preset-2 .wp-otl-ip-header {
    padding: 14px 16px;
    background-color: #f8f8f8;
    transition: background-color 0.2s;
}

.wp-otl-ip-preset-2 .wp-otl-ip-header:hover {
    background-color: #f2f2f2;
}

.wp-otl-ip-preset-2 .wp-otl-ip-item.is-open > .wp-otl-ip-header {
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.wp-otl-ip-preset-2 .wp-otl-ip-title {
    color: #1a1a1a;
}

.wp-otl-ip-preset-2 .wp-otl-ip-icon {
    color: #555555;
}

.wp-otl-ip-preset-2 .wp-otl-ip-content-inner {
    padding: 16px;
}

/* ==========================================================
   MODELO 3 — Destaque
   Comportamento: todos abertos por padrão, múltiplos podem fechar
   Visual: header com fundo escuro, texto branco, gap entre itens
   ========================================================== */

.wp-otl-ip-preset-3 {
    gap: 6px;
}

.wp-otl-ip-preset-3 .wp-otl-ip-item {
    border-radius: 6px;
    overflow: hidden;
}

.wp-otl-ip-preset-3 .wp-otl-ip-header {
    padding: 14px 16px;
    background-color: #1a1a1a;
    transition: background-color 0.2s;
}

.wp-otl-ip-preset-3 .wp-otl-ip-header:hover {
    background-color: #2d2d2d;
}

.wp-otl-ip-preset-3 .wp-otl-ip-title {
    color: #ffffff;
}

.wp-otl-ip-preset-3 .wp-otl-ip-icon {
    color: #ffffff;
}

.wp-otl-ip-preset-3 .wp-otl-ip-content {
    background-color: #f8f8f8;
}

.wp-otl-ip-preset-3 .wp-otl-ip-content-inner {
    padding: 16px;
}
