/*
Theme Name: Perfumes Originales v5
Theme URI: https://perfumesoriginalescolombia.com.co/
Author: Tras Mission S.A.S.
Author URI: https://tras-mission.com
Description: Tema moderno, rapido e intuitivo para WooCommerce orientado a perfumeria premium y SEO nacional.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: perfumes-originales
*/

:root {
  --po-bg: #f9f6f1;
  --po-bg-dark: #0e1b2f;
  --po-text: #1f1f1f;
  --po-text-light: #f8f8f8;
  --po-brand: #c79a4f;
  --po-brand-strong: #a6792f;
  --po-border: #e5dccd;
  --po-card: #fffdf9;
  --po-max-width: 1240px;
  --po-radius: 16px;
  --po-shadow: 0 10px 28px rgba(8, 15, 28, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--po-bg);
  color: var(--po-text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.po-container {
  width: min(100% - 2rem, var(--po-max-width));
  margin-inline: auto;
}

.po-header {
  background: linear-gradient(180deg, #0b1627 0%, #101f35 100%);
  color: var(--po-text-light);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 8px 22px rgba(4, 9, 17, 0.35);
}

.po-header__top {
  min-height: 122px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0 0.75rem;
}

.po-header__left {
  min-height: 1px;
}

.po-branding-wrap {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
}

.po-branding {
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  text-align: center;
}

.po-branding__mark {
  width: clamp(78px, 11vw, 132px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(199, 154, 79, 0.22));
}

.po-branding__name {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 1.4px;
  font-size: 1.85rem;
  line-height: 1.02;
  color: #f4e0bc;
  text-transform: uppercase;
}

.po-header-search {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: 1fr auto;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(22, 22, 22, 0.46);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.po-header-search input[type="search"] {
  border: 0;
  background: transparent;
  color: #fffaf1;
  font-size: 0.95rem;
  padding: 0.62rem 0.95rem;
  outline: none;
}

.po-header-search input::placeholder {
  color: rgba(255, 242, 216, 0.8);
}

.po-header-search button {
  width: 52px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #d5ad64 0%, #bc8e44 100%);
  color: #1a1204;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.po-header-search button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.po-header-search-band {
  width: 100%;
  padding: 0.55rem 0 0.7rem;
  background: rgba(170, 170, 170, 0.24);
}

.po-header__gold-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 157, 77, 0) 0%, rgba(241, 209, 138, 0.95) 50%, rgba(201, 157, 77, 0) 100%);
}

.po-main-nav {
  display: flex;
  justify-content: center;
  padding: 0.58rem 0 0.64rem;
}

.po-main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.po-main-nav a {
  color: #f8f1e5;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.25rem 0.2rem 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.po-main-nav a:hover,
.po-main-nav .current-menu-item a {
  border-color: var(--po-brand);
}

.po-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.po-header-action {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.28rem;
}

.po-icon-button {
  border: 1px solid rgba(244, 224, 188, 0.38);
  color: #fff5de;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  width: 40px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.po-icon-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
}

.po-icon-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.po-icon-button--cart {
  border-color: rgba(212, 168, 92, 0.75);
}

.po-header-action__meta {
  display: block;
  font-size: 0.79rem;
  line-height: 1.1;
  font-weight: 700;
  color: #f6deb0;
  white-space: nowrap;
}

.po-hero {
  margin-top: 0;
  position: relative;
}

.po-slider {
  position: relative;
  border-radius: 0 0 var(--po-radius) var(--po-radius);
  overflow: hidden;
  min-height: clamp(360px, 60vh, 620px);
}

.po-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  display: grid;
  place-items: center;
}

.po-slide.is-active {
  opacity: 1;
}

.po-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.01);
}

.po-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 25, 41, 0.82) 0%, rgba(16, 25, 41, 0.25) 58%, rgba(16, 25, 41, 0.15) 100%);
}

.po-slide__content {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, var(--po-max-width));
  color: var(--po-text-light);
}

.po-slide__title {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 5vw, 3.3rem);
  max-width: 16ch;
  line-height: 1.07;
  margin: 0;
}

.po-slide__subtitle {
  max-width: 42ch;
  margin: 0.7rem 0 1.4rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.po-search-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.09);
  padding: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.po-search-wrap input[type="search"] {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  outline: none;
  padding: 0.45rem 0.9rem;
}

.po-search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.po-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 151, 73, 0.58);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.po-btn--gold {
  background: linear-gradient(180deg, #d5ad64 0%, #bc8e44 100%);
  color: #fff8e8;
}

.po-btn--gold:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ddb770 0%, #b47f30 100%);
}

.po-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(8, 16, 28, 0.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  transition: background 0.2s ease, transform 0.2s ease;
}

.po-slider__arrow:hover {
  background: rgba(8, 16, 28, 0.7);
  transform: translateY(-50%) scale(1.03);
}

.po-slider__arrow--prev {
  left: 14px;
}

