.df-manual-stock {
    --df-border: #dce0e4;
    --df-stock-button: #222;
    margin-block: 1rem 2rem;
}
.df-manual-stock .df-stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(195px, calc((100% - 4rem) / 5))), 1fr));
    gap: 1rem;
}
.df-manual-stock .df-stock-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--df-border);
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}
.df-manual-stock .df-stock-card:only-child { max-width: 340px; }
.df-manual-stock .df-stock-cover {
    display: grid;
    place-items: center;
    position: relative;
    aspect-ratio: 4 / 3;
    color: #40464e;
    background-color: #eef1f3;
}
.df-manual-stock .df-stock-card .df-stock-cover {
    aspect-ratio: 16 / 10;
    text-decoration: none;
}
.df-manual-stock .df-stock-card .df-stock-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.df-manual-stock .df-stock-status {
    display: inline-block;
    color: #fff;
    background: #30353b;
    padding: .25rem .65rem;
    border-radius: 4px;
}
.df-manual-stock .df-stock-cover .df-stock-status {
    position: absolute;
    top: .75rem;
    left: .75rem;
}
.df-manual-stock .df-stock-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: .8rem;
}
.df-manual-stock .df-stock-card h3 { margin: 0 0 .3rem; }
.df-manual-stock .df-stock-card h3 a { color: inherit; }
.df-manual-stock .df-stock-trim { margin: 0 0 .6rem; }
.df-manual-stock .df-stock-specs {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    margin: 0 0 .85rem;
    padding: 0;
    list-style: none;
}
.df-manual-stock .df-stock-card .dvo-price { margin: auto 0 .75rem; }
.df-manual-stock .df-stock-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    padding: .55rem 1rem;
    background: var(--df-stock-button);
    color: #fff;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}
.df-manual-stock .df-stock-button:hover { filter: brightness(.88); }
.df-manual-stock .df-stock-card .df-stock-button { width: 100%; }
.df-manual-stock .df-stock-filter {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--df-border);
    border-radius: 6px;
}
.df-manual-stock .df-stock-filter-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
    gap: .75rem;
}
.df-manual-stock .df-stock-filter select { display: block; width: 100%; margin-top: .25rem; }
.df-manual-stock .df-stock-filter-actions,
.df-manual-stock .df-stock-contact { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: .8rem; }
.df-manual-stock .df-stock-count { margin-bottom: .75rem; }
.df-stock-detail {
    --df-detail-text: #242424;
    --df-detail-line: #e5e5e5;
    --df-detail-red: #8f1419;
    --df-detail-radius: 14px;
    color: var(--df-detail-text);
}
.df-stock-detail .df-stock-detail-header { margin-bottom: 1.2rem; }
.df-stock-detail .df-stock-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .7rem;
    border: 1px solid var(--df-detail-line);
    border-radius: 6px;
    color: var(--df-detail-text);
    text-decoration: none;
}
.df-stock-detail .df-stock-back:hover { color: var(--df-detail-red); border-color: currentColor; }
.df-stock-detail .dvo-detailtitle {
    margin: .65rem 0 0;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 650;
    line-height: 1.16;
    overflow-wrap: anywhere;
}
.df-stock-detail .df-stock-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 2.5vw, 1.8rem);
}
.df-stock-detail .df-stock-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: .55rem;
}
.df-stock-detail .df-stock-main-photo,
.df-stock-detail .df-stock-gallery .df-stock-cover {
    grid-column: 1 / -1;
    border-radius: var(--df-detail-radius);
    overflow: hidden;
}
.df-stock-detail .df-stock-main-photo img { display: block; width: 100%; height: auto; }
.df-stock-detail .df-stock-thumb {
    border-radius: 7px;
    overflow: hidden;
}
.df-stock-detail .df-stock-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.df-stock-detail .df-stock-thumb:hover { outline: 2px solid var(--df-detail-red); outline-offset: 2px; }
.df-stock-detail .df-stock-summary,
.df-stock-detail .df-stock-description {
    padding: clamp(.95rem, 2vw, 1.4rem);
    border: 1px solid var(--df-detail-line);
    border-radius: var(--df-detail-radius);
    background: #fff;
    box-shadow: 0 6px 24px rgba(22, 22, 22, .045);
}
.df-stock-detail .df-stock-price-panel {
    margin-bottom: 1rem;
    padding: .8rem 1rem;
    border-inline-start: 4px solid var(--df-price-accent);
    border-radius: 9px;
    background: var(--df-price-bg);
    color: var(--df-price-text);
}
.df-stock-detail .df-stock-price-panel > span {
    display: block;
    margin-bottom: .15rem;
    color: inherit;
    font-size: .82rem;
}
.df-stock-detail .df-stock-detail-price {
    margin: 0;
    color: var(--df-price-text);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}
.df-stock-detail .df-stock-summary h3,
.df-stock-detail .df-stock-description h3 {
    margin: 0 0 .65rem;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 650;
}
.df-stock-detail .df-stock-summary .df-stock-status { margin-bottom: .65rem; }
.df-stock-detail .df-stock-summary dl { margin: 0; }
.df-stock-detail .df-stock-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .45rem .6rem;
    border-radius: 5px;
}
.df-stock-detail .df-stock-summary dl div:nth-child(odd) { background: #f5f5f5; }
.df-stock-detail .df-stock-summary dt { font-weight: 600; }
.df-stock-detail .df-stock-summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.df-stock-detail .df-stock-detail-copy { display: grid; gap: .9rem; margin-top: 1rem; }
.df-stock-detail .df-stock-description > :last-child { margin-bottom: 0; }
.df-stock-detail .df-stock-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: .35rem 1rem;
    padding-inline-start: 1.15rem;
}
.df-stock-detail .df-stock-options li::marker { color: var(--df-detail-red); }
@media (max-width: 760px) {
    .df-stock-detail .df-stock-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .df-stock-detail .df-stock-detail-main { display: contents; }
    .df-stock-detail .df-stock-detail-copy { grid-row: 3; margin-top: 0; }
}

