/* --- Vintage Theme Variables --- */
:root {
  --parchment: #e8ddc5;
  --ink: #2b241e;
  --wood: #a67b51;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Playfair Display', serif;
}
/* --- Global Styles --- */
body {
  background-color: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
}
strong {
  font-weight: 700;
}
.section-title-bar span {
  font-size: 35px;
  background-color: #fff;
  padding: 0 10px 0 10px;
}
.section-title-bar {
    width: 100%;
    height: 28px;
    border-bottom: 1px solid #90a4ae;
    text-align: left;
    margin-bottom: 58px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}
h1, h2, h3, h4, h5, h6, .navbar-brand, .nav-link, .btn-vintage, .footer-bottom {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700
}

/* --- Navigation --- */
.navbar {
  border-bottom: 3px double var(--ink);
  background-color: rgba(232, 221, 197, 0.95);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(232, 221, 197, 1);
  box-shadow: 0 4px 8px rgba(43, 36, 30, 0.2);
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.navbar-brand span {
  font-size: 0.85rem;
  letter-spacing: 3px;
  display: block;
  text-align: center;
}

.navbar-brand h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
  line-height: 1;
  margin: 0;
}
.navbar-brand {
  max-width: 200px;
  transition: all 200ms ease-in-out;
  padding: 0;
}
.nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink) !important;
  line-height: 1.3rem;
}
.navbar-collapse {
      padding-top: 15px;
    padding-bottom: 15px;
}
.nav-icons {
  font-weight: bold;
  font-family: var(--font-display);
  letter-spacing: 1px;
}
.scrolled .navbar-brand {
  max-width: 180px;
  transition: all 200ms ease-in-out;

}
.parchment {
  background: url('img/parchment.webp') #f1ecd9 no-repeat !important;
  background-size: cover;
}
/* --- Hero Section --- */
.hero-section {
  border-bottom: 2px solid var(--ink);
  background-size: cover;
  position: relative;
  height: calc(100vh - 110px);
  overflow: hidden;
}
.wood {
  background: url(img/wood.webp) center;
  height: 150px;
  background-size: cover;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 9;
}
.smoker {
  background: url(img/smoker.webp) center;
  height: 498px;
  background-size: cover;
  position: absolute;
  width: 769px;
  bottom: -44px;
  left: -117px;
  opacity: .5;
}
.hero-content {
  z-index: 99;;
}
.hero-title { 
  font-size: 2.5rem; 
  line-height: 1.1; 
  font-weight: 700;
  text-shadow: 3px 3px 0px var(--parchment);
}
.hero-subtitle { 
  font-size: 1.5rem; 
  letter-spacing: 2px; 
}

/* --- Buttons --- */
.btn-vintage {
  background-color: var(--wood);
  color: #fff;
  border: 2px solid var(--ink);
  padding: 12px 30px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0px var(--ink);
  border-radius: 0; /* Removing Bootstrap's default rounded corners */
}

.btn-vintage:hover {
  background-color: var(--ink);
  color: var(--parchment);
  box-shadow: 2px 2px 0px var(--ink);
  transform: translate(2px, 2px);
}

/* Outline Vintage Button */
.btn-outline-vintage {
  background-color: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 10px 20px;
  font-size: 1rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 0px var(--ink);
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-outline-vintage:hover {
  background-color: var(--wood);
  color: #fff;
  box-shadow: 1px 1px 0px var(--ink);
  transform: translate(2px, 2px);
  text-decoration: none;
}

/* --- Product Cards --- */
.vintage-card {
  border: 6px double var(--ink);
  background-color: #f9f4e0;
  position: relative;
  border-radius: 8px;
}

/* Faux filigree corner effect */


.product-image-box {
  
}

/* --- Seal Section --- */
.seal-section {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background-color: #222;
  color: #fff;
}
.seal-section h2 {
  color: #fff;
}
#footer {
  background-color: #222;
  color: #fff;
}
#footer h4 { 
  color:#fff;
}
/* --- Footer --- */
.site-footer {
  border: 4px solid #F0E6D2;
}

.newsletter-input {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 0;
  font-family: var(--font-body);
}

.newsletter-input:focus {
  background: transparent;
  border-color: var(--ink);
  box-shadow: none;
}

.footer-bottom {
  letter-spacing: 2px;
  font-weight: bold;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
}
.footer-links {
  padding: 0;
  list-style-type: none;
}
.footer-links li {
  padding: 5px 0;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: all 200ms ease-in-out;
}
.footer-links a:hover {
  color: var(--parchment);
  text-decoration: none;
  transition: all 200ms ease-in-out;
  text-decoration: underline;
}
.content-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: url(/wp-content/themes/ogwp/img/parchment-light.webp) center #F8F4E6;
  background-size: cover;
}

