/*
Theme Name: Shop Duy
Author: Shop Duy
Description: Giao diện thời trang tiếng Việt từ mẫu ASM AI Marketing, hỗ trợ WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: shop-duy
License: GPL-2.0-or-later
*/
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,500&display=swap');
.account-button {
  font-size: 12px;
  padding: 8px;
}

.account-form {
  display: grid;
  gap: 18px;
  margin-top: 25px;
}

.account-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.account-form input,
.account-form textarea,
.order-toolbar select,
.order-card select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.account-form textarea {
  resize: vertical;
}

.account-switch {
  margin-top: 24px;
}

.form-error {
  color: #a22b2b;
  margin: 0;
  font-size: 12px;
}

button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.wide-dialog {
  max-width: 1000px;
}

.dashboard-actions,
.order-toolbar,
.order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.dashboard-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 25px 0;
}

.admin-stats > div {
  padding: 20px;
  background: #e7e9dd;
}

.admin-stats span {
  display: block;
  font-size: 11px;
  margin-bottom: 12px;
}

.admin-stats strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.order-toolbar select {
  width: auto;
  font-size: 12px;
}

.order-card {
  border: 1px solid var(--line);
  padding: 22px;
  margin-top: 18px;
  overflow-wrap: anywhere;
}

.order-card p,
.order-card li {
  font-size: 12px;
  line-height: 1.8;
}

.order-card ul {
  padding-left: 20px;
}

.order-card small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
}

.status-pill {
  background: var(--accent);
  padding: 7px 12px;
  font-size: 10px;
}