.df-manual-stock .df-stock-gallery .df-stock-cover { max-height: 250px; }
@media (max-width: 480px) {
    .df-manual-stock .df-stock-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }
    .df-manual-stock .df-stock-card-body { padding: .65rem; }
    .df-manual-stock .df-stock-card h3 { font-size: 1.05rem; }
    .df-manual-stock .df-stock-card .df-stock-button { padding-inline: .3rem; }
}
@media (max-width: 360px) {
    .df-manual-stock .df-stock-grid { grid-template-columns: 1fr; }
}

.df-stock-detail .df-stock-contact > .df-stock-button {
    flex: 1 1 0;
    gap: .5rem;
    min-height: 44px;
    padding-inline: .7rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--df-contact-bg);
    color: #fff;
    font-weight: 650;
    text-decoration: none;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.df-stock-detail .df-stock-call { --df-contact-bg: #252525; --df-contact-hover: #851419; --df-contact-shadow: rgba(133, 20, 25, .25); }
.df-stock-detail .df-stock-whatsapp { --df-contact-bg: #14613e; --df-contact-hover: #0c7445; --df-contact-shadow: rgba(12, 116, 69, .26); }
.df-stock-detail .df-stock-contact > .df-stock-button:hover {
    background: var(--df-contact-hover);
    color: #fff;
    filter: none;
    box-shadow: 0 5px 13px var(--df-contact-shadow);
    transform: translateY(-2px);
}
.df-stock-detail .df-stock-contact > .df-stock-button:active { transform: translateY(0); }
.df-stock-detail a:focus-visible,
.df-stock-detail button:focus-visible {
    outline: 2px solid var(--df-detail-red);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .df-stock-detail .df-stock-contact > .df-stock-button { transition: none; }
    .df-stock-detail .df-stock-contact > .df-stock-button:hover { transform: none; }
}
.df-stock-detail .df-stock-interest {
    margin-top: 1rem;
    padding: clamp(.8rem, 2vw, 1.1rem);
    border: 1px solid var(--df-detail-line);
    border-radius: 10px;
    background: #f7f7f7;
    scroll-margin-top: 6rem;
}
.df-stock-detail .df-stock-interest h3 { margin: 0 0 .65rem; }
.df-stock-detail .df-stock-interest form { display: grid; gap: .65rem; }
.df-stock-detail .df-stock-interest label { display: grid; gap: .2rem; font-weight: 600; }
.df-stock-detail .df-stock-interest input,
.df-stock-detail .df-stock-interest textarea {
    width: 100%;
    min-width: 0;
    padding: .5rem .65rem;
    border: 1px solid #aaa;
    border-radius: 7px;
    color: #222;
    background: #fff;
    font: inherit;
    font-weight: 400;
}
.df-stock-detail .df-stock-interest input { min-height: 42px; }
.df-stock-detail .df-stock-interest textarea { resize: vertical; }
.df-stock-detail .df-stock-interest input:focus,
.df-stock-detail .df-stock-interest textarea:focus {
    border-color: var(--df-detail-red);
    outline: 1px solid var(--df-detail-red);
}
.df-stock-detail .df-stock-interest button {
    min-height: 44px;
    border-radius: 8px;
    background: var(--df-detail-red);
    font-weight: 650;
}
.df-manual-stock .df-stock-interest-feedback {
    padding: .6rem .75rem;
    border-left: 3px solid #535b63;
    background: #eef1f3;
    color: #222;
}

.df-manual-stock .df-stock-nap {
    display: inline-block;
    padding: .12em .48em;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    background: #fff;
    color: #343434;
    font-size: .82em;
    font-weight: 700;
    letter-spacing: .035em;
    vertical-align: middle;
}
.df-stock-detail .df-stock-contact-icon {
    display: inline-block;
    flex: 0 0 1.15em;
    width: 1.15em;
    height: 1.15em;
    background: currentColor;
    -webkit-mask: var(--df-contact-icon) center / contain no-repeat;
    mask: var(--df-contact-icon) center / contain no-repeat;
}
.df-stock-detail .df-stock-call {
    --df-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h3l2 5-2.4 2a16 16 0 0 0 6.4 6.4l2-2.4 5 2v3a2 2 0 0 1-2 2A17 17 0 0 1 3 5a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
}
.df-stock-detail .df-stock-whatsapp {
    --df-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round' d='M4.2 17.1 3 21l4.1-1.1A9 9 0 1 0 4.2 17.1Z'/%3E%3Cpath d='M8.1 6.8c-.5 0-1 .5-1 1.5 0 2.7 4 6.8 7.1 7.3 1.1.2 2.1-.6 2.1-1.5 0-.3-.2-.5-.5-.6l-2-1c-.3-.1-.5 0-.7.2l-.7.9c-1.5-.7-2.5-1.6-3.2-3.1l.7-.7c.2-.2.2-.5.1-.7l-.9-2c-.1-.2-.5-.3-1-.3Z'/%3E%3C/svg%3E");
}

.df-stock-detail .df-stock-summary .df-stock-nap-logo {
    display: inline-block;
    width: 38px;
    height: auto;
    margin-inline-start: .3rem;
    vertical-align: middle;
}
