/************************************************************
						Page Styles
************************************************************/

#checkout #advanceddateofdelivery {
	padding-left: 50px;
	position: relative;
	display:none;
}

#checkout .advanced_box {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #d6d4d4;
    line-height: 23px;
    margin-bottom: 10px;
    padding: 14px 18px 13px;
}

#checkout  #advanceddateofdelivery i {
	font-size: 25px!important;
	position: absolute;
	left: 10px;
	margin-top: -3px;
}

#history #advanceddateofdelivery {
	padding-left: 50px;
	position: relative;
}

#history #advanceddateofdelivery i {
	font-size: 20px;
	position: absolute;
	left: 10px;
}

#product #advanceddateofdelivery_button i {
	font-size: 20px!important;
}
	
#product .table-data-delivery{
	background: #fff none repeat scroll 0 0;
    border-bottom: 1px solid #d6d4d4;
    margin: 0 0 20px;
    width: 100%;
}

#product .table-data-delivery tr.even {
    background: #fdfdfd none repeat scroll 0 0;
}

#product .table-data-delivery tr {
    border-top: 1px solid #d6d4d4;
}

#product .table-data-delivery tr td {
    padding: 10px 20px 11px;
	border-left: 1px solid #d6d4d4;
}

#product .table-data-delivery tr td:first-child {
    border-left: none;
}

#product .table {
    margin-bottom: 10px;
}

#usefull_link_block li.advanceddateofdelivery_extraleft a::before {
    content: "\f073";
}

#checkout #advanceddateofdelivery tbody td.cart_description small{
    display: block;
    padding: 5px 0 0;
}

#checkout #advanceddateofdelivery tbody td.cart_product {
    padding: 7px;
    width: 137px;
}

#checkout #advanceddateofdelivery .adod_table_detail {
	width:100%;
}

#checkout #advanceddateofdelivery .toggle_adod_products i {
	position: relative!important;
}

#checkout #advanceddateofdelivery .toggle_adod_products i:hover{
	color: black;
	cursor:pointer;
}

#checkout #advanceddateofdelivery .adod_table_products_container {
	display:none;
}

/* 1.7 compatibility */
#checkout .delivery_dates {
	color: #414141;
	margin-bottom: 9px;
}

#checkout .cart_product img {
	width:80px;
}

#advanceddateofdelivery .icon, #advanceddateofdelivery [class^="icon-"], #advanceddateofdelivery_button .icon, #advanceddateofdelivery_button [class^="icon-"] {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
        font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}

.icon-angle-down::before {
    content: "";
}

.icon-angle-up::before {
    content: "";
}

.icon-calendar::before {
    content: "";
}

.pull-right {
    float: right !important;
}

#product table.table-data-delivery td {
	vertical-align:middle;
}

#product table.table-data-delivery td.delivery_dates {
	width:45%;
}

.advanceddateofdelivery_container {
	box-shadow: 2px 2px 11px 0 rgba(0,0,0,.1);
	background: #fff;
	margin-top: 2rem;
	padding: 1rem 1.5rem;
}

.advanceddateofdelivery_link {
	color:#414141!important;
}

.adod_product_page_txt {
	display:none;
}

.advanceddateofdelivery_container i {
	font-size:20px;
	margin-right: .625rem;
}

#advanceddateofdelivery_button span{
	font-weight: 700;
}

@media (max-width: 499px) {
	#product .table-data-delivery thead {
		display: none;
	}
	
	#product .table-data-delivery tr td {
		display: block;
		border: none;
		text-align: center;
	}
	
	#product table.table-data-delivery td.delivery_dates {
		width: 100%;
	}
}

/* Product summary card integration */
.page-product .product-summary__actions-hook .advanceddateofdelivery_container {
	margin-top: 0;
	position: relative;
	width: 100%;
	box-shadow: none;
	background: transparent;
	padding: 0;
}

.page-product .product-summary__actions-hook #advanceddateofdelivery_button {
	align-items: center;
	appearance: none;
	background: #ffffff;
	border: 1px solid #ddd4c7;
	border-radius: 0.55rem;
	color: #2d2b29;
	cursor: pointer;
	display: flex;
	font-size: 0.9rem;
	font-weight: 500;
	gap: 0.5rem;
	justify-content: space-between;
	min-height: 3.35rem;
	padding: 0.7rem 0.95rem;
	text-align: left;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	width: 100%;
}

.page-product .product-summary__actions-hook #advanceddateofdelivery_button:hover,
.page-product .product-summary__actions-hook .advanceddateofdelivery_container.is-open #advanceddateofdelivery_button {
	border-color: #c8bdaa;
	box-shadow: 0 10px 24px rgba(69, 57, 41, 0.08);
}

.page-product .product-summary__actions-hook #advanceddateofdelivery_button::before {
	content: none;
}

.page-product .product-summary__actions-hook #advanceddateofdelivery_button::after {
	color: #202020;
	content: "\203A";
	font-size: 1.35rem;
	line-height: 1;
	transform: translateY(-1px);
	transition: transform 0.2s ease;
}

.page-product .product-summary__actions-hook .advanceddateofdelivery_container.is-open #advanceddateofdelivery_button::after {
	transform: rotate(90deg);
}

.page-product .product-summary__actions-hook .advanceddateofdelivery_button-text {
	flex: 1 1 auto;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
}

.page-product .product-summary__actions-hook .advanceddateofdelivery_popover {
	background: #ffffff;
	border: 1px solid #ddd4c7;
	border-radius: 0.9rem;
	box-shadow: 0 24px 48px rgba(69, 57, 41, 0.16);
	margin-top: 0.75rem;
	padding: 0.4rem;
	position: absolute;
	right: 0;
	top: 100%;
	width: min(24rem, calc(100vw - 2rem));
	max-width: 100%;
	z-index: 30;
}

.page-product .product-summary__actions-hook .advanceddateofdelivery_popover[hidden] {
	display: none !important;
}

.page-product .product-summary__actions-hook .advanceddateofdelivery_popover::before {
	background: #ffffff;
	border-left: 1px solid #ddd4c7;
	border-top: 1px solid #ddd4c7;
	content: "";
	height: 0.9rem;
	position: absolute;
	right: 1.5rem;
	top: -0.48rem;
	transform: rotate(45deg);
	width: 0.9rem;
}

.page-product .product-summary__actions-hook #product_available_carriers {
	display: grid;
	gap: 0.45rem;
}

.page-product .product-summary__actions-hook #product_available_carriers .adod-carrier-item {
	background: #f8f4ee;
	border: 1px solid #ece4d8;
	border-radius: 0.7rem;
	padding: 0.8rem 0.9rem;
}

.page-product .product-summary__actions-hook #product_available_carriers .carrier_name {
	color: #2d2b29;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 0.3rem;
}

.page-product .product-summary__actions-hook #product_available_carriers .delivery_dates {
	color: #2d2b29;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.page-product .product-summary__actions-hook #product_available_carriers .delivery_dates b {
	font-weight: inherit;
}

@media (max-width: 991.98px) {
	.page-product .product-summary__actions-hook .advanceddateofdelivery_popover {
		left: 0;
		right: 0;
		width: auto;
		max-width: none;
	}
}

@media (max-width: 575.98px) {
	.page-product .product-summary__actions-hook .advanceddateofdelivery_popover {
		padding: 0.35rem;
	}
}
