/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/*
    Created on : 3 abr 2026, 14:45:59
    Author     : Santiago Die
*/

:root {
    --spanish-gray: hsl(0, 0%, 60%);
    --sonic-silver: hsl(0, 0%, 47%);
    --eerie-black: hsl(0, 0%, 13%);
    --salmon-pink: hsl(353, 100%, 78%);
    --sandy-brown: hsl(29, 90%, 65%);
    --bittersweet: hsl(0, 100%, 70%);
    --ocean-green: hsl(152, 51%, 52%);
    --davys-gray: hsl(0, 0%, 33%);
    --cultured: hsl(0, 0%, 93%);
    --white: hsl(0, 100%, 100%);
    --onyx: hsl(0, 0%, 27%);
    --epic-green: hsl(162, 16%, 43%);
}


.article-page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--eerie-black);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}


.modi_exitosa {
    background-color: #04b911;
    width: 100%;
    color: #ffffff;
    font-size: 1.4rem;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: .25em;
    padding: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.modificacion_error {
    width: 100%;
    font-weight: bold;
    background: #e94b35;
    color: #ffffff;
    font-size: 1.4rem;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: .25em;
    padding: 16px;
    margin-bottom: 10px;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}


.article-image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    top: 24px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--cultured);
    aspect-ratio: 4/5;
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.10);
}

.article-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-image-container:hover img {
    transform: scale(1.03);
}


.article-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
}

.article-details > a {
    align-self: flex-end;
    font-size: 1.4rem;
    color: var(--sonic-silver);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--cultured);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.article-details > a:hover {
    background: var(--cultured);
    color: var(--eerie-black);
}

.article-fab {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--epic-green);
    margin: 0 0 8px;
}

.article-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--eerie-black);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
}

.article-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--onyx);
    margin: 0 0 28px;
    letter-spacing: -0.03em;
}

.article-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.article-details-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.article-details-label {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--spanish-gray);
    width: 110px;
    flex-shrink: 0;
}

.article-details-value {
    font-size: 1.4rem;
    color: var(--davys-gray);
    line-height: 1.5;
}


.article_botton {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.article_botton a {
    text-decoration: none;
}

/* From Uiverse.io by Peary74 */
.button_article {
    font-family: inherit;
    font-size: 20px;
    background: #ff8f9c;
    color: white;
    fill: #ff8f9c;
    padding: 0.7em 1em;
    padding-left: 0.9em;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    font-weight: bold;
    isolation: isolate;
}

.button_article span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

.button_article svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

.button_article:hover {
    background: #f76e7e;
}

.button_article:hover .svg-wrapper {
    transform: scale(1.25);
    transition: 0.7s linear;
}

.button_article:hover svg {
    transform: translateX(3.7em) scale(1.1);
    fill: #fff;
}

.button_article:hover span {
    opacity: 0;
    transition: 0.5s linear;
}

.button_article:active {
    transform: scale(0.95);
}

.cambio {
    width: 100%;
    background-color: white;
    border-radius: 0.25em;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.cambio a:link {
    color: var(--epic-green);
}
.cambio a:visited{
    color: var(--epic-green);
}

.cambio:hover {
    transform: scale(1.02);
}
option {
    font-family: sans-serif;
    font-size: 1.6rem;
}
input,
textarea,
select {
  font-family: sans-serif;
  font-size: 1.6rem;
  padding: 10px;
  border: 1px solid #5C7E74;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-width: 2px;
  border-color: #5C7E74;
  box-shadow: 0 0 5px #5C7E74;
}