* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4e5cc;
  color: #2b1608;
}

a {
  text-decoration: none;
}

.announcement {
  background: #241004;
  color: #fff1cf;
  padding: 9px 22px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.topbar {
  background: linear-gradient(90deg, #2b1205, #55280d);
  color: white;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  background: linear-gradient(135deg, #c9904a, #8b4a1c);
  color: white;
  font-weight: 900;
  font-size: 24px;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

.brand h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 30px;
}

.brand p {
  margin: 4px 0 0;
  color: #ffe8bc;
}

nav {
  background: rgba(31, 12, 3, .45);
  padding: 12px;
}

nav a {
  color: white;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 8px;
}

nav a:hover {
  background: rgba(255,255,255,.12);
}

.hero-home {
  min-height: 760px;
  padding: 110px 42px 80px;
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 50px;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(20,8,2,.78), rgba(70,35,8,.40), rgba(20,8,2,.55)),
    url("images/apf-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-text {
  max-width: 760px;
}

.hero-small {
  color: #ffe1a6;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0,0,0,.85);
}

.hero-text h2 {
  color: white;
  font-size: 54px;
  line-height: 1.05;
  margin: 20px 0 10px;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0,0,0,.9);
}

.hero-text h1 {
  color: #ffe4a3;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 78px;
  margin: 15px 0;
  text-shadow: 0 6px 20px rgba(0,0,0,.95);
}

.hero-text p {
  color: #fff6e3;
  font-size: 20px;
  line-height: 1.55;
  text-shadow: 0 4px 12px rgba(0,0,0,.85);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.hero-actions a {
  padding: 18px 30px;
  border-radius: 13px;
  font-weight: 900;
  color: #2b1608;
  background: #fff0d2;
  box-shadow: 0 12px 24px rgba(0,0,0,.28);
}

.hero-actions a:nth-child(2) {
  background: linear-gradient(135deg, #9b551f, #55270c);
  color: white;
}

.auction-panel {
  background: #fff8ee;
  border-radius: 24px;
  padding: 24px;
  border-top: 7px solid #ca9144;
  box-shadow: 0 28px 65px rgba(0,0,0,.48);
}

.live-header {
  background: #2b1205;
  color: white;
  padding: 16px;
  font-size: 22px;
  font-weight: 900;
  margin: -8px -8px 14px;
}

.live-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  background: red;
  border-radius: 50%;
  margin-right: 8px;
}

.seller-window {
  height: 150px;
  background:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)),
    url("images/apf-hero.png");
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  color: white;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.seller-badge {
  background: #c62818;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  font-weight: 900;
  margin-bottom: 8px;
}

.auction-panel h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  color: #3a1706;
  margin: 14px 0;
}

.bid-box {
  background: linear-gradient(#fff4da, #efd39b);
  border: 1px solid #d6a958;
  border-radius: 17px;
  padding: 18px;
  text-align: center;
}

.bid-box span {
  text-transform: uppercase;
  color: #6b3715;
  font-weight: 900;
  letter-spacing: 1px;
}

.bid-box h1 {
  margin: 8px 0 0;
  font-size: 48px;
  color: #8e2e16;
}

.auction-info {
  background: #fffdf8;
  padding: 13px;
  border-radius: 12px;
}

.main-bid {
  width: 100%;
  padding: 17px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #b8732b, #7b3b12);
  color: white;
  font-weight: 900;
  font-size: 20px;
}

.quick-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.quick-buttons button {
  padding: 14px 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #b8732b, #7b3b12);
  color: white;
  font-weight: 900;
}

.checkout-link {
  display: block;
  margin-top: 14px;
  text-align: center;
  background: #075b83;
  color: white;
  padding: 15px;
  border-radius: 12px;
  font-weight: 900;
}

.trust-row {
  padding: 40px 35px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  background: #fff7e9;
}

.trust-row div,
.collection-card,
.mission-card,
.upcoming-card,
.why-card {
  background: white;
  border-top: 5px solid #c58a3b;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 16px 35px rgba(78,39,10,.16);
  text-align: center;
}

.collections {
  padding: 50px 35px;
}

.collections h2,
.home-bottom h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  text-align: center;
  color: #3a1706;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.collection-card {
  min-height: 210px;
  text-align: left;
}

.collection-card h3 {
  font-family: Georgia, serif;
  font-size: 24px;
}

.collection-card a {
  color: #7b3b12;
  font-weight: 900;
}

.home-bottom {
  padding: 20px 35px 55px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
}

.mission-card {
  background: linear-gradient(rgba(43,18,5,.82), rgba(43,18,5,.82)), url("images/apf-hero.png");
  background-size: cover;
  color: white;
}

.mission-card h2 {
  color: #ffe4a3;
}

footer {
  background: #2b1205;
  color: #ffe7bd;
  display: flex;
  justify-content: space-between;
  padding: 38px;
}

footer h2 {
  font-family: Georgia, serif;
  margin: 0;
}

button,
.hero-actions a,
.checkout-link {
  transition: .2s ease;
}

button:hover,
.hero-actions a:hover,
.checkout-link:hover {
  transform: translateY(-2px);
}

@media(max-width: 900px) {
  .announcement,
  .topbar,
  footer {
    flex-direction: column;
    gap: 15px;
  }

  .hero-home {
    grid-template-columns: 1fr;
    padding: 70px 24px;
  }

  .hero-text h2 {
    font-size: 40px;
  }

  .hero-text h1 {
    font-size: 54px;
  }

  .trust-row,
  .collection-grid,
  .home-bottom {
    grid-template-columns: 1fr;
  }
}

/* APF V3 TOP SPACING FIX */
.announcement {
  min-height: 30px;
}

.topbar {
  min-height: 105px;
}

.hero-home {
  margin-top: 0;
}

main {
  margin-top: 0;
}

.collection-card {
  background:
    linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.92)),
    url("images/apf-hero.png");
  background-size: cover;
  background-position: center;
}

.collection-card:hover {
  transform: translateY(-5px);
  transition: .2s ease;
}

/* APF COLLECTION IMAGE CARDS */
.collection-card {
  min-height: 260px !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  background-size: cover !important;
  background-position: center !important;
}

.collection-card.western {
  background-image: url("images/apf-hero.png") !important;
}

.collection-card.tack {
  background-image: url("images/apf-hero.png") !important;
}

.collection-card.faith {
  background-image: url("images/apf-hero.png") !important;
}

.collection-card.boots {
  background-image: url("images/apf-hero.png") !important;
}

.card-overlay {
  height: 100%;
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: linear-gradient(rgba(0,0,0,.15), rgba(35,15,4,.78));
  color: white;
}

.card-overlay h3 {
  color: white !important;
  font-size: 27px;
  margin: 0 0 8px;
}

.card-overlay p {
  color: #ffe8bd;
  font-weight: 700;
}

.card-overlay a {
  color: #ffe4a3 !important;
  font-weight: 900;
}

/* APF UPCOMING AUCTION CARD POLISH */
.auction-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.auction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff7e9;
  border: 1px solid #dfb36f;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 10px 20px rgba(78,39,10,.12);
}

.auction-item h3 {
  margin: 0 0 6px;
  color: #3a1706;
  font-size: 20px;
}

.auction-item p {
  margin: 0;
  color: #6a3a17;
  font-weight: 700;
}

.auction-item button {
  background: linear-gradient(135deg, #b8732b, #7b3b12);
  color: white;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 900;
}

/* APF FOOTER POLISH */
footer {
  padding: 45px 35px !important;
  background:
    linear-gradient(rgba(35,14,4,.95), rgba(35,14,4,.95)),
    url("images/apf-hero.png") !important;
  background-size: cover !important;
  background-position: center !important;
  border-top: 4px solid #c58a3b;
}

footer h2 {
  color: #ffe4a3 !important;
  font-size: 30px !important;
}

footer p {
  font-size: 16px !important;
}

footer em {
  color: #fff1cf !important;
  font-size: 19px !important;
}

/* ===========================
   APF SHOP PAGE
=========================== */

.shop-hero{
padding:60px 40px 30px;
text-align:center;
background:linear-gradient(rgba(25,12,4,.45),rgba(25,12,4,.45)),url("images/apf-hero.png");
background-size:cover;
background-position:center;
color:white;
}

.shop-hero h1{
font-size:54px;
margin-bottom:10px;
}

.shop-hero p{
font-size:22px;
}

.shop-toolbar{
display:flex;
justify-content:center;
gap:20px;
padding:30px;
background:#f8efe0;
}

.shop-toolbar input,
.shop-toolbar select{
padding:14px;
border-radius:10px;
border:2px solid #c28b45;
font-size:16px;
}

.product-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
padding:50px;
}

.product-card{
background:white;
border-radius:18px;
overflow:hidden;
box-shadow:0 12px 30px rgba(0,0,0,.12);
position:relative;
transition:.25s;
}

.product-card:hover{
transform:translateY(-8px);
}

.product-image{
height:240px;
display:flex;
align-items:center;
justify-content:center;
font-size:90px;
background:linear-gradient(rgba(25,12,4,.15),rgba(25,12,4,.15)),url("images/apf-hero.png");
background-size:cover;
background-position:center;
}