@media (max-width: 850px) {
  header {
    gap: 10px;
    flex-wrap: wrap;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .account-button,
  .bag {
    font-size: 10px;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }
}

:root {
  --paper: #f7f6f2;
  --ink: #22251f;
  --muted: #77796f;
  --line: #dedfd6;
  --accent: #d9e4b9
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Be Vietnam Pro',sans-serif;
  font-size: 14px
}
button,input,select {
  font: inherit
}
button,a,input,select {
  -webkit-tap-highlight-color: transparent
}
button,a {
  cursor: pointer
}
a {
  color: inherit;
  text-decoration: none
}
button {
  color: inherit
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}
button {
  border: 0;
  background: none
}
a:focus-visible,button:focus-visible {
  outline: 2px solid #6d7f40;
  outline-offset: 5px
}
.announcement {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 11px;
  font-size: 10px;
  letter-spacing: 1px
}
.announcement a {
  margin-left: 24px;
  text-decoration: underline
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 5%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10
}
.logo {
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1
}
.logo span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-top: 7px
}
nav {
  display: flex;
  gap: 30px;
  font-size: 12px
}
nav a:hover,nav .active {
  border-bottom: 1px solid;
  padding-bottom: 5px
}
.bag {
  font-size: 12px
}
.bag span {
  background: var(--ink);
  color: white;
  border-radius: 50%;
  padding: 4px 7px;
  margin-left: 6px
}
.mobile {
  display: none
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 610px
}
.hero-copy {
  padding: 75px 10% 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600
}
h1 {
  font-size: clamp(40px,5.3vw,80px);
  letter-spacing: -3.5px;
  line-height: 1.15;
  margin: 32px 0 23px;
  font-weight: 500
}
em {
  font-family: 'Playfair Display',serif;
  font-weight: 500
}
p {
  line-height: 1.9;
  color: var(--muted)
}
.hero-copy p {
  margin: 0 0 30px
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 18px 24px;
  font-size: 12px
}
.dark {
  background: var(--ink);
  color: white
}
.dark:hover {
  background: #424936
}
.hero-bottom {
  margin-top: auto;
  padding-top: 60px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 8px;
  letter-spacing: 1.2px
}
.hero-photo {
  position: relative;
  overflow: hidden
}
.hero-photo img {
  position: absolute;
  filter: brightness(.82);
  object-position: 50% 35%
}
.photo-note {
  position: absolute;
  bottom: 64px;
  left: 40px;
  color: white;
  font-weight: 700;
  font-size: 50px;
  letter-spacing: -2px;
  line-height: 1.05
}
.photo-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  color: white;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  font-size: 9px
}
.benefits {
  display: flex;
  justify-content: space-around;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 11px
}
.section {
  padding: 76px 5%
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px
}
h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1.3px;
  margin: 13px 0 0
}
.section-heading>a {
  font-size: 11px;
  border-bottom: 1px solid;
  padding-bottom: 6px
}
.collections {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px
}
.collection {
  position: relative;
  height: 390px;
  overflow: hidden;
  background: #e6e4dc
}
.collection img {
  transition: transform .6s;
  filter: brightness(.8)
}
.collection:hover img {
  transform: scale(1.04)
}
.collection>div {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: white
}
.collection h3 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 10px
}
.collection span {
  font-size: 11px
}
.products-section {
  padding-top: 20px
}
.muted {
  color: var(--muted);
  font-size: 11px
}
.product-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 23px;
  margin-bottom: 30px
}
.filters {
  display: flex;
  gap: 8px
}
.filters button {
  padding: 10px 17px;
  border-radius: 3px;
  font-size: 11px
}
.filters .selected {
  background: var(--ink);
  color: white
}
.search-sort {
  display: flex;
  gap: 12px
}
.search-sort input,.search-sort select {
  border: 1px solid var(--line);
  padding: 10px;
  background: transparent;
  min-width: 0;
  font-size: 11px
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px 20px
}
.product-photo {
  height: 320px;
  position: relative;
  background: #e8e7e1;
  overflow: hidden
}
.product-photo img {
  transition: transform .5s
}
.product-card:hover img {
  transform: scale(1.04)
}
.product-photo>button {
  width: 100%;
  height: 100%;
  padding: 0
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  background: var(--paper);
  font-size: 8px;
  letter-spacing: 1px;
  pointer-events: none
}
.quick-add {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px!important;
  height: 34px!important;
  border-radius: 50%;
  background: white;
  font-size: 22px
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-top: 14px
}
.product-meta h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0
}
.product-card p {
  font-size: 10px;
  margin: 7px 0
}
.product-price {
  font-size: 11px;
  white-space: nowrap
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e7e9dd;
  margin-top: 20px
}
.editorial-image {
  height: 540px
}
.editorial-copy {
  padding: 65px 15%
}
.editorial h2 {
  font-size: 44px;
  line-height: 1.2
}
.editorial p {
  font-size: 12px;
  margin: 24px 0
}
.text-link {
  font-size: 11px;
  border-bottom: 1px solid;
  padding-bottom: 8px
}
.newsletter {
  text-align: center;
  padding: 80px 20px
}
.newsletter p {
  font-size: 12px
}
.newsletter form {
  display: flex;
  max-width: 460px;
  margin: 26px auto 14px;
  border-bottom: 1px solid var(--ink)
}
.newsletter input {
  flex: 1;
  width: 0;
  border: 0;
  padding: 15px 0;
  background: none;
  outline-offset: 3px;
  font-size: 12px
}
.newsletter button {
  font-size: 12px
}
.newsletter small {
  font-size: 9px;
  color: var(--muted)
}
footer {
  background: var(--ink);
  color: #fff;
  padding: 50px 5% 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px
}
footer p {
  font-size: 11px;
  color: #b5b7ad
}
footer h4 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 18px
}
footer>div>a:not(.logo),footer button {
  display: block;
  font-size: 11px;
  color: #b5b7ad;
  margin: 12px 0;
  padding: 0
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #46493e;
  padding-top: 20px;
  font-size: 9px;
  color: #b5b7ad
}
dialog {
  border: 0;
  padding: 38px;
  background: var(--paper);
  color: var(--ink);
  max-width: 760px;
  width: 90%;
  max-height: 90dvh;
  overflow: auto
}
dialog::backdrop {
  background: #1119;
  backdrop-filter: blur(3px)
}
.close {
  font-size: 28px;
  position: absolute;
  right: 15px;
  top: 10px
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px
}
.detail-grid img {
  height: 390px
}
.detail-grid h2 {
  margin: 20px 0
}
.detail-grid label {
  display: block;
  margin: 18px 0;
  font-size: 12px
}
.detail-grid select {
  padding: 10px;
  border: 1px solid var(--line);
  background: none;
  margin-left: 12px
}
.detail-grid .button {
  width: 100%;
  margin-top: 12px
}
.cart-dialog {
  max-width: 520px
}
.dialog-heading h2 {
  font-size: 23px;
  margin: 0 0 25px
}
.cart-row {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0
}
.cart-row img {
  width: 70px;
  height: 90px
}
.cart-row h3 {
  font-size: 12px;
  margin: 0
}
.cart-row p {
  font-size: 11px;
  margin: 5px 0
}
.quantity {
  display: flex;
  align-items: center;
  gap: 12px
}
.quantity button {
  border: 1px solid var(--line);
  width: 25px;
  height: 25px
}
.remove {
  font-size: 10px;
  text-decoration: underline;
  margin-left: auto;
  align-self: start
}
.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 22px 0
}
.cart-dialog>.button {
  width: 100%
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%,20px);
  background: var(--ink);
  color: white;
  padding: 15px 24px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  font-size: 12px;
  max-width: 90%;
  text-align: center
}
#toast.show {
  opacity: 1;
  transform: translate(-50%,0)
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0)
}
@media(min-width:1500px) {
  main,header,footer {
    max-width: 1700px;
    margin: auto
  }
}
@media(max-width:1000px) {
  nav {
    gap: 16px
  }
  .hero {
    min-height: 520px
  }
  .hero-copy {
    padding-top: 55px
  }
  .product-grid {
    grid-template-columns: repeat(3,1fr)
  }
  .product-toolbar {
    flex-wrap: wrap
  }
  .collection {
    height: 310px
  }
  .editorial-copy {
    padding: 50px 10%
  }
  .editorial h2 {
    font-size: 36px
  }
  .product-photo {
    height: 290px
  }
}
@media(max-width:650px) {
  .announcement {
    font-size: 8px;
    letter-spacing: 0
  }
  .announcement a {
    margin-left: 8px
  }
  header {
    padding: 17px 5%;
    flex-wrap: wrap
  }
  .logo {
    font-size: 31px
  }
  .mobile {
    display: block;
    margin-left: auto;
    margin-right: 20px
  }
  nav {
    display: none;
    order: 4;
    width: 100%;
    padding-top: 25px;
    flex-wrap: wrap
  }
  nav.open {
    display: flex
  }
  .hero {
    grid-template-columns: 1fr
  }
  .hero-copy {
    padding: 40px 6% 25px
  }
  h1 {
    font-size: 52px;
    margin-top: 24px
  }
  .hero-bottom {
    padding-top: 35px
  }
  .hero-photo {
    height: 390px
  }
  .photo-note {
    font-size: 40px;
    bottom: 30px;
    left: 25px
  }
  .benefits {
    gap: 12px;
    padding: 18px 5%;
    font-size: 8px;
    line-height: 1.7
  }
  .section {
    padding: 45px 5%
  }
  h2 {
    font-size: 25px
  }
  .section-heading {
    align-items: start
  }
  .section-heading>a {
    white-space: nowrap;
    font-size: 9px
  }
  .section-heading>.muted {
    display: none
  }
  .collections {
    gap: 12px;
    grid-template-columns: 1fr
  }
  .collection {
    height: 280px
  }
  .collection img {
    object-position: center 35%
  }
  .product-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 25px 12px
  }
  .product-photo {
    height: 245px
  }
  .product-meta {
    align-items: start;
    flex-direction: column;
    gap: 7px
  }
  .search-sort {
    width: 100%
  }
  .search-sort input {
    flex: 1;
    width: 50%
  }
  .filters {
    gap: 0
  }
  .filters button {
    padding: 10px 15px
  }
  .editorial {
    grid-template-columns: 1fr
  }
  .editorial-image {
    height: 320px
  }
  .editorial-copy {
    padding: 40px 7%
  }
  .newsletter {
    padding: 50px 5%
  }
  .newsletter h2 {
    font-size: 24px
  }
  footer {
    grid-template-columns: 1fr 1fr
  }
  footer>div:first-child {
    grid-column: 1/-1
  }
  .detail-grid {
    grid-template-columns: 1fr
  }
  .detail-grid img {
    height: 260px
  }
  dialog {
    padding: 30px 20px
  }
  .footer-bottom {
    font-size: 8px;
    gap: 20px
  }
  .eyebrow {
    font-size: 9px
  }
  .badge {
    font-size: 7px;
    left: 9px;
    top: 9px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *,*::before,*::after {
    transition: none!important
  }
}

