/*
	Theme Name: Imperium New
	Template: customify
	Author: Vendel Systems
	Description: New theme for IP sites
	Theme URI: https://imperiumpress.org
	Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

/* Your existing custom CSS goes here */
:root {
    --prussian-blue: #003153;
    --header-navy: #0A2533;
}

.content-inner {
	padding-inline: clamp(16px, 4vw, 48px);
}

div.product form.cart .variations label {
	color: #FDFDFD !important;
}

.woocommerce-cart .entry-header .entry-title, .woocommerce-checkout .entry-header .entry-title {
	color: #FDFDFD !important;
}

.woocommerce-product-attributes-item__label {
	background-color: var(--header-navy);
}

.woocommerce-product-attributes-item__value {
	background-color: var(--header-navy);
}

table.shop_attributes tbody tr:nth-child(2n) td {
	background-color: var(--header-navy);
}

.woocommerce .woocommerce-breadcrumb {
	color: #FDFDFD;
}

.woocommerce .woocommerce-breadcrumb a {
	color: #FAFAFA;
}

.woocommerce-ordering select {
	color: #000;
}

.wc-block-components-checkbox__label {
        color: #FDFDFD;
}

.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label {
	color: #252525 !important;
}

.wc-svg-btn.active, .woocommerce-tabs.wc-tabs-horizontal ul.tabs li.active, #review_form {
	border-color: #d4af37 !important;
	background-color: #d4af37;
}

.woocommerce-tabs.wc-tabs-horizontal ul.tabs li.active a {
/*	background-color: #d4af37;
	color: #FFF;*/
}

.woocommerce ul.products li.product a img {
	max-height: 300px;
	width: auto;
	object-fit: contain;
}

.woocommerce-product-gallery__image img {
	max-height: 450px;
	width: auto;
	object-fit: contain;
}

.hero-cta {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}

.hero-cta__button {
	padding: 0.8em 1.8em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	border: 2px solid currentColor;
	transition: background 0.2s, color 0.2s;
}

.hero-cta__button--primary { background: #8b1a1a; color: #fff; border-color: #8b1a1a; }
.hero-cta__button--primary:hover { background: #6e1414; }
.hero-cta__button--secondary { background: transparent; color: inherit; }
.hero-cta__button--secondary:hover { background: rgba(255,255,255,0.1); }

.product_meta {
	color: white;
}

.entry-summary-before {
	margin-top: 1.5em;
}

.menu-item-has-children {
	position: relative;
}

.menu-item-has-children > .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #0a2533;
	border: 1px solid #1a3a5c;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 50;
	margin: 0;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sub-menu { 
	display: flex;
	flex-direction: column;
	padding: 0.5rem 0;
}

.sub-menu li a {
	display: block;
	padding: 0.5rem 1.25rem;
	white-space: nowrap;
}

.sub-menu li a:hover {
	background: rgba(212, 175, 55, 0.1);
	color: #d4af37;
}

.menu-item-has-children > a::after {
	content: '▾';
	font-size: 0.65em;
	margin-left: 0.35em;
	vertical-align: middle;
}

#imperium-search-input:focus {
	box-shadow: 0 4px 12px -4px rgba(212, 175, 55, 0.4);
}

#imperium-search-results a {
	text-decoration: none;
}

#imperium-search-results img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body {
    font-family: 'Playfair Display', serif;
}

label {
	color: #EFEFEF;
}

.accent-text {
	color: var(--accent-color);
}

.accent-border {
	border-color: var(--accent-color);
}

.heading-font {
    font-family: 'Cinzel', serif;
}