.sale-badge{
position:absolute;
top:18px;
left:18px;
background:#d12626;
color:white;
padding:8px 14px;
border-radius:30px;
font-weight:700;
}

.product-card h3{
padding:18px 20px 6px;
font-size:28px;
}

.product-card p{
padding:0 20px;
}

.product-card strong{
display:block;
padding:20px;
font-size:30px;
color:#8a4d18;
}

.product-card button{
margin:0 20px 25px;
width:calc(100% - 40px);
padding:16px;
border:0;
border-radius:12px;
background:#8b4d18;
color:white;
font-size:18px;
font-weight:bold;
cursor:pointer;
}

.product-card button:hover{
background:#a35b1f;
}


/* APF SHOP PREMIUM POLISH */
.shop-hero {
  padding: 95px 40px !important;
  border-bottom: 5px solid #c58a3b;
}

.shop-hero h1 {
  font-family: Georgia, serif !important;
  color: #ffe4a3 !important;
  text-shadow: 0 5px 18px rgba(0,0,0,.9);
}

.product-card {
  border-top: 5px solid #c58a3b;
}

.product-card h3 {
  font-family: Georgia, serif;
  color: #351606;
}

.product-card button {
  background: linear-gradient(135deg, #b8732b, #6b2f0d) !important;
}

.shop-toolbar {
  border-bottom: 1px solid #e0bd82;
}

.cart-page {
  padding: 45px;
  max-width: 900px;
  margin: 0 auto;
}

.cart-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 5px solid #c58a3b;
  box-shadow: 0 12px 28px rgba(78,39,10,.14);
}

.cart-item h3 {
  margin: 0 0 6px;
  font-family: Georgia, serif;
  color: #351606;
}

.cart-item button {
  background: #8b2f16;
  color: white;
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 900;
}

.cart-page .main-bid {
  margin: 10px 8px 10px 0;
  max-width: 260px;
}

/* APF CART PAGE POLISH */
.cart-page {
  background: #fff7e9;
  border-radius: 22px;
  margin-top: 45px !important;
  margin-bottom: 55px !important;
  box-shadow: 0 18px 40px rgba(78,39,10,.14);
}

#cartTotal {
  font-family: Georgia, serif;
  font-size: 34px;
  color: #351606;
  border-top: 2px solid #d8ad69;
  padding-top: 22px;
}

.cart-page button {
  cursor: pointer;
}

.cart-page .main-bid:nth-of-type(2) {
  background: linear-gradient(135deg, #075b83, #04334a) !important;
}

.checkout-customer {
  display: grid;
  gap: 12px;
  margin-bottom: 25px;
}

.checkout-customer input {
  padding: 15px;
  border-radius: 12px;
  border: 2px solid #c58a3b;
  font-size: 16px;
}

.paypal-btn {
  background: linear-gradient(135deg, #ffc439, #f0a800) !important;
  color: #111 !important;
}

/* APF ADMIN PRODUCTS POLISH */
#productList .cart-item {
  text-align: left;
}

#productList .cart-item h3 {
  font-size: 24px;
}

#productList .cart-item p {
  margin: 5px 0;
}

#productList .cart-item button {
  background: #8b2f16;
}

.cart-page h2 {
  font-family: Georgia, serif;
  color: #351606;
  font-size: 32px;
}

.cart-page {
  border-top: 5px solid #c58a3b;
}

.image-preview {
  margin: 25px 0;
  text-align: center;
}

.image-preview img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid #c58a3b;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.sold-out {
  margin-top: 12px;
  padding: 10px;
  background: #8b0000;
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
}

.inventory-status {
  margin: 10px 0;
  font-weight: bold;
  color: #2f6b2f;
}

.admin-auction-product {
  background: rgba(255,255,255,.08);
  border: 1px solid #c58a3b;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  color: #fff1cc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-auction-product button {
  background: #45df57;
  color: #111;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 900;
}

.auction-live-btn {
  background: #ffcc33 !important;
  color: #111 !important;
}

.auction-disabled {
  background: #777 !important;
  color: white !important;
  cursor: not-allowed !important;
}

/* FIX LIVE AUCTION ITEM IMAGE POSITION */
.auction-image,
#itemImage,
#liveImage {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  max-height: 260px !important;
  object-fit: contain !important;
  display: block;
  margin: 12px auto !important;
  border-radius: 14px;
}

.sale-mode-note {
  background: rgba(255,255,255,.08);
  border: 1px solid #c58a3b;
  border-radius: 14px;
  padding: 16px;
  color: #fff1cc;
  margin-top: 14px;
}

.item-number-badge {
  display: inline-block;
  background: #2b1205;
  color: #ffe4a3;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 900;
  margin: 8px 0;
}

.sell-mode-btn {
  background: linear-gradient(135deg, #c58a3b, #7b3b12) !important;
  color: white !important;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 900;
  margin-right: 6px;
}

.regular-sale-btn {
  background: linear-gradient(135deg, #075b83, #04334a) !important;
  color: white !important;
}

.control-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  padding: 35px;
}

.control-card {
  background: white;
  border-top: 5px solid #c58a3b;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 35px rgba(78,39,10,.16);
}

@media(max-width: 900px) {
  .control-grid {
    grid-template-columns: 1fr;
  }
}

.sale-status{
display:inline-block;
padding:6px 12px;
border-radius:20px;
font-weight:700;
font-size:13px;
margin-top:8px;
}

.status-none{
background:#777;
color:white;
}

.status-auction{
background:#2ecc71;
color:white;
}

.status-regular{
background:#3498db;
color:white;
}

.status-flash{
background:#f39c12;
color:white;
}

.status-giveaway{
background:#9b59b6;
color:white;
}

.queue-item {
  background: #fff7e9;
  border-left: 6px solid #c58a3b;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  font-weight: 800;
}

.queue-actions button {
  margin: 6px 6px 0 0;
}

.sell-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.sell-modal-box {
  background: #fff7e9;
  border-top: 6px solid #c58a3b;
  border-radius: 22px;
  padding: 30px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 25px 70px rgba(0,0,0,.45);
}

.sell-modal-box h2 {
  font-family: Georgia, serif;
  color: #351606;
}

.sell-choice {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  font-size: 17px;
  background: linear-gradient(135deg, #c58a3b, #7b3b12);
  color: white;
}

.sell-cancel {
  background: #777 !important;
}

.admin-hero {
  padding: 70px 35px;
  text-align: center;
  background:
    linear-gradient(rgba(35,14,4,.70), rgba(35,14,4,.70)),
    url("images/apf-hero.png");
  background-size: cover;
  background-position: center;
  color: white;
}

.admin-hero h1 {
  font-family: Georgia, serif;
  font-size: 54px;
  color: #ffe4a3;
  margin: 0 0 12px;
}

.admin-hero p {
  font-size: 20px;
}

.hub-grid {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.hub-card {
  display: block;
  background: white;
  color: #351606;
  border-radius: 20px;
  padding: 28px;
  border-top: 6px solid #c58a3b;
  box-shadow: 0 16px 35px rgba(78,39,10,.16);
  transition: .2s ease;
}

.hub-card:hover {
  transform: translateY(-6px);
}

.hub-card h2 {
  font-family: Georgia, serif;
  margin-top: 0;
}

/* ================================
   APF LIVE CUSTOMER PAGE
================================ */

.live-body {
  background: #120b06;
  color: #fff7e6;
}

.live-top {
  background: linear-gradient(90deg, #1b0d04, #5a351c);
  border-bottom: 3px solid #c89554;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-top h1 {
  margin: 0;
  font-family: Georgia, serif;
}

.live-top p {
  margin: 4px 0 0;
  color: #f2d9a6;
}

.live-top a {
  background: #c89554;
  color: #1b0d04;
  padding: 13px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
}

.live-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  padding: 18px;
  max-width: 1500px;
  margin: 0 auto;
}

.live-video-box,
.live-item-card,
.live-side-card {
  background: #21140b;
  border: 1px solid #c89554;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 35px rgba(0,0,0,.35);
}

.live-video-box {
  position: relative;
}

.live-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #b7251f;
  color: white;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: bold;
  z-index: 2;
}

.video-placeholder {
  height: 430px;
  background: #050505;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f2d9a6;
  font-size: 28px;
  text-align: center;
}

.live-item-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
}

.live-item-img,
.live-item-placeholder {
  width: 100%;
  height: 330px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid #c89554;
}

.live-item-placeholder {
  background: #120b06;
  color: #d2b27a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.live-mode {
  display: inline-block;
  background: #b7251f;
  color: white;
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: bold;
  margin: 0;
}

.live-item-right h2 {
  font-family: Georgia, serif;
  font-size: 38px;
  color: #f2d9a6;
  margin: 12px 0;
}

.live-bid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}

.live-bid-grid div {
  background: #120b06;
  border: 1px solid #5c3a20;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

.live-bid-grid small {
  color: #d2b27a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-bid-grid h1 {
  margin: 8px 0 0;
  font-size: 52px;
}

#bid {
  color: #60ff6b;
}

#time {
  color: #ffcf5c;
}

.live-info {
  background: #120b06;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #5c3a20;
}

.live-main-bid {
  background: #23b34b;
  color: white;
  width: 100%;
  border: none;
  padding: 18px;
  font-size: 22px;
  border-radius: 14px;
  font-weight: bold;
  cursor: pointer;
}