/* --- WooCommerce Product Page Styles --- */
.single-product .product-image-box img {
  max-width: 100%;
  height: auto;
}

.single-product .product-thumbnails .thumbnail-item {
  cursor: pointer;
  transition: all 0.2s ease;
}

.single-product .product-thumbnails .thumbnail-item:hover {
  /*transform: scale(1.05);
  border-color: var(--wood) !important;*/
}

/* Product Tabs */
.nav-tabs {
  border-bottom: 2px solid var(--ink) !important;
}

.nav-tabs .nav-link {
  border: none;
  background: transparent;
  color: var(--ink);
  padding: 10px 20px;
  margin-right: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  background-color: rgba(166, 123, 81, 0.2);
}

.nav-tabs .nav-link.active {
  background-color: var(--wood);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
}

/* WooCommerce Buttons */
.single_add_to_cart_button,
.woocommerce .button,
.woocommerce button.button {
  background-color: var(--wood) !important;
  color: #fff !important;
  border: 2px solid var(--ink) !important;
  padding: 12px 30px !important;
  font-size: 1.2rem !important;
  font-family: var(--font-display) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  box-shadow: 4px 4px 0px var(--ink) !important;
  border-radius: 0 !important;
  letter-spacing: 1px;
}

.single_add_to_cart_button:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover {
  background-color: var(--ink) !important;
  color: var(--parchment) !important;
  box-shadow: 2px 2px 0px var(--ink) !important;
  transform: translate(2px, 2px);
}

/* Quantity Input and Plus/Minus Buttons */
.quantity input.qty {
  border: 2px solid var(--ink);
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  background-color: #f0e6d2;
  border-radius: 0;
  width: 80px;
}

.quantity {
  margin-bottom: 0px;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  background-color: var(--wood);
  color: #fff;
  border: 2px solid var(--ink);
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0px var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  border-radius: 0;
}

.qty-btn:hover {
  background-color: var(--ink);
  color: var(--parchment);
  box-shadow: 1px 1px 0px var(--ink);
  transform: translate(1px, 1px);
}

.qty-btn:active {
  box-shadow: 0px 0px 0px var(--ink);
  transform: translate(2px, 2px);
}

.qty-btn-minus {
  font-size: 2rem;
}

.qty-btn-plus {
  font-size: 1.8rem;
}

/* Product Price */
.woocommerce .product .price {
  color: var(--ink);
  font-family: var(--font-display);
}

.woocommerce .product .price del {
  opacity: 0.5;
}

/* Product Meta */
.product-meta,
.product-categories {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Additional Information Table */
.woocommerce table.shop_attributes {
  border: none;
  background-color: transparent;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  padding: 12px;
  border: 1px solid var(--ink);
  font-family: var(--font-body);
}

.woocommerce table.shop_attributes th {
  font-weight: 700;
  background-color: rgba(166, 123, 81, 0.1);
}

/* Reviews/Comments */
.woocommerce #reviews #comments ol.commentlist li {
  border: 2px solid var(--ink);
  padding: 20px;
  margin-bottom: 20px;
  background-color: rgba(240, 230, 210, 0.5);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  border: none;
  padding: 0;
  margin: 0;
}

.woocommerce #reviews #respond {
  border: 2px solid var(--ink);
  padding: 20px;
  background-color: rgba(240, 230, 210, 0.5);
}

/* Star Ratings */
.woocommerce .star-rating {
  color: var(--wood);
}

.woocommerce .star-rating::before {
  color: rgba(166, 123, 81, 0.3);
}

/* Related Products */
.related.products h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--ink);
}

/* Cart Link Styling */
a.cart-contents {
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
}

a.cart-contents:hover {
  color: var(--wood);
}
#home-featured {
  background-color: #fff;
  padding-top: 60px;
  padding-bottom: 100px;
}
.herologo {
  max-height: 400px;
}
.headerlink {
  color: var(--ink);
  text-decoration: none;
  transition: all 200ms ease-in-out;
}
.headerlink:hover {
  color: var(--wood);
  text-decoration: underline;
  transition: all 200ms ease-in-out;
}
@media screen and (min-width : 1px) and (max-width : 991px) {
  .herologo {
    max-height: 280px;
  }
}
@media screen and (min-width : 992px) and (max-width : 1199px) {
  .herologo {
    max-height: 320px;
  }
}

/* --- WooCommerce Shop/Archive Page Styles --- */

/* Shop Page Header */
.woocommerce-products-header {
  margin-bottom: 40px;
}

.woocommerce-products-header__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 20px;
}