.blue-decal {
    background: linear-gradient(rgba(0, 49, 83, 0.75), rgba(0, 49, 83, 0.9));
    position: relative;
    overflow: hidden;
}

    .blue-decal::before,
    .blue-decal::after {
        content: '';
        position: absolute;
        inset: 0;
        /* background: url('assets/splat.png') center/cover; */
        pointer-events: none;
        mix-blend-mode: screen;
        opacity: 0.45;
    }

    .blue-decal::before {
        filter: 
            hue-rotate(200deg)      /* Shift toward blue */
            saturate(1.8) 
            brightness(0.85);
        mix-blend-mode: multiply;
        opacity: 0.55;
    }

    .blue-decal::after {
        filter: 
            hue-rotate(210deg) 
            saturate(2.2) 
            brightness(0.7);
        mix-blend-mode: soft-light;
        opacity: 0.35;
    }

    /* Statue background */
    .statue-fade {
        position: absolute;
        inset: 0;
        background: 
            linear-gradient(270deg, transparent 20%, rgba(0, 49, 83, 0.95) 45%, rgba(0, 49, 83, 0.98) 100%),
            url('assets/riace_bronze_r_splat.png') left center / contain no-repeat;
        z-index: 1;
        pointer-events: none;
        background-blend-mode: multiply;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

/* new product classes  */
:root {
  --book-accent: #f59e0b;          /* change this to match your original accent colour */
  --book-accent-hover: #fcd34d;    /* amber-300 equivalent */
  --book-bg: #112233;
  --book-border: #1a3a5c;
  --book-image-bg: #1a2a3a;
}

/* Card */
.book-card {
  background-color: var(--book-bg);
  border: 1px solid var(--book-border);
  overflow: hidden;
}

/* Image container */
.book-card-container {
  height: 20rem;                   /* h-80 */
  background-color: var(--book-image-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Image */
.book-card-image {
  height: auto;
  max-width: 100%;  
  object-fit: cover;
  transition: transform 0.3s ease;
}

.book-card:hover .book-card-image {
  transform: scale(1.05);
}

/* Sale badge */
.book-card-sale {
  position: absolute;
  top: 1.5rem;                     /* top-6 */
  right: 1.5rem;                   /* right-6 */
  background-color: #dc2626;       /* red-600 */
  color: #ffffff;
  font-size: 0.75rem;              /* text-xs */
  padding: 0.25rem 1rem;           /* py-1 px-4 */
  letter-spacing: 0.1em;           /* tracking-widest */
}

/* Details area */
.book-card-details {
  padding: 2rem;                   /* p-8 */
}

/* Title */
.book-card-title {
  font-family: 'Cinzel', serif;            /* replace with your heading font if needed */
  font-size: 1.5rem;               /* text-2xl */
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-card-title-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.book-card-title-link:hover {
  color: inherit;
}

/* Author */
.book-card-author {
  color: inherit;
  font-size: 0.875rem;             /* text-sm */
  margin-top: 0.25rem;             /* mt-1 */
  font-weight: 700;
}

/* Price */
.book-card-price {
  color: var(--accent-color);
  font-size: 0.875rem;             /* text-sm */
  margin-top: 0.25rem;             /* mt-1 */
}

/* Buttons area */
.book-card-buttons-area {
  margin-top: 2rem;                /* mt-8 */
  display: flex;
  gap: 0.75rem;                    /* gap-3 */
}

/* Primary button */
.book-card-primary-button {
  flex: 1;
  text-align: center;
  padding: 1rem 0;                 /* py-4 */
  background-color: var(--book-accent);
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: block;
}

.book-card-primary-button:hover {
  background-color: var(--book-accent-hover);
  color: #000000;
}

/* Secondary button */
.book-card-secondary-button {
  flex: 1;
  text-align: center;
  padding: 1rem 0;                 /* py-4 */
  border: 1px solid color-mix(in srgb, var(--book-accent) 50%, transparent);
  color: inherit;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s ease;
  display: block;
}

.book-card-secondary-button:hover {
  border-color: var(--book-accent);
}

/* original shit */
.imperium-featured-products {
	position: relative;
	padding: 20px;
	mar 0 auto;
}

.bookend-left, .bookend-right {
	position: absolute;
	top: 0;
	width: 75px;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 1;
}
.bookend-left {
	left: -60px;
/*	background-image: url('assets/images/bookend.png');*/
}
.bookend-right {
	right: -60px;
/*	background-image: url('assets/images/bookend.png');*/
	transform: scaleX(-1);
}