.live-quick {
  margin-top: 12px;
}

.live-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.live-side-card h2 {
  color: #f2d9a6;
  margin-top: 0;
  font-family: Georgia, serif;
}

.live-checkout-btn {
  display: block;
  background: #c89554;
  color: #1b0d04;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 12px;
}

.chat-placeholder {
  min-height: 220px;
  background: #120b06;
  border: 1px solid #5c3a20;
  border-radius: 14px;
  padding: 14px;
  color: #d2b27a;
}

#recentlySoldPreview,
#liveCartPreview {
  background: #120b06;
  border: 1px solid #5c3a20;
  border-radius: 14px;
  padding: 14px;
  color: #fff7e6;
}

@media (max-width: 1000px) {
  .live-layout,
  .live-item-card {
    grid-template-columns: 1fr;
  }

  .live-top {
    display: block;
    text-align: center;
  }

  .live-top a {
    display: inline-block;
    margin-top: 12px;
  }

  .video-placeholder {
    height: 260px;
    font-size: 20px;
  }

  .live-item-img,
  .live-item-placeholder {
    height: 260px;
  }
}


/* APF Live compact launch layout */
.live-video-box {
  padding: 12px;
}

.video-placeholder {
  height: 300px;
}

.live-item-card {
  margin-top: 12px;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  padding: 14px;
}

.live-item-img,
.live-item-placeholder {
  height: 240px;
}

.live-item-right h2 {
  font-size: 30px;
  margin: 8px 0;
}

.live-bid-grid {
  margin: 10px 0;
}

.live-bid-grid div {
  padding: 12px;
}

.live-bid-grid h1 {
  font-size: 40px;
}

.live-main-bid {
  padding: 14px;
  font-size: 20px;
}

.live-side-card {
  padding: 14px;
}

.chat-placeholder {
  min-height: 130px;
}

@media (max-width: 700px) {
  .live-layout {
    display: block;
    padding: 8px;
  }

  .live-top {
    padding: 10px;
  }

  .live-top h1 {
    font-size: 22px;
  }

  .video-placeholder {
    height: 190px;
    font-size: 17px;
  }

  .live-item-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .live-item-img,
  .live-item-placeholder {
    height: 120px;
    font-size: 12px;
  }

  .live-item-right h2 {
    font-size: 20px;
  }

  .live-bid-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .live-bid-grid h1 {
    font-size: 26px;
  }

  .live-info {
    padding: 7px;
    margin: 5px 0;
    font-size: 13px;
  }

  .live-main-bid {
    padding: 11px;
    font-size: 16px;
  }

  .live-quick button {
    padding: 9px;
    font-size: 13px;
  }

  .live-sidebar {
    margin-top: 10px;
  }
}


/* Auction excitement */
.timer-warning {
  color: #ff9f1c !important;
  animation: apfPulse 1s infinite;
}

.timer-danger {
  color: #ff3333 !important;
  animation: apfPulse .45s infinite;
}

.bid-flash {
  animation: apfBidFlash .6s ease;
}

@keyframes apfPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes apfBidFlash {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}


.sold-celebration {
  position: fixed;
  inset: 0;
  background: rgba(18, 11, 6, 0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: soldFadeIn .35s ease;
}

.sold-celebration-box {
  background: #21140b;
  border: 4px solid #c89554;
  border-radius: 24px;
  padding: 40px;
  max-width: 620px;
  width: 90%;
  box-shadow: 0 0 60px rgba(200,149,84,.55);
}

.sold-celebration-box h1 {
  font-size: 64px;
  color: #ffcf5c;
  margin: 0 0 15px;
}

.sold-celebration-box h2 {
  color: #f2d9a6;
  font-size: 34px;
}

.sold-celebration-box p {
  font-size: 22px;
}

@keyframes soldFadeIn {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}


.horse-race-row {
  font-size: 28px;
  margin: 14px 0;
  text-align: left;
  animation: horseRun 5s ease-in-out forwards;
}

.horse-race-row:nth-child(1) { animation-duration: 4.6s; }
.horse-race-row:nth-child(2) { animation-duration: 5.1s; }
.horse-race-row:nth-child(3) { animation-duration: 4.9s; }
.horse-race-row:nth-child(4) { animation-duration: 5.3s; }

@keyframes horseRun {
  from { transform: translateX(0); }
  to { transform: translateX(140px); }
}


.apf-race-track {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(#6b3f1f, #3a2112);
  border: 4px solid #c89554;
  border-radius: 22px;
  padding: 18px;
  box-shadow: inset 0 0 25px rgba(0,0,0,.45);
}

.apf-race-header {
  display: flex;
  justify-content: space-between;
  font-size: 24px;
  color: #ffcf5c;
  margin-bottom: 14px;
  border-bottom: 3px dashed #f4e3b2;
  padding-bottom: 10px;
}

.apf-race-lane {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid rgba(255,255,255,.35);
  padding: 12px 0;
}

.apf-race-name {
  font-size: 24px;
  font-weight: bold;
  color: #fff4c7;
  text-align: left;
}

.apf-race-line {
  position: relative;
  height: 42px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
  border-right: 8px solid #fff;
}

.apf-running-horse {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 32px;
  animation: apfHorseTrackRun 5s ease-in-out forwards;
}

@keyframes apfHorseTrackRun {
  from { left: 0; }
  to { left: var(--race-distance); }
}

.apf-race-footer {
  margin-top: 18px;
  font-size: 24px;
  color: #ffcf5c;
  font-weight: bold;
}


.apf-race-track::before {
  content: "ANSWERED PRAYER FARMS LIVE RACE";
  display: block;
  background: #1f1209;
  color: #ffcf5c;
  border: 2px solid #c89554;
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.apf-race-line::after {
  content: "🏁";
  position: absolute;
  right: 6px;
  top: 2px;
  font-size: 30px;
}

.apf-race-lane:nth-child(even) {
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  padding-left: 8px;
  padding-right: 8px;
}


/* ===========================
   APF LIVE STUDIO
=========================== */

.studio-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
    padding:25px;
    max-width:1700px;
    margin:auto;
}

.studio-main{
    min-height:340px;
}

.studio-main h3{
    font-size:36px;
    margin:10px 0;
}

.studio-main h1{
    font-size:72px;
    color:#4cff4c;
    margin:10px 0;
}

.studio-main h2{
    font-size:42px;
    color:#ffcf5c;
}

.studio-main p{
    font-size:24px;
}

.card{
    background:#1f1f1f;
    border:2px solid #6e4b2b;
    border-radius:18px;
    padding:20px;
    box-shadow:0 0 18px rgba(0,0,0,.45);
}

.card h2{
    color:#ffcf5c;
    margin-bottom:15px;
}

.list-card{
    background:#2b2b2b;
    border-left:6px solid #c89554;
    border-radius:10px;
    padding:12px;
    margin-bottom:10px;
}

@media (max-width:1100px){

.studio-grid{
    grid-template-columns:1fr;
}

}


.auction-control-panel {
  background: #151515;
  border: 2px solid #c89554;
  border-radius: 18px;
  padding: 18px;
  margin-top: 12px;
}

.auction-control-panel button {
  margin: 5px;
}


.auction-control-panel {
  background: #151515;
  border: 2px solid #c89554;
  border-radius: 18px;
  padding: 18px;
  margin-top: 12px;
}

.auction-control-panel button {
  margin: 5px;
}


/* APF WESTERN LAUNCH HOMEPAGE */
.home-western {
  margin:0;
  background:#140905;
  color:#fff4dc;
  font-family:Georgia, serif;
}

.announcement {
  background:#2b1208;
  color:#f3d18a;
  text-align:center;
  padding:10px;
  font-weight:bold;
  letter-spacing:1px;
}

.western-header {
  background:rgba(25,10,4,.95);
  border-bottom:2px solid #b9822d;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 38px;
}

.brand-big {
  font-size:46px;
  font-weight:bold;
  color:#f3d18a;
  line-height:.9;
}

.brand-big span {
  font-size:16px;
  color:#fff4dc;
}

.western-header nav {
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}

.western-header nav a {
  color:#fff4dc;
  text-decoration:none;
  font-weight:bold;
}

.western-hero {
  min-height:570px;
  position:relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.25), rgba(0,0,0,.7)),
    url("/images/apf-hero.png");
  background-size:cover;
  background-position:center;
  border-bottom:2px solid #b9822d;
}

.hero-content {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:40px;
  padding:90px 70px;
  align-items:center;
}

.hero-text h1 {
  font-size:72px;
  text-transform:uppercase;
  color:#f7dfaa;
  text-shadow:4px 4px 8px #000;
  margin:0;
}

.hero-text h2 {
  font-size:52px;
  color:#fff4dc;
  font-style:italic;
  margin:10px 0;
}

.hero-text p {
  font-size:26px;
}

