:root {
--color-bg-body: #f5f5f5;
--color-card-bg1: rgb(16 215 123 / 9%);
--color-card-bg2: #f2f2f2;
--color-card-bg3: rgb(51 0 255 / 9%);
--color-card-bg4: #f2f2f2;
--color-primary: #5a3d7b;
--color-accent: #1dd1a1;
--color-btn-amazon: #d65db1;
--color-btn-amazon-hover: #05967c;
--color-btn-ml: hsl(39deg 100% 50%);
--color-btn-ml-hover: hsl(39deg 100% 45%);
--color-img-border: #ffffff;
--color-img-outline: #ddd;
--color-text-title: #000;
--color-text-benefit: #000000;
}

.container-product {
max-width: auto;
margin: 0 auto;
}

.product-list {
display: flex;
flex-direction: column;
gap: 20px;
}

.product-card {
display: grid;
grid-template-columns: 1fr 2.5fr;
gap: 0;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 8px 24px rgba(0, 0, 0, 0.1);
background: var(--color-card-bg);
border:2px solid rgba(255,255,255,.5);
}

.product-card:nth-child(even) {
grid-template-columns: 2.5fr 1fr;
}

.product-card:nth-child(even) .product-image {
order: 2;
}
.product-card:nth-child(even) .product-content {
order: 1;
}

.product-image {
order: 1;
background: #ffffff;
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
}

.product-image img {
position: relative;
width: 100%;
height: 100%;
object-fit: contain;
display: block;
max-height: 185px;
}

.product-content {
order: 2;
background: linear-gradient(45deg, var(--color-card-bg2), var(--color-card-bg1), var(--color-card-bg2));
padding: 30px 25px;
display: flex;
flex-direction: column;
justify-content: space-between;
color: var(--color-text-title);
}

.product-card:nth-child(even) .product-content {
background: linear-gradient(45deg, var(--color-card-bg4), var(--color-card-bg3), var(--color-card-bg4));
}

.product-title {
font-size: 20px !important;
font-weight: 600 !important;
color: var(--color-text-title) !important;
margin-bottom: 16px;
line-height: 1.3 !important;
}

.product-benefits {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
flex: 1;
}

.product-benefit {
font-size: 14px;
color: var(--color-text-benefit);
display: flex;
align-items: flex-start;
gap: 8px;
font-style: italic;
}

.product-benefit::before {
content: "✓";
color: var(--color-accent);
font-weight: bold;
font-size: 16px;
margin-right: 4px;
flex-shrink: 0;
}

.product-buttons {
display: flex;
gap: 12px;
margin-top: 20px;
}

.product-buttons a{
flex:1 1 100%;
}

.product-buttons span {
display: block;
font-style: normal;
font-weight: 400;
font-size: 80%;
color:inherit;
}

.product-btn {
align-items: center;
appearance: none;
border: 0;
border-radius: 6px;
box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
box-sizing: border-box;
color: #fff !important;
cursor: pointer;
display: inline-flex;
font-family: inherit, sans-serif;
justify-content: center;
line-height: 1;
list-style: none;
overflow: hidden;
position: relative;
text-align: left;
text-decoration: none;
transition: box-shadow .15s,transform .15s;
user-select: none;
touch-action: manipulation;
white-space: nowrap;
will-change: box-shadow,transform;
font-size: 18px;
flex-direction: column;
padding:12px;
font-weight: 600;
text-shadow:1px 1px 0px rgba(0,0,0,.4);
}

.product-btn:hover {
transform: translateY(-2px);
color:white !important;
}

.product-btn:active {
box-shadow: #3c4fe0 0 3px 7px inset;
transform: translateY(2px);
}

.product-btn-amazon {
background-image: radial-gradient(100% 100% at 100% 0, #5affd9 0, #334bff 100%);
}
.product-btn-ml {
background-image: radial-gradient(100% 100% at 100% 0, #fff25a 0, #f13300 100%);
}

@media (max-width: 768px) {
.product-card {
grid-template-columns: 1fr !important;
}
.product-image,
.product-content {
order: initial !important;
}
.product-image {
padding-bottom: 0;
min-height: 200px;
}
.product-image img{
max-width: 200px;
border: none;
margin-bottom: -20px;
z-index: 1;
}
.product-content {
padding-top: 25px;
border-radius: 0 0 20px 20px;
}
.product-btn {
font-size: 15px;
}
}

/* Loading

/* Loading circular no botão */
.product-btn.aat-btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.9;
}

/* Sobrepõe texto com "Carregando" */
.product-btn.aat-btn-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    background: rgba(0,0,0,0.15); /* opcional */
}

/* Spinner circular à direita */
.product-btn.aat-btn-loading::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    animation: aat-spinner 0.6s linear infinite;
}

@keyframes aat-spinner {
    to { transform: rotate(360deg); }
}
