/* Style Guide
## Author: Warren Moore - CJ Tech Support
## Black: #000000
## White: #ffffff
## HR: #E5E5E5
## Dark Grey: #4D4D4D
## Light Grey: #E5E5E5
## Pink: #D64763
## ------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lora", lato;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #ffffff;
    color: rgb(102, 102, 102);    
    width: 100%;
}

.clear{clear:both;}
.clearl{clear:left;}
.clearr{clear:right;}

h1.title{
	display: flex;
    align-items: center;
}

h1.title img{
	width: 80px;
    height: auto;
    margin-right: 10px;
    }
    
h1, h2 {
    margin-bottom: 1em;
    font-size:18px;
    font-weight: 500;
    color: #000000;
}

h3, h4, h5, h6 {
	margin-bottom: 1em;
	font-size:17px;
    font-weight: 400;
    color: #000000;
}

strong{
	font-weight: 400;
}
p {
    margin-bottom: 1em;
    font-size:15px; 
    font-weight:300; 
    -webkit-font-smoothing: subpixel-antialiased; 
    margin-top:0px;
}
p span {
    margin-top:50px; 
    padding-left:50px; 
    display:inline-block;
}

.inote {
	color: #FF3366;
}

hr {
	display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: inset;
    border-width: 1px;
    border-color: #E5E5E5;
}
a {
	color: #4D4D4D;
	text-decoration: underline;

}

a:hover {
	color: #9F4A5B;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 40px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}
.btn-class{
	color: #000000 !important; 
	display: inline-block; 
	font-size: 20px; 
	font-weight: 400; 
	padding: .3em 1em; 
	line-height: 1.7em !important; 
	background-color: #ffffff;	 
	border: 1px solid #E5E5E5; 
	border-radius: 3px;
	transition-property: all !important;
	text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Section Backgrounds
--------------------------------------------------------------------- */
.bg1{margin:0; padding:0; border-top:1px solid #E5E5E5;}
.bg2{margin:0; padding:0; border-top:1px solid #E5E5E5;}
.bg3{margin:0; padding:0; border-top:1px solid #FF3366;}
.bg4{margin:0; padding:0; border-top:1px solid #FF3366;}

/* Set the page width - Container max-width
--------------------------------------------------------------------- */
#container {
    width:100%;
    margin: 0 auto;
    padding: 0 20px;
    flex-direction: column;
}
.main_body{margin:0 auto; padding:0; width:100%; max-width:1600px;}
.article{margin:0 auto; padding:0 1%; width:100%;}
.welcome{margin:20px 0; padding:0; float:left; width:700px; font-family: 'Arimo', sans-serif;}

/* Header Section
--------------------------------------------------------------------- */
.header {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    max-width:1200px;
    margin:auto;
    text-align:left;    
}

.call{margin:10px 0 0 0; padding:0px; float:right; width:200px;  font-family: sans-serif;  line-height:40px; font-weight:bold; font-size:16px; color:#292929; }
.call a{color:#292929; text-decoration:none;}
.call img{float:left; margin-right:-5px;}

/* Nav Menu 
------------------------------------------------------------------------*/
.topnav {
    overflow: hidden;
    background-color: #ffffff;
    margin: auto;
    /* text-align: center; */
    max-width: 1200px;
    border-bottom: 2px solid #E5E5E5;
}

.topnav a {
  float: left;
  display: block;
  color: #4D4D4D;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ffffff;
  color: #4D4D4D;
}

.topnav a.active {
  background-color: #D64763;
  color: #000000;
}

.topnav .icon {
  display: none;
}

/* Dropdown Navigation Styles */
.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: #4D4D4D;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
}

.dropdown:hover .dropbtn {
  background-color: #ffffff;
  color: #4D4D4D;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
}

.dropdown-content a {
  float: none;
  color: #4D4D4D;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive dropdown */
@media screen and (max-width: 600px) {
  .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  
  .dropdown-content {
    position: relative;
  }
}

/* Bottom Nav Menu */
/* Nav Menu 
------------------------------------------------------------------------*/
nav {
    overflow: hidden;
    margin: auto;
    max-width: 1200px;
}

nav a {
  float: left;
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

nav a:hover {
  background-color: #ddd;
  color: black;
}

nav a.active {
  background-color: #04AA6D;
}

nav .icon {
  display: none;
}

/* Content Section
-------------------------------------------------------------------- */
.content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Add space between columns */
    padding: 0;
}

.column {
    flex: 1;
    padding: 1%;
    border: 1px solid #E5E5E5;
    margin: 0;
}

.h1-title{border-bottom:1px solid #E5E5E5}

.list-case{background-color: #F6F3EA;}
.list-case li{}
.list-case li a{color: #000000;}

/* Designer List
------------------------------------------------------------------------*/
ul.designer-list{
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
}

li.designer-list{
	border:1px solid white;
	padding:5px;
}

li.designer-list a{
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  font-size: 1.4em;
}

li.designer-list a:hover {
  background-color: #111111;
}

/* Photo Gallery and Container */

.gallery-container {
	display: flex;
	flex-wrap: wrap; /* Allows items to wrap to the next row if needed */
	justify-content: center; /* Centers the items horizontally */
	gap: 10px; /* Adds some space between the gallery items */
}
.product-gallery {
	flex: 1 1 150px; /* Ensures all items are at least 150px wide and grow/shrink as needed */
	max-width: 160px; /* Optional: Limits the max width of each item */
	text-align: center; /* Centers the content within each gallery item */
}

.product-gallery img {
	max-width: 100%;
	max-height: 100%;
	height: auto; /* Ensures the image scales correctly */
	display: block;	
	
}
#photoframe {
	position:relative; 
	width:100%; 
	height: 480px; 
	border:none; 
	background-color:#ffffff; 
	margin-top:0px;
	object-fit: cover;
}

.gallery {
    		margin: 5px;
    		float: left;
    		width: 480px;
    		max-width: 100%;
    		height: 480px;
    		max-height: 100%;
			}

/* Remove Pointer Events for Fixed Fields */
input[id="wpforms-568-field_10"] {
  pointer-events: none;
	background-color: #E5E5E5 !important;
}
input[id="wpforms-568-field_24"] {
  pointer-events: none;
	background-color: #E5E5E5 !important;
}
input[id="wpforms-568-field_20"] {
  pointer-events: none;
	background-color: #E5E5E5 !important;
}
textarea[id="wpforms-568-field_23"] {
  pointer-events: none;
	background-color: #E5E5E5 !important;
	font-size: 14px;
}
input[id="wpforms-568-field_3"] {
  pointer-events: none;
	background-color: #E5E5E5 !important;
}
input[id="wpforms-568-field_6"] {
  pointer-events: none;
	background-color: #E5E5E5 !important;
}

/* Image Zoom on Hover */
.et-zoom-in.et_pb_image:hover img,
.et-zoom-in .et_pb_image_wrap:hover img,
.et-zoom-in a:hover img {
    transform: scale(1.6); 
    transition: all 2s 0s ease;
}

.et-zoom-in,
.et-zoom-in a {
    overflow: hidden;
}

.et-zoom-in.et_pb_image img,
.et-zoom-in .et_pb_image_wrap img,
.et-zoom-in a img {
    transition: all 1s 0s ease; 
}


/* Footer Section
------------------------------------------------------------------- */

.footer {color:#fff; padding:0 10px; margin:0; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; line-height:48px; background-color: black;}
.footer-copyright{float:left; margin:0 20px 0 0; padding:0; max-width:80%;}
.footer-phone{float:left; margin:0; padding:0; max-width:20%;}
.design{float:right; margin:0; padding:0; width:140px;}
.footer a {color:#F27025; text-decoration:none;}
.footer a:hover {color:#fff;}

/* Splash Banner Styles */
.splash-banner {
    background-color: #ffffff; /* Background color */
    border: 1px solid #0C75BC; /* Border color */
    color: black; /* Text color */
    padding: 30px 30px;
    text-align: center;
    max-width: 80%;
    width:600px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.splash-txt {
    font-size: 1.5rem;
    font-weight: bold;
    color: #755E0E; /* Bright red for attention */
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* Keyframe  Animation 
 * ----------------------------------------------------------*/
@keyframes flash {
    0%, 100% {
        color: #ff0000; /* Red */
    }
    50% {
        color: #ffff00; /* Yellow */
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes stroke {
    0% {
        color: transparent;
        text-shadow: 0 0 8px #ff0000;
    }
    100% {
        color: #ff0000;
        text-shadow: none;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Webforms by CJ Tech Support 
# --------------------------------  */
#formframe{
	position:relative; 
	margin:auto; 
	overflow:hidden; 
	width:100%; 
	padding-top:0;
	}
#webform{
	position:relative; 
	width:100%; 
	max-width:600px; 
	height: 900px; 
	border:none; 
	background-color:#ffffff; 
	background-image:url('/images/formloading.gif'); 
	background-repeat:no-repeat; 
	background-position:top;
	margin-top:-80px; 
}
	
/* -- Dress Search Results -- */
 .searchResults {
	clear:both;
      font-family: Arial, sans-serif;
      border: 1px solid #ddd;
      padding: 20px;
      border-radius: 8px;
      max-width: 600px;
      background-color: #f9f9f9;
    }
    .searchResults h2 {
      color: #333;
      text-align: left;
    }
    .searchResults p {
      color: #555;
      font-size: 16px;
      line-height: 1.6;
    }
    .searchResults .button-container {
      text-align: center;
      margin-top: 20px;
    }
    .searchResults .button-container a {
      color: #fff;
      text-decoration: none;
      background-color: #007BFF;
      padding: 10px 20px;
      border-radius: 4px;
      font-size: 16px;
    }
    
/* Product Grid Styles - Compatible with JSON import system */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 180px)) !important;
    gap: 15px !important;
    padding: 20px 0 !important;
    margin: 20px 0 !important;
    max-width: 100% !important;
    justify-content: start !important;
    width: 100% !important;
    clear: both !important;
    grid-auto-flow: row !important;
    align-items: stretch !important; /* Changed from start to stretch so all cards same height */
}

.product-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    float: none !important;
    display: flex !important; /* Use flexbox for card layout */
    flex-direction: column !important; /* Stack image and info vertically */
    box-sizing: border-box !important;
}

/* When inside products-grid, constrain width to grid cell */
.products-grid .product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important; /* Changed to flex to allow card to stretch */
    flex-direction: column !important;
    box-sizing: border-box !important;
    height: 100% !important; /* Fill grid cell height */
    align-items: stretch !important; /* Ensure all children stretch */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.product-card-image {
    position: relative !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    width: 100% !important;
    aspect-ratio: 3 / 4 !important; /* 3:4 aspect ratio for consistent sizing */
    flex-shrink: 0 !important; /* Don't shrink */
    min-height: 200px !important; /* Fallback minimum height */
}

/* More specific selector for products-grid */
.products-grid .product-card-image {
    position: relative !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    width: 100% !important;
    aspect-ratio: 3 / 4 !important; /* 3:4 aspect ratio for consistent sizing */
    flex-shrink: 0 !important; /* Don't shrink */
    min-height: 200px !important; /* Fallback minimum height */
}

.product-card-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Contain shows entire image without cropping */
    object-position: center top !important; /* Align to top to show head, center horizontally */
    transition: transform 0.3s ease;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.btn-favourite {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 12;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 2px solid #D64763;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #D64763;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-favourite:hover {
    background: rgba(214, 71, 99, 0.12);
    transform: scale(1.08);
}

.btn-favourite .favorite-icon {
    font-size: 18px;
    line-height: 1;
    color: #D64763;
}

.btn-favourite.favorited {
    background: #D64763;
    border-color: #D64763;
}

.btn-favourite.favorited .favorite-icon {
    color: #fff;
}

/* More specific selector for products-grid images */
.products-grid .product-card-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Contain shows entire image without cropping */
    object-position: center top !important; /* Align to top to show head, center horizontally */
    display: block !important;
}

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

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lightbox-close:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    user-select: none;
    z-index: 10001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.lightbox-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 25px;
    border-radius: 8px;
    max-width: 80%;
    z-index: 10001;
}

.lightbox-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.lightbox-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Make product images clickable for modal */
.product-card-image img {
    cursor: pointer;
}

/* Product Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.product-modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

.modal-container {
    position: relative;
    background-color: #fff;
    margin: 2% auto;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 32px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-content {
    display: flex;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-left {
    flex: 1;
    padding: 30px;
    background: #f9f9f9;
    min-width: 400px;
}

.modal-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.modal-main-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: contain;
}

.modal-image-prev,
.modal-image-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.modal-image-prev {
    left: 15px;
}

.modal-image-next {
    right: 15px;
}

.modal-image-prev:hover,
.modal-image-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-thumbnails .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
}

.modal-thumbnails .thumbnail:hover {
    opacity: 1;
    border-color: #D64763;
}

.modal-thumbnails .thumbnail.active {
    opacity: 1;
    border-color: #D64763;
    border-width: 3px;
}

.modal-right {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-product-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E5E5E5;
}

.modal-product-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #000;
}

.modal-designer {
    font-size: 18px;
    color: #4D4D4D;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal-sku {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.modal-details {
    margin: 20px 0;
}

.modal-detail-item {
    margin-bottom: 10px;
    font-size: 14px;
    color: #4D4D4D;
}

.modal-detail-item strong {
    color: #000;
}

.modal-description {
    margin-top: 20px;
    line-height: 1.6;
    color: #4D4D4D;
    font-size: 15px;
}

.modal-form-container {
    margin-top: 20px;
}

.modal-form-container h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000;
}

.product-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #000;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D64763;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit-inquiry {
    padding: 15px 30px;
    background: #D64763;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-submit-inquiry:hover {
    background: #b83850;
}

.inquiry-message-display {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Modal */
@media (max-width: 968px) {
    .modal-content {
        flex-direction: column;
    }
    
    .modal-left {
        min-width: 100%;
        max-height: 50vh;
    }
    
    .modal-right {
        max-height: 50vh;
    }
    
    .modal-container {
        margin: 5% auto;
        width: 95%;
        max-height: 95vh;
    }
}

.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.btn-quick-order {
    background: #D64763;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-quick-order:hover {
    background: #b83850;
    color: white;
}

.product-card-info {
    padding: 8px 10px !important; /* Reduced from 10px */
    flex-shrink: 0 !important; /* Don't shrink, keep info section at natural size */
}

.product-card-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px !important; /* Reduced from 3px */
    color: #000;
    line-height: 1.1 !important; /* Reduced from 1.2 */
}

.product-card-designer {
    font-size: 12px;
    color: #4D4D4D;
    margin-bottom: 2px !important; /* Reduced from 4px */
    line-height: 1.1 !important; /* Added to reduce line height */
}

.product-card-sku {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.1 !important; /* Added to reduce line height */
}

.btn-order-now,
.btn-approve {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #D64763;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.product-card-actions {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    align-items: stretch;
}

.product-card-actions .btn-review-notes,
.product-card-actions .btn-social-post {
    flex: 1;
    width: auto;
    margin-top: 0;
    padding: 5px 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 3px;
    min-height: 0;
}

.product-card-actions .btn-social-post {
    background: #4267B2;
    color: #fff;
    border: none;
}

.product-card-actions .btn-social-post:hover {
    background: #365899;
    color: #fff;
}

.product-card-social {
    margin-top: 4px;
}

.btn-social-post {
    display: block;
    width: 100%;
    margin-top: 0;
    padding: 4px 6px;
    background: #4267B2;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1.2;
}

.btn-social-post:hover {
    background: #365899;
}

.btn-order-now:hover,
.btn-approve:hover {
    background: #b83850;
    color: white;
    text-decoration: none;
}

.btn-approve.is-approved {
    background: #2e7d32;
}

.btn-approve.is-approved:hover {
    background: #1b5e20;
}

.btn-save-notes {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #D64763;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.btn-save-notes:hover {
    background: #b83850;
}

.btn-notes,
.btn-review-notes {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: white;
    color: #D64763;
    text-decoration: none;
    border: 1px solid #D64763;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.btn-notes:hover,
.btn-review-notes:hover {
    background: #D64763;
    color: white;
    text-decoration: none;
}

.btn-review-notes-small {
    padding: 6px 10px;
    font-size: 12px;
    width: auto;
    margin-top: 0;
}

.approval-badge {
    display: none;
    position: absolute;
    top: 5px;
    left: 5px;
    background: #2e7d32;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 10;
}

.change-list-panel {
    border: 1px solid #D64763;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}

.change-list-panel h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.change-list-count {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.change-list-report-notes {
    margin-bottom: 12px;
}

.change-list-report-notes label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.change-list-report-notes textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    resize: vertical;
    min-height: 60px;
    box-sizing: border-box;
}

.change-list-items {
    max-height: 420px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.change-list-empty {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.change-list-item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.change-list-item-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.change-list-item-thumb {
    width: 48px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.change-list-item-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    line-height: 1.3;
}

.change-list-item-meta strong {
    font-size: 13px;
    color: #333;
}

.change-list-item-status {
    color: #2e7d32;
    text-transform: capitalize;
}

.change-list-item-notes {
    font-size: 11px;
    color: #666;
    margin: 8px 0 0;
    line-height: 1.4;
}

.change-list-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.btn-remove-change {
    padding: 6px 10px;
    background: #999;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.change-list-export {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.change-list-export button {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    background: #D64763;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.change-list-export .btn-print-report {
    flex: 1 1 100%;
    background: #fff;
    color: #D64763;
    border: 1px solid #D64763;
}

.change-list-export .btn-print-report:hover {
    background: #D64763;
    color: #fff;
}

.change-list-manage {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.change-list-manage button {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.change-list-manage .btn-restore-change-list {
    background: #fff;
    color: #333;
    border: 1px solid #999;
}

.change-list-manage .btn-restore-change-list:hover {
    background: #f5f5f5;
}

.change-list-manage .btn-clear-change-list {
    background: #fff;
    color: #c62828;
    border: 1px solid #c62828;
}

.change-list-manage .btn-clear-change-list:hover {
    background: #c62828;
    color: #fff;
}

.pagination-controls {
    margin-top: 16px;
    text-align: center;
    border: 1px solid #D64763;
    border-radius: 10px;
    padding: 10px 6px;
}

.pagination-controls .btn-pagination {
    padding: 5px 12px;
    margin: 0 4px;
    background: #D64763;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.pagination-controls .btn-pagination:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-controls .pagination-info {
    margin: 0 8px;
    display: inline-block;
    font-size: 11px;
    color: #555;
}

.approval-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 100001;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
}

.approval-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.review-notes-modal {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-notes-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.review-notes-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.review-notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-notes-header h2 {
    margin: 0;
    font-size: 20px;
}

.review-notes-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #666;
}

.review-notes-title {
    font-weight: 600;
    margin: 0 0 4px;
}

.review-notes-meta {
    font-size: 13px;
    color: #666;
    margin: 0 0 16px;
}

.review-notes-content .form-group {
    margin-bottom: 14px;
}

.review-notes-content label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.review-notes-content select,
.review-notes-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.review-notes-content textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Product Grid */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 160px));
        gap: 15px;
        justify-content: start;
    }
    .products-grid .product-card {
        max-width: 160px;
    }
}

@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
        justify-content: start;
        gap: 20px;
    }
}

@media (min-width: 1600px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 180px));
        justify-content: start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .products-grid .product-card {
        max-width: 100%;
    }
    
    .product-card-info {
        padding: 6px 8px !important; /* Reduced padding */
    }
    
    .product-card-title {
        font-size: 12px;
        margin-bottom: 2px !important;
        line-height: 1.1 !important;
    }
    
    .product-card-designer {
        font-size: 10px;
        margin-bottom: 2px !important;
        line-height: 1.1 !important;
    }
    
    .product-card-sku {
        line-height: 1.1 !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    }
    