.hero-buttons {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-buttons a,
.hero-auction-card a,
.home-card button {
  background:linear-gradient(#d8a23a,#9d6520);
  color:white;
  padding:14px 22px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
  border:1px solid #f3d18a;
  cursor:pointer;
}

.hero-auction-card {
  background:rgba(20,8,3,.88);
  border:2px solid #b9822d;
  border-radius:16px;
  padding:28px;
  box-shadow:0 20px 50px rgba(0,0,0,.6);
}

.hero-auction-card h2 {
  font-size:34px;
  margin:0 0 15px;
}

.hero-auction-card h1 {
  color:#48c45b;
  font-size:44px;
  margin:0;
}

.live-pill {
  float:right;
  background:#d11f1f;
  padding:8px 14px;
  border-radius:8px;
  font-weight:bold;
}

.trust-row {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  background:#241008;
  border-bottom:1px solid #8d642b;
}

.trust-row div {
  padding:22px;
  text-align:center;
  border-right:1px solid #8d642b;
}

.trust-row b {
  display:block;
  color:#f3d18a;
}

.trust-row span {
  display:block;
  margin-top:5px;
}

.home-cards {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  padding:28px 60px;
  background:#150905;
}

.home-card {
  min-height:170px;
  background:linear-gradient(135deg, rgba(67,31,12,.95), rgba(17,7,3,.95));
  border:1px solid #b9822d;
  border-radius:12px;
  padding:24px;
  color:#fff4dc;
  text-decoration:none;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}

.home-card h2 {
  color:#f3d18a;
  text-transform:uppercase;
  margin-top:0;
}

.mission-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  padding:30px 70px;
  background:#241008;
  border-top:1px solid #8d642b;
}

.mission-row div {
  border:1px solid #8d642b;
  border-radius:12px;
  padding:22px;
  text-align:center;
}

.western-footer {
  text-align:center;
  padding:24px;
  background:#100603;
  color:#f3d18a;
}

@media(max-width:900px){
  .western-header,
  .hero-content {
    display:block;
    padding:28px;
  }

  .hero-text h1 {
    font-size:44px;
  }

  .hero-text h2 {
    font-size:34px;
  }

  .trust-row,
  .home-cards,
  .mission-row {
    grid-template-columns:1fr;
    padding:20px;
  }
}

/* APF WOW HOMEPAGE POLISH */
.apf-wow-home {
  margin:0;
  background:#120703;
  color:#fff4df;
  font-family:Georgia, "Times New Roman", serif;
}

.top-ribbon {
  background:linear-gradient(90deg,#2b1208,#6b3a13,#2b1208);
  color:#ffd98a;
  text-align:center;
  padding:11px;
  font-weight:900;
  letter-spacing:1.5px;
}

.wow-nav {
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 42px;
  background:rgba(18,7,3,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,211,120,.35);
}

.wow-logo {
  display:flex;
  align-items:center;
  gap:14px;
}

.wow-mark {
  background:linear-gradient(135deg,#ffd36f,#9d5d1d);
  color:#1c0903;
  font-size:28px;
  font-weight:900;
  padding:12px 14px;
  border-radius:14px;
  box-shadow:0 0 28px rgba(255,190,80,.25);
}

.wow-logo strong {
  display:block;
  font-size:24px;
  color:#ffe3aa;
}

.wow-logo span {
  display:block;
  font-size:13px;
  color:#d8b06e;
}

.wow-nav nav {
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.wow-nav nav a {
  color:#fff4df;
  text-decoration:none;
  font-weight:800;
}

.cart-link {
  color:#ffd36f !important;
}

.wow-hero {
  min-height:720px;
  position:relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,196,89,.20), transparent 35%),
    linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.35),rgba(0,0,0,.75)),
    url("/images/apf-hero.png");
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.wow-hero:after {
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:180px;
  background:linear-gradient(transparent,#120703);
}

.wow-hero-inner {
  position:relative;
  z-index:2;
  width:100%;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:44px;
  align-items:center;
  padding:80px 70px;
}

.live-tag {
  display:inline-block;
  background:rgba(191,30,30,.95);
  color:white;
  padding:10px 16px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:1px;
  box-shadow:0 0 25px rgba(255,0,0,.25);
}

.wow-copy h1 {
  margin:22px 0 10px;
  font-size:82px;
  line-height:.93;
  color:#ffe1a0;
  text-transform:uppercase;
  text-shadow:0 8px 20px rgba(0,0,0,.75);
}

.wow-copy h2 {
  font-size:30px;
  color:#ffffff;
  margin:0 0 18px;
  font-style:italic;
}

.wow-copy p {
  max-width:760px;
  font-size:21px;
  line-height:1.55;
  color:#f4d6a3;
}

.wow-actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

.gold-btn,
.dark-btn,
.outline-btn {
  padding:15px 24px;
  border-radius:12px;
  font-weight:900;
  text-decoration:none;
  transition:.2s;
}

.gold-btn {
  background:linear-gradient(135deg,#ffd36f,#a86420);
  color:#1c0903;
  box-shadow:0 10px 30px rgba(255,180,60,.25);
}

.dark-btn {
  background:#271007;
  color:#ffe1a0;
  border:1px solid #9d6a2c;
}

.outline-btn {
  color:#fff4df;
  border:1px solid #ffd36f;
}

.gold-btn:hover,
.dark-btn:hover,
.outline-btn:hover,
.wow-card:hover {
  transform:translateY(-4px);
}

.live-auction-glass {
  background:rgba(25,9,3,.78);
  border:1px solid rgba(255,211,111,.55);
  border-radius:24px;
  padding:30px;
  box-shadow:0 25px 70px rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
}

.pulse-row {
  display:flex;
  align-items:center;
  gap:10px;
  color:#ffd36f;
  font-weight:900;
  letter-spacing:1px;
}

.pulse-dot {
  width:12px;
  height:12px;
  border-radius:50%;
  background:#ff2a2a;
  box-shadow:0 0 0 8px rgba(255,42,42,.18);
}

.live-auction-glass h3 {
  font-size:34px;
  color:#fff;
}

.auction-stats {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:22px 0;
}

.auction-stats div {
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,211,111,.25);
  border-radius:14px;
  padding:18px;
}

.auction-stats small {
  display:block;
  color:#d8b06e;
}

.auction-stats strong {
  display:block;
  color:#79e06e;
  font-size:25px;
  margin-top:6px;
}

.live-auction-glass a {
  display:block;
  text-align:center;
  background:linear-gradient(135deg,#ffd36f,#a86420);
  color:#1c0903;
  padding:15px;
  border-radius:12px;
  font-weight:900;
  text-decoration:none;
}

.wow-trust {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#1b0b04;
  border-top:1px solid rgba(255,211,111,.25);
  border-bottom:1px solid rgba(255,211,111,.25);
}

.wow-trust div {
  padding:26px;
  text-align:center;
  border-right:1px solid rgba(255,211,111,.18);
}

.wow-trust strong {
  display:block;
  color:#ffd36f;
  font-size:18px;
}

.wow-trust span {
  display:block;
  color:#d7b37a;
  margin-top:6px;
}

.wow-section {
  padding:70px;
  background:#120703;
}

.wow-section.dark {
  background:linear-gradient(135deg,#241008,#130703);
}

.section-title {
  text-align:center;
  max-width:820px;
  margin:0 auto 36px;
}

.section-title span,
.mission-wow span {
  color:#ffd36f;
  font-weight:900;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.section-title h2,
.mission-wow h2 {
  font-size:44px;
  color:#ffe1a0;
  margin:10px 0;
}

.section-title p {
  color:#d7b37a;
  font-size:19px;
}

.wow-card-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.wow-card {
  background:linear-gradient(150deg,rgba(77,34,12,.95),rgba(22,8,3,.95));
  border:1px solid rgba(255,211,111,.34);
  border-radius:22px;
  padding:28px;
  min-height:250px;
  color:#fff4df;
  text-decoration:none;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  transition:.2s;
}

.card-icon {
  font-size:44px;
  margin-bottom:16px;
}

.wow-card h3 {
  font-size:26px;
  color:#ffd36f;
}

.wow-card p {
  color:#d7b37a;
  line-height:1.5;
}

.wow-card button {
  margin-top:16px;
  background:#ffd36f;
  color:#1c0903;
  border:0;
  padding:12px 18px;
  border-radius:10px;
  font-weight:900;
}

.mission-wow {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:30px;
  padding:70px;
  background:
    linear-gradient(90deg,rgba(0,0,0,.75),rgba(0,0,0,.35)),
    url("/images/apf-hero.png");
  background-size:cover;
  background-position:center bottom;
  border-top:1px solid rgba(255,211,111,.25);
  border-bottom:1px solid rgba(255,211,111,.25);
}

.mission-wow p {
  color:#f4d6a3;
  font-size:20px;
  line-height:1.6;
}

.mission-wow a {
  color:#ffd36f;
  font-weight:900;
  text-decoration:none;
}

.mission-verse {
  background:rgba(18,7,3,.78);
  border:1px solid rgba(255,211,111,.4);
  border-radius:22px;
  padding:34px;
  text-align:center;
  align-self:center;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
}

.mission-verse h3 {
  color:#ffd36f;
  font-size:28px;
}

.steps-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.steps-grid div {
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,211,111,.25);
  border-radius:18px;
  padding:28px;
  text-align:center;
}

.steps-grid b {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  border-radius:50%;
  background:#ffd36f;
  color:#1c0903;
  font-size:24px;
}

.steps-grid h3 {
  color:#ffe1a0;
}

.steps-grid p {
  color:#d7b37a;
}

.wow-footer {
  text-align:center;
  padding:48px 20px;
  background:#090301;
  border-top:1px solid rgba(255,211,111,.25);
}

.wow-footer h2 {
  color:#ffd36f;
  font-size:34px;
}

.wow-footer p {
  color:#d7b37a;
}

@media(max-width:1000px){
  .wow-nav {
    display:block;
    padding:18px;
  }

  .wow-nav nav {
    margin-top:16px;
  }

  .wow-hero-inner,
  .mission-wow {
    grid-template-columns:1fr;
    padding:38px 24px;
  }

  .wow-copy h1 {
    font-size:48px;
  }

  .wow-trust,
  .wow-card-grid,
  .steps-grid {
    grid-template-columns:1fr;
  }

  .wow-section {
    padding:42px 22px;
  }
}

/* =========================================================
   APF LIVE — PREMIUM FOUNDATION POLISH V1
   Safe global visual upgrade layer. Keeps existing structure,
   IDs, and functionality intact. Added June 30, 2026.
========================================================= */

:root {
  --apf-ink:#120703;
  --apf-ink-2:#1b0b04;
  --apf-wood:#2b1206;
  --apf-leather:#5b2b0e;
  --apf-bronze:#9d5d1d;
  --apf-gold:#ffd979;
  --apf-gold-soft:#ffe7b0;
  --apf-cream:#fff6e6;
  --apf-tan:#d8b47c;
  --apf-red:#c72020;
  --apf-green:#63ee70;
  --apf-blue:#075b83;
  --apf-radius-sm:12px;
  --apf-radius-md:18px;
  --apf-radius-lg:26px;
  --apf-shadow-soft:0 16px 35px rgba(39,16,4,.18);
  --apf-shadow-strong:0 26px 70px rgba(0,0,0,.42);
  --apf-border:1px solid rgba(255,217,121,.32);
}

html {
  scroll-behavior:smooth;
}

body {
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(circle at top left, rgba(255,217,121,.12), transparent 32%),
    linear-gradient(180deg,#fff6e6,#f3dfbf 46%,#e8cfa8);
}

body.home-western,
body.apf-wow-home,
.live-body {
  background:
    radial-gradient(circle at top left, rgba(255,217,121,.13), transparent 30%),
    radial-gradient(circle at bottom right, rgba(157,93,29,.15), transparent 34%),
    #120703 !important;
}

h1,h2,h3,.brand h1,.wow-logo strong,.hub-card h2,.cart-page h2,.shop-hero h1,.admin-hero h1,.live-top h1,.live-side-card h2,.live-item-right h2 {
  letter-spacing:-.03em;
}

p,li,input,select,textarea,button,a,span,small,strong,td,th {
  line-height:1.45;
}

a,button,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}

button,
input,
select,
textarea,
a {
  outline-color:rgba(255,217,121,.75);
}

button,
.main-bid,
.live-main-bid,
.live-checkout-btn,
.checkout-link,
.gold-btn,
.dark-btn,
.outline-btn,
.hero-buttons a,
.hero-actions a,
.hero-auction-card a,
.home-card button,
.product-card button,
.sell-choice,
.sell-mode-btn,
.auction-item button,
.admin-auction-product button,
.cart-page button,
.live-top a {
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease, background .22s ease, border-color .22s ease !important;
  cursor:pointer;
}

button:hover,
.main-bid:hover,
.live-main-bid:hover,
.live-checkout-btn:hover,
.checkout-link:hover,
.gold-btn:hover,
.dark-btn:hover,
.outline-btn:hover,
.hero-buttons a:hover,
.hero-actions a:hover,
.hero-auction-card a:hover,
.home-card button:hover,
.product-card button:hover,
.sell-choice:hover,
.sell-mode-btn:hover,
.auction-item button:hover,
.admin-auction-product button:hover,
.cart-page button:hover,
.live-top a:hover {
  transform:translateY(-3px) !important;
  filter:saturate(1.08) brightness(1.04);
}

button:active,
.main-bid:active,
.live-main-bid:active,
.live-checkout-btn:active,
.checkout-link:active,
.gold-btn:active,
.dark-btn:active,
.outline-btn:active,
.product-card button:active,
.cart-page button:active {
  transform:translateY(0) scale(.99) !important;
}

.gold-btn,
.hero-actions a,
.hero-buttons a,
.hero-auction-card a,
.home-card button,
.product-card button,
.main-bid,
.live-checkout-btn,
.checkout-link,
.sell-choice,
.sell-mode-btn,
.auction-item button,
.cart-page .main-bid,
.live-top a {
  background:linear-gradient(135deg,#ffe9a8 0%,#ffd979 22%,#c9852d 62%,#7b3b12 100%) !important;
  color:#1b0802 !important;
  border:1px solid rgba(255,233,168,.55) !important;
  box-shadow:0 14px 30px rgba(153,91,27,.26), inset 0 1px 0 rgba(255,255,255,.35) !important;
  font-weight:950 !important;
}

.dark-btn,
.outline-btn {
  box-shadow:0 14px 34px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

input,
select,
textarea {
  background:#fffaf0;
  border:1px solid rgba(157,93,29,.45) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 8px 18px rgba(78,39,10,.08);
}

input:focus,
select:focus,
textarea:focus {
  border-color:var(--apf-gold) !important;
  box-shadow:0 0 0 4px rgba(255,217,121,.25), 0 10px 24px rgba(78,39,10,.12) !important;
}

/* Premium cards across public, admin, cart, shop, and live pages */
.product-card,
.cart-item,
.control-card,
.hub-card,
.live-video-box,
.live-item-card,
.live-side-card,
.auction-panel,
.hero-auction-card,
.collection-card,
.mission-card,
.upcoming-card,
.why-card,
.home-card,
.live-auction-glass,
.wow-card,
.mission-verse,
.steps-grid div,
.sell-modal-box,
.card,
.auction-control-panel {
  border-radius:var(--apf-radius-lg) !important;
  box-shadow:var(--apf-shadow-soft) !important;
}

.product-card:hover,
.cart-item:hover,
.control-card:hover,
.hub-card:hover,
.collection-card:hover,
.home-card:hover,
.wow-card:hover,
.steps-grid div:hover {
  transform:translateY(-6px);
  box-shadow:0 26px 60px rgba(39,16,4,.28) !important;
}

.product-card,
.cart-item,
.control-card,
.hub-card,
.auction-panel,
.collection-card,
.mission-card,
.upcoming-card,
.why-card,
.sell-modal-box {
  border-top:6px solid var(--apf-gold) !important;
}

/* Luxury header polish */
.announcement,
.top-ribbon {
  background:linear-gradient(90deg,#170803,#6d3b13 50%,#170803) !important;
  color:var(--apf-gold-soft) !important;
  border-bottom:1px solid rgba(255,217,121,.28);
  text-shadow:0 2px 10px rgba(0,0,0,.45);
}

.topbar,
.western-header,
.live-top,
.wow-nav {
  box-shadow:0 14px 38px rgba(0,0,0,.28);
}

nav a,
.wow-nav nav a,
.western-header nav a {
  position:relative;
}

nav a:after,
.wow-nav nav a:after,
.western-header nav a:after {
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:5px;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--apf-gold),transparent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .22s ease;
}

nav a:hover:after,
.wow-nav nav a:hover:after,
.western-header nav a:hover:after {
  transform:scaleX(1);
}

/* Premium homepage WOW pass */
.wow-hero {
  min-height:740px !important;
  background:
    radial-gradient(circle at 18% 26%, rgba(255,217,121,.30), transparent 31%),
    radial-gradient(circle at 72% 38%, rgba(157,93,29,.20), transparent 34%),
    linear-gradient(90deg,rgba(8,3,1,.93),rgba(18,7,3,.48),rgba(8,3,1,.86)),
    url("/images/apf-hero.png") !important;
  background-size:cover !important;
  background-position:center !important;
}

.wow-hero:before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size:56px 56px;
  opacity:.32;
  pointer-events:none;
}

.wow-hero:after {
  height:220px !important;
  background:linear-gradient(transparent,#120703 78%) !important;
}

.wow-hero-inner {
  grid-template-columns:1.2fr .8fr !important;
  gap:50px !important;
  padding:92px 78px !important;
}

.live-tag {
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  background:linear-gradient(135deg,#d32424,#681010) !important;
  box-shadow:0 0 34px rgba(255,0,0,.35) !important;
}

.wow-copy h1 {
  font-size:86px !important;
  letter-spacing:-2px;
  color:#ffe7b0 !important;
  text-shadow:0 12px 28px rgba(0,0,0,.88) !important;
}

.wow-copy h2 {
  color:#fffaf0 !important;
  text-shadow:0 8px 20px rgba(0,0,0,.72);
}

.live-auction-glass,
.hero-auction-card {
  background:linear-gradient(160deg,rgba(42,15,5,.86),rgba(12,4,1,.92)) !important;
  border:1px solid rgba(255,217,121,.62) !important;
  box-shadow:var(--apf-shadow-strong), inset 0 1px 0 rgba(255,255,255,.09) !important;
  backdrop-filter:blur(12px);
}

.wow-section {
  background:radial-gradient(circle at top, rgba(255,217,121,.08), transparent 34%), #120703 !important;
}

.wow-section.dark,
.mission-wow {
  background-color:#120703;
}

.wow-card,
.steps-grid div {
  position:relative;
  overflow:hidden;
}

.wow-card:before,
.steps-grid div:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 34%);
  pointer-events:none;
}

/* Shop/product polish */
.shop-hero,
.admin-hero {
  box-shadow:inset 0 -90px 120px rgba(18,7,3,.72);
}

.product-grid,
.hub-grid,
.control-grid,
.cart-page {
  isolation:isolate;
}

.product-image {
  border-bottom:1px solid rgba(157,93,29,.22);
}

.sale-badge,
.live-badge,
.live-pill,
.live-mode {
  background:linear-gradient(135deg,#d52a24,#721010) !important;
  box-shadow:0 10px 24px rgba(188,34,28,.28);
}

/* Live sale / auction polish */
.live-layout {
  gap:22px !important;
}

.live-video-box,
.live-item-card,
.live-side-card,
.card,
.auction-control-panel {
  background:linear-gradient(155deg,#24140a,#120b06) !important;
  border:1px solid rgba(255,217,121,.38) !important;
}

.video-placeholder,
.chat-placeholder,
#recentlySoldPreview,
#liveCartPreview,
.live-info,
.live-bid-grid div {
  background:rgba(0,0,0,.28) !important;
  border:1px solid rgba(255,217,121,.22) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

#bid,
.auction-stats strong,
.studio-main h1 {
  color:var(--apf-green) !important;
  text-shadow:0 0 24px rgba(99,238,112,.22);
}

#time,
.live-bid-grid h1#time,
.studio-main h2 {
  color:var(--apf-gold) !important;
  text-shadow:0 0 22px rgba(255,217,121,.2);
}

.live-main-bid {
  background:linear-gradient(135deg,#68f078,#1f8f3e) !important;
  color:#081307 !important;
  border:1px solid rgba(198,255,204,.45) !important;
}

/* Admin/studio polish */
.admin-hero h1,
.shop-hero h1,
.wow-copy h1,
.hero-text h1,
.hero-text h2,
.brand-big,
.section-title h2,
.mission-wow h2,
.wow-footer h2 {
  text-shadow:0 8px 24px rgba(0,0,0,.65);
}

.hub-card,
.control-card,
.cart-page,
.cart-item,
.product-card {
  background:linear-gradient(180deg,#fffdf7,#fff3df) !important;
}

/* Tables and lists that may exist on dashboard/order screens */
table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:18px;
  box-shadow:var(--apf-shadow-soft);
}

th {
  background:linear-gradient(90deg,#2b1206,#5b2b0e);
  color:var(--apf-gold-soft);
  padding:14px;
  text-align:left;
}

td {
  background:#fffaf0;
  border-bottom:1px solid rgba(157,93,29,.16);
  padding:13px 14px;
}

tr:last-child td {
  border-bottom:0;
}

/* Premium modal / celebration */
.sold-celebration-box,
.sell-modal-box {
  background:linear-gradient(160deg,#2b1206,#120703) !important;
  border:2px solid rgba(255,217,121,.62) !important;
  color:var(--apf-cream) !important;
}

.sold-celebration-box h1,
.sold-celebration-box h2,
.sell-modal-box h2 {
  color:var(--apf-gold) !important;
}

/* Mobile polish */
@media(max-width:1000px){
  .wow-hero-inner,
  .mission-wow {
    grid-template-columns:1fr !important;
    padding:46px 24px !important;
  }

  .wow-copy h1 {
    font-size:50px !important;
  }

  .wow-copy h2 {
    font-size:24px !important;
  }

  .wow-copy p,
  .mission-wow p {
    font-size:18px !important;
  }

  .auction-stats {
    grid-template-columns:1fr !important;
  }

  .wow-trust,
  .wow-card-grid,
  .steps-grid,
  .trust-row,
  .collection-grid,
  .home-bottom,
  .home-cards,
  .mission-row {
    grid-template-columns:1fr !important;
  }
}

@media(max-width:700px){
  .announcement,
  .top-ribbon {
    font-size:12px !important;
    padding:9px 12px !important;
  }

  .wow-nav,
  .western-header,
  .topbar,
  .live-top {
    padding:16px !important;
  }

  .wow-logo strong,
  .brand h1 {
    font-size:21px !important;
  }

  .wow-mark,
  .logo {
    transform:scale(.92);
  }

  .wow-copy h1,
  .hero-text h1 {
    font-size:42px !important;
  }

  .section-title h2,
  .mission-wow h2,
  .shop-hero h1,
  .admin-hero h1 {
    font-size:34px !important;
  }

  .hero-actions,
  .wow-actions,
  .hero-buttons {
    flex-direction:column;
  }

  .hero-actions a,
  .wow-actions a,
  .hero-buttons a,
  .gold-btn,
  .dark-btn,
  .outline-btn {
    width:100%;
    text-align:center;
  }

  .product-grid,
  .hub-grid,
  .control-grid {
    padding:20px !important;
  }

  .cart-page {
    margin:20px !important;
    padding:24px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition:none !important;
  }
}

/* =========================================================
   APF V2 — HOMEPAGE HERO 10/10 CINEMATIC POLISH
   Safe override layer: homepage only
========================================================= */
.apf-wow-home {
  background:
    radial-gradient(circle at 50% -10%, rgba(255,208,116,.14), transparent 42%),
    #100501;
}

.top-ribbon {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg,#170702,#5d2b0b,#a5651e,#5d2b0b,#170702) !important;
  box-shadow: inset 0 -1px 0 rgba(255,218,138,.36);
}

.top-ribbon::after {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-120%);
  animation: apfRibbonSheen 7s ease-in-out infinite;
}

@keyframes apfRibbonSheen {
  0%, 62% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}

.wow-nav {
  background: rgba(10,3,1,.92) !important;
  border-bottom: 1px solid rgba(255,205,112,.32) !important;
  box-shadow: 0 20px 52px rgba(0,0,0,.34);
}

.wow-nav nav {
  background: rgba(33,9,2,.6);
  border: 1px solid rgba(255,205,112,.12);
  border-radius: 0;
  padding: 12px 18px;
}

.wow-nav nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .24s ease;
}

.wow-nav nav a::after {
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:5px;
  height:1px;
  background: linear-gradient(90deg, transparent, #ffd979, transparent);
  opacity:0;
  transform: scaleX(.3);
  transition:.24s ease;
}

.wow-nav nav a:hover {
  color:#ffe2a8 !important;
  background: rgba(255,211,111,.08);
}

.wow-nav nav a:hover::after {
  opacity:1;
  transform: scaleX(1);
}

.wow-mark {
  box-shadow:
    0 16px 36px rgba(0,0,0,.35),
    0 0 32px rgba(255,190,80,.24),
    inset 0 1px 0 rgba(255,255,255,.45) !important;
}

.wow-hero {
  min-height: 780px !important;
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 33%, rgba(255,222,147,.28), transparent 24%),
    radial-gradient(circle at 50% 42%, rgba(245,155,50,.18), transparent 34%),
    linear-gradient(90deg, rgba(8,2,0,.92) 0%, rgba(22,8,2,.54) 43%, rgba(8,2,0,.9) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78)),
    url("/images/apf-hero.png") !important;
  background-size: cover !important;
  background-position: center !important;
}

.wow-hero::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px),
    radial-gradient(circle at 24% 42%, rgba(255,236,180,.22), transparent 18%);
  background-size: 58px 58px, 58px 58px, auto;
  opacity:.42;
  pointer-events:none;
}

.wow-hero::after {
  height: 260px !important;
  background: linear-gradient(transparent, rgba(18,7,3,.8) 55%, #120703 92%) !important;
  z-index:1;
}

.wow-hero-inner {
  z-index:2 !important;
  grid-template-columns: 1.08fr .92fr !important;
  gap: 70px !important;
  padding: 112px 76px 106px !important;
}

.wow-copy {
  position: relative;
}

.wow-copy::before {
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  left:-90px;
  top:20px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(255,211,111,.22), transparent 62%);
  filter: blur(10px);
  z-index:-1;
}

.live-tag {
  position: relative;
  overflow:hidden;
  background: linear-gradient(135deg,#f13b2f,#9c140f 60%,#5b0907) !important;
  border: 1px solid rgba(255,180,150,.36);
  box-shadow: 0 0 34px rgba(255,42,42,.34), inset 0 1px 0 rgba(255,255,255,.34) !important;
}

.live-tag::before {
  content:"";
  display:inline-block;
  width:10px;
  height:10px;
  margin-right:8px;
  border-radius:50%;
  background:#ff332a;
  box-shadow:0 0 0 7px rgba(255,42,42,.18), 0 0 20px rgba(255,42,42,.8);
  vertical-align:middle;
}

.wow-copy h1 {
  max-width: 850px;
  font-size: clamp(58px, 6.8vw, 106px) !important;
  line-height: .86 !important;
  letter-spacing: -3.5px !important;
  color: #ffe9b8 !important;
  text-shadow:
    0 3px 0 rgba(82,37,9,.65),
    0 14px 28px rgba(0,0,0,.88),
    0 0 44px rgba(255,195,89,.22) !important;
}

.wow-copy h2 {
  font-size: clamp(24px, 2.4vw, 38px) !important;
  color: #fff7e7 !important;
  text-shadow: 0 8px 20px rgba(0,0,0,.85) !important;
}

.wow-copy p {
  max-width: 760px !important;
  font-size: 22px !important;
  color: #f8dfae !important;
  text-shadow: 0 6px 16px rgba(0,0,0,.86);
}

.wow-actions {
  gap: 16px !important;
  margin-top: 34px !important;
}

.gold-btn,
.dark-btn,
.outline-btn {
  position:relative;
  overflow:hidden;
  padding: 17px 28px !important;
  border-radius: 13px !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.34);
}

.gold-btn::after,
.dark-btn::after,
.outline-btn::after,
.live-auction-glass a::after {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.28), transparent 80%);
  transform: translateX(-120%);
  transition: .55s ease;
}

.gold-btn:hover::after,
.dark-btn:hover::after,
.outline-btn:hover::after,
.live-auction-glass a:hover::after {
  transform: translateX(120%);
}

.gold-btn {
  background: linear-gradient(135deg,#ffe59a 0%,#d99b3a 52%,#8d4b16 100%) !important;
  border:1px solid rgba(255,236,180,.55);
}

.live-auction-glass {
  position:relative;
  border-radius: 30px !important;
  padding: 34px !important;
  background:
    linear-gradient(160deg, rgba(42,13,3,.88), rgba(10,2,0,.92) 72%),
    radial-gradient(circle at 20% 0%, rgba(255,211,111,.18), transparent 32%) !important;
  border: 1px solid rgba(255,213,125,.72) !important;
  box-shadow:
    0 34px 90px rgba(0,0,0,.68),
    0 0 42px rgba(255,170,54,.12),
    inset 0 1px 0 rgba(255,255,255,.1) !important;
  transform: translateY(6px);
}

.live-auction-glass::before {
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(255,213,125,.18);
  border-radius:23px;
  pointer-events:none;
}

.pulse-row {
  color:#ffdc85 !important;
  font-size: 15px;
}

.live-auction-glass h3 {
  font-size: 38px !important;
  color:#fff5e5 !important;
  text-shadow:0 8px 20px rgba(0,0,0,.55);
}

.auction-stats div {
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.045)) !important;
  border: 1px solid rgba(255,218,138,.32) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.auction-stats strong {
  color:#74ff76 !important;
  text-shadow:0 0 18px rgba(116,255,118,.28);
}

.live-auction-glass a {
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,236,180,.55);
  background: linear-gradient(135deg,#ffe59a,#d69332 56%,#975315) !important;
  box-shadow:0 16px 38px rgba(255,180,60,.22), inset 0 1px 0 rgba(255,255,255,.45) !important;
}

.wow-trust {
  background: linear-gradient(90deg,#120501,#281006,#120501) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 -20px 60px rgba(0,0,0,.3);
}

.wow-trust div {
  transition:.22s ease;
}

.wow-trust div:hover {
  background: rgba(255,211,111,.05);
}

.wow-trust strong {
  color:#ffdb82 !important;
  text-shadow:0 0 18px rgba(255,211,111,.14);
}

@media(max-width:1000px){
  .wow-hero-inner {
    grid-template-columns:1fr !important;
    gap:32px !important;
    padding:64px 24px 56px !important;
  }

  .wow-copy h1 {
    letter-spacing:-1.4px !important;
  }

  .wow-copy p {
    font-size:18px !important;
  }

  .live-auction-glass {
    transform:none;
  }
}

/* =========================================================
   APF V3 CINEMATIC HOMEPAGE 10/10 POLISH
   Safe visual-only override layer. No backend/function changes.
========================================================= */
:root {
  --apf-black:#090301;
  --apf-brown:#180804;
  --apf-brown-2:#2a1006;
  --apf-leather:#6f3711;
  --apf-bronze:#b87525;
  --apf-gold:#ffd879;
  --apf-gold-soft:#ffe9b4;
  --apf-cream:#fff5df;
  --apf-muted:#d8b06e;
  --apf-green:#67ff72;
  --apf-red:#e62b24;
  --apf-line:rgba(255,216,121,.32);
  --apf-glow:0 0 48px rgba(255,190,82,.24);
  --apf-shadow:0 28px 80px rgba(0,0,0,.58);
}

html {
  scroll-behavior:smooth;
}

body.apf-wow-home,
.apf-wow-home {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,201,99,.08), transparent 34%),
    linear-gradient(180deg,#140603 0%,#090301 100%) !important;
  color:var(--apf-cream) !important;
  overflow-x:hidden;
}

.apf-wow-home:before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:50;
  background:
    radial-gradient(circle at 12% 28%, rgba(255,231,171,.09) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 18%, rgba(255,231,171,.08) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 72%, rgba(255,231,171,.06) 0 1px, transparent 2px);
  background-size:180px 180px, 240px 240px, 310px 310px;
  opacity:.42;
  animation:apfDustDrift 18s linear infinite;
}

@keyframes apfDustDrift {
  from { background-position:0 0, 0 0, 0 0; }
  to { background-position:180px -120px, -240px 130px, 310px -180px; }
}

.top-ribbon {
  position:relative;
  z-index:60;
  background:
    linear-gradient(90deg,#1a0702,#5b280b 22%,#8c4b16 50%,#5b280b 78%,#1a0702) !important;
  color:#ffe6ad !important;
  border-bottom:1px solid rgba(255,216,121,.36);
  box-shadow:0 6px 22px rgba(0,0,0,.45);
  letter-spacing:2px !important;
  text-transform:uppercase;
}

.wow-nav {
  position:sticky !important;
  top:0;
  z-index:70 !important;
  padding:18px 40px !important;
  background:rgba(8,3,1,.88) !important;
  border-bottom:1px solid rgba(255,216,121,.28) !important;
  box-shadow:0 20px 55px rgba(0,0,0,.45);
}

.wow-nav:after {
  content:"";
  position:absolute;
  left:40px;
  right:40px;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,216,121,.75),transparent);
}

.wow-mark {
  border:1px solid rgba(255,238,185,.45) !important;
  background:linear-gradient(135deg,#ffe493 0%,#d99535 55%,#8b4917 100%) !important;
  box-shadow:0 14px 32px rgba(0,0,0,.34),0 0 36px rgba(255,185,64,.22) !important;
}

.wow-logo strong {
  color:#ffeab7 !important;
  letter-spacing:-.4px;
  text-shadow:0 4px 18px rgba(0,0,0,.65);
}

.wow-nav nav {
  background:rgba(42,12,4,.72) !important;
  border:1px solid rgba(255,216,121,.18);
  padding:10px 14px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.wow-nav nav a {
  position:relative;
  padding:10px 12px;
  border-radius:10px;
  color:#fff3d8 !important;
  transition:.24s ease;
}

.wow-nav nav a:after {
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:5px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--apf-gold),transparent);
  transform:scaleX(0);
  transition:.24s ease;
}

.wow-nav nav a:hover {
  color:var(--apf-gold-soft) !important;
  background:rgba(255,216,121,.06);
}

.wow-nav nav a:hover:after {
  transform:scaleX(1);
}

.wow-hero {
  min-height:calc(100vh - 120px) !important;
  isolation:isolate;
  background:
    radial-gradient(circle at 30% 45%, rgba(255,219,130,.26), transparent 20%),
    radial-gradient(circle at 17% 34%, rgba(255,226,162,.18), transparent 22%),
    linear-gradient(90deg,rgba(3,1,0,.86) 0%,rgba(24,9,3,.46) 42%,rgba(5,2,1,.88) 100%),
    linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.66)),
    url("/images/apf-hero.png") !important;
  background-size:cover !important;
  background-position:center !important;
  border-bottom:1px solid rgba(255,216,121,.26);
}