.wp-site-content{max-width:1200px;margin:60px auto;padding:0 24px;min-height:45vh}.wp-site-content h1{margin-bottom:25px}.wp-site-content p{margin-bottom:16px}.wp-site-content img{max-width:100%;height:auto}.product-card a{color:inherit;text-decoration:none}.product-card img{width:100%;aspect-ratio:3/4;object-fit:cover}.product-card h3{margin:16px 0 8px}.product-card .price{display:block;margin:10px 0}.product-card .button{margin:12px 0}.shop-links{display:flex;gap:14px;align-items:center;font-size:12px}.woocommerce div.product{padding-top:24px}.woocommerce ul.products li.product .button{display:inline-block}.woocommerce input,.woocommerce select,.woocommerce textarea{padding:10px;max-width:100%}.woocommerce .quantity input{padding:8px}.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button{background:#252b23;color:white;border-radius:0}.woocommerce div.product .woocommerce-tabs{padding-top:32px}.woocommerce .woocommerce-breadcrumb{margin-bottom:25px}.admin-bar header{scroll-margin-top:32px}.product-toolbar form{display:flex;gap:10px;flex-wrap:wrap;width:100%;align-items:center}.product-toolbar input,.product-toolbar select{padding:12px;border:1px solid var(--line);background:transparent;font:inherit}.contact-link{display:inline-block;margin-top:20px}.custom-logo{max-width:130px;height:auto}.page-numbers{display:inline-block;padding:8px}.wp-site-content .alignwide{max-width:100%}@media(max-width:650px){.shop-links{gap:8px;font-size:11px}.product-toolbar input{width:100%}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}}
