/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #111;
}

/* VARIÁVEIS DE TAMANHO */
:root {
  --logo-width: 300px;
  --brand-logo-height: 60px;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: var(--logo-width);
  height: auto;
  margin-top: 14px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 100px;
  width: 300px;
}

.icon-btn {
  font-size: 1.2rem;
  text-decoration: none;
}

/* BREADCRUMB */
.breadcrumbs {
    padding: 12px 0;
}

.breadcrumbs .sep {
    color: #cfcfcf;
    margin: 0 6px;
}

.breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #6b7280;
    font-size: 14px;
}

/* PRODUCT LAYOUT */
.product {
    padding: 24px 0 56px;
}

.product-layout {
    display: grid;
    grid-template-columns: 96px 520px 1fr;
    gap: 20px 32px;
    align-items: start;
}

/* THUMBS */
.product-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thumb {
    width: 96px;
    height: 96px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.thumb.is-active {
    box-shadow: 0 0 0 2px #111 inset;
}

.thumb:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
    transform: translateY(-1px);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FOTO PRINCIPAL */
.product-photo {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    min-height: 420px;
    padding: 20px;
    display: grid;
    place-items: center;
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* DETALHES */
.product-details {
    padding-top: 4px;
}

.product-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 4px 0 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stars {
    letter-spacing: 2px;
    font-size: 16px;
    color: #f5b300;
}

.score {
    color: #6b7280;
    font-size: 15px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 14px;
}

.price-now {
    font-size: 26px;
    font-weight: 700;
}

.price-old {
    color: #6b7280;
    text-decoration: line-through;
}

.price-badge {
    background: #ffe8ec;
    color: #d92a45;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
}

.product-desc {
    color: #374151;
    background: #f5f5f7;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.divider {
    height: 1px;
    background: #e6e6e6;
    margin: 16px 0;
}

/* OPÇÕES */
.opt {
    margin: 12px 0;
}

.opt-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

/* CORES */
.swatches {
    display: flex;
    gap: 10px;
}

.swatch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.swatch-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid #fff;
    outline: 1px solid #e6e6e6;
    display: inline-block;
    transition: transform .15s ease, outline-color .15s ease;
}

.swatch:hover .swatch-dot {
    transform: translateY(-2px);
}

.swatch input:checked+.swatch-dot {
    outline-color: #111;
}

/* TAMANHOS */
.sizes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size input {
    position: absolute;
    opacity: 0;
}

.size span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    font-size: 15px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.size span:hover {
    border-color: #bdbdbd;
}

.size input:checked+span {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* AÇÕES */
.actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.qty {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
}

.qty input {
    width: 56px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #f2f2f2;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.qty-btn:hover {
    background: #e9e9e9;
}

.btn-cart {
    flex: 1;
    border: none;
    cursor: pointer;
    background: #111;
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    border-radius: 999px;
    transition: transform .1s ease, box-shadow .2s ease, opacity .2s ease;
}

.btn-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.btn-cart:active {
    transform: none;
    opacity: .9;
}


/* FOOTER NEWSLETTER */
.footer-newsletter {
  background: #111;
  color: #fff;
  padding: 2rem 0;
  margin-top: 4rem;
  border-radius: 8px;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-newsletter h3 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-form input {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 50px;
  width: 250px;
}
.newsletter-form button {
  padding: 0.6rem 1.5rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
}

/* FOOTER MAIN */
.footer-main {
  background: #f5f5f5;
  padding: 4rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.footer-col {
  flex: 1 1 140px;
  min-width: 140px;
}
.footer-col.about {
  flex: 2 1 280px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.footer-col p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #555;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}
.social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.social-icons img {
  width: 24px;
  height: 24px;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid #ddd;
  background: #f5f5f5;
  padding: 1rem 0;
}
.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #777;
}
.payments img {
  height: 60px;
  margin-left: 0.75rem;
}