.wow-hero:before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255,218,133,.16) 42%, transparent 52%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.022) 1px, transparent 1px);
  background-size:100% 100%, 72px 72px, 72px 72px;
  opacity:.58;
  animation:apfSunSweep 9s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes apfSunSweep {
  from { opacity:.38; transform:translateX(-1.5%); }
  to { opacity:.66; transform:translateX(1.5%); }
}

.wow-hero:after {
  height:260px !important;
  z-index:1;
  background:linear-gradient(transparent,rgba(18,7,3,.88) 62%,#120703 100%) !important;
}

.wow-hero-inner {
  z-index:2 !important;
  max-width:1840px;
  margin:0 auto;
  grid-template-columns:minmax(0,1.02fr) minmax(450px,.82fr) !important;
  gap:70px !important;
  padding:96px 72px 104px !important;
}

.wow-copy {
  position:relative;
}

.wow-copy:before {
  content:"";
  position:absolute;
  left:-34px;
  top:18px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,217,121,.24),transparent 68%);
  filter:blur(6px);
  z-index:-1;
}

.live-tag {
  position:relative;
  overflow:hidden;
  display:inline-flex !important;
  align-items:center;
  gap:10px;
  padding:13px 22px !important;
  background:linear-gradient(135deg,#ff463b,#9f1510 62%,#5e0907) !important;
  border:1px solid rgba(255,176,128,.42);
  box-shadow:0 12px 30px rgba(0,0,0,.35),0 0 42px rgba(230,43,36,.34) !important;
}

.live-tag:before {
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:#ff2b2b;
  box-shadow:0 0 0 8px rgba(255,43,43,.16),0 0 20px rgba(255,43,43,.75);
}

.live-tag:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,transparent 0 35%,rgba(255,255,255,.35),transparent 65%);
  transform:translateX(-120%);
  animation:apfShine 4.8s ease-in-out infinite;
}