.po-slider__arrow--next {
  right: 14px;
}

.po-slider__arrow span {
  font-size: 1.2rem;
  line-height: 1;
}

.po-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 7;
}

.po-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.po-slider__dot.is-active {
  background: #fff;
}

.po-section {
  padding: clamp(2.1rem, 4vw, 4rem) 0;
}

.po-section__title {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin: 0 0 1.3rem;
}

.po-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.po-card {
  background: var(--po-card);
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  overflow: hidden;
  box-shadow: var(--po-shadow);
}

.po-collection-card__img {
  min-height: 150px;
  background: linear-gradient(135deg, #8e6a38 0%, #d8bb87 50%, #6d4d2a 100%);
}

.po-collection-card__body {
  padding: 1rem;
}

.po-collection-card__name {
  margin: 0 0 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.po-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.po-product-card {
  padding: 0.85rem;
}

.po-product-card h3 {
  margin: 0.6rem 0 0.2rem;
  font-size: 1rem;
}

.po-product-card .price {
  color: #8d5d21;
  font-weight: 700;
}

.po-seo-block {
  background: #fff;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  padding: 1.2rem;
}

.po-seo-block p {
  margin: 0.4rem 0;
}

.po-featured-note {
  background: linear-gradient(145deg, #ffffff 0%, #f5efe3 100%);
  border: 1px solid var(--po-border);
  border-left: 5px solid var(--po-brand);
  border-radius: var(--po-radius);
  padding: 1.25rem;
  box-shadow: var(--po-shadow);
}

.po-featured-note p {
  margin: 0;
  font-size: 1.03rem;
}

.po-accordion {
  display: grid;
  gap: 0.8rem;
}

.po-accordion__item {
  background: #fff;
  border: 1px solid var(--po-border);
  border-radius: 12px;
  overflow: clip;
}

.po-accordion__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  background: linear-gradient(180deg, #faf6ef 0%, #f2e8d5 100%);
  border-bottom: 1px solid transparent;
}

.po-accordion__item[open] summary {
  border-bottom-color: var(--po-border);
}

.po-accordion__item summary::-webkit-details-marker {
  display: none;
}

.po-accordion__content {
  padding: 1rem 1.2rem;
}

.po-shortcode-wrap {
  overflow: hidden;
}

.po-shortcode-wrap .products {
  margin: 0 !important;
}

.po-auth__header {
  text-align: center;
  margin-bottom: 1.4rem;
}

.po-auth__header p {
  margin: 0.4rem auto 0;
  max-width: 64ch;
}

.po-auth__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.po-auth-card {
  background: #fff;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  padding: 1.2rem;
  box-shadow: var(--po-shadow);
}

.po-auth-card h2 {
  margin: 0 0 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 1.25rem;
}

.po-auth-card .form-row {
  margin-bottom: 0.85rem;
}

.po-auth-card label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.po-auth-card input[type="text"],
.po-auth-card input[type="email"],
.po-auth-card input[type="password"] {
  width: 100%;
  border: 1px solid #d6ccb8;
  border-radius: 8px;
  padding: 0.58rem 0.7rem;
  background: #fffefc;
  outline: none;
}

.po-auth-card input:focus {
  border-color: var(--po-brand);
  box-shadow: 0 0 0 3px rgba(199, 154, 79, 0.15);
}

.po-auth-card .lost_password {
  margin: 0.5rem 0 0;
}

.po-auth-card .lost_password a {
  color: #7a571f;
}

.po-footer {
  background: #0f1e34;
  color: #ecddc0;
  margin-top: 2.2rem;
  padding: 1.2rem 0;
}

.po-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.screen-reader-text {
  position: absolute;
  left: -10000px;
}

@media (max-width: 980px) {
  .po-header__top {
    min-height: 84px;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "branding actions"
      "branding actions";
  }

  .po-header__left {
    display: none;
  }

  .po-branding {
    justify-self: start;
  }

  .po-branding__name {
    font-size: 1.25rem;
  }

  .po-header-search {
    width: min(100%, 720px);
  }

  .po-main-nav ul {
    justify-content: center;
  }

  .po-grid,
  .po-products,
  .po-auth__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .po-header__top {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.65rem 0 0.8rem;
  }

  .po-branding {
    justify-self: center;
  }

  .po-branding__name {
    font-size: 1rem;
  }

  .po-header__actions {
    justify-self: center;
  }

  .po-header-search {
    width: 100%;
  }

  .po-header-search-band {
    padding: 0.5rem 0 0.62rem;
  }

  .po-header-action__meta {
    font-size: 0.72rem;
  }

  .po-grid,
  .po-products,
  .po-auth__grid {
    grid-template-columns: 1fr;
  }

  .po-slider__arrow {
    width: 34px;
    height: 40px;
  }

  .po-slide__title {
    max-width: 11ch;
  }

  .po-search-wrap {
    flex-direction: column;
    border-radius: 16px;
  }
}