.term-description {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Results Count and Ordering */
.woocommerce-result-count {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.woocommerce-ordering select {
  border: 2px solid var(--ink);
  background-color: #f0e6d2;
  color: var(--ink);
  font-family: var(--font-display);
  padding: 8px 35px 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: 2px 2px 0px var(--ink);
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232b241e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
  background-color: var(--wood);
  color: #fff;
  border-color: var(--ink);
  outline: none;
  box-shadow: 1px 1px 0px var(--ink);
  transform: translate(1px, 1px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* Product Grid Items */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0;
  padding: 0;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Product Card Hover Effects */
.vintage-card .product-image-link {
  display: block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vintage-card .product-image-box {
  transition: all 0.3s ease;
}

.vintage-card:hover .product-image-box {
  transform: scale(1.05);
}

.vintage-card:hover {
 
}

/* Product Title Links */
.vintage-card .card-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.vintage-card .card-title a:hover {
  color: var(--wood);
}

/* Product Price */
.vintage-card .product-price {
  font-family: var(--font-display);
  color: var(--ink);
}

/* Product Short Description */
.vintage-card .product-short-desc {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  opacity: 0.8;
}

/* Sale Badge */
.vintage-card .badge {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 12px;
  font-size: 0.9rem;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  border-radius: 0 !important;
}

/* Add to Cart Button on Shop Page */
.vintage-card .ajax_add_to_cart,
.vintage-card .add_to_cart_button {
  background-color: var(--wood) !important;
  color: #fff !important;
  border: 2px solid var(--ink) !important;
  padding: 10px 20px !important;
  font-size: 1rem !important;
  font-family: var(--font-display) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  box-shadow: 3px 3px 0px var(--ink) !important;
  border-radius: 0 !important;
  letter-spacing: 1px;
  text-decoration: none !important;
  display: inline-block;
}

.vintage-card .ajax_add_to_cart:hover,
.vintage-card .add_to_cart_button:hover {
  background-color: var(--ink) !important;
  color: var(--parchment) !important;
  box-shadow: 1px 1px 0px var(--ink) !important;
  transform: translate(2px, 2px);
}

/* Loading State */
.vintage-card .ajax_add_to_cart.loading {
  opacity: 0.6;
  cursor: wait;
}

.vintage-card .ajax_add_to_cart.loading::after {
  content: "...";
}

/* Added to Cart State */
.vintage-card .added_to_cart {
  display: inline-block !important;
  margin-top: 10px;
  background-color: var(--ink) !important;
  color: var(--parchment) !important;
  border: 2px solid var(--ink) !important;
  padding: 8px 16px !important;
  font-size: 0.9rem !important;
  font-family: var(--font-display) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 2px 2px 0px rgba(43, 36, 30, 0.5) !important;
  border-radius: 0 !important;
  letter-spacing: 1px;
}

.vintage-card .added_to_cart:hover {
  background-color: var(--wood) !important;
  color: #fff !important;
}

/* Pagination */
.woocommerce-pagination {
  margin-top: 40px;
}

.woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.woocommerce-pagination ul.page-numbers li {
  margin: 0;
}

.woocommerce-pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  background-color: #f0e6d2;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0px var(--ink);
  font-size: 1rem;
}

.woocommerce-pagination .page-numbers:hover {
  background-color: var(--wood);
  color: #fff;
  box-shadow: 1px 1px 0px var(--ink);
  transform: translate(1px, 1px);
}

.woocommerce-pagination .page-numbers.current {
  background-color: var(--ink);
  color: var(--parchment);
  box-shadow: none;
  transform: translate(2px, 2px);
}

.woocommerce-pagination .page-numbers.dots {
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: default;
}

.woocommerce-pagination .page-numbers.dots:hover {
  background: transparent;
  color: var(--ink);
  transform: none;
}

/* No Products Found */
.woocommerce-info,
.woocommerce-notice {
  background-color: rgba(166, 123, 81, 0.1);
  border: 2px solid var(--wood);
  padding: 20px;
  font-family: var(--font-body);
  color: var(--ink);
  margin-bottom: 30px;
}
@media screen and (min-width : 992px)  {
  .mobile-only {
    display: none;
  }
}


/* Responsive Adjustments for Shop Page */
@media (max-width: 767px) {
  .woocommerce-result-count,
  .woocommerce-ordering {
    font-size: 0.9rem;
  }
  
  .woocommerce-ordering select {
    padding: 6px 30px 6px 10px;
    font-size: 0.85rem;
  }
  
  .vintage-card {
    margin-bottom: 20px;
  }
  .navbar-brand {
    max-width: 180px;
  }
}

/* Out of Stock Badge */
.vintage-card .out-of-stock-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(43, 36, 30, 0.9);
  color: #fff;
  padding: 15px 25px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid var(--ink);
  z-index: 10;
}