@keyframes apfShine {
  0%,60% { transform:translateX(-120%); }
  82%,100% { transform:translateX(120%); }
}

.wow-copy h1 {
  max-width:820px;
  font-size:clamp(62px,6.2vw,116px) !important;
  line-height:.82 !important;
  letter-spacing:-4px !important;
  margin:28px 0 18px !important;
  color:#ffedbd !important;
  text-shadow:
    0 2px 0 rgba(101,55,17,.9),
    0 12px 26px rgba(0,0,0,.92),
    0 0 50px rgba(255,210,111,.22) !important;
}

.wow-copy h1::first-line {
  color:#fff4d4;
}

.wow-copy h2 {
  display:inline-block;
  font-size:clamp(25px,2vw,37px) !important;
  color:#fff8e9 !important;
  margin:0 0 22px !important;
  text-shadow:0 8px 20px rgba(0,0,0,.86);
}

.wow-copy p {
  max-width:800px !important;
  font-size:clamp(18px,1.15vw,22px) !important;
  line-height:1.68 !important;
  color:#ffe5b1 !important;
  text-shadow:0 5px 14px rgba(0,0,0,.78);
}

.wow-actions {
  gap:18px !important;
  margin-top:34px !important;
}

.gold-btn,
.dark-btn,
.outline-btn,
.live-auction-glass a,
.wow-card button,
.steps-grid b,
.live-checkout-btn,
.checkout-link,
.main-bid,
.product-card button {
  position:relative;
  overflow:hidden;
  border-radius:14px !important;
  transition:transform .24s ease, box-shadow .24s ease, filter .24s ease !important;
}

.gold-btn:after,
.dark-btn:after,
.outline-btn:after,
.live-auction-glass a:after,
.wow-card button:after,
.product-card button:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,transparent 0 35%,rgba(255,255,255,.38),transparent 65%);
  transform:translateX(-130%);
  transition:.55s ease;
}

.gold-btn:hover:after,
.dark-btn:hover:after,
.outline-btn:hover:after,
.live-auction-glass a:hover:after,
.wow-card button:hover:after,
.product-card button:hover:after {
  transform:translateX(130%);
}

.gold-btn:hover,
.dark-btn:hover,
.outline-btn:hover,
.live-auction-glass a:hover,
.product-card button:hover {
  transform:translateY(-5px) !important;
  filter:saturate(1.08);
}

.gold-btn {
  border:1px solid rgba(255,241,193,.52) !important;
  background:linear-gradient(135deg,#fff0a9 0%,#e5a940 45%,#a9631e 100%) !important;
  box-shadow:0 18px 42px rgba(255,181,57,.26), inset 0 1px 0 rgba(255,255,255,.52) !important;
}

.dark-btn,
.outline-btn {
  background:rgba(13,4,1,.58) !important;
  border:1px solid rgba(255,216,121,.56) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}

.live-auction-glass {
  position:relative;
  transform:translateY(20px);
  background:
    linear-gradient(160deg,rgba(34,9,3,.9),rgba(8,2,0,.96)) !important;
  border:1px solid rgba(255,216,121,.7) !important;
  border-radius:30px !important;
  padding:34px !important;
  box-shadow:
    0 34px 95px rgba(0,0,0,.72),
    0 0 70px rgba(255,168,54,.12),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.live-auction-glass:before {
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid rgba(255,216,121,.23);
  border-radius:22px;
  pointer-events:none;
}

.live-auction-glass:after {
  content:"LIVE BROADCAST";
  position:absolute;
  top:-16px;
  right:26px;
  background:linear-gradient(135deg,#ffda82,#9c5b1b);
  color:#160602;
  padding:8px 13px;
  border-radius:999px;
  font-size:11px;
  font-weight:950;
  letter-spacing:1.2px;
  box-shadow:0 10px 28px rgba(0,0,0,.42);
}

.pulse-row {
  color:#ffe094 !important;
  text-shadow:0 0 18px rgba(255,216,121,.18);
}

.pulse-dot {
  animation:apfLivePulse 1.2s ease-in-out infinite;
}

@keyframes apfLivePulse {
  0%,100% { transform:scale(1); box-shadow:0 0 0 7px rgba(255,42,42,.15),0 0 24px rgba(255,42,42,.7); }
  50% { transform:scale(1.16); box-shadow:0 0 0 12px rgba(255,42,42,.08),0 0 32px rgba(255,42,42,.95); }
}

.live-auction-glass h3 {
  color:#fff6de !important;
  font-size:clamp(31px,2.2vw,44px) !important;
  letter-spacing:-.8px;
  margin:20px 0 28px !important;
}

.auction-stats {
  gap:16px !important;
}

.auction-stats div {
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03)) !important;
  border:1px solid rgba(255,216,121,.32) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 26px rgba(0,0,0,.22);
}

.auction-stats small {
  color:#ddb56f !important;
}

.auction-stats strong {
  color:#77ff7d !important;
  text-shadow:0 0 20px rgba(103,255,114,.22);
}

.live-auction-glass a {
  margin-top:18px;
  background:linear-gradient(135deg,#fff0a9,#d58a28 60%,#9d5517) !important;
  border:1px solid rgba(255,238,185,.48);
  box-shadow:0 18px 42px rgba(255,181,57,.24), inset 0 1px 0 rgba(255,255,255,.48) !important;
}

.wow-trust {
  position:relative;
  z-index:4;
  background:linear-gradient(90deg,#100401,#281006,#100401) !important;
  border-top:1px solid rgba(255,216,121,.3) !important;
  border-bottom:1px solid rgba(255,216,121,.3) !important;
}

.wow-trust div {
  padding:31px 24px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.035),transparent);
}

.wow-trust strong {
  color:#ffe08f !important;
  font-size:19px !important;
}

.wow-section {
  position:relative;
  background:
    radial-gradient(circle at top center,rgba(255,216,121,.09),transparent 32%),
    linear-gradient(180deg,#120703,#0b0301) !important;
}

.section-title h2,
.mission-wow h2 {
  color:#ffe7ac !important;
  font-size:clamp(36px,3.2vw,56px) !important;
  letter-spacing:-1.3px;
}

.wow-card {
  border-radius:26px !important;
  border:1px solid rgba(255,216,121,.38) !important;
  background:
    linear-gradient(145deg,rgba(103,46,15,.94),rgba(17,6,2,.98)) !important;
  box-shadow:0 28px 60px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.wow-card:hover {
  transform:translateY(-8px) !important;
  border-color:rgba(255,231,172,.62) !important;
  box-shadow:0 34px 80px rgba(0,0,0,.55),0 0 42px rgba(255,186,62,.14) !important;
}

.mission-wow {
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 30%,rgba(255,216,121,.16),transparent 32%),
    linear-gradient(90deg,rgba(5,2,1,.92),rgba(19,7,2,.6)),
    url("/images/apf-hero.png") !important;
  background-size:cover !important;
  background-position:center bottom !important;
}

.mission-verse {
  border-color:rgba(255,216,121,.48) !important;
  box-shadow:0 28px 70px rgba(0,0,0,.52),0 0 45px rgba(255,186,62,.1) !important;
}

.wow-footer {
  background:
    linear-gradient(180deg,rgba(18,7,3,.96),rgba(4,1,0,.99)),
    url("/images/apf-hero.png") !important;
  background-size:cover !important;
  background-position:center bottom !important;
}

@media(max-width:1200px){
  .wow-hero-inner {
    grid-template-columns:1fr !important;
    gap:42px !important;
  }
  .live-auction-glass {
    max-width:780px;
    transform:none;
  }
}

@media(max-width:1000px){
  .wow-nav {
    padding:16px 20px !important;
  }
  .wow-nav nav {
    justify-content:center;
    margin-top:14px !important;
  }
  .wow-hero {
    min-height:auto !important;
  }
  .wow-hero-inner {
    padding:56px 24px 62px !important;
  }
  .wow-copy h1 {
    font-size:clamp(50px,13vw,78px) !important;
    letter-spacing:-2.2px !important;
  }
  .wow-copy h2 {
    font-size:25px !important;
  }
  .wow-copy p {
    font-size:18px !important;
  }
  .wow-actions a {
    width:100%;
    text-align:center;
  }
  .live-auction-glass {
    padding:26px !important;
  }
}

@media(max-width:620px){
  .top-ribbon {
    font-size:11px !important;
    letter-spacing:.9px !important;
  }
  .wow-logo strong {
    font-size:20px !important;
  }
  .wow-copy h1 {
    font-size:48px !important;
  }
  .auction-stats {
    grid-template-columns:1fr !important;
  }
}

@media(prefers-reduced-motion:reduce){
  *, *:before, *:after {
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}
